From 314b41b12d719a1f76df96fef16653624f1577a7 Mon Sep 17 00:00:00 2001 From: Florian Schade Date: Tue, 18 Apr 2023 10:46:26 +0200 Subject: [PATCH] TDK housekeeping stabilization (do not merge before #50) (#52) * feat(test): add new koko tests and eslint housekeeping - add new 070-user-group-search-and-share test and docs from the koko test paper - add new groups api and add those to the tdk client - add several es-lint rules to the default config and apply those * fix(artifacts): rebuild artifacts after rebase * fix(test): fix wrong path * feat(test): add new koko tests and some test housekeeping - add new 080-create-space test and docs based on the koko test paper - add client version guard to protect the test from unsupported client versions - rename the api tdk package to endpoints, to not have a api.api route which is needed for ocis - add eslint rule to have linebreaks between class members - stop using k6 response json method - add client endpoints for application - add client endpoints for drive - add client endpoints for role * - add missing client demos to the kitchen sink test - fix static space creation count * feat(test): add new koko tests and some test housekeeping - add new 090-add-remove-user-share test and docs based on the koko test paper - add new share delete client endpoint * add share.delete to the kitchen sink example * feat(test): add new koko tests and some test housekeeping - add koko 030-search-for-filename test and docs - introduce versionSupported helper and use it instead of plain conditions - add tag search - use og jsonpath instead of jsonpath-plus and adjust related helpers - introduce tag client endpoints - introduce systemtags and systemtags_relations endpoints - introduce libregraph org tags endpoints * fix(cleanup endpoints): cleanup all tdk endpoints * fix(linting): cleanup eslint config and apply airbnb best practices * feat(eslint): split up eslint config * enhancement: cleanup tdk client this enhancement cleans up the tdk/client endpoint structure and introduces a naming schema which applies to all compatible clouds. beside the client refactoring it updates all related tests to use that changed api. * enhancement: cleanup utils tdk package cleanup, rename and structure available and used utils * enhancement: add vitest and utils unit tests integrate vitest, make it possible to run tests on monorepo level via turbo and provide unit tests for the utils package * fix: circular platform import mote Platform const out of the client to prevent circular imports * fix: cleanup tdk auth adapter cleanup auth adapters and rename the oidc adapter to kopano * fix: eslint semi rule remove not needed semicolons * fix: requestFactory params and queryJson empty value handling * fix: long chained rebase cleanup previous pr rebase --- package.json | 7 +- packages/esbuild/package.json | 4 +- packages/esbuild/src/index.ts | 5 +- packages/eslint-config/.eslintrc | 6 +- packages/eslint-config/index.js | 111 +- packages/eslint-config/package.json | 18 +- packages/eslint-config/src/airbnb-base.js | 3 + .../src/airbnb-typescript-base.js | 3 + packages/eslint-config/src/eslint.js | 14 + packages/eslint-config/src/import.js | 14 + packages/eslint-config/src/json-files.js | 10 + .../src/no-relative-import-paths.js | 9 + packages/eslint-config/src/prettier.js | 3 + .../src/relative-imports-when-same-folder.js | 6 + .../eslint-config/src/simple-import-sort.js | 7 + packages/eslint-config/src/turbo.js | 3 + packages/k6-tdk/.eslintrc | 15 +- packages/k6-tdk/config/vitest.mocks.ts | 31 + packages/k6-tdk/package.json | 15 +- packages/k6-tdk/src/auth/auth.ts | 11 +- packages/k6-tdk/src/auth/basicAuth.ts | 15 +- packages/k6-tdk/src/auth/index.ts | 6 +- packages/k6-tdk/src/auth/kopano.ts | 132 ++ packages/k6-tdk/src/auth/openIDConnect.ts | 127 -- packages/k6-tdk/src/client/application.ts | 49 +- packages/k6-tdk/src/client/client.ts | 23 +- packages/k6-tdk/src/client/drive.ts | 73 +- packages/k6-tdk/src/client/group.ts | 90 +- packages/k6-tdk/src/client/index.ts | 107 +- packages/k6-tdk/src/client/me.ts | 49 + packages/k6-tdk/src/client/resource.ts | 216 ++- packages/k6-tdk/src/client/role.ts | 65 +- packages/k6-tdk/src/client/search.ts | 142 +- packages/k6-tdk/src/client/share.ts | 55 +- packages/k6-tdk/src/client/tag.ts | 256 ++-- packages/k6-tdk/src/client/user.ts | 166 +-- packages/k6-tdk/src/client/xml.ts | 192 +++ packages/k6-tdk/src/const.ts | 8 + .../k6-tdk/src/endpoints/api-v0-settings.ts | 5 + packages/k6-tdk/src/endpoints/api/index.ts | 11 - packages/k6-tdk/src/endpoints/api/v0/index.ts | 11 - .../k6-tdk/src/endpoints/api/v0/settings.ts | 15 - packages/k6-tdk/src/endpoints/dav-files.ts | 56 + packages/k6-tdk/src/endpoints/dav-spaces.ts | 51 + .../k6-tdk/src/endpoints/dav-systemtags.ts | 33 + .../src/endpoints/dav-systemtags_relations.ts | 24 + packages/k6-tdk/src/endpoints/dav.ts | 13 + packages/k6-tdk/src/endpoints/dav/files.ts | 43 - packages/k6-tdk/src/endpoints/dav/index.ts | 36 - packages/k6-tdk/src/endpoints/dav/spaces.ts | 39 - .../k6-tdk/src/endpoints/dav/systemtags.ts | 32 - .../src/endpoints/dav/systemtagsRelations.ts | 23 - packages/k6-tdk/src/endpoints/endpoints.ts | 22 +- .../src/endpoints/graph-v1-applications.ts | 5 + .../k6-tdk/src/endpoints/graph-v1-drives.ts | 9 + ...raph-v1-extensions-org_libre_graph-tags.ts | 21 + .../k6-tdk/src/endpoints/graph-v1-groups.ts | 11 + packages/k6-tdk/src/endpoints/graph-v1-me.ts | 9 + .../k6-tdk/src/endpoints/graph-v1-users.ts | 29 + packages/k6-tdk/src/endpoints/graph/index.ts | 11 - .../src/endpoints/graph/v1/applications.ts | 15 - .../k6-tdk/src/endpoints/graph/v1/drives.ts | 19 - .../endpoints/graph/v1/extensions/index.ts | 11 - .../v1/extensions/orgLibreGraph/index.ts | 11 - .../graph/v1/extensions/orgLibreGraph/tags.ts | 25 - .../k6-tdk/src/endpoints/graph/v1/groups.ts | 23 - .../k6-tdk/src/endpoints/graph/v1/index.ts | 31 - packages/k6-tdk/src/endpoints/graph/v1/me.ts | 19 - .../k6-tdk/src/endpoints/graph/v1/users.ts | 36 - packages/k6-tdk/src/endpoints/index.ts | 80 +- .../src/endpoints/ocs-v2-apps-cloud-groups.ts | 19 + .../src/endpoints/ocs-v2-apps-cloud-users.ts | 32 + .../ocs-v2-apps-file_sharing-v1-sharees.ts | 17 + .../ocs-v2-apps-file_sharing-v1-shares.ts | 48 + packages/k6-tdk/src/endpoints/ocs/index.ts | 11 - .../ocs/v2/apps/filesSharing/index.ts | 11 - .../ocs/v2/apps/filesSharing/v1/index.ts | 19 - .../ocs/v2/apps/filesSharing/v1/sharees.ts | 30 - .../ocs/v2/apps/filesSharing/v1/shares.ts | 44 - .../k6-tdk/src/endpoints/ocs/v2/apps/index.ts | 11 - .../src/endpoints/ocs/v2/cloud/groups.ts | 33 - .../src/endpoints/ocs/v2/cloud/index.ts | 19 - .../src/endpoints/ocs/v2/cloud/roles.ts | 22 - .../src/endpoints/ocs/v2/cloud/users.ts | 39 - packages/k6-tdk/src/endpoints/ocs/v2/index.ts | 15 - packages/k6-tdk/src/index.ts | 1 + packages/k6-tdk/src/utils/generate.test.ts | 26 + packages/k6-tdk/src/utils/generate.ts | 6 + packages/k6-tdk/src/utils/guard.test.ts | 20 + packages/k6-tdk/src/utils/guard.ts | 9 + packages/k6-tdk/src/utils/http.test.ts | 46 + packages/k6-tdk/src/utils/http.ts | 50 +- packages/k6-tdk/src/utils/index.ts | 6 +- packages/k6-tdk/src/utils/k6.test.ts | 63 + packages/k6-tdk/src/utils/k6.ts | 30 + packages/k6-tdk/src/utils/query.test.ts | 193 +++ packages/k6-tdk/src/utils/query.ts | 29 + packages/k6-tdk/src/utils/queue.ts | 57 - packages/k6-tdk/src/utils/url.test.ts | 31 + packages/k6-tdk/src/utils/url.ts | 39 +- packages/k6-tdk/src/utils/utils.ts | 35 - packages/k6-tdk/vitest.config.ts | 15 + packages/k6-tdk/yarn-error.log | 134 ++ packages/k6-tests/.eslintrc | 13 +- packages/k6-tests/artifacts/koko-010-login.js | 152 +-- .../artifacts/koko-020-navigate-file-tree.js | 152 +-- .../artifacts/koko-030-search-for-filename.js | 152 +-- .../artifacts/koko-040-upload-delete.js | 152 +-- .../artifacts/koko-050-upload-download.js | 152 +-- .../koko-060-create-rename-folder.js | 152 +-- .../koko-070-user-group-search-and-share.js | 146 +- .../artifacts/koko-080-create-space.js | 152 +-- .../koko-090-add-remove-user-share.js | 146 +- .../artifacts/koko-100-add-remove-tag.js | 150 +- .../artifacts/oc-share-upload-rename.js | 146 +- .../k6-tests/artifacts/sample-kitchen-sink.js | 154 +-- packages/k6-tests/artifacts/surf-upload.js | 152 +-- packages/k6-tests/package.json | 10 +- packages/k6-tests/src/koko/010-login.md | 20 +- packages/k6-tests/src/koko/010-login.ts | 116 +- .../src/koko/020-navigate-file-tree.md | 20 +- .../src/koko/020-navigate-file-tree.ts | 152 ++- .../src/koko/030-search-for-filename.md | 18 +- .../src/koko/030-search-for-filename.ts | 186 ++- .../k6-tests/src/koko/040-upload-delete.md | 18 +- .../k6-tests/src/koko/040-upload-delete.ts | 162 +-- .../k6-tests/src/koko/050-upload-download.md | 18 +- .../k6-tests/src/koko/050-upload-download.ts | 164 +-- .../src/koko/060-create-rename-folder.md | 18 +- .../src/koko/060-create-rename-folder.ts | 135 +- .../koko/070-user-group-search-and-share.md | 18 +- .../koko/070-user-group-search-and-share.ts | 243 ++-- .../k6-tests/src/koko/080-create-space.md | 14 +- .../k6-tests/src/koko/080-create-space.ts | 137 +- .../src/koko/090-add-remove-user-share.md | 18 +- .../src/koko/090-add-remove-user-share.ts | 180 +-- .../k6-tests/src/koko/100-add-remove-tag.md | 18 +- .../k6-tests/src/koko/100-add-remove-tag.ts | 183 ++- .../k6-tests/src/oc/share-upload-rename.md | 18 +- .../k6-tests/src/oc/share-upload-rename.ts | 174 ++- packages/k6-tests/src/sample/kitchen-sink.md | 18 +- packages/k6-tests/src/sample/kitchen-sink.ts | 563 ++++++-- packages/k6-tests/src/surf/upload.md | 10 +- packages/k6-tests/src/surf/upload.ts | 132 +- packages/turbowatch/package.json | 4 +- packages/turbowatch/src/index.ts | 7 +- pnpm-lock.yaml | 1205 ++++++++++++----- turbo.json | 5 +- 148 files changed, 5576 insertions(+), 4384 deletions(-) create mode 100644 packages/eslint-config/src/airbnb-base.js create mode 100644 packages/eslint-config/src/airbnb-typescript-base.js create mode 100644 packages/eslint-config/src/eslint.js create mode 100644 packages/eslint-config/src/import.js create mode 100644 packages/eslint-config/src/json-files.js create mode 100644 packages/eslint-config/src/no-relative-import-paths.js create mode 100644 packages/eslint-config/src/prettier.js create mode 100644 packages/eslint-config/src/relative-imports-when-same-folder.js create mode 100644 packages/eslint-config/src/simple-import-sort.js create mode 100644 packages/eslint-config/src/turbo.js create mode 100644 packages/k6-tdk/config/vitest.mocks.ts create mode 100644 packages/k6-tdk/src/auth/kopano.ts delete mode 100644 packages/k6-tdk/src/auth/openIDConnect.ts create mode 100644 packages/k6-tdk/src/client/me.ts create mode 100644 packages/k6-tdk/src/client/xml.ts create mode 100644 packages/k6-tdk/src/const.ts create mode 100644 packages/k6-tdk/src/endpoints/api-v0-settings.ts delete mode 100644 packages/k6-tdk/src/endpoints/api/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/api/v0/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/api/v0/settings.ts create mode 100644 packages/k6-tdk/src/endpoints/dav-files.ts create mode 100644 packages/k6-tdk/src/endpoints/dav-spaces.ts create mode 100644 packages/k6-tdk/src/endpoints/dav-systemtags.ts create mode 100644 packages/k6-tdk/src/endpoints/dav-systemtags_relations.ts create mode 100644 packages/k6-tdk/src/endpoints/dav.ts delete mode 100644 packages/k6-tdk/src/endpoints/dav/files.ts delete mode 100644 packages/k6-tdk/src/endpoints/dav/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/dav/spaces.ts delete mode 100644 packages/k6-tdk/src/endpoints/dav/systemtags.ts delete mode 100644 packages/k6-tdk/src/endpoints/dav/systemtagsRelations.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-applications.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-drives.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-extensions-org_libre_graph-tags.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-groups.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-me.ts create mode 100644 packages/k6-tdk/src/endpoints/graph-v1-users.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/applications.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/drives.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/extensions/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/tags.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/groups.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/me.ts delete mode 100644 packages/k6-tdk/src/endpoints/graph/v1/users.ts create mode 100644 packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-groups.ts create mode 100644 packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-users.ts create mode 100644 packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-sharees.ts create mode 100644 packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-shares.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/sharees.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/shares.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/apps/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/cloud/groups.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/cloud/index.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/cloud/roles.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/cloud/users.ts delete mode 100644 packages/k6-tdk/src/endpoints/ocs/v2/index.ts create mode 100644 packages/k6-tdk/src/utils/generate.test.ts create mode 100644 packages/k6-tdk/src/utils/generate.ts create mode 100644 packages/k6-tdk/src/utils/guard.test.ts create mode 100644 packages/k6-tdk/src/utils/guard.ts create mode 100644 packages/k6-tdk/src/utils/http.test.ts create mode 100644 packages/k6-tdk/src/utils/k6.test.ts create mode 100644 packages/k6-tdk/src/utils/k6.ts create mode 100644 packages/k6-tdk/src/utils/query.test.ts create mode 100644 packages/k6-tdk/src/utils/query.ts delete mode 100644 packages/k6-tdk/src/utils/queue.ts create mode 100644 packages/k6-tdk/src/utils/url.test.ts delete mode 100644 packages/k6-tdk/src/utils/utils.ts create mode 100644 packages/k6-tdk/vitest.config.ts create mode 100644 packages/k6-tdk/yarn-error.log diff --git a/package.json b/package.json index 6966209..649b136 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "clean": "turbo run clean --no-daemon --parallel && del-cli .pnpm-store node_modules", "dev": "ROARR_LOG=true turbo run dev --parallel --concurrency 64 --no-daemon | roarr", "lint": "eslint package.json && syncpack list-mismatches && turbo run lint --no-daemon", - "lint:fix": "eslint package.json --fix && syncpack fix-mismatches && turbo run lint:fix --no-daemon" + "lint:fix": "eslint package.json --fix && syncpack fix-mismatches && turbo run lint:fix --no-daemon", + "test": "turbo run test --no-daemon" }, "devDependencies": { "@changesets/cli": "^2.26.1", @@ -20,8 +21,8 @@ "@roarr/cli": "^5.11.0", "del-cli": "^5.0.0", "syncpack": "^9.8.4", - "turbo": "^1.8.8", - "typescript": "^5.0.3" + "turbo": "^1.9.1", + "typescript": "^5.0.4" }, "packageManager": "pnpm@7.30.5", "engines": { diff --git a/packages/esbuild/package.json b/packages/esbuild/package.json index 388575c..be77c32 100644 --- a/packages/esbuild/package.json +++ b/packages/esbuild/package.json @@ -25,7 +25,7 @@ "lint:fix": "pnpm run lint --fix" }, "dependencies": { - "esbuild": "^0.17.14" + "esbuild": "^0.17.16" }, "devDependencies": { "@ownclouders/eslint-config": "workspace:*", @@ -33,6 +33,6 @@ "@types/node": "^18.15.11", "concurrently": "^8.0.1", "del-cli": "^5.0.0", - "typescript": "^5.0.3" + "typescript": "^5.0.4" } } diff --git a/packages/esbuild/src/index.ts b/packages/esbuild/src/index.ts index e6d7357..09c7920 100644 --- a/packages/esbuild/src/index.ts +++ b/packages/esbuild/src/index.ts @@ -1,4 +1,4 @@ -import { build as _build, BuildOptions, BuildResult } from 'esbuild'; +import { build as _build, BuildOptions, BuildResult } from 'esbuild' export const build = async (config?: BuildOptions): Promise => { return _build({ @@ -8,7 +8,8 @@ export const build = async (config?: BuildOptions): Promise => { outdir: 'dist', format: 'esm', minify: true, + sourcemap: false, platform: 'node', ...config }) -}; +} diff --git a/packages/eslint-config/.eslintrc b/packages/eslint-config/.eslintrc index 63203c2..feabcd8 100644 --- a/packages/eslint-config/.eslintrc +++ b/packages/eslint-config/.eslintrc @@ -1,8 +1,4 @@ { "root": true, - "extends": ["."], - "parser": "espree", - "env": { - "node": true - } + "extends": ["."] } diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index 8b86f7b..556a2e1 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -1,95 +1,36 @@ +const sharedExtends = [ + require.resolve('./src/prettier.js'), + require.resolve('./src/eslint.js'), + require.resolve('./src/import.js'), + require.resolve('./src/turbo.js'), + require.resolve('./src/simple-import-sort.js') +] + module.exports = { extends: [ - 'eslint:recommended', - 'prettier', - 'turbo', - 'plugin:@typescript-eslint/eslint-recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:import/recommended' + require.resolve('./src/airbnb-base.js'), + ...sharedExtends ], - processor: 'disable/disable', - parser: '@typescript-eslint/parser', - parserOptions: { - project: './tsconfig.json' - }, - plugins: [ '@typescript-eslint', 'eslint-plugin-unicorn', 'disable', 'simple-import-sort', 'json-files', 'no-relative-import-paths', 'relative-imports-when-same-folder'], - rules: { - 'simple-import-sort/imports': 'error', - 'simple-import-sort/exports': 'error', - 'import/prefer-default-export': 'off', - 'import/extensions': 'off', - 'import/no-unresolved': 'off', - 'import/no-extraneous-dependencies': 'off', - 'import/first': 'error', - 'import/no-duplicates': 'error', - 'space-before-blocks': [ 'error', 'always' ], - 'import/newline-after-import': [ 'error', { 'count': 1 } ], - 'no-multiple-empty-lines': ['error', { 'max': 1, 'maxEOF': 1, 'maxBOF': 0 }], - 'import/no-named-as-default': 'error', - 'import/no-default-export': 'error', - 'import/no-useless-path-segments': 'error', - 'import/no-cycle': 'error', - 'import/no-self-import': 'error', - 'import/no-relative-packages': 'error', - 'object-curly-spacing': [ 'error', 'always' ], - 'comma-spacing': ['error', { 'before': false, 'after': true }], - 'comma-dangle': ['error', 'never'], - 'computed-property-spacing': [ 'error', 'always' ], - 'no-console': 'off', - 'arrow-body-style': ['error', 'always'], - 'arrow-parens': ['error', 'always'], - 'quotes': ['error', 'single', { 'avoidEscape': true }], - 'no-return-assign': 'off', - 'function-paren-newline': ['error', 'never'], - 'brace-style': 'error', - 'class-methods-use-this': 'off', - '@typescript-eslint/no-empty-interface': 'off', - 'indent': ['error', 2], - 'no-unused-vars': 'off', - 'no-underscore-dangle': 'off', - 'no-nested-ternary': 'off', - '@typescript-eslint/no-shadow': 'off', - 'no-await-in-loop': 'off', - 'no-plusplus': 'off', - '@typescript-eslint/no-namespace': 'off', - '@typescript-eslint/lines-between-class-members': 'off', - 'default-case': 'off', - 'no-restricted-syntax': 'off', - '@typescript-eslint/no-unused-expressions': 'off', - '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-loop-func': 'off', - 'lines-between-class-members': ['error', 'always'], - 'no-continue': 'off', - 'no-relative-import-paths/no-relative-import-paths': [ - 'error', - { 'allowSameFolder': true, 'rootDir': 'src', 'prefix': '@' } - ], - 'relative-imports-when-same-folder/no-relative-imports-when-same-folder': 'error' - }, - 'settings': { - 'import/resolver': { - 'typescript': {} - } - }, + ignorePatterns: ['build.mjs', 'turbowatch.ts', 'vitest.config.ts', '*.test.ts'], overrides: [ { - files: [ '**/package.json' ], - plugins: [ 'json-files' ], - parser: 'espree', - rules: { - 'json-files/sort-package-json': 'error', - 'json-files/require-license': 'error', - 'json-files/restrict-ranges': 'error', - 'json-files/require-unique-dependency-names': 'error', - 'relative-imports-when-same-folder/no-relative-imports-when-same-folder': 'off' + files: ['*.ts'], + extends: [ + require.resolve('./src/airbnb-base.js'), + require.resolve('./src/airbnb-typescript-base.js'), + require.resolve('./src/no-relative-import-paths.js'), + require.resolve('./src/relative-imports-when-same-folder.js'), + ...sharedExtends + ], + parserOptions: { + project: './tsconfig.json' } }, { - files: [ '**/*.js' ], - parser: 'espree', - rules: { - 'relative-imports-when-same-folder/no-relative-imports-when-same-folder': 'off' - } + files: ['*.json'], + extends: [ + require.resolve('./src/json-files.js') + ] } ] -}; +} diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 03ec304..5345991 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -19,22 +19,22 @@ "lint:fix": "pnpm run lint --fix" }, "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.57.0", - "@typescript-eslint/parser": "^5.57.0", + "@typescript-eslint/eslint-plugin": "^5.58.0", + "@typescript-eslint/parser": "^5.58.0", + "eslint-config-airbnb-base": "^15.0.0", + "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.8.0", - "eslint-config-turbo": "^1.8.8", - "eslint-import-resolver-typescript": "^3.5.4", - "eslint-plugin-disable": "^2.0.3", + "eslint-config-turbo": "^1.9.1", + "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", "eslint-plugin-json-files": "^2.1.0", "eslint-plugin-no-relative-import-paths": "^1.5.2", "eslint-plugin-relative-imports-when-same-folder": "^0.0.4", - "eslint-plugin-simple-import-sort": "^10.0.0", - "eslint-plugin-unicorn": "^46.0.0" + "eslint-plugin-simple-import-sort": "^10.0.0" }, "devDependencies": { "del-cli": "^5.0.0", - "eslint": "^8.37.0", - "typescript": "^5.0.3" + "eslint": "^8.38.0", + "typescript": "^5.0.4" } } diff --git a/packages/eslint-config/src/airbnb-base.js b/packages/eslint-config/src/airbnb-base.js new file mode 100644 index 0000000..8d4c94a --- /dev/null +++ b/packages/eslint-config/src/airbnb-base.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['airbnb-base'], +} diff --git a/packages/eslint-config/src/airbnb-typescript-base.js b/packages/eslint-config/src/airbnb-typescript-base.js new file mode 100644 index 0000000..46ff934 --- /dev/null +++ b/packages/eslint-config/src/airbnb-typescript-base.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['airbnb-typescript/base'], +} diff --git a/packages/eslint-config/src/eslint.js b/packages/eslint-config/src/eslint.js new file mode 100644 index 0000000..825e649 --- /dev/null +++ b/packages/eslint-config/src/eslint.js @@ -0,0 +1,14 @@ +module.exports = { + rules: { + 'max-len': ['error', 150], + 'arrow-body-style': ['error', 'always'], + 'semi': ['error', 'never'], + 'arrow-parens': ['error', 'always'], + 'brace-style': ['error', '1tbs', { allowSingleLine: false }], + 'object-curly-spacing': [ 'error', 'always' ], + 'quotes': ['error', 'single', { 'avoidEscape': true }], + 'comma-spacing': ['error', { 'before': false, 'after': true }], + 'comma-dangle': ['error', 'never'], + 'no-console': 'off' + } +} diff --git a/packages/eslint-config/src/import.js b/packages/eslint-config/src/import.js new file mode 100644 index 0000000..e702531 --- /dev/null +++ b/packages/eslint-config/src/import.js @@ -0,0 +1,14 @@ +module.exports = { + extends: ['plugin:import/recommended'], + rules: { + 'import/extensions': 'off', + 'import/no-unresolved': 'off', + 'import/prefer-default-export': 'off', + 'import/no-duplicates': 'error', + 'import/newline-after-import': ['error', { count: 1 }], + 'import/no-default-export': 'error', + 'import/no-useless-path-segments': 'error', + 'import/no-cycle': 'error', + 'import/no-self-import': 'error' + } +} diff --git a/packages/eslint-config/src/json-files.js b/packages/eslint-config/src/json-files.js new file mode 100644 index 0000000..6bdd0c6 --- /dev/null +++ b/packages/eslint-config/src/json-files.js @@ -0,0 +1,10 @@ +module.exports = { + plugins: ['json-files'], + rules: { + 'json-files/sort-package-json': 'error', + 'json-files/require-license': 'error', + 'json-files/restrict-ranges': 'error', + 'json-files/require-unique-dependency-names': 'error', + 'relative-imports-when-same-folder/no-relative-imports-when-same-folder': 'off', + }, +} diff --git a/packages/eslint-config/src/no-relative-import-paths.js b/packages/eslint-config/src/no-relative-import-paths.js new file mode 100644 index 0000000..128cb92 --- /dev/null +++ b/packages/eslint-config/src/no-relative-import-paths.js @@ -0,0 +1,9 @@ +module.exports = { + plugins: ['no-relative-import-paths'], + rules: { + 'no-relative-import-paths/no-relative-import-paths': [ + 'error', + { 'allowSameFolder': true, 'rootDir': 'src', 'prefix': '@' } + ] + } +} diff --git a/packages/eslint-config/src/prettier.js b/packages/eslint-config/src/prettier.js new file mode 100644 index 0000000..5612094 --- /dev/null +++ b/packages/eslint-config/src/prettier.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['prettier'], +} diff --git a/packages/eslint-config/src/relative-imports-when-same-folder.js b/packages/eslint-config/src/relative-imports-when-same-folder.js new file mode 100644 index 0000000..822833e --- /dev/null +++ b/packages/eslint-config/src/relative-imports-when-same-folder.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: ['relative-imports-when-same-folder'], + rules: { + 'relative-imports-when-same-folder/no-relative-imports-when-same-folder': 'error' + } +} diff --git a/packages/eslint-config/src/simple-import-sort.js b/packages/eslint-config/src/simple-import-sort.js new file mode 100644 index 0000000..945251d --- /dev/null +++ b/packages/eslint-config/src/simple-import-sort.js @@ -0,0 +1,7 @@ +module.exports = { + plugins: ['simple-import-sort'], + rules: { + 'simple-import-sort/imports': 'error', + 'simple-import-sort/exports': 'error', + } +} diff --git a/packages/eslint-config/src/turbo.js b/packages/eslint-config/src/turbo.js new file mode 100644 index 0000000..c20f1fd --- /dev/null +++ b/packages/eslint-config/src/turbo.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['turbo'], +} diff --git a/packages/k6-tdk/.eslintrc b/packages/k6-tdk/.eslintrc index 35ccc25..8b21180 100644 --- a/packages/k6-tdk/.eslintrc +++ b/packages/k6-tdk/.eslintrc @@ -3,9 +3,18 @@ "extends": ["@ownclouders"], "overrides": [ { - "files": [ - "src/**/*" - ] + "files": ["src/client/**/*"], + "rules": { + // has to return different values because of ocis, nc and occ compatibility / incompatibility + "consistent-return": "off" + } + }, + { + "files": ["src/endpoints/**/*", "src/client/xml.ts"], + "rules": { + // has some `strange` naming conventions e.g. 'METHOD__description_what_it_does', 'POST_create_user' + "@typescript-eslint/naming-convention": "off" + } } ] } diff --git a/packages/k6-tdk/config/vitest.mocks.ts b/packages/k6-tdk/config/vitest.mocks.ts new file mode 100644 index 0000000..ff89527 --- /dev/null +++ b/packages/k6-tdk/config/vitest.mocks.ts @@ -0,0 +1,31 @@ +import { vi } from 'vitest' + +vi.mock('k6/http', () => { + return { + CookieJar: vi.fn() + } +}) + +vi.mock('k6/encoding', () => { + return {} +}) + +vi.mock('k6', () => { + return {} +}) + +vi.mock('https://jslib.k6.io/url/1.0.0/index.js', () => { + return { + URLSearchParams: URLSearchParams + } +}) + +vi.mock('k6/experimental/timers', () => { + return {} +}) + +vi.mock('https://jslib.k6.io/k6-utils/1.2.0/index.js', () => { + return { + randomString: vi.fn() + } +}) diff --git a/packages/k6-tdk/package.json b/packages/k6-tdk/package.json index 9a5e06d..f7bb28d 100644 --- a/packages/k6-tdk/package.json +++ b/packages/k6-tdk/package.json @@ -71,7 +71,8 @@ "clean:vendor": "del-cli .turbo node_modules", "dev": "turbowatch", "lint": "eslint package.json 'src/**/*.ts'", - "lint:fix": "pnpm run lint --fix" + "lint:fix": "pnpm run lint --fix", + "test": "vitest run" }, "dependencies": { "jsonpath": "^1.1.1", @@ -84,14 +85,16 @@ "@ownclouders/tsconfig": "workspace:*", "@ownclouders/turbowatch": "workspace:*", "@types/jsonpath": "^0.2.0", - "@types/k6": "^0.43.2", + "@types/k6": "^0.43.3", "@types/lodash-es": "^4.17.7", "@types/node": "^18.15.11", "concurrently": "^8.0.1", "del-cli": "^5.0.0", - "esbuild": "^0.17.14", - "eslint": "^8.37.0", - "turbowatch": "^2.20.0", - "typescript": "^5.0.3" + "esbuild": "^0.17.16", + "eslint": "^8.38.0", + "turbowatch": "^2.21.0", + "typescript": "^5.0.4", + "vite-tsconfig-paths": "^4.2.0", + "vitest": "^0.30.1" } } diff --git a/packages/k6-tdk/src/auth/auth.ts b/packages/k6-tdk/src/auth/auth.ts index 36fefb7..f3cafd3 100644 --- a/packages/k6-tdk/src/auth/auth.ts +++ b/packages/k6-tdk/src/auth/auth.ts @@ -1,15 +1,11 @@ export const Adapter = { - openIDConnect: 'openIDConnect', + kopano: 'kopano', basicAuth: 'basicAuth' -} as const; +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare export type Adapter = (typeof Adapter)[keyof typeof Adapter]; -export interface Account { - login: string; - password: string; -} - export interface Token { accessToken: string; tokenType: string; @@ -17,7 +13,6 @@ export interface Token { expiresIn: number; } -export type Credential = Token | Account; export interface Authenticator { header: string; diff --git a/packages/k6-tdk/src/auth/basicAuth.ts b/packages/k6-tdk/src/auth/basicAuth.ts index f70186a..2c381e1 100644 --- a/packages/k6-tdk/src/auth/basicAuth.ts +++ b/packages/k6-tdk/src/auth/basicAuth.ts @@ -1,15 +1,18 @@ -import encoding from 'k6/encoding'; +import encoding from 'k6/encoding' -import { Account, Authenticator } from './auth'; +import { Authenticator } from './auth' export class BasicAuth implements Authenticator { - readonly #account: Account; + private readonly userLogin: string - constructor(account: Account) { - this.#account = account; + private readonly userPassword: string + + constructor(p: { userLogin: string, userPassword: string }) { + this.userLogin = p.userLogin + this.userPassword = p.userPassword } public get header(): string { - return `Basic ${encoding.b64encode(`${this.#account.login}:${this.#account.password}`)}`; + return `Basic ${encoding.b64encode(`${this.userLogin}:${this.userPassword}`)}` } } diff --git a/packages/k6-tdk/src/auth/index.ts b/packages/k6-tdk/src/auth/index.ts index 53b9446..c7e9b02 100644 --- a/packages/k6-tdk/src/auth/index.ts +++ b/packages/k6-tdk/src/auth/index.ts @@ -1,3 +1,3 @@ -export { Account, Adapter, Authenticator, Credential, Token } from './auth'; -export { BasicAuth } from './basicAuth'; -export { OpenIDConnect } from './openIDConnect'; +export { Adapter, Authenticator } from './auth' +export { BasicAuth } from './basicAuth' +export { Kopano } from './kopano' diff --git a/packages/k6-tdk/src/auth/kopano.ts b/packages/k6-tdk/src/auth/kopano.ts new file mode 100644 index 0000000..85dab85 --- /dev/null +++ b/packages/k6-tdk/src/auth/kopano.ts @@ -0,0 +1,132 @@ +import { fail } from 'k6' +import http from 'k6/http' +import { get } from 'lodash-es' + +import { cleanURL, objectToQueryString, queryStringToObject, randomString } from '@/utils' + +import { Authenticator, Token } from './auth' + +export class Kopano implements Authenticator { + private userLogin: string + + private userPassword: string + + private baseUrl: string + + private redirectURL: string + + private logonURL: string + + private tokenURL: string + + private cache?: { + validTo: Date + token: Token + } + + constructor(p: {userLogin: string, userPassword: string, baseUrl: string}) { + this.userLogin = p.userLogin + this.userPassword = p.userPassword + this.baseUrl = p.baseUrl + this.redirectURL = cleanURL(`${this.baseUrl}/oidc-callback.html`) + this.logonURL = cleanURL(`${this.baseUrl}/signin/v1/identifier/_/logon`) + this.tokenURL = cleanURL(`${this.baseUrl}/konnect/v1/token`) + } + + public get header(): string { + return `${this.credential.tokenType} ${this.credential.accessToken}` + } + + private get credential(): Token { + if (!this.cache || this.cache.validTo <= new Date()) { + const continueURI = this.getContinueURI() + const code = this.getCode(continueURI) + const token = this.getToken(code) + this.cache = { + validTo: ((): Date => { + const offset = 5 + const d = new Date() + + d.setSeconds(d.getSeconds() + token.expiresIn - offset) + + return d + })(), + token + } + } + + return this.cache.token + } + + private getContinueURI(): string { + const logonResponse = http.post( + this.logonURL, + JSON.stringify({ + params: [this.userLogin, this.userPassword, '1'], + hello: { + scope: 'openid profile email', + client_id: 'web', + redirect_uri: this.redirectURL, + flow: 'oidc' + }, + state: randomString(16) + }), + { + headers: { + 'Kopano-Konnect-XSRF': '1', + Referer: this.baseUrl, + 'Content-Type': 'application/json' + } + } + ) + const continueURI = get(logonResponse.json(), 'hello.continue_uri') + if (logonResponse.status !== 200 || !continueURI) { + fail(this.logonURL) + } + + return continueURI + } + + private getCode(continueURI: string): string { + const authorizeUri = `${continueURI}?${objectToQueryString({ + client_id: 'web', + prompt: 'none', + redirect_uri: this.redirectURL, + response_mode: 'query', + response_type: 'code', + scope: 'openid profile email' + })}` + const authorizeResponse = http.get(authorizeUri, { + redirects: 0 + }) + + const code = get(queryStringToObject(authorizeResponse.headers.Location), 'code') + if (authorizeResponse.status !== 302 || !code) { + fail(continueURI) + } + + return code + } + + private getToken(code: string): Token { + const tokenResponse = http.post(this.tokenURL, { + client_id: 'web', + code, + redirect_uri: this.redirectURL, + grant_type: 'authorization_code' + }) + + const token = { + accessToken: get(tokenResponse.json(), 'access_token', ''), + tokenType: get(tokenResponse.json(), 'token_type', ''), + idToken: get(tokenResponse.json(), 'id_token', ''), + expiresIn: get(tokenResponse.json(), 'expires_in', 0) + } + + if (tokenResponse.status !== 200 || !token.accessToken || !token.tokenType || !token.idToken || !token.expiresIn) { + fail(this.tokenURL) + } + + return token + } +} diff --git a/packages/k6-tdk/src/auth/openIDConnect.ts b/packages/k6-tdk/src/auth/openIDConnect.ts deleted file mode 100644 index fc9a20d..0000000 --- a/packages/k6-tdk/src/auth/openIDConnect.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { fail } from 'k6'; -import http from 'k6/http'; -import { get } from 'lodash-es'; - -import { objectToQueryString, queryStringToObject, randomString } from '@/utils'; - -import { Account, Authenticator, Token } from './auth'; - -export class OpenIDConnect implements Authenticator { - #account: Account; - - #baseURL: string; - - #redirectURL: string; - - #logonURL: string; - - #tokenURL: string; - - #cache?: { - validTo: Date; - token: Token; - }; - - constructor(account: Account, baseURL: string) { - this.#account = account; - this.#baseURL = baseURL; - this.#redirectURL = `${baseURL}/oidc-callback.html`; - this.#logonURL = `${baseURL}/signin/v1/identifier/_/logon`; - this.#tokenURL = `${baseURL}/konnect/v1/token`; - } - - public get header(): string { - return `${this.credential.tokenType} ${this.credential.accessToken}`; - } - - private get credential(): Token { - if (!this.#cache || this.#cache.validTo <= new Date()) { - const continueURI = this.getContinueURI(); - const code = this.getCode(continueURI); - const token = this.getToken(code); - this.#cache = { - validTo: ((): Date => { - const offset = 5; - const d = new Date(); - - d.setSeconds(d.getSeconds() + token.expiresIn - offset); - - return d; - })(), - token - }; - } - - return this.#cache.token; - } - - private getContinueURI(): string { - const logonResponse = http.post(this.#logonURL, - JSON.stringify({ - params: [ this.#account.login, this.#account.password, '1' ], - hello: { - scope: 'openid profile email', - client_id: 'web', - redirect_uri: this.#redirectURL, - flow: 'oidc' - }, - state: randomString(16) - }), - { - headers: { - 'Kopano-Konnect-XSRF': '1', - Referer: this.#baseURL, - 'Content-Type': 'application/json' - } - }); - const continueURI = get(logonResponse.json(), 'hello.continue_uri'); - if (logonResponse.status !== 200 || !continueURI) { - fail(this.#logonURL); - } - - return continueURI; - } - - private getCode(continueURI: string): string { - const authorizeUri = `${continueURI}?${objectToQueryString({ - client_id: 'web', - prompt: 'none', - redirect_uri: this.#redirectURL, - response_mode: 'query', - response_type: 'code', - scope: 'openid profile email' - })}`; - const authorizeResponse = http.get(authorizeUri, { - redirects: 0 - }); - - const code = get(queryStringToObject(authorizeResponse.headers.Location), 'code'); - if (authorizeResponse.status !== 302 || !code) { - fail(continueURI); - } - - return code; - } - - private getToken(code: string): Token { - const tokenResponse = http.post(this.#tokenURL, { - client_id: 'web', - code, - redirect_uri: this.#redirectURL, - grant_type: 'authorization_code' - }); - - const token = { - accessToken: get(tokenResponse.json(), 'access_token', ''), - tokenType: get(tokenResponse.json(), 'token_type', ''), - idToken: get(tokenResponse.json(), 'id_token', ''), - expiresIn: get(tokenResponse.json(), 'expires_in', 0) - }; - - if (tokenResponse.status !== 200 || !token.accessToken || !token.tokenType || !token.idToken || !token.expiresIn) { - fail(this.#tokenURL); - } - - return token; - } -} diff --git a/packages/k6-tdk/src/client/application.ts b/packages/k6-tdk/src/client/application.ts index d7e0e01..d5cb3cd 100644 --- a/packages/k6-tdk/src/client/application.ts +++ b/packages/k6-tdk/src/client/application.ts @@ -1,32 +1,29 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; - -import { Version, versionSupported } from './client'; - -export class Application { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - list(): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class Application extends EndpointClient { + listApplications(): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.applications.GET__get_applications(this.request, {}) } - const response = this.#endpoints.graph.v1.applications.list(); - - check(response, { - 'client -> application.list - status': ({ status }) => { - return status === 200 + check({ skip:!response, val: response }, { + 'client -> application.listApplications - status': (r) => { + return r?.status === 200 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/client.ts b/packages/k6-tdk/src/client/client.ts index 866402c..fd6db8e 100644 --- a/packages/k6-tdk/src/client/client.ts +++ b/packages/k6-tdk/src/client/client.ts @@ -1,19 +1,14 @@ -export const Version = { - ocis: 'ocis', - occ: 'occ', - nc: 'nc' -} as const; +import { Platform } from '@/const' +import { Request } from '@/utils' -export type Version = (typeof Version)[keyof typeof Version]; -export const versionSupported = (currentVersion: Version, ...allowedVersions: Version[]) => { - return allowedVersions.includes(currentVersion) -} +export abstract class EndpointClient { + protected readonly platform: Platform -export const versionGuard = (currentVersion: Version, ...allowedVersions: Version[]) => { - if(!versionSupported(currentVersion, ...allowedVersions)) { - return - } + protected readonly request: Request - throw new Error(`you are using the client version [${currentVersion}] which is not compatible with the test, the following versions are compatible: [${allowedVersions.join(', ')}]`) + constructor(platform: Platform, request: Request) { + this.platform = platform + this.request = request + } } diff --git a/packages/k6-tdk/src/client/drive.ts b/packages/k6-tdk/src/client/drive.ts index 82e4599..6651d95 100644 --- a/packages/k6-tdk/src/client/drive.ts +++ b/packages/k6-tdk/src/client/drive.ts @@ -1,48 +1,49 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; - -import { Version, versionSupported } from './client'; - -export class Drive { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - create(name: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class Drive extends EndpointClient { + createDrive(p: { driveName: string }): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.drives.POST__create_drive(this.request, p) } - const response = this.#endpoints.graph.v1.drives.create(name); - - check(response, { - 'client -> drive.create - status': ({ status }) => { - return status === 201 + check({ skip: !response, val: response }, { + 'client -> application.createDrive - status': (r) => { + return r?.status === 201 } - }); + }) - return response; + return response } - delete(id: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; + deleteDrive(p: { driveId: string }): RefinedResponse<'none'> | undefined { + let response: RefinedResponse<'none'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.drives.DELETE__delete_drive(this.request, p) } - const response = this.#endpoints.graph.v1.drives.delete(id); - - check(response, { - 'client -> drive.delete - status': ({ status }) => { - return status === 204 + check({ skip: !response, val: response }, { + 'client -> drive.deleteDrive - status': (r) => { + return r?.status === 204 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/group.ts b/packages/k6-tdk/src/client/group.ts index e933e6a..43991fa 100644 --- a/packages/k6-tdk/src/client/group.ts +++ b/packages/k6-tdk/src/client/group.ts @@ -1,62 +1,54 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; - -import { Version } from './client'; - -export class Group { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - create(id: string): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.groups.create(id); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.ocs.v2.cloud.groups.create(id); - break; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class Group extends EndpointClient { + createGroup(p: { groupName: string }): RefinedResponse<'text'> { + let response: RefinedResponse<'text'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.ocs.v2.apps.cloud.groups.POST__create_group(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.groups.POST__create_group(this.request, p) } - check(response, { - 'client -> group.create - status': ({ status }) => { + check({ val: response }, { + 'client -> group.createGroup - status': ({ status }) => { return status === 200 } - }); + }) - return response; + return response } - delete(id: string): RefinedResponse<'text'> { - let response; - let statusSuccess: number; - - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.groups.delete(id); - statusSuccess = 204; - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.ocs.v2.cloud.groups.delete(id); - statusSuccess = 200; - break; + deleteGroup(p: { groupIdOrName: string }): RefinedResponse<'text' | 'none'> { + let response: RefinedResponse<'text' | 'none'> + let expectedStatus: number + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request, { groupName: p.groupIdOrName }) + expectedStatus = 200 + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.groups.DELETE__delete_group(this.request, { groupId: p.groupIdOrName }) + expectedStatus = 204 } - check(response, { - 'client -> group.delete - status': ({ status }) => { - return status === statusSuccess + check({ val: response }, { + 'client -> group.deleteGroup - status': ({ status }) => { + return status === expectedStatus } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/index.ts b/packages/k6-tdk/src/client/index.ts index d43fef0..34ff35d 100644 --- a/packages/k6-tdk/src/client/index.ts +++ b/packages/k6-tdk/src/client/index.ts @@ -1,65 +1,78 @@ -import { CookieJar } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; +import { CookieJar } from 'k6/http' -import { Account, Adapter, Authenticator, BasicAuth, OpenIDConnect } from '@/auth'; -import { requestFactory } from '@/utils/http'; +import { Adapter, Authenticator, BasicAuth, Kopano } from '@/auth' +import { Platform } from '@/const' +import { requestFactory } from '@/utils' -import { Application } from './application'; -import { Version } from './client'; -import { Drive } from './drive'; -import { Group } from './group'; -import { Resource } from './resource'; -import { Role } from './role'; -import { Search } from './search'; -import { Share } from './share'; -import { Tag } from './tag'; -import { User } from './user'; +import { Application } from './application' +import { Drive } from './drive' +import { Group } from './group' +import { Me } from './me' +import { Resource } from './resource' +import { Role } from './role' +import { Search } from './search' +import { Share } from './share' +import { Tag } from './tag' +import { User } from './user' -export * from './client'; +export * from './client' export class Client { - application: Application; + application: Application - drive: Drive; + drive: Drive - group: Group; + me: Me - resource: Resource; + group: Group - role: Role; + resource: Resource - search: Search; + role: Role - share: Share; + search: Search - tag: Tag; + share: Share - user: User; + tag: Tag - constructor(url: string, version: Version, authAdapter: Adapter, account: Account) { - let authenticator: Authenticator; - switch (authAdapter) { - case Adapter.openIDConnect: - authenticator = new OpenIDConnect(account, url); - break; - case Adapter.basicAuth: - authenticator = new BasicAuth(account); - break; + user: User + + constructor(p: { + baseUrl: string, + platform: Platform, + authAdapter: Adapter, + userLogin: string, + userPassword: string + }) { + let authn: Authenticator + switch (p.authAdapter) { + case Adapter.basicAuth: + authn = new BasicAuth(p) + break + case Adapter.kopano: + default: + authn = new Kopano(p) + break } - const request = requestFactory(url, authenticator, { - jar: new CookieJar() - }); - const endpoints = new Endpoints(request); - - this.application = new Application(version, endpoints); - this.drive = new Drive(version, endpoints); - this.group = new Group(version, endpoints); - this.resource = new Resource(version, endpoints); - this.role = new Role(version, endpoints); - this.search = new Search(version, endpoints); - this.share = new Share(endpoints); - this.tag = new Tag(version, endpoints); - this.user = new User(version, endpoints); + const request = requestFactory({ + authn, + baseUrl: p.baseUrl, + params: { + jar: new CookieJar() + } + }) + + this.application = new Application(p.platform, request) + this.drive = new Drive(p.platform, request) + this.group = new Group(p.platform, request) + this.me = new Me(p.platform, request) + this.resource = new Resource(p.platform, request) + this.role = new Role(p.platform, request) + this.search = new Search(p.platform, request) + this.share = new Share(p.platform, request) + this.tag = new Tag(p.platform, request) + this.user = new User(p.platform, request) } } diff --git a/packages/k6-tdk/src/client/me.ts b/packages/k6-tdk/src/client/me.ts new file mode 100644 index 0000000..ff1a840 --- /dev/null +++ b/packages/k6-tdk/src/client/me.ts @@ -0,0 +1,49 @@ +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class Me extends EndpointClient { + getMyProfile(): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.me.GET__current_user(this.request, {}) + } + + check({ skip: !response, val: response }, { + 'client -> role.getMyProfile - status': (r) => { + return r?.status === 200 + } + }) + + return response + } + + getMyDrives(): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.me.GET__get_current_user_drives(this.request, {}) + } + + check({ skip: !response, val: response }, { + 'client -> role.getMyDrives - status': (r) => { + return r?.status === 200 + } + }) + + return response + } +} diff --git a/packages/k6-tdk/src/client/resource.ts b/packages/k6-tdk/src/client/resource.ts index a03bf7e..739ea16 100644 --- a/packages/k6-tdk/src/client/resource.ts +++ b/packages/k6-tdk/src/client/resource.ts @@ -1,151 +1,141 @@ -import { check } from 'k6'; -import { RefinedResponse, RequestBody } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; -import { create } from 'xmlbuilder2'; - -import { Version } from './client'; - -export class Resource { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - upload(id: string, path: string, body: RequestBody): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.upload(id, path, body); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.upload(id, path, body); - break; +import { RefinedResponse, RequestBody } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' +import { RESOURCE__get_resource_properties } from './xml' + +export class Resource extends EndpointClient { + createResource(p: { root: string, resourcePath: string }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.MKCOL__create_resource(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.MKCOL__create_resource(this.request, { ...p, driveId: p.root }) } - check(response, { - 'client -> resource.upload - status': ({ status }) => { + check({ val: response }, { + 'client -> resource.createResource - status': ({ status }) => { return status === 201 } - }); + }) - return response; + return response } - create(id: string, path: string): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.create(id, path); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.create(id, path); - break; + deleteResource(p: { resourcePath: string, root: string }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.DELETE__delete_resource(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.DELETE__delete_resource(this.request, { ...p, driveId: p.root }) } - check(response, { - 'client -> resource.create - status': ({ status }) => { - return status === 201 + check({ val: response }, { + 'client -> resource.deleteResource - status': ({ status }) => { + return status === 204 } - }); + }) - return response; + return response } - download(id: string, path: string): RefinedResponse<'binary'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.download(id, path); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.download(id, path); - break; + moveResource(p: { root: string, fromResourcePath: string, toResourcePath: string }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.MOVE__move_resource(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.MOVE__move_resource(this.request, { ...p, driveId: p.root }) } - check(response, { - 'client -> resource.download - status': ({ status }) => { - return status === 200 + check({ val: response }, { + 'client -> resource.moveResource - status': ({ status }) => { + return status === 201 } - }); + }) - return response; + return response } - propfind(id: string, path: string): RefinedResponse<'text'> { - const oc = 'http://owncloud.org/ns' - const dav = 'DAV:' - const body = create({ version: '1.0', encoding: 'UTF-8' }) - .ele(dav, 'propfind') - .ele(dav, 'prop') - .ele(oc, 'fileid') - .end(); - - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.propfind(id, path); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.propfind(id, path, body); - break; + getResourceProperties(p: { root: string, resourcePath: string }): RefinedResponse<'text'> { + const propfindXml = RESOURCE__get_resource_properties[this.platform]({}) + + let response: RefinedResponse<'text'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.PROPFIND__get_properties_for_resource(this.request, + { ...p, propfindXml }) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.PROPFIND__get_properties_for_resource(this.request, + { ...p, driveId: p.root, propfindXml }) } - check(response, { - 'client -> resource.propfind - status': ({ status }) => { + check({ val: response }, { + 'client -> resource.getResourceProperties - status': ({ status }) => { return status === 207 } - }); + }) - return response; + return response } - delete(id: string, path: string): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.delete(id, path); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.delete(id, path); - break; + uploadResource(p: { resourcePath: string, root: string, resourceBytes: RequestBody }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.PUT__upload_resource(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.PUT__upload_resource(this.request, { ...p, driveId: p.root }) } - check(response, { - 'client -> resource.delete - status': ({ status }) => { - return status === 204 + check({ val: response }, { + 'client -> resource.uploadResource - status': ({ status }) => { + return status === 201 } - }); + }) - return response; + return response } - move(id: string, from: string, to: string): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.spaces.move(id, from, to); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.move(id, from, to); - break; + downloadResource(p: { resourcePath: string, root: string }): RefinedResponse<'binary'> { + let response: RefinedResponse<'binary'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.files.GET__download_resource(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.GET__download_resource(this.request, + { ...p, driveId: p.root }) } - check(response, { - 'client -> resource.move - status': ({ status }) => { - return status === 201 + check({ val: response }, { + 'client -> resource.downloadResource - status': ({ status }) => { + return status === 200 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/role.ts b/packages/k6-tdk/src/client/role.ts index f447362..291188d 100644 --- a/packages/k6-tdk/src/client/role.ts +++ b/packages/k6-tdk/src/client/role.ts @@ -1,32 +1,53 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; - -import { Version, versionSupported } from './client'; - -export class Role { - #endpoints: Endpoints; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class Role extends EndpointClient { + getRoles(): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.api.v0.settings.POST__get_roles(this.request, {}) + } - #version: Version; + check({ skip: !response, val: response }, { + 'client -> role.getRoles - status': (r) => { + return r?.status === 201 + } + }) - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; + return response } - list(): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; + addRoleToUser(p: { + principalId: string, + appRoleId: string, + resourceId: string + }): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.users.POST__add_app_role_to_user(this.request, p) } - const response = this.#endpoints.api.v0.settings.rolesList(); - - check(response, { - 'client -> role.list - status': ({ status }) => { - return status === 201 + check({ skip: !response, val: response }, { + 'client -> role.addRoleToUser - status': (r) => { + return r?.status === 201 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/search.ts b/packages/k6-tdk/src/client/search.ts index 7a829dd..c8fe9d8 100644 --- a/packages/k6-tdk/src/client/search.ts +++ b/packages/k6-tdk/src/client/search.ts @@ -1,125 +1,63 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints, ItemType } from 'src/endpoints'; -import { create } from 'xmlbuilder2'; +import { RefinedResponse } from 'k6/http' -import { Version } from './client'; +import { Platform } from '@/const' +import { endpoints, ItemType } from '@/endpoints' +import { check } from '@/utils' -export class Search { - #endpoints: Endpoints; +import { EndpointClient } from './client' +import { SEARCH__search_for_resources, SEARCH__search_for_resources_by_tag } from './xml' - #version: Version; +export class Search extends EndpointClient { + searchForSharees(p: { searchQuery: string, searchItemType: ItemType }): RefinedResponse<'text'> { + const response = endpoints.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request, p) - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - sharee(search: string, itemType: ItemType): RefinedResponse<'text'> { - const response = this.#endpoints.ocs.v2.apps.filesSharing.v1.sharees.search(search, itemType) - - check(response, { - 'client -> search.sharee - status': ({ status }) => { + check({ val: response }, { + 'client -> search.searchForSharees - status': ({ status }) => { return status === 200 } - }); + }) return response } - resource(id: string, { query = '', limit = 10 }): RefinedResponse<'text'> { - const oc = 'http://owncloud.org/ns' - const dav = 'DAV:' - - let response; - switch (this.#version) { - case Version.ocis: - case Version.occ: - response = this.#endpoints.dav.files.report(id, - create({ version: '1.0', encoding: 'UTF-8' }) - .ele(oc, 'search-files') - .ele(dav, 'prop') - .ele(oc, 'fileid').up() - .up() - .ele(oc, 'search') - .ele(oc, 'pattern').txt(query).up() - .ele(oc, 'limit').txt(limit.toString()) - .end()); - break; - case Version.nc: - response = this.#endpoints.dav.search(create({ version: '1.0', encoding: 'UTF-8' }) - .ele(dav, 'searchrequest') - .ele(dav, 'basicsearch') - .ele(dav, 'select') - .ele(dav, 'prop') - .ele(oc, 'fileid') - .up().up().up() - .ele(dav, 'from') - .ele(dav, 'scope') - .ele(dav, 'href').txt(`/files/${id}`).up() - .ele(dav, 'depth').txt('infinity').up() - .up().up() - .ele(dav, 'where') - .ele(dav, 'like') - .ele(dav, 'prop') - .ele(dav, 'displayname') - .up().up() - .ele(dav, 'literal').txt(query) - .up().up() - .ele(dav, 'orderby') - .end()); - break; + searchForResources(p: { root: string, searchQuery: string, searchLimit?: number }): RefinedResponse<'text'> { + let response: RefinedResponse<'text'> + switch (this.platform) { + case Platform.nextcloud: + response = endpoints.dav.SEARCH__search_for_resources(this.request, { + searchXml: SEARCH__search_for_resources[this.platform](p) + }) + break + case Platform.ownCloudServer: + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.files.REPORT__get_report_for_resources(this.request, { + ...p, + reportXml: SEARCH__search_for_resources[this.platform](p) + }) } - check(response, { - 'client -> search.resource - status': ({ status }) => { + check({ val: response }, { + 'client -> search.searchForResources - status': ({ status }) => { return status === 207 } - }); + }) - return response; + return response } - tag(id: string, tag: string): RefinedResponse<'text'> { - const oc = 'http://owncloud.org/ns' - const dav = 'DAV:' - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.dav.files.report(id, - create({ version: '1.0', encoding: 'UTF-8' }) - .ele(oc, 'search-files') - .ele(dav, 'prop') - .ele(oc, 'fileid').up() - .up() - .ele(oc, 'search') - .ele(oc, 'pattern') - .txt(`Tags:${tag}`).up() - .ele(oc, 'limit').txt('200') - .end()); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.files.report(id, - create({ version: '1.0', encoding: 'UTF-8' }) - .ele(oc, 'filter-files') - .ele(dav, 'prop') - .ele(oc, 'fileid') - .up() - .up() - .ele(oc, 'filter-rules') - .ele(oc, 'systemtag') - .txt(tag) - .end()); - break; - } + searchForResourcesByTag(p: { root: string, tag: string }): RefinedResponse<'text'> { + const response = endpoints.dav.files.REPORT__get_report_for_resources(this.request, { + ...p, + reportXml: SEARCH__search_for_resources_by_tag[this.platform](p) + }) - check(response, { - 'client -> search.tag - status': ({ status }) => { + check({ val: response }, { + 'client -> search.searchForResourcesByTag - status': ({ status }) => { return status === 207 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/share.ts b/packages/k6-tdk/src/client/share.ts index bf81a9b..8ebf29e 100644 --- a/packages/k6-tdk/src/client/share.ts +++ b/packages/k6-tdk/src/client/share.ts @@ -1,47 +1,50 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints, Permission, ShareType } from 'src/endpoints'; +import { RefinedResponse } from 'k6/http' -export class Share { - #endpoints: Endpoints; +import { endpoints, Permission, ShareType } from '@/endpoints' +import { check } from '@/utils' - constructor(endpoints: Endpoints) { - this.#endpoints = endpoints; - } +import { EndpointClient } from './client' - create(path: string, shareWith: string, shareType: ShareType, permissions: Permission): RefinedResponse<'text'> { - const response = this.#endpoints.ocs.v2.apps.filesSharing.v1.shares.create(path, shareWith, shareType, permissions); +export class Share extends EndpointClient { + createShare(p: { + shareResourcePath: string, + shareType: ShareType, + shareReceiver: string, + shareReceiverPermission: Permission + }): RefinedResponse<'text'> { + const response = endpoints.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request, p, + { platform: this.platform }) - check(response, { - 'client -> share.create - status': ({ status }) => { + check({ val: response }, { + 'client -> share.createShare - status': ({ status }) => { return status === 200 } - }); + }) - return response; + return response } - delete(id: string): RefinedResponse<'text'> { - const response = this.#endpoints.ocs.v2.apps.filesSharing.v1.shares.delete(id); + deleteShare(p: { shareId: string }): RefinedResponse<'text'> { + const response = endpoints.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request, p) - check(response, { - 'client -> share.delete - status': ({ status }) => { + check({ val: response }, { + 'client -> share.deleteShare - status': ({ status }) => { return status === 200 } - }); + }) - return response; + return response } - accept(id: string): RefinedResponse<'text'> { - const response = this.#endpoints.ocs.v2.apps.filesSharing.v1.shares.accept(id); + acceptShare(p: { shareId: string }): RefinedResponse<'text'> { + const response = endpoints.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request, p) - check(response, { - 'client -> share.accept - status': ({ status }) => { + check({ val: response }, { + 'client -> share.acceptShare - status': ({ status }) => { return status === 200 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/tag.ts b/packages/k6-tdk/src/client/tag.ts index efac81d..133a392 100644 --- a/packages/k6-tdk/src/client/tag.ts +++ b/packages/k6-tdk/src/client/tag.ts @@ -1,156 +1,174 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; -import { create } from 'xmlbuilder2'; - -import { Version, versionSupported } from './client'; - -export class Tag { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - create(name: string, canAssign = true, userAssignable = true, userVisible = true): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.occ, Version.nc)) { - return; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' +import { TAG__get_tags, TAG__get_tags_for_resource } from './xml' + +export class Tag extends EndpointClient { + createTag(p: { + tagName: string, + canAssignTag?: boolean, + userAssignableTag?: boolean, + userVisibleTag?: boolean + }): RefinedResponse<'none'> | undefined { + const { + tagName, + userAssignableTag = true, + userVisibleTag = true, + canAssignTag = true + } = p + + let response: RefinedResponse<'none'> | undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.systemtags.POST__create_tag(this.request, { + tagName, + userAssignableTag, + userVisibleTag, + canAssignTag + }) + break + case Platform.ownCloudInfiniteScale: + default: } - const response = this.#endpoints.dav.systemtags.create(name, canAssign, userAssignable, userVisible); - - check(response, { - 'client -> tag.create - status': ({ status }) => { - return status === 201 + check({ skip: !response, val: response }, { + 'client -> tag.createTag - status': (r) => { + return r?.status === 201 } - }); + }) - return response; + return response } - delete(id: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.occ, Version.nc)) { - return; + deleteTag(p: { tag: string }): RefinedResponse<'none'> | undefined { + let response: RefinedResponse<'none'>| undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.systemtags.DELETE__delete_tag(this.request, { tagId: p.tag }) + break + case Platform.ownCloudInfiniteScale: + default: } - const response = this.#endpoints.dav.systemtags.delete(id); - - check(response, { - 'client -> tag.delete - status': ({ status }) => { - return status === 204 + check({ skip: !response, val: response }, { + 'client -> tag.deleteTag - status': (r) => { + return r?.status === 204 } - }); + }) - return response; + return response } - list(): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.occ, Version.nc)) { - return; + getTags(): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'>| undefined + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.systemtags.PROPFIND__get_tags_with_properties(this.request, { + propfindXml: TAG__get_tags[this.platform]({}) + }) + break + case Platform.ownCloudInfiniteScale: + default: } - const oc = 'http://owncloud.org/ns' - const dav = 'DAV:' - const response = this.#endpoints.dav.systemtags.list(create({ version: '1.0', encoding: 'UTF-8' }) - .ele(dav, 'propfind') - .ele(dav, 'prop') - .ele(oc, 'display-name') - .up() - .ele(oc, 'user-visible') - .up() - .ele(oc, 'user-assignable') - .up() - .ele(oc, 'id') - .up() - .end()); - - check(response, { - 'client -> tag.list - status': ({ status }) => { - return status === 207 + check({ skip: !response, val: response }, { + 'client -> tag.getTags - status': (r) => { + return r?.status === 207 } - }); + }) - return response; + return response } - assign(resourceId: string, tag: string): RefinedResponse<'text'> { - let response - let statusSuccess - - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.extensions.orgLibreGraph.tags.assign(resourceId, tag); - statusSuccess = 200; - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.systemtagsRelations.assign(resourceId, tag); - statusSuccess = 201; - break; + addTagToResource(p: { resourceId: string, tag: string }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + let expectedStatus: number + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + expectedStatus = 201 + response = endpoints.dav.systemtags_relations.PUT__add_tag_to_resource(this.request, { + resourceId: p.resourceId, + tagId: p.tag + }) + break + case Platform.ownCloudInfiniteScale: + default: + expectedStatus = 200 + response = endpoints.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request, { + resourceId: p.resourceId, + tagNames: [p.tag] + }) } - check(response, { - 'client -> tag.assign - status': ({ status }) => { - return status === statusSuccess + check({ val: response }, { + 'client -> tag.addTagToResource - status': ({ status }) => { + return status === expectedStatus } - }); + }) - return response; + return response } - unassign(resourceId: string, tag: string): RefinedResponse<'text'> { - let response - let statusSuccess - - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.extensions.orgLibreGraph.tags.unassign(resourceId, tag); - statusSuccess = 200; - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.dav.systemtagsRelations.unassign(resourceId, tag); - statusSuccess = 204; - break; + removeTagFromResource(p: { resourceId: string, tag: string }): RefinedResponse<'none'> { + let response: RefinedResponse<'none'> + let expectedStatus: number + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + expectedStatus = 204 + response = endpoints.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request, { + resourceId: p.resourceId, + tagId: p.tag + }) + break + case Platform.ownCloudInfiniteScale: + default: + expectedStatus = 200 + response = endpoints.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request, { + resourceId: p.resourceId, + tagNames: [p.tag] + }) } - check(response, { - 'client -> tag.unassign - status': ({ status }) => { - return status === statusSuccess + check({ val: response }, { + 'client -> tag.removeTagToResource - status': ({ status }) => { + return status === expectedStatus } - }); + }) - return response; + return response } - get(resourceId: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.occ, Version.nc)) { - return; + getTagsForResource(p: { root: string, resourceId: string, resourcePath: string }): RefinedResponse<'text'> { + const propfindXml = TAG__get_tags_for_resource[this.platform]({}) + + let response: RefinedResponse<'text'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request, + { resourceId: p.resourceId, propfindXml }) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.dav.spaces.PROPFIND__get_properties_for_resource(this.request, + { driveId: p.root, resourcePath: p.resourcePath, propfindXml }) } - const oc = 'http://owncloud.org/ns' - const dav = 'DAV:' - const response = this.#endpoints.dav.systemtagsRelations.propfind(resourceId, create({ version: '1.0', encoding: 'UTF-8' }) - .ele(dav, 'propfind') - .ele(dav, 'prop') - .ele(oc, 'display-name') - .up() - .ele(oc, 'user-visible') - .up() - .ele(oc, 'user-assignable') - .up() - .ele(oc, 'id') - .up() - .end()); - check(response, { - 'client -> tag.get - status': ({ status }) => { + check({ val: response }, { + 'client -> tag.getTagsForResource - status': ({ status }) => { return status === 207 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/user.ts b/packages/k6-tdk/src/client/user.ts index dde3817..b8013df 100644 --- a/packages/k6-tdk/src/client/user.ts +++ b/packages/k6-tdk/src/client/user.ts @@ -1,131 +1,75 @@ -import { check } from 'k6'; -import { RefinedResponse } from 'k6/http'; -import { Endpoints } from 'src/endpoints'; - -import { Account } from '@/auth'; - -import { Version, versionSupported } from './client'; - -export class User { - #endpoints: Endpoints; - - #version: Version; - - constructor(version: Version, endpoints: Endpoints) { - this.#version = version; - this.#endpoints = endpoints; - } - - drives(): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; +import { RefinedResponse } from 'k6/http' + +import { Platform } from '@/const' +import { endpoints } from '@/endpoints' +import { check } from '@/utils' + +import { EndpointClient } from './client' + +export class User extends EndpointClient { + createUser(p: { userLogin: string, userPassword: string }): RefinedResponse<'text'> { + let response: RefinedResponse<'text'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.ocs.v2.apps.cloud.users.POST__create_user(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.users.POST__create_user(this.request, p) } - const response = this.#endpoints.graph.v1.me.drives(); - - check(response, { - 'client -> user.drives - status': ({ status }) => { + check({ val: response }, { + 'client -> user.createUser - status': ({ status }) => { return status === 200 } - }); + }) - return response; + return response } - me(): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; + deleteUser(p: { userLogin: string }): RefinedResponse<'text' | 'none'> { + let expectedStatus: number + let response: RefinedResponse<'text' | 'none'> + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request, p) + expectedStatus = 200 + break + case Platform.ownCloudInfiniteScale: + default: + response = endpoints.graph.v1.users.DELETE__delete_user(this.request, p) + expectedStatus = 204 } - const response = this.#endpoints.graph.v1.me.me(); - - if (!response) { - return; - } - - check(response, { - 'client -> user.me - status': ({ status }) => { - return status === 200 + check({ val: response }, { + 'client -> user.deleteUser - status': ({ status }) => { + return status === expectedStatus } - }); + }) - return response; + return response } - enable(id: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.occ, Version.nc)) { - return; - } - - const response = this.#endpoints.ocs.v2.cloud.users.enable(id); - - check(response, { - 'client -> user.enable - status': ({ status }) => { - return status === 200 - } - }); - - return response; - } - - create(account: Account): RefinedResponse<'text'> { - let response; - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.users.create(account); - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.ocs.v2.cloud.users.create(account); - break; - } - - check(response, { - 'client -> user.create - status': ({ status }) => { - return status === 200 - } - }); - - return response; - } - - delete(id: string): RefinedResponse<'text'> { - let response; - let statusSuccess: number; - - switch (this.#version) { - case Version.ocis: - response = this.#endpoints.graph.v1.users.delete(id); - statusSuccess = 204; - break; - case Version.occ: - case Version.nc: - response = this.#endpoints.ocs.v2.cloud.users.delete(id); - statusSuccess = 200; - break; - } - - check(response, { - 'client -> user.delete - status': ({ status }) => { - return status === statusSuccess - } - }); - - return response; - } + enableUser(p: { userLogin: string }): RefinedResponse<'text'> | undefined { + let response: RefinedResponse<'text'> | undefined - assignRole(principalId: string, appRoleId: string, resourceId: string): RefinedResponse<'text'> | undefined { - if (!versionSupported(this.#version, Version.ocis)) { - return; + switch (this.platform) { + case Platform.ownCloudServer: + case Platform.nextcloud: + response = endpoints.ocs.v2.apps.cloud.users.PUT__enable_user(this.request, p) + break + case Platform.ownCloudInfiniteScale: + default: } - const response = this.#endpoints.graph.v1.users.appRoleAssignments(principalId, appRoleId, resourceId); - check(response, { - 'client -> user.assignRole - status': ({ status }) => { - return status === 201 + check({ skip: !response, val: response }, { + 'client -> user.enableUser - status': (r) => { + return r?.status === 200 } - }); + }) - return response; + return response } } diff --git a/packages/k6-tdk/src/client/xml.ts b/packages/k6-tdk/src/client/xml.ts new file mode 100644 index 0000000..9efe7e8 --- /dev/null +++ b/packages/k6-tdk/src/client/xml.ts @@ -0,0 +1,192 @@ +import { create } from 'xmlbuilder2' + +import { Platform } from '@/const' + +const namespace: Readonly> = { + oc: 'http://owncloud.org/ns', + dav: 'DAV:' +} + +const createProlog = () => { + return create({ version: '1.0', encoding: 'UTF-8' }) +} + +type PlatformXml< + OCIS extends Record = {}, + OCC extends Record = OCIS, + NC extends Record = OCC, +> = { + [Platform.ownCloudInfiniteScale]: (p: OCIS) => string; + [Platform.ownCloudServer]: (p: OCC) => string; + [Platform.nextcloud]: (p: NC) => string; +} + +/** + * resource.* + */ +export const RESOURCE__get_resource_properties: PlatformXml = { + [Platform.ownCloudInfiniteScale]() { + return createProlog() + .ele(namespace.dav, 'propfind') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid').up() + .ele(namespace.oc, 'tags').up() + .end() + }, + [Platform.ownCloudServer]() { + return this[Platform.ownCloudInfiniteScale]({}) + }, + [Platform.nextcloud]() { + return this[Platform.ownCloudServer]({}) + } +} + +/** + * search.* + */ +export const SEARCH__search_for_resources: PlatformXml< + { searchQuery: string, searchLimit?: number }, + { searchQuery: string, searchLimit?: number }, + { root: string, searchQuery: string, searchLimit?: number } +> = { + [Platform.ownCloudInfiniteScale](p) { + const { searchQuery, searchLimit = 100 } = p + + return createProlog() + .ele(namespace.oc, 'search-files') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid') + .up() + .up() + .ele(namespace.oc, 'search') + .ele(namespace.oc, 'pattern') + .txt(searchQuery) + .up() + .ele(namespace.oc, 'limit') + .txt(searchLimit.toString()) + .end() + + }, + [Platform.ownCloudServer](p) { + return this[Platform.ownCloudInfiniteScale](p) + }, + [Platform.nextcloud](p) { + const { root, searchQuery, searchLimit = 100 } = p + return createProlog() + .ele(namespace.dav, 'searchrequest') + .ele(namespace.dav, 'basicsearch') + .ele(namespace.dav, 'select') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid') + .up() + .up() + .up() + .ele(namespace.dav, 'from') + .ele(namespace.dav, 'scope') + .ele(namespace.dav, 'href') + .txt(`/files/${root}`) + .up() + .ele(namespace.dav, 'depth') + .txt('infinity') + .up() + .up() + .up() + .ele(namespace.dav, 'where') + .ele(namespace.dav, 'like') + .ele(namespace.dav, 'prop') + .ele(namespace.dav, 'displayname') + .up() + .up() + .ele(namespace.dav, 'literal') + .txt(searchQuery) + .up() + .up() + .ele(namespace.dav, 'orderby') + .up() + .ele(namespace.dav, 'limit') + .ele(namespace.dav, 'nresults') + .txt(searchLimit.toString()) + .end() + } +} + +export const SEARCH__search_for_resources_by_tag: PlatformXml< + { tag: string, searchLimit?: number } +> = { + [Platform.ownCloudInfiniteScale](p) { + const { tag, searchLimit = 100 } = p + + return createProlog() + .ele(namespace.oc, 'search-files') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid') + .up() + .up() + .ele(namespace.oc, 'search') + .ele(namespace.oc, 'pattern') + .txt(`Tags:"${tag}"`) + .up() + .ele(namespace.oc, 'limit') + .txt(searchLimit.toString()) + .end() + }, + [Platform.ownCloudServer](p) { + const { tag } = p + return createProlog() + .ele(namespace.oc, 'filter-files') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid') + .up() + .up() + .ele(namespace.oc, 'filter-rules') + .ele(namespace.oc, 'systemtag') + .txt(tag) + .end() + }, + [Platform.nextcloud](p) { + return this[Platform.ownCloudServer](p) + } +} + + +/** + * tag.* + */ +export const TAG__get_tags: PlatformXml = { + [Platform.ownCloudInfiniteScale]() { + return '' + }, + [Platform.ownCloudServer]() { + return createProlog() + .ele(namespace.dav, 'propfind') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'display-name') + .up() + .ele(namespace.oc, 'user-visible') + .up() + .ele(namespace.oc, 'user-assignable') + .up() + .ele(namespace.oc, 'id') + .end() + }, + [Platform.nextcloud]() { + return this[Platform.ownCloudServer]({}) + } +} + +export const TAG__get_tags_for_resource: PlatformXml = { + [Platform.ownCloudInfiniteScale]() { + return createProlog() + .ele(namespace.dav, 'propfind') + .ele(namespace.dav, 'prop') + .ele(namespace.oc, 'fileid').up() + .ele(namespace.oc, 'tags').up() + .end() + }, + [Platform.ownCloudServer]() { + return TAG__get_tags[Platform.ownCloudServer]({}) + }, + [Platform.nextcloud]() { + return this[Platform.ownCloudServer]({}) + } +} diff --git a/packages/k6-tdk/src/const.ts b/packages/k6-tdk/src/const.ts new file mode 100644 index 0000000..9e83bd0 --- /dev/null +++ b/packages/k6-tdk/src/const.ts @@ -0,0 +1,8 @@ +export const Platform = { + ownCloudInfiniteScale: 'ownCloudInfiniteScale', + ownCloudServer: 'ownCloudServer', + nextcloud: 'nextcloud' +} as const + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type Platform = (typeof Platform)[keyof typeof Platform]; diff --git a/packages/k6-tdk/src/endpoints/api-v0-settings.ts b/packages/k6-tdk/src/endpoints/api-v0-settings.ts new file mode 100644 index 0000000..98b3c71 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/api-v0-settings.ts @@ -0,0 +1,5 @@ +import { Endpoint } from './endpoints' + +export const POST__get_roles:Endpoint<{}, 'text'> = (r) => { + return r('POST', '/api/v0/settings/roles-list', JSON.stringify({})) +} diff --git a/packages/k6-tdk/src/endpoints/api/index.ts b/packages/k6-tdk/src/endpoints/api/index.ts deleted file mode 100644 index 0ac6789..0000000 --- a/packages/k6-tdk/src/endpoints/api/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { V0 } from './v0'; - -export class Api { - readonly v0: V0; - - constructor(request: Request) { - this.v0 = new V0(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/api/v0/index.ts b/packages/k6-tdk/src/endpoints/api/v0/index.ts deleted file mode 100644 index f77824a..0000000 --- a/packages/k6-tdk/src/endpoints/api/v0/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Settings } from './settings'; - -export class V0 { - readonly settings: Settings; - - constructor(request: Request) { - this.settings = new Settings(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/api/v0/settings.ts b/packages/k6-tdk/src/endpoints/api/v0/settings.ts deleted file mode 100644 index ad47e9e..0000000 --- a/packages/k6-tdk/src/endpoints/api/v0/settings.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Settings { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - rolesList(): RefinedResponse<'text'> { - return this.request('POST', '/api/v0/settings/roles-list', JSON.stringify({})); - } -} diff --git a/packages/k6-tdk/src/endpoints/dav-files.ts b/packages/k6-tdk/src/endpoints/dav-files.ts new file mode 100644 index 0000000..0d72bdd --- /dev/null +++ b/packages/k6-tdk/src/endpoints/dav-files.ts @@ -0,0 +1,56 @@ +import { RequestBody } from 'k6/http' + +import { Endpoint } from './endpoints' + +export const PUT__upload_resource: Endpoint<{ + root: string, resourcePath: string, resourceBytes: RequestBody +}, 'none'> = (r, { resourceBytes, root, resourcePath }) => { + return r('PUT', `/remote.php/dav/files/${root}/${resourcePath}`, resourceBytes) +} + +export const GET__download_resource: Endpoint<{ root: string, resourcePath: string }, 'binary'> = (r, { + root, + resourcePath +}) => { + return r('GET', `/remote.php/dav/files/${root}/${resourcePath}`) +} + +export const MKCOL__create_resource: Endpoint<{ root: string, resourcePath: string }, 'none'> = (r, { + resourcePath, + root +}) => { + return r('MKCOL', `/remote.php/dav/files/${root}/${resourcePath}`) +} + +export const DELETE__delete_resource: Endpoint<{ root: string, resourcePath: string }, 'none'> = (r, { + resourcePath, + root +}) => { + return r('DELETE', `/remote.php/dav/files/${root}/${resourcePath}`) +} +export const MOVE__move_resource: Endpoint<{ + root: string, + fromResourcePath: string, + toResourcePath: string +}, 'none'> = (r, { toResourcePath, root, fromResourcePath }) => { + return r('MOVE', `/remote.php/dav/files/${root}/${fromResourcePath}`, undefined, { + headers: { + destination: `/remote.php/dav/files/${root}/${toResourcePath}` + } + }) +} + +export const PROPFIND__get_properties_for_resource: Endpoint<{ + root: string, + resourcePath: string, + propfindXml?: RequestBody +}, 'text'> = (r, { root, resourcePath, propfindXml }) => { + return r('PROPFIND', `/remote.php/dav/files/${root}/${resourcePath}`, propfindXml) +} + +export const REPORT__get_report_for_resources: Endpoint<{ + root: string, + reportXml?: RequestBody +}, 'text'> = (r, { reportXml, root }) => { + return r('REPORT', `/remote.php/dav/files/${root}`, reportXml) +} diff --git a/packages/k6-tdk/src/endpoints/dav-spaces.ts b/packages/k6-tdk/src/endpoints/dav-spaces.ts new file mode 100644 index 0000000..bc6318a --- /dev/null +++ b/packages/k6-tdk/src/endpoints/dav-spaces.ts @@ -0,0 +1,51 @@ +import { RequestBody } from 'k6/http' + +import { Endpoint } from './endpoints' + +export const PUT__upload_resource: Endpoint<{ + driveId: string, + resourcePath: string, + resourceBytes: RequestBody +}, 'none'> = (r, { resourcePath, driveId, resourceBytes }) => { + return r('PUT', `/remote.php/dav/spaces/${driveId}/${resourcePath}`, resourceBytes) +} + +export const GET__download_resource: Endpoint<{ + driveId: string, + resourcePath: string +}, 'binary'> = (r, { resourcePath, driveId }) => { + return r('GET', `/remote.php/dav/spaces/${driveId}/${resourcePath}`) +} + +export const MKCOL__create_resource: Endpoint<{ + driveId: string, + resourcePath: string +}, 'none'> = (r, { resourcePath, driveId }) => { + return r('MKCOL', `/remote.php/dav/spaces/${driveId}/${resourcePath}`) +} + +export const DELETE__delete_resource: Endpoint<{ + driveId: string, + resourcePath: string +}, 'none'> = (r, { resourcePath, driveId }) => { + return r('DELETE', `/remote.php/dav/spaces/${driveId}/${resourcePath}`) +} +export const MOVE__move_resource: Endpoint<{ + driveId: string, + fromResourcePath: string, + toResourcePath: string +}, 'none'> = (r, { toResourcePath, driveId, fromResourcePath }) => { + return r('MOVE', `/remote.php/dav/spaces/${driveId}/${fromResourcePath}`, undefined, { + headers: { + destination: `/remote.php/dav/spaces/${driveId}/${toResourcePath}` + } + }) +} + +export const PROPFIND__get_properties_for_resource: Endpoint<{ + driveId: string, + resourcePath: string, + propfindXml?: RequestBody +}, 'text'> = (r, { propfindXml, resourcePath, driveId }) => { + return r('PROPFIND', `/remote.php/dav/spaces/${driveId}/${resourcePath}`, propfindXml) +} diff --git a/packages/k6-tdk/src/endpoints/dav-systemtags.ts b/packages/k6-tdk/src/endpoints/dav-systemtags.ts new file mode 100644 index 0000000..fc36fee --- /dev/null +++ b/packages/k6-tdk/src/endpoints/dav-systemtags.ts @@ -0,0 +1,33 @@ +import { RequestBody } from 'k6/http' + +import { Endpoint } from './endpoints' + +export const POST__create_tag: Endpoint<{ + tagName: string, + canAssignTag: boolean, + userAssignableTag: boolean, + userVisibleTag: boolean +}, 'none'> = (r, { + tagName, userAssignableTag = true, canAssignTag = true, userVisibleTag = true +}) => { + return r('POST', '/remote.php/dav/systemtags', JSON.stringify({ + name: tagName, + canAssign: canAssignTag, + userAssignable: userAssignableTag, + userVisible: userVisibleTag + }), { + headers: { + 'Content-Type': 'application/json' + } + }) +} + +export const DELETE__delete_tag: Endpoint<{ tagId: string }, 'none'> = (r, { tagId }) => { + return r('DELETE', `/remote.php/dav/systemtags/${tagId}`) +} + +export const PROPFIND__get_tags_with_properties: Endpoint<{ + propfindXml?: RequestBody +}, 'text'> = (r, { propfindXml }) => { + return r('PROPFIND', '/remote.php/dav/systemtags', propfindXml) +} diff --git a/packages/k6-tdk/src/endpoints/dav-systemtags_relations.ts b/packages/k6-tdk/src/endpoints/dav-systemtags_relations.ts new file mode 100644 index 0000000..b520495 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/dav-systemtags_relations.ts @@ -0,0 +1,24 @@ +import { RequestBody } from 'k6/http' + +import { Endpoint } from './endpoints' + +export const PUT__add_tag_to_resource: Endpoint<{ resourceId: string, tagId: string }, 'none'> = (r, { + tagId, + resourceId +}) => { + return r('PUT', `/remote.php/dav/systemtags-relations/files/${resourceId}/${tagId}`) +} + +export const DELETE__remove_tag_from_resource: Endpoint<{ + resourceId: string, + tagId: string +}, 'none'> = (r, { tagId, resourceId }) => { + return r('DELETE', `/remote.php/dav/systemtags-relations/files/${resourceId}/${tagId}`) +} + +export const PROPFIND__get_tags_with_properties_for_resource: Endpoint<{ + resourceId: string, + propfindXml?: RequestBody +}, 'text'> = (r, { propfindXml, resourceId }) => { + return r('PROPFIND', `/remote.php/dav/systemtags-relations/files/${resourceId}`, propfindXml) +} diff --git a/packages/k6-tdk/src/endpoints/dav.ts b/packages/k6-tdk/src/endpoints/dav.ts new file mode 100644 index 0000000..ccdd5b9 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/dav.ts @@ -0,0 +1,13 @@ +import { RequestBody } from 'k6/http' + +import { Endpoint } from './endpoints' + +export const SEARCH__search_for_resources: Endpoint<{ + searchXml?: RequestBody +}, 'text'> = (r, { searchXml }) => { + return r('SEARCH', '/remote.php/dav', searchXml, { + headers: { + 'Content-Type': 'application/xml' + } + }) +} diff --git a/packages/k6-tdk/src/endpoints/dav/files.ts b/packages/k6-tdk/src/endpoints/dav/files.ts deleted file mode 100644 index 30b975d..0000000 --- a/packages/k6-tdk/src/endpoints/dav/files.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { RefinedResponse, RequestBody } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Files { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - upload(id: string, path: string, body: RequestBody): RefinedResponse<'text'> { - return this.request('PUT', `/remote.php/dav/files/${id}/${path}`, body); - } - - download(id: string, path: string): RefinedResponse<'binary'> { - return this.request('GET', `/remote.php/dav/files/${id}/${path}`); - } - - create(id: string, path: string): RefinedResponse<'text'> { - return this.request('MKCOL', `/remote.php/dav/files/${id}/${path}`); - } - - delete(id: string, path: string): RefinedResponse<'text'> { - return this.request('DELETE', `/remote.php/dav/files/${id}/${path}`); - } - - move(id: string, from: string, to: string): RefinedResponse<'text'> { - return this.request('MOVE', `/remote.php/dav/files/${id}/${from}`, undefined, { - headers: { - destination: `/remote.php/dav/files/${id}/${to}` - } - }); - } - - propfind(id: string, path: string, body?: RequestBody): RefinedResponse<'text'> { - return this.request('PROPFIND', `/remote.php/dav/files/${id}/${path}`, body); - } - - report(id: string, body?: RequestBody): RefinedResponse<'text'> { - return this.request('REPORT', `/remote.php/dav/files/${id}`, body); - } -} diff --git a/packages/k6-tdk/src/endpoints/dav/index.ts b/packages/k6-tdk/src/endpoints/dav/index.ts deleted file mode 100644 index 4166e16..0000000 --- a/packages/k6-tdk/src/endpoints/dav/index.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { RefinedResponse, RequestBody } from 'k6/http'; - -import { Request } from '@/utils/http'; - -import { Files } from './files'; -import { Spaces } from './spaces'; -import { Systemtags } from './systemtags'; -import { SystemtagsRelations } from './systemtagsRelations'; - -export class Dav { - protected request: Request; - - readonly files: Files; - - readonly spaces: Spaces; - - readonly systemtags: Systemtags; - - readonly systemtagsRelations: SystemtagsRelations; - - constructor(request: Request) { - this.request = request - this.files = new Files(request) - this.spaces = new Spaces(request) - this.systemtags = new Systemtags(request) - this.systemtagsRelations = new SystemtagsRelations(request) - } - - search(body?: RequestBody): RefinedResponse<'text'> { - return this.request('SEARCH', '/remote.php/dav', body, { - headers: { - 'Content-Type': 'application/xml' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/dav/spaces.ts b/packages/k6-tdk/src/endpoints/dav/spaces.ts deleted file mode 100644 index 688719e..0000000 --- a/packages/k6-tdk/src/endpoints/dav/spaces.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { RefinedResponse, RequestBody } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Spaces { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - upload(id: string, path: string, body: RequestBody): RefinedResponse<'text'> { - return this.request('PUT', `/remote.php/dav/spaces/${id}/${path}`, body); - } - - download(id: string, path: string): RefinedResponse<'binary'> { - return this.request('GET', `/remote.php/dav/spaces/${id}/${path}`); - } - - create(id: string, path: string): RefinedResponse<'text'> { - return this.request('MKCOL', `/remote.php/dav/spaces/${id}/${path}`); - } - - delete(id: string, path: string): RefinedResponse<'text'> { - return this.request('DELETE', `/remote.php/dav/spaces/${id}/${path}`); - } - - move(id: string, from: string, to: string): RefinedResponse<'text'> { - return this.request('MOVE', `/remote.php/dav/spaces/${id}/${from}`, undefined, { - headers: { - destination: `/remote.php/dav/spaces/${id}/${to}` - } - }); - } - - propfind(id: string, path: string): RefinedResponse<'text'> { - return this.request('PROPFIND', `/remote.php/dav/spaces/${id}/${path}`); - } -} diff --git a/packages/k6-tdk/src/endpoints/dav/systemtags.ts b/packages/k6-tdk/src/endpoints/dav/systemtags.ts deleted file mode 100644 index ecb50e9..0000000 --- a/packages/k6-tdk/src/endpoints/dav/systemtags.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { RefinedResponse, RequestBody } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Systemtags { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(name: string, canAssign = true, userAssignable = true, userVisible = true): RefinedResponse<'text'> { - return this.request('POST', '/remote.php/dav/systemtags/', JSON.stringify({ - name, - canAssign, - userAssignable, - userVisible - }), { - headers: { - 'Content-Type': 'application/json' - } - }); - } - - delete(id: string): RefinedResponse<'text'> { - return this.request('DELETE', `/remote.php/dav/systemtags/${id}`); - } - - list(body?: RequestBody): RefinedResponse<'text'> { - return this.request('PROPFIND', '/remote.php/dav/systemtags/', body); - } -} diff --git a/packages/k6-tdk/src/endpoints/dav/systemtagsRelations.ts b/packages/k6-tdk/src/endpoints/dav/systemtagsRelations.ts deleted file mode 100644 index 1ce7e5b..0000000 --- a/packages/k6-tdk/src/endpoints/dav/systemtagsRelations.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { RefinedResponse, RequestBody } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class SystemtagsRelations { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - assign(fileId: string, tagId: string ): RefinedResponse<'text'> { - return this.request('PUT', `/remote.php/dav/systemtags-relations/files/${fileId}/${tagId}`) - } - - unassign(fileId: string, tagId: string ): RefinedResponse<'text'> { - return this.request('DELETE', `/remote.php/dav/systemtags-relations/files/${fileId}/${tagId}`) - } - - propfind(fileId: string, body?: RequestBody): RefinedResponse<'text'> { - return this.request('PROPFIND', `/remote.php/dav/systemtags-relations/files/${fileId}`, body) - } -} diff --git a/packages/k6-tdk/src/endpoints/endpoints.ts b/packages/k6-tdk/src/endpoints/endpoints.ts index 5eef90d..0e76d08 100644 --- a/packages/k6-tdk/src/endpoints/endpoints.ts +++ b/packages/k6-tdk/src/endpoints/endpoints.ts @@ -1,17 +1,32 @@ +import { RefinedParams, RefinedResponse, ResponseType } from 'k6/http' + +import { Request } from '@/utils' + +// O extends Record = {}, +// > = (request: Request, params: P, options?: RefinedParams & O | null,) => RefinedResponse; + +export type Endpoint< + P extends Record, + RT extends ResponseType, + O extends Record = {} +> = (request: Request, params: P, options?: { k6?: RefinedParams } & O) => RefinedResponse; + export const ShareType = { user: 0, group: 1, publicLink: 3, federatedCloudShare: 6 -} as const; +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare export type ShareType = (typeof ShareType)[keyof typeof ShareType]; export const ItemType = { file: 'file', folder: 'folder' -} as const; +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare export type ItemType = (typeof ItemType)[keyof typeof ItemType]; export const Permission = { @@ -21,6 +36,7 @@ export const Permission = { delete: 8, share: 16, all: 31 -} as const; +} as const +// eslint-disable-next-line @typescript-eslint/no-redeclare export type Permission = (typeof Permission)[keyof typeof Permission]; diff --git a/packages/k6-tdk/src/endpoints/graph-v1-applications.ts b/packages/k6-tdk/src/endpoints/graph-v1-applications.ts new file mode 100644 index 0000000..735517d --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-applications.ts @@ -0,0 +1,5 @@ +import { Endpoint } from './endpoints' + +export const GET__get_applications:Endpoint<{}, 'text'> = (r) => { + return r('GET', '/graph/v1.0/applications') +} diff --git a/packages/k6-tdk/src/endpoints/graph-v1-drives.ts b/packages/k6-tdk/src/endpoints/graph-v1-drives.ts new file mode 100644 index 0000000..226caea --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-drives.ts @@ -0,0 +1,9 @@ +import { Endpoint } from './endpoints' + +export const POST__create_drive:Endpoint<{ driveName: string }, 'text'> = (r, { driveName }) => { + return r('POST', '/graph/v1.0/drives', JSON.stringify({ name: driveName })) +} + +export const DELETE__delete_drive:Endpoint<{ driveId: string }, 'none'> = (r, { driveId }) => { + return r('DELETE', `/graph/v1.0/drives/${driveId}`) +} diff --git a/packages/k6-tdk/src/endpoints/graph-v1-extensions-org_libre_graph-tags.ts b/packages/k6-tdk/src/endpoints/graph-v1-extensions-org_libre_graph-tags.ts new file mode 100644 index 0000000..42969c2 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-extensions-org_libre_graph-tags.ts @@ -0,0 +1,21 @@ +import { Endpoint } from './endpoints' + +export const PUT__add_tags_to_resource: Endpoint<{ resourceId: string, tagNames: string[] }, 'none'> = (r, { + tagNames, + resourceId +}) => { + return r('PUT', '/graph/v1.0/extensions/org.libregraph/tags', JSON.stringify({ + resourceId, + tags: tagNames + })) +} + +export const DELETE__remove_tags_from_resource: Endpoint<{ + resourceId: string, + tagNames: string[] +}, 'none'> = (r, { tagNames, resourceId }) => { + return r('DELETE', '/graph/v1.0/extensions/org.libregraph/tags', JSON.stringify({ + resourceId, + tags: tagNames + })) +} diff --git a/packages/k6-tdk/src/endpoints/graph-v1-groups.ts b/packages/k6-tdk/src/endpoints/graph-v1-groups.ts new file mode 100644 index 0000000..021350e --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-groups.ts @@ -0,0 +1,11 @@ +import { Endpoint } from './endpoints' + +export const POST__create_group: Endpoint<{ groupName: string }, 'text'> = (r, { groupName }) => { + return r('POST', '/graph/v1.0/groups', JSON.stringify({ + displayName: groupName + })) +} + +export const DELETE__delete_group: Endpoint<{ groupId: string }, 'none'> = (r, { groupId }) => { + return r('DELETE', `/graph/v1.0/groups/${groupId}`) +} diff --git a/packages/k6-tdk/src/endpoints/graph-v1-me.ts b/packages/k6-tdk/src/endpoints/graph-v1-me.ts new file mode 100644 index 0000000..ed0dc38 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-me.ts @@ -0,0 +1,9 @@ +import { Endpoint } from './endpoints' + +export const GET__get_current_user_drives:Endpoint<{}, 'text'> = (r) => { + return r('GET', '/graph/v1.0/me/drives') +} + +export const GET__current_user:Endpoint<{}, 'text'> = (r) => { + return r('GET', '/graph/v1.0/me?$expand=memberOf') +} diff --git a/packages/k6-tdk/src/endpoints/graph-v1-users.ts b/packages/k6-tdk/src/endpoints/graph-v1-users.ts new file mode 100644 index 0000000..abff50e --- /dev/null +++ b/packages/k6-tdk/src/endpoints/graph-v1-users.ts @@ -0,0 +1,29 @@ +import { Endpoint } from './endpoints' + +export const POST__create_user: Endpoint<{ userLogin: string, userPassword: string }, 'text'> = (r, { + userLogin, + userPassword +}) => { + return r('POST', '/graph/v1.0/users', JSON.stringify({ + onPremisesSamAccountName: userLogin, + displayName: userLogin, + mail: `${userLogin}@cdperf.org`, + passwordProfile: { password: userPassword } + })) +} + +export const DELETE__delete_user: Endpoint<{ userLogin: string }, 'none'> = (r, { userLogin }) => { + return r('DELETE', `/graph/v1.0/users/${userLogin}`) +} + +export const POST__add_app_role_to_user: Endpoint<{ + principalId: string, + appRoleId: string, + resourceId: string +}, 'text'> = (r, { resourceId, principalId, appRoleId }) => { + return r('POST', `/graph/v1.0/users/${principalId}/appRoleAssignments`, JSON.stringify({ + appRoleId, + principalId, + resourceId + })) +} diff --git a/packages/k6-tdk/src/endpoints/graph/index.ts b/packages/k6-tdk/src/endpoints/graph/index.ts deleted file mode 100644 index 7638a11..0000000 --- a/packages/k6-tdk/src/endpoints/graph/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { V1 } from './v1'; - -export class Graph { - readonly v1: V1; - - constructor(request: Request) { - this.v1 = new V1(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/applications.ts b/packages/k6-tdk/src/endpoints/graph/v1/applications.ts deleted file mode 100644 index 4ead6ee..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/applications.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Applications { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - list(): RefinedResponse<'text'> { - return this.request('GET', '/graph/v1.0/applications'); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/drives.ts b/packages/k6-tdk/src/endpoints/graph/v1/drives.ts deleted file mode 100644 index 35d0ce1..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/drives.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Drives { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(name: string): RefinedResponse<'text'> { - return this.request('POST', '/graph/v1.0/drives', JSON.stringify({ name })); - } - - delete(id: string): RefinedResponse<'text'> { - return this.request('DELETE', `/graph/v1.0/drives/${id}`); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/extensions/index.ts b/packages/k6-tdk/src/endpoints/graph/v1/extensions/index.ts deleted file mode 100644 index d9926c6..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/extensions/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { OrgLibreGraph } from './orgLibreGraph'; - -export class Extensions { - readonly orgLibreGraph: OrgLibreGraph; - - constructor(request: Request) { - this.orgLibreGraph = new OrgLibreGraph(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/index.ts b/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/index.ts deleted file mode 100644 index 9378ea7..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Tags } from './tags'; - -export class OrgLibreGraph { - readonly tags: Tags; - - constructor(request: Request) { - this.tags = new Tags(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/tags.ts b/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/tags.ts deleted file mode 100644 index 5fe4c87..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/extensions/orgLibreGraph/tags.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Tags { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - assign(resourceId: string, ...tags: string[]): RefinedResponse<'text'> { - return this.request('PUT', '/graph/v1.0/extensions/org.libregraph/tags', JSON.stringify({ - resourceId, - tags - })); - } - - unassign(resourceId: string, ...tags: string[]): RefinedResponse<'text'> { - return this.request('DELETE', '/graph/v1.0/extensions/org.libregraph/tags', JSON.stringify({ - resourceId, - tags - })); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/groups.ts b/packages/k6-tdk/src/endpoints/graph/v1/groups.ts deleted file mode 100644 index aecc583..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/groups.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Groups { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(displayName: string): RefinedResponse<'text'> { - return this.request('POST', - '/graph/v1.0/groups', - JSON.stringify({ - displayName - })); - } - - delete(displayName: string): RefinedResponse<'text'> { - return this.request('DELETE', `/graph/v1.0/groups/${displayName}`); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/index.ts b/packages/k6-tdk/src/endpoints/graph/v1/index.ts deleted file mode 100644 index 25c7921..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Applications } from './applications'; -import { Drives } from './drives'; -import { Extensions } from './extensions'; -import { Groups } from './groups'; -import { Me } from './me'; -import { Users } from './users'; - -export class V1 { - readonly applications: Applications; - - readonly drives: Drives; - - readonly extensions: Extensions; - - readonly groups: Groups; - - readonly me: Me; - - readonly users: Users; - - constructor(request: Request) { - this.applications = new Applications(request); - this.drives = new Drives(request); - this.extensions = new Extensions(request); - this.groups = new Groups(request); - this.me = new Me(request); - this.users = new Users(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/me.ts b/packages/k6-tdk/src/endpoints/graph/v1/me.ts deleted file mode 100644 index 8c16d63..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/me.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Me { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - drives(): RefinedResponse<'text'> { - return this.request('GET', '/graph/v1.0/me/drives'); - } - - me(): RefinedResponse<'text'> { - return this.request('GET', '/graph/v1.0/me?$expand=memberOf'); - } -} diff --git a/packages/k6-tdk/src/endpoints/graph/v1/users.ts b/packages/k6-tdk/src/endpoints/graph/v1/users.ts deleted file mode 100644 index 36cebff..0000000 --- a/packages/k6-tdk/src/endpoints/graph/v1/users.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Account } from '@/auth'; -import { Request } from '@/utils/http'; - -export class Users { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(account: Account): RefinedResponse<'text'> { - return this.request('POST', - '/graph/v1.0/users', - JSON.stringify({ - onPremisesSamAccountName: account.login, - displayName: account.login, - mail: `${account.login}@owncloud.org`, - passwordProfile: { password: account.password } - })); - } - - delete(id: string): RefinedResponse<'text'> { - return this.request('DELETE', `/graph/v1.0/users/${id}`); - } - - appRoleAssignments(principalId: string, appRoleId: string, resourceId: string): RefinedResponse<'text'> { - return this.request('POST', `/graph/v1.0/users/${principalId}/appRoleAssignments`, - JSON.stringify({ - appRoleId, - principalId, - resourceId - })) - } -} diff --git a/packages/k6-tdk/src/endpoints/index.ts b/packages/k6-tdk/src/endpoints/index.ts index 60c722d..9b96a1e 100644 --- a/packages/k6-tdk/src/endpoints/index.ts +++ b/packages/k6-tdk/src/endpoints/index.ts @@ -1,24 +1,62 @@ -import { Request } from '@/utils/http'; +import * as api_v0_settings from './api-v0-settings' +import * as dav from './dav' +import * as dav_files from './dav-files' +import * as dav_spaces from './dav-spaces' +import * as dav_systemtags from './dav-systemtags' +import * as dav_systemtagsRelations from './dav-systemtags_relations' +import * as graph_v1_applications from './graph-v1-applications' +import * as graph_v1_drives from './graph-v1-drives' +import * as graph_v1_extensions_orgLibreGraph_tags from './graph-v1-extensions-org_libre_graph-tags' +import * as graph_v1_groups from './graph-v1-groups' +import * as graph_v1_me from './graph-v1-me' +import * as graph_v1_users from './graph-v1-users' +import * as ocs_v2_apps_cloud_groups from './ocs-v2-apps-cloud-groups' +import * as ocs_v2_apps_cloud_users from './ocs-v2-apps-cloud-users' +import * as ocs_v2_apps_fileSharing_v1_sharees from './ocs-v2-apps-file_sharing-v1-sharees' +import * as ocs_v2_apps_fileSharing_v1_shares from './ocs-v2-apps-file_sharing-v1-shares' -import { Api } from './api'; -import { Dav } from './dav'; -import { Graph } from './graph'; -import { Ocs } from './ocs'; - -export * from './endpoints'; -export class Endpoints { - readonly ocs: Ocs; - - readonly graph: Graph; - - readonly dav: Dav; - - readonly api: Api; - - constructor(request: Request) { - this.ocs = new Ocs(request); - this.graph = new Graph(request); - this.dav = new Dav(request); - this.api = new Api(request); +export * from './endpoints' +export const endpoints = { + api: { + v0: { + settings: api_v0_settings + } + }, + dav: { + ...dav, + files: dav_files, + spaces: dav_spaces, + systemtags: dav_systemtags, + systemtags_relations: dav_systemtagsRelations + }, + graph: { + v1: { + applications: graph_v1_applications, + drives: graph_v1_drives, + extensions: { + org_libre_graph: { + tags: graph_v1_extensions_orgLibreGraph_tags + } + }, + groups: graph_v1_groups, + me: graph_v1_me, + users: graph_v1_users + } + }, + ocs: { + v2: { + apps: { + cloud: { + groups: ocs_v2_apps_cloud_groups, + users: ocs_v2_apps_cloud_users + }, + file_sharing: { + v1: { + sharees: ocs_v2_apps_fileSharing_v1_sharees, + shares: ocs_v2_apps_fileSharing_v1_shares + } + } + } + } } } diff --git a/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-groups.ts b/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-groups.ts new file mode 100644 index 0000000..c6b6cdb --- /dev/null +++ b/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-groups.ts @@ -0,0 +1,19 @@ +import { Endpoint } from './endpoints' + +export const POST__create_group: Endpoint<{ groupName: string }, 'text'> = (r, { groupName }) => { + return r('POST', '/ocs/v2.php/cloud/groups', { + groupid: groupName + }, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} + +export const DELETE__delete_group: Endpoint<{ groupName: string }, 'text'> = (r, { groupName }) => { + return r('DELETE', `/ocs/v2.php/cloud/groups/${groupName}`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} diff --git a/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-users.ts b/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-users.ts new file mode 100644 index 0000000..bce2f98 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/ocs-v2-apps-cloud-users.ts @@ -0,0 +1,32 @@ +import { Endpoint } from './endpoints' + +export const POST__create_user: Endpoint<{ + userLogin: string, + userPassword: string +}, 'text'> = (r, { userPassword, userLogin }) => { + return r('POST', '/ocs/v2.php/cloud/users', { + userid: userLogin, + password: userPassword, + email: `${userLogin}@cdperf.org` + }, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} + +export const PUT__enable_user: Endpoint<{ userLogin: string }, 'text'> = (r, { userLogin }) => { + return r('PUT', `/ocs/v2.php/cloud/users/${userLogin}/enable`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} + +export const DELETE__delete_user: Endpoint<{ userLogin: string }, 'text'> = (r, { userLogin }) => { + return r('DELETE', `/ocs/v2.php/cloud/users/${userLogin}`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} diff --git a/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-sharees.ts b/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-sharees.ts new file mode 100644 index 0000000..3cabb3a --- /dev/null +++ b/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-sharees.ts @@ -0,0 +1,17 @@ +import { objectToQueryString } from '@/utils' + +import { Endpoint, ItemType } from './endpoints' + +export const GET__search_for_sharees: Endpoint<{ searchQuery: string, searchItemType: ItemType }, 'text'> = (r, { searchQuery, searchItemType }) => { + return r('GET', `/ocs/v2.php/apps/files_sharing/api/v1/sharees?${objectToQueryString({ + search: searchQuery, + itemType: searchItemType, + format: 'json', + page: 1, + perPage: 200 + })}`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} diff --git a/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-shares.ts b/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-shares.ts new file mode 100644 index 0000000..7e84443 --- /dev/null +++ b/packages/k6-tdk/src/endpoints/ocs-v2-apps-file_sharing-v1-shares.ts @@ -0,0 +1,48 @@ +import { RequestBody } from 'k6/http' + +import { Platform } from '@/const' + +import { Endpoint, Permission, ShareType } from './endpoints' + +export const POST__create_share: Endpoint<{ + shareResourcePath: string, + shareType: ShareType, + shareReceiver: string, + shareReceiverPermission: Permission +}, 'text', { platform: Platform }> = (r, { + shareReceiverPermission, shareType, shareResourcePath, shareReceiver +}, o) => { + const headers = { + 'OCS-APIRequest': 'true' + } + + let body: RequestBody = { + path: shareResourcePath, + shareType: shareType.toString(), + shareWith: shareReceiver, + permissions: shareReceiverPermission.toString() + } + + if(o?.platform !== Platform.ownCloudInfiniteScale){ + body = JSON.stringify(body) + headers['Content-Type'] = 'application/json' + } + + return r('POST', '/ocs/v2.php/apps/files_sharing/api/v1/shares', body, { headers }) +} + +export const POST__accept_share: Endpoint<{ shareId: string }, 'text'> = (r, { shareId }) => { + return r('POST', `/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${shareId}`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} + +export const DELETE__delete_share: Endpoint<{ shareId: string }, 'text'> = (r, { shareId }) => { + return r('DELETE', `/ocs/v2.php/apps/files_sharing/api/v1/shares/${shareId}`, undefined, { + headers: { + 'OCS-APIRequest': 'true' + } + }) +} diff --git a/packages/k6-tdk/src/endpoints/ocs/index.ts b/packages/k6-tdk/src/endpoints/ocs/index.ts deleted file mode 100644 index 9de6a05..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { V2 } from './v2'; - -export class Ocs { - readonly v2: V2; - - constructor(request: Request) { - this.v2 = new V2(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/index.ts b/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/index.ts deleted file mode 100644 index c53de2f..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { V1 } from './v1'; - -export class FilesSharing { - readonly v1: V1; - - constructor(request: Request) { - this.v1 = new V1(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/index.ts b/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/index.ts deleted file mode 100644 index f8a21d6..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/index.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Sharees } from './sharees'; -import { Shares } from './shares'; - -export class V1 { - readonly shares: Shares; - - readonly sharees: Sharees; - - readonly sharees: Sharees; - - readonly sharees: Sharees; - - constructor(request: Request) { - this.shares = new Shares(request); - this.sharees = new Sharees(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/sharees.ts b/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/sharees.ts deleted file mode 100644 index d7a5f1d..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/sharees.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { RefinedResponse } from 'k6/http'; -import { ItemType } from 'src/endpoints'; - -import { objectToQueryString } from '@/utils'; -import { Request } from '@/utils/http'; - -export class Sharees { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - search(search: string, itemType: ItemType, format: 'xml' | 'json' = 'json'): RefinedResponse<'text'> { - return this.request('GET', - `/ocs/v2.php/apps/files_sharing/api/v1/sharees?${objectToQueryString({ - search, - itemType, - format, - page: 1, - perPage: 200 - })}`, - undefined, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/shares.ts b/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/shares.ts deleted file mode 100644 index cba6736..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/apps/filesSharing/v1/shares.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Permission, ShareType } from '@/endpoints/endpoints'; -import { Request } from '@/utils/http'; - -export class Shares { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(path: string, shareWith: string, shareType: ShareType, permissions: Permission): RefinedResponse<'text'> { - return this.request('POST', - '/ocs/v2.php/apps/files_sharing/api/v1/shares', - { - shareType: shareType.toString(), - shareWith, - path, - permissions: permissions.toString() - }, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } - - accept(id: string): RefinedResponse<'text'> { - return this.request('POST', `/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${id}`, undefined, { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } - - delete(id: string): RefinedResponse<'text'> { - return this.request('DELETE', `/ocs/v2.php/apps/files_sharing/api/v1/shares/${id}`, undefined, { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/apps/index.ts b/packages/k6-tdk/src/endpoints/ocs/v2/apps/index.ts deleted file mode 100644 index 3803078..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/apps/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Request } from '@/utils/http'; - -import { FilesSharing } from './filesSharing'; - -export class Apps { - readonly filesSharing: FilesSharing; - - constructor(request: Request) { - this.filesSharing = new FilesSharing(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/groups.ts b/packages/k6-tdk/src/endpoints/ocs/v2/cloud/groups.ts deleted file mode 100644 index 1305079..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/groups.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Groups { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - create(groupid: string): RefinedResponse<'text'> { - return this.request('POST', - '/ocs/v2.php/cloud/groups', - { groupid }, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } - - delete(name: string): RefinedResponse<'text'> { - return this.request('DELETE', - `/ocs/v2.php/cloud/groups/${name}`, - undefined, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/index.ts b/packages/k6-tdk/src/endpoints/ocs/v2/cloud/index.ts deleted file mode 100644 index 0a9c2a8..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/index.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Groups } from './groups'; -import { Roles } from './roles'; -import { Users } from './users'; - -export class Cloud { - readonly users: Users; - - readonly groups: Groups; - - readonly roles: Roles; - - constructor(request: Request) { - this.users = new Users(request); - this.groups = new Groups(request); - this.roles = new Roles(request); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/roles.ts b/packages/k6-tdk/src/endpoints/ocs/v2/cloud/roles.ts deleted file mode 100644 index 8459961..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/roles.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Request } from '@/utils/http'; - -export class Roles { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - list(): RefinedResponse<'text'> { - return this.request('POST', - '/ocs/v2.php/cloud/roles', - undefined, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/users.ts b/packages/k6-tdk/src/endpoints/ocs/v2/cloud/users.ts deleted file mode 100644 index ebc809d..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/cloud/users.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { RefinedResponse } from 'k6/http'; - -import { Account } from '@/auth'; -import { Request } from '@/utils/http'; - -export class Users { - protected request: Request; - - constructor(request: Request) { - this.request = request; - } - - enable(id: string): RefinedResponse<'text'> { - return this.request('PUT', `/ocs/v2.php/cloud/users/${id}/enable`, undefined, { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } - - create(account: Account): RefinedResponse<'text'> { - return this.request('POST', - '/ocs/v2.php/cloud/users', - { userid: account.login, password: account.password, email: `${account.login}@owncloud.org` }, - { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } - - delete(id: string): RefinedResponse<'text'> { - return this.request('DELETE', `/ocs/v2.php/cloud/users/${id}`, undefined, { - headers: { - 'OCS-APIRequest': 'true' - } - }); - } -} diff --git a/packages/k6-tdk/src/endpoints/ocs/v2/index.ts b/packages/k6-tdk/src/endpoints/ocs/v2/index.ts deleted file mode 100644 index 9991f1d..0000000 --- a/packages/k6-tdk/src/endpoints/ocs/v2/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Request } from '@/utils/http'; - -import { Apps } from './apps'; -import { Cloud } from './cloud'; - -export class V2 { - readonly cloud: Cloud; - - readonly apps: Apps; - - constructor(request: Request) { - this.cloud = new Cloud(request); - this.apps = new Apps(request); - } -} diff --git a/packages/k6-tdk/src/index.ts b/packages/k6-tdk/src/index.ts index 48c6d84..6203a68 100644 --- a/packages/k6-tdk/src/index.ts +++ b/packages/k6-tdk/src/index.ts @@ -1,4 +1,5 @@ export * as auth from './auth' export * as client from './client' +export * from './const' export * as api from './endpoints' export * as utils from './utils' diff --git a/packages/k6-tdk/src/utils/generate.test.ts b/packages/k6-tdk/src/utils/generate.test.ts new file mode 100644 index 0000000..67ddba5 --- /dev/null +++ b/packages/k6-tdk/src/utils/generate.test.ts @@ -0,0 +1,26 @@ +import { describe, expect, test, vi } from 'vitest' + +import { randomString } from './generate'; + +vi.mock('https://jslib.k6.io/k6-utils/1.2.0/index.js', () => { + return { + randomString: (length, charset) => { + return [length, charset] + } + } +}) + +describe('randomString', async () => { + test('the default return string length is 10', async () => { + expect(randomString()).toMatchObject([10, undefined]) + }) + + test('overwrite default string length', async () => { + expect(randomString(2)).toMatchObject([2, undefined]) + }) + + test('overwrite the charset', async () => { + expect(randomString(2, 'foo')).toMatchObject([2, 'foo']) + expect(randomString(undefined, 'bar')).toMatchObject([10, 'bar']) + }) +}) diff --git a/packages/k6-tdk/src/utils/generate.ts b/packages/k6-tdk/src/utils/generate.ts new file mode 100644 index 0000000..9719456 --- /dev/null +++ b/packages/k6-tdk/src/utils/generate.ts @@ -0,0 +1,6 @@ +// @ts-ignore +import { randomString as k6RandomString } from 'https://jslib.k6.io/k6-utils/1.2.0/index.js' + +export const randomString = (length = 10, charset?: string): string => { + return k6RandomString(length, charset) +} diff --git a/packages/k6-tdk/src/utils/guard.test.ts b/packages/k6-tdk/src/utils/guard.test.ts new file mode 100644 index 0000000..36c3a99 --- /dev/null +++ b/packages/k6-tdk/src/utils/guard.test.ts @@ -0,0 +1,20 @@ +import { expect, test } from 'vitest'; + +import { Platform } from '@/const'; +import { platformGuard } from './guard'; + +test.each([ + { platform: Platform.ownCloudInfiniteScale }, + { platform: Platform.ownCloudServer }, + { platform: Platform.nextcloud } +])('platformGuard returns a list of guards to provide information the requested platform ($platform) is detected)', ({ platform }) => { + const { + isOwnCloudInfiniteScale, + isOwnCloudServer, + isNextcloud + } = platformGuard(platform as Platform) + + expect(isOwnCloudInfiniteScale).toBe(platform === Platform.ownCloudInfiniteScale) + expect(isOwnCloudServer).toBe(platform === Platform.ownCloudServer) + expect(isNextcloud).toBe(platform === Platform.nextcloud) +}) diff --git a/packages/k6-tdk/src/utils/guard.ts b/packages/k6-tdk/src/utils/guard.ts new file mode 100644 index 0000000..26a9633 --- /dev/null +++ b/packages/k6-tdk/src/utils/guard.ts @@ -0,0 +1,9 @@ +import { Platform } from '@/const' + +export const platformGuard = (platform: Platform) => { + return { + isOwnCloudInfiniteScale: platform === Platform.ownCloudInfiniteScale, + isOwnCloudServer: platform === Platform.ownCloudServer, + isNextcloud: platform === Platform.nextcloud + } +} diff --git a/packages/k6-tdk/src/utils/http.test.ts b/packages/k6-tdk/src/utils/http.test.ts new file mode 100644 index 0000000..b22f9dd --- /dev/null +++ b/packages/k6-tdk/src/utils/http.test.ts @@ -0,0 +1,46 @@ +import { describe, expect, it, test, vi } from 'vitest' + +import { requestFactory } from './http'; + +vi.mock('k6/http', () => { + return { + request: (method, url, body, params) => { + return { method, url, body, params } + } + } +}) + +describe('requestFactory', async () => { + test('the standard k6 implementation still works', async () => { + const request = requestFactory({ baseUrl: '' }) + const response = request('POST', 'endpoint', 'body', { tags: { foo: '1' } }) + + expect(response).toMatchObject({ + method: 'POST', + url: '/endpoint', + body: 'body', + params: { tags: { foo: '1' } } + }) + }) + + it('extends the request url', async () => { + const request = requestFactory({ baseUrl: 'http://root.org' }) + const response = request('POST', 'endpoint') + + expect(response.url).toBe('http://root.org/endpoint') + }) + + it('adds a authorization header to the request', async () => { + const request = requestFactory({ baseUrl: 'http://root.org', authn: { header: 'anyAuth' } }) + const response = request('POST', 'endpoint') as any + + expect(response.params.headers.Authorization).toBe('anyAuth') + }) + + it('mixes the request params', async () => { + const request = requestFactory({ baseUrl: 'http://root.org', params: { tags: { foo: '1' } } }) + const response = request('POST', 'endpoint', undefined, { tags: { bar: '2' } }) as any + + expect(response.params.tags).toMatchObject({ foo: '1', bar: '2' }) + }) +}) diff --git a/packages/k6-tdk/src/utils/http.ts b/packages/k6-tdk/src/utils/http.ts index 318d6d3..98da8d6 100644 --- a/packages/k6-tdk/src/utils/http.ts +++ b/packages/k6-tdk/src/utils/http.ts @@ -1,37 +1,33 @@ -import http, { Params, RefinedParams, RefinedResponse, RequestBody, ResponseType } from 'k6/http'; -import { merge } from 'lodash-es'; +import { Params, RefinedParams, RefinedResponse, request, RequestBody, ResponseType } from 'k6/http' +import { merge, set } from 'lodash-es' -import { Authenticator } from '@/auth'; +import { Authenticator } from '@/auth' -import { cleanURL } from './url'; +import { cleanURL } from './url' -export type RequestMethod = 'GET' | 'MKCOL' | 'PROPFIND' | 'DELETE' | 'MOVE' | 'PUT' | 'POST' | 'REPORT' | 'SEARCH'; +export type Request = typeof request -export type Request = ( - method: RequestMethod, - url: string, - body?: RequestBody | null, - params?: RefinedParams | null, -) => RefinedResponse; - -export const requestFactory = (base: string, authenticator?: Authenticator, factoryParams?: Params): Request => { - return ( - method: RequestMethod, - path: string, +export const requestFactory = (p: { + baseUrl: string, + authn?: Authenticator, + params?: Params +}): Request => { + return (( + method: string, + url: string, body?: RequestBody | null, requestParams?: RefinedParams | null - ) => { - const params = factoryParams || {}; + ): RefinedResponse => { + const params: Params = merge({}, p.params) - if (authenticator) { - merge(params, { - headers: { - Authorization: authenticator.header - } - }); + if (p.authn) { + set(params, 'headers.Authorization', p.authn.header) } - return http.request(method, cleanURL(base, path), body, merge(params, requestParams)); - }; -}; + if (p.params?.jar) { + set(params, 'jar', p.params.jar) + } + return request(method, cleanURL(p.baseUrl, url), body, merge(params, requestParams)) + }) as Request +} diff --git a/packages/k6-tdk/src/utils/index.ts b/packages/k6-tdk/src/utils/index.ts index 4e48e1a..f1a8449 100644 --- a/packages/k6-tdk/src/utils/index.ts +++ b/packages/k6-tdk/src/utils/index.ts @@ -1,4 +1,6 @@ +export * from './generate' +export * from './guard' export * from './http' -export * from './queue' +export * from './k6' +export * from './query' export * from './url' -export * from './utils' diff --git a/packages/k6-tdk/src/utils/k6.test.ts b/packages/k6-tdk/src/utils/k6.test.ts new file mode 100644 index 0000000..990afb6 --- /dev/null +++ b/packages/k6-tdk/src/utils/k6.test.ts @@ -0,0 +1,63 @@ +import { Checkers } from 'k6'; +import { describe, expect, it, test, vi } from 'vitest' + +import { check, group } from './k6'; + +vi.mock('k6', () => { + return { + group: (name: string, fn: () => RT) => { + return fn() + }, + check: (val: unknown, sets: Checkers, tags?: object) => { + Object.keys(sets).forEach((s) => { + sets[s]({ val, tags }) + }) + + return { val, sets, tags } + } + } +}) + +describe('group', async () => { + test('the standard k6 implementation still works', async () => { + group('foo', () => { + expect('called').toBeTruthy() + }) + }) + + it('extends the name further down', async () => { + group('foo', (name) => { + expect(name).toBe('foo') + }) + }) +}) + +describe('check', async () => { + test('the standard k6 implementation still works', async () => { + const sets = { + foo: vi.fn(), + bar: vi.fn() + } + const options = { val: 'a', tags: { b: 'c' } } + check(options, sets) + + expect(sets.foo).toBeCalledWith(options) + expect(sets.bar).toBeCalledWith(options) + }) + + it('marks skipped sets as skipped and returns a truthy value', async () => { + const sets = { + foo: vi.fn(() => { + return false + }) + } + const result = check({ skip: true, val: 1 }, sets) as any + + expect(sets.foo).toBeCalledTimes(0) + expect(Object.keys(result.sets)).toHaveLength(1) + Object.keys(result.sets).forEach((k) => { + expect(k).toBe('foo -- (SKIPPED)') + expect(result.sets[k]()).toBeTruthy() + }) + }) +}) diff --git a/packages/k6-tdk/src/utils/k6.ts b/packages/k6-tdk/src/utils/k6.ts new file mode 100644 index 0000000..554e83d --- /dev/null +++ b/packages/k6-tdk/src/utils/k6.ts @@ -0,0 +1,30 @@ +import { check as k6Check, Checkers, group as k6Group } from 'k6' + +export const group = (name: string, fn: (name) => RT): RT => { + return k6Group(name, (): RT => { + return fn(name) + }) +} + +export const check = ( + options: { + val: VT, + tags?: object, + skip?: boolean + }, + sets: Checkers +): boolean => { + const checkers = { ...sets } + + if (options.skip) { + Object.keys(checkers).forEach((k) => { + checkers[`${k} -- (SKIPPED)`] = () => { + return true + } + + delete checkers[k] + }) + } + + return k6Check(options.val, checkers, options.tags) +} diff --git a/packages/k6-tdk/src/utils/query.test.ts b/packages/k6-tdk/src/utils/query.test.ts new file mode 100644 index 0000000..fb62cc1 --- /dev/null +++ b/packages/k6-tdk/src/utils/query.test.ts @@ -0,0 +1,193 @@ +import { JSONValue } from 'k6'; +import { expect, test } from 'vitest'; + +import { queryJson, queryXml } from './query'; + +// language=JSON +const testJson = ` + { + "value": [ + { + "driveAlias": "personal/admin", + "driveType": "personal", + "id": "cedbfc9f-e0cc-40ba-920d-310db51236f2$8702a6d9-55af-48d4-97ce-cd952f14ff35", + "lastModifiedDateTime": "2023-04-16T12:47:52.080894+02:00", + "name": "Admin", + "owner": { + "user": { + "displayName": "", + "id": "8702a6d9-55af-48d4-97ce-cd952f14ff35" + } + }, + "quota": { + "remaining": 150751928320, + "state": "normal", + "total": 0, + "used": 0 + }, + "root": { + "eTag": "\\"cc07ebfccd5a2a749a2f27a65e8dd5ea\\"", + "id": "cedbfc9f-e0cc-40ba-920d-310db51236f2$8702a6d9-55af-48d4-97ce-cd952f14ff35", + "webDavUrl": "https://localhost:9200/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$8702a6d9-55af-48d4-97ce-cd952f14ff35" + }, + "webUrl": "https://localhost:9200/f/cedbfc9f-e0cc-40ba-920d-310db51236f2$8702a6d9-55af-48d4-97ce-cd952f14ff35" + }, + { + "driveAlias": "virtual/shares", + "driveType": "virtual", + "id": "a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668", + "name": "Shares", + "quota": { + "remaining": 0, + "state": "exceeded", + "total": 0, + "used": 0 + }, + "root": { + "id": "a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668", + "webDavUrl": "https://localhost:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668" + }, + "webUrl": "https://localhost:9200/f/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668" + } + ] + } +` + +test.each([ + { expression: 'foo', val: { foo: 1, bar: '2' }, expected:[1] }, + { expression: '$..foo', val: { foo: 1, bar: '2' }, expected:[1] }, + { expression: '$..foo', val: [{ foo: 1, bar: '2' }], expected:[1] }, + { + expression: "$.value[?(@.driveType === 'personal')].id", + val: testJson, + expected:['cedbfc9f-e0cc-40ba-920d-310db51236f2$8702a6d9-55af-48d4-97ce-cd952f14ff35'] + } +])('queryJson($expression) -> $expected', ({ expression, val, expected }) => { + if (typeof val !== 'string') { + expect(queryJson(expression, JSON.stringify(val))).toMatchObject(expected) + } + expect(queryJson(expression, val as JSONValue)).toMatchObject(expected) +}) + +// language=XML +const testXml = ` + + + + /remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/ + + + RDNVCKZ + 0 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0!d338188d-1906-4f51-834c-990a7eb675d0 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0 + hsmogxsuep + hsmogxsuep + hsmogxsuep + https://localhost:9200/f/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0%21d338188d-1906-4f51-834c-990a7eb675d0 + 0 + Mon, 17 Apr 2023 09: 50: 28 GMT + "84d523610f6a61566f3414eb7f31bc1e" + + + + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + + /remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/foo/ + + + RDNVCKZ + 0 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0!10d93193-cbd1-4559-b039-b3399dbf1844 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0!d338188d-1906-4f51-834c-990a7eb675d0 + foo + hsmogxsuep + hsmogxsuep + + 0 + + https: + //localhost:9200/f/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0%2110d93193-cbd1-4559-b039-b3399dbf1844 + 0 + Sat, 08 Apr 2023 11: 34: 35 GMT + "9e3e4ee260281b2411b23d0c32cadfca" + + + + foo bar, fff + + HTTP/1.1 200 OK + + + + + + + + + HTTP/1.1 404 Not Found + + + + /remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/bar/ + + + RDNVCKZ + 0 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0!8b1a7644-ba04-43fe-a9c7-9009eb42f2c8 + cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0!d338188d-1906-4f51-834c-990a7eb675d0 + bar + hsmogxsuep + hsmogxsuep + https://localhost:9200/f/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0%218b1a7644-ba04-43fe-a9c7-9009eb42f2c8 + 0 + Mon, 17 Apr 2023 09: 50: 28 GMT + "5f58a726e07ecc6fe629dc1ae7a4b588" + + + + + + HTTP/1.1 200 OK + + + + + + + + + + HTTP/1.1 404 Not Found + + + +` + +test.each([ + { + expression: "$..['d:href']", + val: testXml, + expected:[ + '/remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/', + '/remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/foo/', + '/remote.php/dav/spaces/cedbfc9f-e0cc-40ba-920d-310db51236f2$d338188d-1906-4f51-834c-990a7eb675d0/bar/' + ] + } +])('queryXml($expression) -> $expected', ({ expression, val, expected }) => { + expect(queryXml(expression, val)).toMatchObject(expected) +}) diff --git a/packages/k6-tdk/src/utils/query.ts b/packages/k6-tdk/src/utils/query.ts new file mode 100644 index 0000000..f19c4fb --- /dev/null +++ b/packages/k6-tdk/src/utils/query.ts @@ -0,0 +1,29 @@ +import * as jsonpath from 'jsonpath' +import { JSONValue } from 'k6' +import { isEmpty, isObject } from 'lodash-es' +import * as xmlbuilder from 'xmlbuilder2' + +export const queryJson = (pathExpression: string, val?: JSONValue): V[] => { + if (!pathExpression || !val) { + return [] + } + + let obj = val + + if (typeof obj === 'string') { + try { + obj = JSON.parse(obj) + } catch (_) { + return [] + } + } + + return jsonpath.query(obj, pathExpression).map((v) => { + return isObject(v) && isEmpty(v) ? undefined : v + }) +} + +export const queryXml = (pathExpression: string, obj?: any): V[] => { + const jsonRepresentation = xmlbuilder.create(obj).end({ format: 'object' }) + return queryJson(pathExpression, jsonRepresentation) +} diff --git a/packages/k6-tdk/src/utils/queue.ts b/packages/k6-tdk/src/utils/queue.ts deleted file mode 100644 index c36f62f..0000000 --- a/packages/k6-tdk/src/utils/queue.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { setTimeout } from 'k6/experimental/timers'; - -const wait = (ms) => { - return new Promise((resolve) => { - setTimeout(resolve, ms); - }); -} - -export interface BackOffOptions { - delay: number; - delayMultiplier: number; -} - -export const backOff = (fn: () => Promise, o: BackOffOptions): Promise => { - return new Promise((resolve, reject) => { - return fn() - .then(resolve) - .catch(() => { - wait(o.delay) - .then(() => { - o.delay = o.delay * o.delayMultiplier - return backOff(fn, o) - }) - .then(resolve) - .catch(reject); - }) - }) -} - -function sanitizeOptions(options?: Partial): BackOffOptions { - return { - delay: 100, - delayMultiplier: 2, - ...options - }; -} - -export class Queue { - #tasks: (() => Promise)[] - - #backOffOptions: BackOffOptions - - constructor(o?: Partial) { - this.#tasks = [] - this.#backOffOptions = sanitizeOptions(o) - } - - add(fn: () => Promise): void { - this.#tasks.push(fn) - } - - exec(): Promise { - return Promise.all(this.#tasks.map((fn) => { - return backOff(fn, this.#backOffOptions) - })) - } -} diff --git a/packages/k6-tdk/src/utils/url.test.ts b/packages/k6-tdk/src/utils/url.test.ts new file mode 100644 index 0000000..09850c1 --- /dev/null +++ b/packages/k6-tdk/src/utils/url.test.ts @@ -0,0 +1,31 @@ +import { expect, test } from 'vitest'; + +import { cleanURL, objectToQueryString, queryStringToObject } from './url'; + +test.each([ + { url: 'foo', expected: 'foo' }, + { url: '/foo', expected: '/foo' }, + { url: '/foo/', expected: '/foo/' }, + { url: '/foo///bar?baz=true', expected: '/foo/bar?baz=true' }, + { url: 'http://www.foo.org////foo///bar?baz=true', expected: 'http://www.foo.org/foo/bar?baz=true' }, + { url: '/foo///bar//', expected: '/foo/bar/' }, + { url: 'foo///bar////baz', expected: 'foo/bar/baz' } +])('cleanURL($url) -> $expected', ({ url, expected }) => { + expect(cleanURL(url)).toBe(expected) +}) + +test.each([ + { url: 'http://foo.org/bar?baz=1', expected: { baz: '1' } }, + { url: 'http://foo.org/bar?baz=1&what=that', expected: { baz: '1', what: 'that' } } +])('queryStringToObject($url) -> $expected', ({ url, expected }) => { + expect(queryStringToObject(url)).toMatchObject(expected) +}) + +test.each([ + { obj: { foo: 1 }, expected: 'foo=1' }, + { obj: { bar: '2', baz: 3 }, expected: 'bar=2&baz=3' }, + { obj: { strange: undefined }, expected: 'strange=undefined' }, + { obj: { strange: undefined, second: 2 }, expected: 'strange=undefined&second=2' } +])('objectToQueryString($url) -> $expected', ({ obj, expected }) => { + expect(objectToQueryString(obj)).toMatchObject(expected) +}) diff --git a/packages/k6-tdk/src/utils/url.ts b/packages/k6-tdk/src/utils/url.ts index 282b93a..7c786e3 100644 --- a/packages/k6-tdk/src/utils/url.ts +++ b/packages/k6-tdk/src/utils/url.ts @@ -1,31 +1,20 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ // @ts-ignore -import { URLSearchParams as _URLSearchParams } from 'https://jslib.k6.io/url/1.0.0/index.js'; +import { URLSearchParams as K6URLSearchParams } from 'https://jslib.k6.io/url/1.0.0/index.js' -export class URLSearchParams { - #ref: []; - - constructor(p: unknown) { - this.#ref = new _URLSearchParams(p); - } - - object(): { [p: string]: string } { - return Object.fromEntries(this.#ref); - } +export const cleanURL = (...parts: string[]): string => { + return parts.join('/').replace(/(? { - return parts.join('/').replace(/(? { + const searchParams = new K6URLSearchParams(Object.keys(params).map((k) => { + return [k, String(params[k])] + })) -export const objectToQueryString = (o: { [key: string]: string | number }): string => { - return Object.keys(o) - .map((key) => { - return encodeURIComponent(key) + '=' + encodeURIComponent(o[ key ] || '') - }) - .join('&'); -}; + return searchParams.toString() +} -export const queryStringToObject = (qs?: string): { [key: string]: string } => { - return new URLSearchParams(new URL(qs || '').search).object(); -}; +export const queryStringToObject = (requestedUrl: string): { [key: string]: string } => { + const url = new URL(requestedUrl).search + const urlSearchParams = new K6URLSearchParams(url) + return Object.fromEntries(urlSearchParams) +} diff --git a/packages/k6-tdk/src/utils/utils.ts b/packages/k6-tdk/src/utils/utils.ts deleted file mode 100644 index b5f5be2..0000000 --- a/packages/k6-tdk/src/utils/utils.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -// @ts-ignore -import { randomString as _randomString } from 'https://jslib.k6.io/k6-utils/1.2.0/index.js'; -import * as jsonpath from 'jsonpath'; -import { JSONValue } from 'k6'; -import { isEmpty } from 'lodash-es'; -import * as xmlbuilder from 'xmlbuilder2'; - -export const randomString = (length = 10, charset?: string): string => { - return _randomString(length, charset); -}; - -export const queryJson = (pathExpression: string, obj?: JSONValue): V[] => { - if (!pathExpression || !obj) { - return []; - } - - if(typeof obj == 'string') { - try { - obj = JSON.parse(obj) - } catch (_) { - return [] - } - } - - return jsonpath.query(obj, pathExpression).map((v) => { - return isEmpty(v) ? undefined : v - }); -}; - -export const queryXml = (pathExpression: string, obj?: any): V[] => { - const jsonRepresentation = xmlbuilder.create(obj).end({ format: 'object' }) - return queryJson(pathExpression, jsonRepresentation); -}; - diff --git a/packages/k6-tdk/vitest.config.ts b/packages/k6-tdk/vitest.config.ts new file mode 100644 index 0000000..dadfb4a --- /dev/null +++ b/packages/k6-tdk/vitest.config.ts @@ -0,0 +1,15 @@ +import { defineConfig } from 'vitest/config' + +export default defineConfig({ + test: { + setupFiles: [ + 'config/vitest.mocks.ts' + ], + clearMocks: true, + mockReset: true, + restoreMocks: true, + alias: { + '@': '/src' + } + }, +}) diff --git a/packages/k6-tdk/yarn-error.log b/packages/k6-tdk/yarn-error.log new file mode 100644 index 0000000..3531378 --- /dev/null +++ b/packages/k6-tdk/yarn-error.log @@ -0,0 +1,134 @@ +Arguments: + /Users/fschade/.nvm/versions/node/v18.9.1/bin/node /opt/homebrew/Cellar/yarn/1.22.19/libexec/bin/yarn.js add vite --dev + +PATH: + /Users/fschade/Library/pnpm:/Users/fschade/Library/pnpm:/Users/fschade/.nvm/versions/node/v18.9.1/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/fschade/.bin:/Users/fschade/go/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew/opt/fzf/bin + +Yarn version: + 1.22.19 + +Node version: + 18.9.1 + +Platform: + darwin arm64 + +Trace: + Error: https://registry.yarnpkg.com/@ownclouders%2fesbuild: Not found + at params.callback [as _callback] (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:66145:18) + at self.callback (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:140890:22) + at Request.emit (node:events:513:28) + at Request. (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:141862:10) + at Request.emit (node:events:513:28) + at IncomingMessage. (/opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js:141784:12) + at Object.onceWrapper (node:events:627:28) + at IncomingMessage.emit (node:events:525:35) + at endReadableNT (node:internal/streams/readable:1359:12) + at process.processTicksAndRejections (node:internal/process/task_queues:82:21) + +npm manifest: + { + "name": "@ownclouders/k6-tdk", + "version": "0.0.1", + "private": false, + "description": "ownCloud k6 test development kit", + "homepage": "https://github.com/owncloud/web/tree/master/packages/k6-tdk", + "repository": { + "type": "git", + "url": "https://github.com/owncloud/cdperf", + "directory": "packages/k6-tdk" + }, + "license": "AGPL-3.0", + "author": "ownCloud GmbH ", + "sideEffects": false, + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/esm/index.js", + "require": "./dist/client/cjs/index.js" + }, + "./lib/endpoints": { + "types": "./dist/types/endpoints/index.d.ts", + "import": "./dist/esm/endpoints/index.js", + "require": "./dist/endpoints/cjs/index.js" + }, + "./lib/auth": { + "types": "./dist/types/auth/index.d.ts", + "import": "./dist/esm/auth/index.js", + "require": "./dist/client/cjs/index.js" + }, + "./lib/client": { + "types": "./dist/types/client/index.d.ts", + "import": "./dist/esm/client/index.js", + "require": "./dist/cjs/client/index.js" + }, + "./lib/utils": { + "types": "./dist/types/utils/index.d.ts", + "import": "./dist/esm/utils/index.js", + "require": "./dist/cjs/utils/index.js" + }, + "./package.json": "./package.json" + }, + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "types": "index.d.ts", + "typesVersions": { + ">=4.2": { + "*": [ + "dist/types/*" + ] + } + }, + "files": [ + "dist/cjs/**/!(*.tsbuildinfo)", + "dist/esm/**/!(*.tsbuildinfo)", + "dist/types/**/!(*.tsbuildinfo)", + "lib/api", + "lib/auth", + "lib/client", + "lib/utils", + "src", + "package.json", + "tsconfig.json" + ], + "scripts": { + "build": "concurrently pnpm:build:*", + "build:artifacts": "node build.mjs", + "build:types": "tsc --outDir dist/types", + "clean": "pnpm clean:artifacts && pnpm clean:vendor", + "clean:artifacts": "del-cli dist lib", + "clean:vendor": "del-cli .turbo node_modules", + "dev": "turbowatch", + "lint": "eslint package.json 'src/**/*.ts'", + "lint:fix": "pnpm run lint --fix", + "test": "vitest run" + }, + "dependencies": { + "jsonpath": "^1.1.1", + "lodash-es": "^4.17.21", + "xmlbuilder2": "^3.0.2" + }, + "devDependencies": { + "@ownclouders/esbuild": "workspace:*", + "@ownclouders/eslint-config": "workspace:*", + "@ownclouders/tsconfig": "workspace:*", + "@ownclouders/turbowatch": "workspace:*", + "@types/jsonpath": "^0.2.0", + "@types/k6": "^0.43.3", + "@types/lodash-es": "^4.17.7", + "@types/node": "^18.15.11", + "concurrently": "^8.0.1", + "del-cli": "^5.0.0", + "esbuild": "^0.17.16", + "eslint": "^8.38.0", + "turbowatch": "^2.21.0", + "typescript": "^5.0.4", + "vitest": "^0.30.1" + } + } + +yarn manifest: + No manifest + +Lockfile: + No lockfile diff --git a/packages/k6-tests/.eslintrc b/packages/k6-tests/.eslintrc index 0300b60..8cbdce7 100644 --- a/packages/k6-tests/.eslintrc +++ b/packages/k6-tests/.eslintrc @@ -1,7 +1,14 @@ { "root": true, "extends": ["@ownclouders"], - "rules": { - "import/no-default-export": "off" - } + "overrides": [ + { + "files": ["src/**/*.ts"], + "rules": { + "@typescript-eslint/naming-convention": "off", + // k6 uses the default export function as vu stage + "import/no-default-export": "off" + } + } + ] } diff --git a/packages/k6-tests/artifacts/koko-010-login.js b/packages/k6-tests/artifacts/koko-010-login.js index d7df2bd..4f5c7ba 100644 --- a/packages/k6-tests/artifacts/koko-010-login.js +++ b/packages/k6-tests/artifacts/koko-010-login.js @@ -1,90 +1,90 @@ -"use strict";var gg=Object.create;var xo=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var xg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var zs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),wg=(E,l)=>{for(var o in l)xo(E,o,{get:l[o],enumerable:!0})},fc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of xg(l))!Eg.call(E,w)&&w!==o&&xo(E,w,{get:()=>l[w],enumerable:!(v=_g(l,w))||v.enumerable});return E};var jt=(E,l,o)=>(o=E!=null?gg(bg(E)):{},fc(l||!E||!E.__esModule?xo(o,"default",{value:E,enumerable:!0}):o,E)),Sg=E=>fc(xo({},"__esModule",{value:!0}),E);var Ys=zs((ap,Vs)=>{(function(E){if(typeof ap=="object"&&typeof Vs<"u")Vs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Fi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ga(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Ei(){var F,j,Z=S;return F=ga(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Ei():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Ei(),j}function wi(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function _a(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=wi(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=wi(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function xa(){var F,j,Z,le,be;return be=S,F=_a(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=xa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function ba(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=ba(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ea(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Ea(F)),!Ae(","))break;we()}while(e<_);return j}function wa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Sa(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Aa(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Da(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=Ut(),je("else")?(we(),Z=Ut()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=Ut(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ca(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=Ut(),C.inIteration=Z,b.createWhileStatement(F,j)}function Ta(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Na(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Ta(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=Ut(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Si(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Ai(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Di(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Fa(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=Ut(),b.createWithStatement(F,j)}function Oa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=Ut(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ia(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Oa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function ka(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ci(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ti(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ci()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Ni(){return Te("debugger"),We(),b.createDebuggerStatement()}function Ut(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Aa(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Ai(),be);case"continue":return b.markEnd(Si(),be);case"debugger":return b.markEnd(Ni(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Na(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Da(),be);case"return":return b.markEnd(Di(),be);case"switch":return b.markEnd(Ia(),be);case"throw":return b.markEnd(ka(),be);case"try":return b.markEnd(Ti(),be);case"var":return b.markEnd(wa(),be);case"while":return b.markEnd(Ca(),be);case"with":return b.markEnd(Fa(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=Ut(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Fi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Sa(S.value);case"function":return tn();default:return Ut()}if(S.type!==a.EOF)return Ut()}function Oi(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function Ii(){var F,j;return Q(),at(),j=S,t=!1,F=Oi(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function ki(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Ii(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Pa,m.parse=ki,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var z_=Object.create;var Io=Object.defineProperty;var q_=Object.getOwnPropertyDescriptor;var G_=Object.getOwnPropertyNames;var W_=Object.getPrototypeOf,X_=Object.prototype.hasOwnProperty;var Cs=(c,o)=>()=>(o||c((o={exports:{}}).exports,o),o.exports),jt=(c,o)=>{for(var r in o)Io(c,r,{get:o[r],enumerable:!0})},pc=(c,o,r,v)=>{if(o&&typeof o=="object"||typeof o=="function")for(let S of G_(o))!X_.call(c,S)&&S!==r&&Io(c,S,{get:()=>o[S],enumerable:!(v=q_(o,S))||v.enumerable});return c};var Qt=(c,o,r)=>(r=c!=null?z_(W_(c)):{},pc(o||!c||!c.__esModule?Io(r,"default",{value:c,enumerable:!0}):r,c)),H_=c=>pc(Io({},"__esModule",{value:!0}),c);var Bs=Cs((rp,Ls)=>{(function(c){if(typeof rp=="object"&&typeof Ls<"u")Ls.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.jsonpath=c()}})(function(){var c,o,r;return function v(S,_,y){function s(a,l){if(!_[a]){if(!S[a]){var u=typeof require=="function"&&require;if(!l&&u)return u(a,!0);if(h)return h(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[a]={exports:{}};S[a][0].call(m.exports,function(f){var t=S[a][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[a].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],a={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===a.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:a.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:a.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?a.LogicalExpression:a.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:a.BlockStatement,body:O}},createBreakStatement:function(O){return{type:a.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:a.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:a.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:a.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:a.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:a.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:a.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:a.EmptyStatement}},createExpressionStatement:function(O){return{type:a.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:a.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:a.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:a.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:a.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:a.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:a.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:a.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:a.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:a.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:a.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:a.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:a.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:a.Program,body:O}},createProperty:function(O,j,Z){return{type:a.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:a.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:a.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:a.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:a.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:a.ThisExpression}},createThrowStatement:function(O){return{type:a.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:a.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:a.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:a.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:a.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:a.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:a.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:a.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===a.Identifier||O.type===a.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[wr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===a.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return qi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ia(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Li(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Li(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function oa(){var O,j,Z,ce,Ee;return Ee=w,O=ia(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=oa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===a.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=aa(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function wr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function sa(O){var j=null,Z,ce;return ce=w,Z=wr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(sa(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Bi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=wr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Mi(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=wr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function Ri(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ma(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function va(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Wi(){var O,j;return Q(),ct(),j=w,t=!1,O=Gi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Xi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Wi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ga,y.parse=Xi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in a)a.hasOwnProperty(O)&&(j[O]=a[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var oe="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?oe="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":oe="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(oe,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},a=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=a;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var a=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(a)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,a=function(){return this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},a.prototype.keys=Object.keys,a.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},a.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},a.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},a.prototype._fns["subscript-child-string_literal"]=a.prototype._fns["member-child-identifier"],a.prototype._fns["member-descendant-numeric_literal"]=a.prototype._fns["subscript-descendant-string_literal"]=a.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=a},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),a=function(){this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.parser=new h,this.handlers=new i},a.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},a.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},a.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},a.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},a.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},a.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},a.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},a.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},a.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},a.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}a.Handlers=i,a.Parser=h;var u=new a;u.JSONPath=a,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,a=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),a.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,a){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof a=="string")throw new Error("step cannot be a string");var l=s.length;if(a===0)throw new Error("step cannot be zero");if(a=a?y(a):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(a>0?0:l-1)),i=y(i===0?0:i||(a>0?l:-1)),h=a>0?Math.max(0,h):Math.min(l,h),i=a>0?Math.min(i,l):Math.max(-1,i),a>0&&i<=h)return[];if(a<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(a<0&&p<=i||a>0&&p>=i);p+=a)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function a(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var oe=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(oe)?le.showHidden=oe:oe&&_._extend(le,oe),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,oe){var le=l.styles[oe];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,oe){return Q}function m(Q){var oe={};return Q.forEach(function(le,fe){oe[le]=!0}),oe}function f(Q,oe,le){if(Q.customInspect&&oe&&X(oe.inspect)&&oe.inspect!==_.inspect&&!(oe.constructor&&oe.constructor.prototype===oe)){var fe=oe.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,oe);if(P)return P;var C=Object.keys(oe),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(oe)),z(oe)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(oe);if(C.length===0){if(X(oe)){var L=oe.name?": "+oe.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(oe))return Q.stylize(RegExp.prototype.toString.call(oe),"regexp");if(Y(oe))return Q.stylize(Date.prototype.toString.call(oe),"date");if(z(oe))return e(oe)}var R="",q=!1,W=["{","}"];if(E(oe)&&(q=!0,W=["[","]"]),X(oe)){var ae=oe.name?": "+oe.name:"";R=" [Function"+ae+"]"}if(G(oe)&&(R=" "+RegExp.prototype.toString.call(oe)),Y(oe)&&(R=" "+Date.prototype.toUTCString.call(oe)),z(oe)&&(R=" "+e(oe)),C.length===0&&(!q||oe.length==0))return W[0]+R+W[1];if(le<0)return G(oe)?Q.stylize(RegExp.prototype.toString.call(oe),"regexp"):Q.stylize("[Object]","special");Q.seen.push(oe);var me;return q?me=g(Q,oe,le,B,C):me=C.map(function(ge){return b(Q,oe,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,oe){if(k(oe))return Q.stylize("undefined","undefined");if(I(oe)){var le="'"+JSON.stringify(oe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(oe))return Q.stylize(""+oe,"number");if(w(oe))return Q.stylize(""+oe,"boolean");if(D(oe))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,oe,le,fe,P){for(var C=[],B=0,L=oe.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,oe,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(oe===""?"":oe+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof Qs=="object"?Qs.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+oe+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,oe=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],oe].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,oe){if(!oe||!$(oe))return Q;for(var le=Object.keys(oe),fe=le.length;fe--;)Q[le[fe]]=oe[le[fe]];return Q};function ne(Q,oe){return Object.prototype.hasOwnProperty.call(Q,oe)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=a(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,o){typeof Fi=="object"&&typeof Ms=="object"?Ms.exports=o():typeof define=="function"&&define.amd?define([],o):typeof Fi=="object"?Fi.xmlbuilder2=o():c.xmlbuilder2=o()})(Fi,function(){return function(c){var o={};function r(v){if(o[v])return o[v].exports;var S=o[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,r),S.l=!0,S.exports}return r.m=c,r.c=o,r.d=function(v,S,_){r.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},r.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},r.t=function(v,S){if(1&S&&(v=r(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(r.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)r.d(_,y,function(s){return v[s]}.bind(null,y));return _},r.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return r.d(S,"a",S),S},r.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},r.p="",r(r.s=184)}([function(c,o,r){"use strict";function v(S){for(var _ in S)o.hasOwnProperty(_)||(o[_]=S[_])}Object.defineProperty(o,"__esModule",{value:!0}),v(r(240)),v(r(251)),v(r(175)),v(r(107)),v(r(29)),v(r(73)),v(r(106)),v(r(30)),v(r(252)),v(r(52)),v(r(97)),v(r(253)),v(r(37)),v(r(51)),v(r(173)),v(r(176)),v(r(172)),v(r(108)),v(r(254)),v(r(255)),v(r(256)),v(r(72)),v(r(177)),v(r(105)),v(r(17)),v(r(257)),v(r(12)),v(r(174))},function(c,o,r){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(212);o.FixedSizeSet=S.FixedSizeSet;var _=r(213);o.ObjectCache=_.ObjectCache;var y=r(214);o.CompareCache=y.CompareCache;var s=r(215);o.Lazy=s.Lazy;var h=r(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function a(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(a(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=a(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}o.StringWalker=h.StringWalker,o.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},o.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(o.BoundaryPosition||(o.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(o.EventPhase||(o.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(o.NodeType||(o.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(o.Position||(o.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(o.FilterResult||(o.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(o.WhatToShow||(o.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(o.HowToCompare||(o.HowToCompare={}))},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(241);o.Cast=v.Cast;var S=r(150);o.Guard=S.Guard;var _=r(242);o.EmptySet=_.EmptySet},function(c,o,r){var v=r(11),S=r(55).f,_=r(21),y=r(25),s=r(80),h=r(119),i=r(123);c.exports=function(a,l){var u,p,m,f,t,e=a.target,g=a.global,b=a.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=a.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,a.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(a.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,a)}}},function(c,o,r){var v=r(11),S=r(81),_=r(14),y=r(58),s=r(86),h=r(124),i=S("wks"),a=v.Symbol,l=h?a:a&&a.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(a,u)?i[u]=a[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(1),S=r(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();o.dom=_.instance},function(c,o,r){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(o,"__esModule",{value:!0});var S=v(r(228));o.base64=S;var _=v(r(146));o.byte=_;var y=v(r(147));o.byteSequence=y;var s=v(r(96));o.codePoint=s;var h=v(r(232));o.json=h;var i=v(r(233));o.list=i;var a=v(r(234));o.map=a;var l=v(r(235));o.namespace=l;var u=v(r(236));o.queue=u;var p=v(r(237));o.set=p;var m=v(r(238));o.stack=m;var f=v(r(239));o.string=f},function(c,o){c.exports=function(r){try{return!!r()}catch{return!0}}},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(o,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);o.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);o.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);o.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);o.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);o.NoModificationAllowedError=i;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);o.NotSupportedError=a;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);o.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);o.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);o.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);o.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);o.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);o.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);o.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);o.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);o.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);o.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);o.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);o.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);o.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);o.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);o.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);o.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);o.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);o.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);o.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);o.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);o.InvalidCharacterError=Y},function(c,o,r){"use strict";var v=r(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(a){if(S.indexOf(a)===-1)throw new v('Unknown option "'+a+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(a){h[a].forEach(function(l){i[String(l)]=a})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,o,r){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,r(78))},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,o){c.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(c,o){var r={}.hasOwnProperty;c.exports=function(v,S){return r.call(v,S)}},function(c,o,r){var v=r(16),S=r(115),_=r(18),y=r(56),s=Object.defineProperty;o.f=v?s:function(h,i,a){if(_(h),i=y(i,!0),_(a),S)try{return s(h,i,a)}catch{}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(h[i]=a.value),h}},function(c,o,r){var v=r(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,o,r){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(3),_=r(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function a(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}o.tree_getFirstDescendantNode=h,o.tree_getNextDescendantNode=i,o.tree_getDescendantNodes=a,o.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=a(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},o.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},o.tree_getFirstAncestorNode=l,o.tree_getNextAncestorNode=u,o.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},o.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},o.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},o.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},o.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},o.tree_nodeLength=p,o.tree_isEmpty=function(e){return p(e)===0},o.tree_rootNode=m,o.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},o.tree_isAncestorOf=f,o.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},o.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},o.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},o.tree_isParentOf=function(e,g){return e._parent===g},o.tree_isChildOf=function(e,g){return g._parent===e},o.tree_previousSibling=function(e){return e._previousSibling},o.tree_nextSibling=function(e){return e._nextSibling},o.tree_firstChild=function(e){return e._firstChild},o.tree_lastChild=function(e){return e._lastChild},o.tree_treePosition=t,o.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},o.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,o,r){var v=r(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,o,r){"use strict";var v=r(24),S=r(130),_=r(49),y=r(43),s=r(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(a,l){h(this,{type:"Array Iterator",target:v(a),index:0,kind:l})},function(){var a=i(this),l=a.target,u=a.kind,p=a.index++;return!l||p>=l.length?(a.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,o,r){var v=r(90),S=r(25),_=r(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,o,r){var v=r(16),S=r(15),_=r(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,o,r){"use strict";var v=r(137).charAt,S=r(43),_=r(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),a=i.string,l=i.index;return l>=a.length?{value:void 0,done:!0}:(h=v(a,l),i.index+=h.length,{value:h,done:!1})})},function(c,o,r){var v=r(11),S=r(203),_=r(19),y=r(21),s=r(5),h=s("iterator"),i=s("toStringTag"),a=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==a)try{y(p,h,a)}catch{p[h]=a}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,o,r){var v=r(41),S=r(35);c.exports=function(_){return v(S(_))}},function(c,o,r){var v=r(11),S=r(21),_=r(14),y=r(80),s=r(117),h=r(43),i=h.get,a=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),a(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,o,r){var v=r(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,o,r){var v=r(35);c.exports=function(S){return Object(v(S))}},function(c,o,r){var v=r(16),S=r(8),_=r(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,a){if(_(s,i))return s[i];a||(a={});var l=[][i],u=!!_(a,"ACCESSORS")&&a.ACCESSORS,p=_(a,0)?a[0]:h,m=_(a,1)?a[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(148),S=r(149),_=r(151),y=r(98),s=r(153),h=r(154),i=r(155),a=r(99),l=r(100),u=r(156),p=r(157),m=r(101),f=r(158),t=r(159),e=r(160),g=r(161),b=r(162),x=r(163),E=r(164),w=r(165),D=r(166),T=r(167),N=r(168),I=r(169),M=r(170);o.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},o.create_window=function(){return S.WindowImpl._create()},o.create_xmlDocument=function(){return new _.XMLDocumentImpl},o.create_document=function(){return new y.DocumentImpl},o.create_abortController=function(){return new s.AbortControllerImpl},o.create_abortSignal=function(){return h.AbortSignalImpl._create()},o.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},o.create_element=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},o.create_htmlElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},o.create_htmlUnknownElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},o.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},o.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},o.create_attr=function(k,G){return p.AttrImpl._create(k,G)},o.create_text=function(k,G){return m.TextImpl._create(k,G)},o.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},o.create_comment=function(k,G){return t.CommentImpl._create(k,G)},o.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},o.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},o.create_nodeList=function(k){return b.NodeListImpl._create(k)},o.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},o.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},o.create_range=function(k,G){return w.RangeImpl._create(k,G)},o.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},o.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},o.create_nodeFilter=function(){return N.NodeFilterImpl._create()},o.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},o.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,o,r){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(17),y=r(3),s=r(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function a(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}o.dom_runRemovingSteps=function(p,m){},o.dom_runCloningSteps=function(p,m,f,t){},o.dom_runAdoptingSteps=function(p,m){},o.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),a.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},o.dom_runInsertionSteps=function(p){},o.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},o.dom_hasSupportedTokens=function(p){return h.has(p)},o.dom_getSupportedTokens=function(p){return h.get(p)||new Set},o.dom_runEventConstructingSteps=function(p){},o.dom_runChildTextContentChangeSteps=function(p){}},function(c,o,r){"use strict";var v=r(4),S=r(11),_=r(46),y=r(44),s=r(16),h=r(86),i=r(124),a=r(8),l=r(14),u=r(59),p=r(13),m=r(18),f=r(27),t=r(24),e=r(56),g=r(40),b=r(60),x=r(61),E=r(82),w=r(190),D=r(85),T=r(55),N=r(15),I=r(79),M=r(21),k=r(25),G=r(81),$=r(57),Y=r(45),z=r(58),X=r(5),H=r(125),ee=r(126),re=r(62),de=r(43),ve=r(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),oe=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&a(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return oe(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:a(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||a(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,o,r){"use strict";var v=r(4),S=r(16),_=r(11),y=r(14),s=r(13),h=r(15).f,i=r(119),a=_.Symbol;if(S&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new a(e):e===void 0?a():a(e);return e===""&&(l[g]=!0),g};i(u,a);var p=u.prototype=a.prototype;p.constructor=u;var m=p.toString,f=String(a("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,o,r){r(126)("iterator")},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(70),i=r(3),a=r(9),l=r(0),u=r(152),p=r(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),a)){if(l)G[M]=w;else if(w)switch(a){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,o,r){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var oe=v(T._children),le=oe.next();!le.done;le=oe.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=oe.return)&&G.call(oe)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),oe=Q.next();!oe.done;oe=Q.next()){var le=oe.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{oe&&!oe.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}o.mutation_ensurePreInsertionValidity=b,o.mutation_preInsert=x,o.mutation_insert=E,o.mutation_append=function(D,T){return x(D,T,null)},o.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var oe=v(N._children),le=oe.next();!le.done;le=oe.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=oe.return)&&Y.call(oe)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},o.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},o.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},o.mutation_remove=w},function(c,o,r){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:r)(S)}},function(c,o,r){"use strict";var v=r(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,o){c.exports={}},function(c,o,r){"use strict";r(31),r(32),r(33),r(220),r(64),r(19),r(65),r(20),r(68),r(66),r(92),r(144),r(22),r(94),r(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!a.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!a.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!a.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!a.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!a.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!a.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();o.BaseWriter=l},function(c,o,r){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(o,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(7),h=r(29),i=r(17),a=r(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,o,r){var v=r(121),S=r(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,o,r){var v=r(15).f,S=r(14),_=r(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,o,r){var v=r(8),S=r(5),_=r(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,o,r){"use strict";var v=r(4),S=r(122).indexOf,_=r(48),y=r(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),a=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!a},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){var v=r(16),S=r(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,o,r){"use strict";var v=r(25),S=r(18),_=r(8),y=r(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),a=h.name!="toString";(i||a)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,o,r){"use strict";r(31),r(32),r(33),r(19),r(138),r(20),r(66),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}),_=this&&this.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,l=a&&i[a],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(1),s=r(2),h=function(i){function a(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(a,i),a.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},a.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},a.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},a.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},a.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},a.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},a.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},a.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},a.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},a.prototype._isAttrNode=function(l){return"@"in l},a.prototype._isTextNode=function(l){return"#"in l},a.prototype._isCommentNode=function(l){return"!"in l},a.prototype._isInstructionNode=function(l){return"?"in l},a.prototype._isCDATANode=function(l){return"$"in l},a.prototype._isElementNode=function(l,u){return u in l},a.prototype._getAttrKey=function(){return this._builderOptions.convert.att},a.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},a}(r(50).BaseWriter);o.ObjectWriter=h},function(c,o,r){"use strict";var v=r(4),S=r(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();o.LocalNameSet=v},function(c,o,r){"use strict";var v=this&&this.__read||function(h,i){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var l,u,p=a.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(o,"__esModule",{value:!0});var S=r(9),_=r(3),y=r(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,a,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];a&&(u=_.Guard.isEventListener(a)?a:{handleEvent:a},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,a,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(a)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();o.BaseReader=S},function(c,o,r){"use strict";var v=r(39);c.exports=v.DEFAULT=new v({include:[r(54)],explicit:[r(299),r(300),r(301)]})},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(185);o.XMLBuilderImpl=v.XMLBuilderImpl;var S=r(304);o.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=r(183);o.builder=_.builder,o.create=_.create,o.fragment=_.fragment,o.convert=_.convert;var y=r(309);o.createCB=y.createCB,o.fragmentCB=y.fragmentCB},function(c,o){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}c.exports=r},function(c,o,r){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);o.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,o,r){var v=r(11),S=r(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,o,r){var v=r(44),S=r(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,o,r){var v=r(121),S=r(84).concat("length","prototype");o.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,o,r){var v=r(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,o){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,o){o.f=Object.getOwnPropertySymbols},function(c,o,r){var v=r(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,o,r){var v=r(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,o,r){"use strict";var v=r(4),S=r(195),_=r(132),y=r(133),s=r(62),h=r(21),i=r(25),a=r(5),l=r(44),u=r(49),p=r(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=a("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,o,r){"use strict";var v=r(4),S=r(13),_=r(59),y=r(83),s=r(26),h=r(24),i=r(134),a=r(5),l=r(63),u=r(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=a("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),a&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:a&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=a(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(o,"__esModule",{value:!0});var s=r(6),h=r(2),i=r(9),a=r(34),l=r(3),u=r(1),p=r(7),m=r(152),f=r(0),t=r(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(o,"__esModule",{value:!0});var s=r(2),h=r(34),i=r(9),a=r(7),l=r(0),u=r(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===a.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(2),s=r(71),h=r(0),i=r(12),a=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);o.TextImpl=a,i.idl_defineConst(a.prototype,"_nodeType",y.NodeType.Text)},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();o.AbstractRangeImpl=v},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();o.TraverserImpl=S},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=r(0),_=r(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var a=this._currentTarget;if(a===null)throw new Error("Event currentTarget is null.");h.push(a);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===a){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(1),h=r(99),i=r(73),a=r(17),l=r(173),u=r(30),p=r(52),m=r(37);o.document_elementInterface=function(f,t){return h.ElementImpl},o.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},o.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=a.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=a.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,o,r){"use strict";var v=this&&this.__values||function(a){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&a[l],p=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&p>=a.length&&(a=void 0),{value:a&&a[p++],done:!a}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(17),h=r(51),i=r(30);o.characterData_replaceData=function(a,l,u,p){var m,f,t=s.tree_nodeLength(a);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+a.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",a,null,null,a._data,[],[],null,null);var e=a._data.substring(0,l)+p+a._data.substring(l+u);a._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===a&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===a&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===a&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===a&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(a)&&a._parent!==null&&i.dom_runChildTextContentChangeSteps(a._parent)},o.characterData_substringData=function(a,l,u){var p=s.tree_nodeLength(a);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+a.nodeName+".");return l+u>p?a._data.substr(l):a._data.substr(l,u)}},function(c,o,r){"use strict";var v=this&&this.__read||function(i,a){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(a===void 0||a-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],a=0;a=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(7);function s(i){var a=y.string.splitAStringOnASCIIWhitespace(i);return new Set(a)}function h(i){return S(i).join(" ")}o.orderedSet_parse=s,o.orderedSet_serialize=h,o.orderedSet_sanitize=function(i){return h(s(i))},o.orderedSet_contains=function(i,a,l){var u,p,m,f;try{for(var t=_(a),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,o,r){"use strict";r(179),Object.defineProperty(o,"__esModule",{value:!0});var v=r(262),S=r(110),_=r(1);S.dom.setFeatures(!1),o.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},o.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&a<=55295||a>=57344&&a<=65533)h+=y.charAt(i);else if(a>=55296&&a<=56319&&i=56320&&l<=57343?(a=1024*(a-55296)+l-56320+65536,h+=String.fromCodePoint(a),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(1),S=r(153);o.AbortController=S.AbortControllerImpl;var _=r(154);o.AbortSignal=_.AbortSignalImpl;var y=r(102);o.AbstractRange=y.AbstractRangeImpl;var s=r(157);o.Attr=s.AttrImpl;var h=r(158);o.CDATASection=h.CDATASectionImpl;var i=r(71);o.CharacterData=i.CharacterDataImpl;var a=r(263),l=r(159);o.Comment=l.CommentImpl;var u=r(171);o.CustomEvent=u.CustomEventImpl;var p=r(100);o.DocumentFragment=p.DocumentFragmentImpl;var m=r(98);o.Document=m.DocumentImpl;var f=r(264),t=r(155);o.DocumentType=t.DocumentTypeImpl;var e=r(6);o.dom=e.dom;var g=r(148);o.DOMImplementation=g.DOMImplementationImpl;var b=r(170);o.DOMTokenList=b.DOMTokenListImpl;var x=r(99);o.Element=x.ElementImpl;var E=r(104);o.Event=E.EventImpl;var w=r(70);o.EventTarget=w.EventTargetImpl;var D=r(161);o.HTMLCollection=D.HTMLCollectionImpl;var T=r(265);o.MutationObserver=T.MutationObserverImpl;var N=r(169);o.MutationRecord=N.MutationRecordImpl;var I=r(164);o.NamedNodeMap=I.NamedNodeMapImpl;var M=r(168);o.NodeFilter=M.NodeFilterImpl;var k=r(34);o.Node=k.NodeImpl;var G=r(166);o.NodeIterator=G.NodeIteratorImpl;var $=r(162);o.NodeList=$.NodeListImpl;var Y=r(163);o.NodeListStatic=Y.NodeListStaticImpl;var z=r(266),X=r(267),H=r(268),ee=r(160);o.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=r(165);o.Range=re.RangeImpl;var de=r(156);o.ShadowRoot=de.ShadowRootImpl;var ve=r(269),ne=r(270);o.StaticRange=ne.StaticRangeImpl;var Q=r(101);o.Text=Q.TextImpl;var oe=r(103);o.Traverser=oe.TraverserImpl;var le=r(167);o.TreeWalker=le.TreeWalkerImpl;var fe=r(149);o.Window=fe.WindowImpl;var P=r(151);o.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,a.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,a.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,a.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(o.TokenType||(o.TokenType={}))},function(c,o,r){"use strict";r(64),r(20),r(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var l in a)a.hasOwnProperty(l)&&(i[l]=a[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,a){var l=this,u=this._builderOptions,p=null;return _.isFunction(a)?p=this.parse(i,a.apply(this)):_.isArray(a)||_.isSet(a)?_.forEachArray(a,function(m){return p=l.parse(i,m)},this):_.isMap(a)||_.isObject(a)?_.forEachObject(a,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||a!=null)&&(p=this.text(i,this._decodeText(this.sanitize(a)))||p),p||i},h}(r(75).BaseReader);o.ObjectReader=y},function(c,o,r){"use strict";var v=r(39);c.exports=new v({explicit:[r(286),r(287),r(288)]})},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};o.BaseCBWriter=v},function(c,o,r){var v=r(16),S=r(8),_=r(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,o,r){var v=r(11),S=r(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,o,r){var v=r(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,o,r){var v=r(11),S=r(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,o,r){var v=r(14),S=r(187),_=r(55),y=r(15);c.exports=function(s,h){for(var i=S(h),a=y.f,l=_.f,u=0;ul;)v(a,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,o,r){var v=r(24),S=r(26),_=r(83),y=function(s){return function(h,i,a){var l,u=v(h),p=S(u.length),m=_(a,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,o,r){var v=r(8),S=/#|\.prototype\./,_=function(a,l){var u=s[y(a)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(a){return String(a).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,o,r){var v=r(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,o,r){var v=r(5);o.f=v},function(c,o,r){var v=r(120),S=r(14),_=r(125),y=r(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,o){c.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},function(c,o,r){var v=r(13),S=r(59),_=r(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,o,r){var v,S,_=r(11),y=r(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,o,r){var v=r(5),S=r(60),_=r(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,o,r){"use strict";var v,S,_,y=r(132),s=r(21),h=r(14),i=r(5),a=r(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),a||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,o,r){var v=r(14),S=r(27),_=r(57),y=r(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,o,r){var v=r(18),S=r(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,o,r){"use strict";var v=r(56),S=r(15),_=r(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,o,r){var v=r(90),S=r(42),_=r(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,a;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(a=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},function(c,o,r){"use strict";var v=r(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,o,r){var v=r(47),S=r(35),_=function(y){return function(s,h){var i,a,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(a=l.charCodeAt(u+1))<56320||a>57343?y?l.charAt(u):i:y?l.slice(u,u+2):a-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,o,r){var v=r(4),S=r(27),_=r(61);v({target:"Object",stat:!0,forced:r(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,o,r){"use strict";var v=r(4),S=r(11),_=r(123),y=r(25),s=r(140),h=r(141),i=r(142),a=r(13),l=r(8),u=r(208),p=r(62),m=r(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!a(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,o,r){var v=r(45),S=r(13),_=r(14),y=r(15).f,s=r(58),h=r(204),i=s("meta"),a=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++a,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,o,r){var v=r(18),S=r(205),_=r(26),y=r(87),s=r(206),h=r(207),i=function(a,l){this.stopped=a,this.result=l};(c.exports=function(a,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=a;else{if(typeof(t=s(a))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(a.length);g>e;e++)if((b=p?w(v(E=a[e])[0],E[1]):w(a[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(a)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(a){return new i(!0,a)}},function(c,o){c.exports=function(r,v,S){if(!(r instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return r}},function(c,o,r){"use strict";var v=r(15).f,S=r(60),_=r(210),y=r(87),s=r(142),h=r(141),i=r(88),a=r(211),l=r(16),u=r(140).fastKey,p=r(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),a(e)}}},function(c,o,r){"use strict";var v,S=r(4),_=r(55).f,y=r(26),s=r(222),h=r(35),i=r(224),a=r(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(a||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,o,r){"use strict";(function(v){var S=r(229),_=r(230),y=r(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return oe(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return oe(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,r(78))},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,o,r){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,a=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=a.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},o.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},o.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},o.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},o.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},o.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(6),S=r(7),_=r(0),y=r(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,a,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,a,l)},h.prototype.createDocument=function(i,a,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return a&&(p=_.document_internalCreateElementNS(u,i,a)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var a=_.create_document();a._type="html",a._contentType="text/html",a.appendChild(_.create_documentType(a,"html","",""));var l=_.element_createAnElement(a,"html",S.namespace.HTML);a.appendChild(l);var u=_.element_createAnElement(a,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(a,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(a,i);p.appendChild(m)}var f=_.element_createAnElement(a,"body",S.namespace.HTML);return l.appendChild(f),a._origin=this._associatedDocument._origin,a},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();o.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(70),y=r(1),s=r(0),h=function(i){function a(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(a,i),Object.defineProperty(a.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),a._create=function(){return new a},a}(_.EventTargetImpl);o.WindowImpl=h},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();o.Guard=S},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var a in i)i.hasOwnProperty(a)&&(h[a]=i[a])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(o,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(r(98).DocumentImpl);o.XMLDocumentImpl=_},function(c,o,r){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(o,"__esModule",{value:!0});var _,y=r(1),s=r(243),h=r(7),i=r(244),a={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in a}function x(L){return b(L.scheme)}function E(L){return a[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function oe(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return oe(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}o.setValidationErrorCallback=function(L){_=L},o.newURL=g,o.isSpecialScheme=b,o.isSpecial=x,o.defaultPort=E,o.includesCredentials=w,o.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},o.urlSerializer=D,o.hostSerializer=T,o.iPv4Serializer=N,o.iPv6Serializer=I,o.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},o.basicURLParser=M,o.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},o.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},o.isSingleDotPathSegment=k,o.isDoubleDotPathSegment=G,o.shorten=$,o.isNormalizedWindowsDriveLetter=Y,o.isWindowsDriveLetter=z,o.startsWithAWindowsDriveLetter=X,o.hostParser=H,o.iPv4NumberParser=ee,o.iPv4Parser=re,o.iPv6Parser=de,o.opaqueHostParser=ve,o.resolveABlobURL=ne,o.percentEncode=Q,o.percentDecode=oe,o.stringPercentDecode=le,o.utf8PercentEncode=fe,o.hostEquals=function(L,R){return L===R},o.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},o.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},o.urlEncodedParser=P,o.urlEncodedByteSerializer=C,o.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},o.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},o.domainToASCII=B,o.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},o.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();o.AbortControllerImpl=S},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(h,i)},function(h,i){function a(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(70),y=r(0),s=function(h){function i(){var a=h.call(this)||this;return a._abortedFlag=!1,a._abortAlgorithms=new Set,a}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(a){y.event_setterEventHandlerIDLAttribute(this,"onabort",a)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);o.AbortSignalImpl=s},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(2),y=r(34),s=r(12),h=function(i){function a(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(a,i),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),a.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(1),y=r(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),a=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[a++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var a,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){a={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}},s.prototype.get=function(h,i,a){if(!_.isString(i))return Reflect.get(h,i,a);var l=Number(i);return isNaN(l)?Reflect.get(h,i,a):h._items[l]||void 0},s.prototype.set=function(h,i,a,l){if(!_.isString(i))return Reflect.set(h,i,a,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,a,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(102),i=r(9),a=r(0),l=r(12),u=r(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!a.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){a.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){a.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){a.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=a.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(a.range_root(this)!==a.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=a.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!a.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))a.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(a.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&a.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(a.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!a.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=a.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&a.characterData_replaceData(x,E,a.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&a.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&a.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return a.range_extract(this)},f.prototype.cloneContents=function(){return a.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return a.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(a.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=a.range_extract(this);t._children.size!==0&&a.mutation_replaceAll(null,t),a.range_insert(t,this),a.mutation_append(w,t),a.range_select(t,this)},f.prototype.cloneRange=function(){return a.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(a.tree_rootNode(t)!==a.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>a.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return a.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&a.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(a.tree_rootNode(t)!==a.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>a.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return a.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:a.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(a.tree_rootNode(t)!==a.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=a.tree_index(t);return a.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&a.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(a.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);o.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(h,i)},function(h,i){function a(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(103),y=r(0),s=function(h){function i(a,l,u){var p=h.call(this,a)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(a,l,u){return new i(a,l,u)},i}(_.TraverserImpl);o.NodeIteratorImpl=s},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(2),y=r(103),s=r(0),h=function(i){function a(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(a,i),Object.defineProperty(a.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),a.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},a.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},a.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},a.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},a.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},a.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},a.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},a._create=function(l,u){return new a(l,u)},a}(y.TraverserImpl);o.TreeWalkerImpl=h},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=r(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();o.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,a,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=a,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,a,l,u,p){return new S(_,y,s,h,i,a,l,u,p)},S}();o.MutationRecordImpl=v},function(c,o,r){"use strict";var v=this&&this.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,l=a&&i[a],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(9),y=r(7),s=r(0),h=function(){function i(a,l){this._element=a,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(a,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(a,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(a){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===a)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(a){return this._tokenSet.has(a)},i.prototype.add=function(){for(var a,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},o.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},o.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},o.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=r(17);o.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],a=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(a),"Boundary points must share the same root node."),h===a)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=r(29),h=r(108),i=r(30),a=r(37),l=r(52);o.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),a.mutation_replaceAll(m,p)},o.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);a.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},o.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},o.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},o.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},o.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},o.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(29),h=r(17),i=r(107),a=r(37);o.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},o.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},o.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},o.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){a.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,o,r){"use strict";var v=r(4),S=r(41),_=r(24),y=r(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(a){return s.call(_(this),a===void 0?",":a)}})},function(c,o,r){var v=r(4),S=r(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],a=arguments.length,l=0;a>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,o,r){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,a,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){a={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(a)throw a.error}}return u};Object.defineProperty(o,"__esModule",{value:!0});var S=r(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var a=v(this.attribute(),2),l=a[0],u=a[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:a,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();o.XMLStringLexer=_},function(c,o,r){"use strict";var v=r(39);c.exports=new v({include:[r(182)]})},function(c,o,r){"use strict";var v=r(39);c.exports=new v({include:[r(113)],implicit:[r(289),r(290),r(291),r(292)]})},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(91),S=r(1),_=r(3),y=r(77),s=r(109);function h(u,p){var m=a(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function a(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}o.builder=function(u,p){var m=a(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var _=r(91),y=r(1),s=r(217),h=r(2),i=r(3),a=r(0),l=r(109),u=r(7),p=r(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(a.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=a.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(a.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(a.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();o.XMLBuilderImpl=m},function(c,o,r){var v=r(11),S=r(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,o,r){var v=r(46),S=r(82),_=r(85),y=r(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,o,r){var v=r(16),S=r(15),_=r(18),y=r(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,a=y(h),l=a.length,u=0;l>u;)S.f(s,i=a[u++],h[i]);return s}},function(c,o,r){var v=r(46);c.exports=v("document","documentElement")},function(c,o,r){var v=r(24),S=r(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,o,r){"use strict";var v=r(4),S=r(36).every,_=r(48),y=r(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){"use strict";var v=r(4),S=r(36).filter,_=r(63),y=r(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){var v=r(46);c.exports=v("navigator","userAgent")||""},function(c,o,r){"use strict";var v=r(4),S=r(36).find,_=r(130),y=r(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,o,r){"use strict";var v=r(131).IteratorPrototype,S=r(60),_=r(40),y=r(62),s=r(49),h=function(){return this};c.exports=function(i,a,l){var u=a+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,o,r){var v=r(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,o,r){var v=r(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,o,r){"use strict";var v=r(4),S=r(36).map,_=r(63),y=r(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){"use strict";var v=r(4),S=r(200).left,_=r(48),y=r(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){var v=r(127),S=r(27),_=r(41),y=r(26),s=function(h){return function(i,a,l,u){v(a);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=a(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,o,r){"use strict";var v=r(4),S=r(36).some,_=r(48),y=r(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,o,r){"use strict";var v=r(90),S=r(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,o){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,o,r){var v=r(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,o,r){var v=r(5),S=r(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,o,r){var v=r(135),S=r(49),_=r(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,o,r){var v=r(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,o,r){var v=r(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var a={};a[v]=function(){return{next:function(){return{done:i=!0}}}},s(a)}catch{}return i}},function(c,o,r){var v=r(13),S=r(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,o,r){var v=r(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,o,r){"use strict";var v=r(46),S=r(15),_=r(5),y=r(16),s=_("species");c.exports=function(h){var i=v(h),a=S.f;y&&i&&!i[s]&&a(i,s,{configurable:!0,get:function(){return this}})}},function(c,o,r){"use strict";var v=this&&this.__generator||function(y,s){var h,i,a,l,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!a||t[1]>a[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(a){return s.call(h,a,a,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();o.FixedSizeSet=_},function(c,o,r){"use strict";var v=this&&this.__generator||function(y,s){var h,i,a,l,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!a||t[1]>a[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,a){return s.call(h,a,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();o.ObjectCache=_},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();o.CompareCache=v},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();o.Lazy=v},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();o.StringWalker=v},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(218);o.MapWriter=v.MapWriter;var S=r(258);o.XMLWriter=S.XMLWriter;var _=r(67);o.ObjectWriter=_.ObjectWriter;var y=r(260);o.JSONWriter=y.JSONWriter;var s=r(261);o.YAMLWriter=s.YAMLWriter},function(c,o,r){"use strict";r(19),r(219),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,l){a.__proto__=l}||function(a,l){for(var u in l)l.hasOwnProperty(u)&&(a[u]=l[u])})(h,i)},function(h,i){function a(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(1),y=r(67),s=function(h){function i(a,l){var u=h.call(this,a)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(a){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(a);return this._convertObject(u)},i.prototype._convertObject=function(a){if(_.isArray(a)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=a(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,o,r){"use strict";var v=r(8);function S(_,y){return RegExp(_,y)}o.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),o.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,o,r){var v=r(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,o,r){var v=r(13),S=r(42),_=r(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,o,r){var v=r(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,o,r){"use strict";r(68);var v=r(25),S=r(8),_=r(5),y=r(93),s=r(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),a="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!a||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:a,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,o,r){"use strict";var v=r(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,o,r){var v=r(42),S=r(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,o,r){"use strict";(function(v){Object.defineProperty(o,"__esModule",{value:!0});var S=r(96);o.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},o.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,r(145).Buffer)},function(c,o,r){"use strict";o.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},o.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},o.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function a(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,o){o.read=function(r,v,S,_,y){var s,h,i=8*y-_-1,a=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=r[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+r[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+r[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},o.write=function(r,v,S,_,y,s){var h,i,a,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(a=Math.pow(2,-h))<1&&(h--,a*=2),(v+=h+p>=1?m/a:m*Math.pow(2,1-p))*a>=2&&(h++,a/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*a-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;r[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;r[S+f]=255&h,f+=t,h/=256,l-=8);r[S+f-t]|=128*e}},function(c,o){var r={}.toString;c.exports=Array.isArray||function(v){return r.call(v)=="[object Array]"}},function(c,o,r){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var a=v(y),l=a.next();!l.done;l=a.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=a.return)&&h.call(a)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}o.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},o.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},o.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},o.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,o,r){"use strict";var v=this&&this.__generator||function(h,i){var a,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;m;)try{if(a=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var s=r(1);o.append=function(h,i){h.push(i)},o.extend=function(h,i){h.push.apply(h,_(i))},o.prepend=function(h,i){h.unshift(i)},o.replace=function(h,i,a){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=a);else if(t===i)return void(h[p]=a);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},o.insert=function(h,i,a){h.splice(a,0,i)},o.remove=function(h,i){for(var a=h.length;a--;){var l=h[a];if(s.isFunction(i))i.call(null,l)&&h.splice(a,1);else if(l===i)return void h.splice(a,1)}},o.empty=function(h){h.length=0},o.contains=function(h,i){var a,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){a={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(a)throw a.error}}return!1},o.size=function(h,i){var a,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){a={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}return u},o.isEmpty=function(h){return h.length===0},o.forEach=function(h,i){var a,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),a=y(h),l=a.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=a.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=a.return)&&f.call(a)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},o.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},o.sortInAscendingOrder=function(h,i){return h.sort(function(a,l){return i.call(null,a,l)?-1:1})},o.sortInDescendingOrder=function(h,i){return h.sort(function(a,l){return i.call(null,a,l)?1:-1})}},function(c,o,r){"use strict";var v=this&&this.__generator||function(h,i){var a,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;m;)try{if(a=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var l,u,p=a.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,a){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(a===void 0||a-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],a=0;a=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(96),_=r(147),y=r(146),s=r(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},o.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},o.asciiEncode=function(f){return console.assert(a(f),"asciiEncode requires an ASCII string."),i(f)},o.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},o.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},o.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},o.stripLeadingAndTrailingASCIIWhitespace=u,o.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},o.collectASequenceOfCodePoints=p,o.skipASCIIWhitespace=m,o.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(97);o.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},o.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},o.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(a){y={error:a}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();o.Cast=S},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();o.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(o.ParserState||(o.ParserState={})),o.OpaqueOrigin=["","",null,null]},function(c,o,r){"use strict";var v=r(245),S=r(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}o.parse=b,o.resolve=function(x,E){return b(x,!1,!0).resolve(E)},o.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},o.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},o.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),a=["'"].concat(i),l=["%","/","?",";","#"].concat(a),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[oe];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=a.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var oe=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(oe==="."||oe==="..")||oe==="",fe=0,P=ne.length;P>=0;P--)(oe=ne[P])==="."?ne.splice(P,1):oe===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,o,r){(function(v,S){var _;(function(y){o&&o.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,a=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,oe=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=oe?1:z>=oe+26?26:z-oe));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;oe=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,oe=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,oe.push(f(E(ee+Q%ne,0))),X=m(Q/ne);oe.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return oe.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return a.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(o,r,o,v))===void 0||(v.exports=_)})()}).call(this,r(246)(c),r(78))},function(c,o){c.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(c,o,r){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,o,r){"use strict";o.decode=o.parse=r(249),o.encode=o.stringify=r(250)},function(c,o,r){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var a=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,o,r){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,a){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):a?encodeURIComponent(v(a))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],a=0;a=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}o.eventTarget_flatten=_,o.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},o.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(1),_=r(29);o.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,a=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var oe,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(a.tree_isAncestorOf(Y,G,!0))oe=G,le=$;else{for(var B=G;B._parent!==null&&!a.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");oe=B._parent,le=1+a.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,a.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,a.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,a.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[oe,le],E._end=[oe,le],k}o.range_collapsed=t,o.range_root=e,o.range_isContained=g,o.range_isPartiallyContained=b,o.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},o.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},o.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=a.tree_index(E);w._start=[D,T],w._end=[D,T+1]},o.range_extract=x,o.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!a.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!a.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(oe=de.value,w)){ee=oe;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!a.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var oe;if(b(oe=ne[Q],w)){ve=oe;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,a.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,a.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},o.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?a.tree_nodeLength(N):a.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=a.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},o.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w},o.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(9);o.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(2),S=r(105);o.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var a=y?s._nextSibling:s._previousSibling;if(a!==null){s=a;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},o.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,o,r){"use strict";r(89),r(74);var v,S=this&&this.__extends||(v=function(a,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(a,l)},function(a,l){function u(){this.constructor=a}v(a,l),a.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(1),y=r(2),s=r(50),h=r(3),i=function(a){function l(u,p){var m=a.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,a),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);o.XMLWriter=i},function(c,o,r){"use strict";var v=r(47),S=r(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,o,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}),_=this&&this.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,l=a&&i[a],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function a(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(a,i),a.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},a.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},a.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},a.prototype._key=function(l){return'"'+l+'":'},a.prototype._val=function(l){return JSON.stringify(l)},a.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},a.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},a}(r(50).BaseWriter);o.JSONWriter=h},function(c,o,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(89),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}),_=this&&this.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,l=a&&i[a],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function a(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(a,i),a.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},a.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},a.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},a.prototype._endLine=function(l){return l.newline},a.prototype._key=function(l){return'"'+l+'":'},a.prototype._val=function(l){return JSON.stringify(l)},a}(r(50).BaseWriter);o.YAMLWriter=h},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),r(110).dom.setFeatures(!0);var v=r(110);o.DOMImplementation=v.DOMImplementation;var S=r(271);o.DOMParser=S.DOMParser;var _=r(274);o.XMLSerializer=_.XMLSerializer},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(3),S=r(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var a=S.dom.window;y.set.append(a._mutationObservers,this)}return h.prototype.observe=function(i,a){var l,u;if((a=a||{childList:!1,subtree:!1}).attributeOldValue===void 0&&a.attributeFilter===void 0||a.attributes!==void 0||(a.attributes=!0),a.characterDataOldValue!==void 0&&a.characterData===void 0&&(a.characterData=!0),!a.childList&&!a.attributes&&!a.characterData)throw new TypeError;if(a.attributeOldValue&&!a.attributes)throw new TypeError;if(a.attributeFilter!==void 0&&!a.attributes)throw new TypeError;if(a.characterDataOldValue&&!a.characterData)throw new TypeError;var p=!1,m=a,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:a}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,a,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();o.MutationObserverImpl=s},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();o.NonDocumentTypeChildNodeImpl=S},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(3),S=r(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();o.NonElementParentNodeImpl=_},function(c,o,r){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],a=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(3),_=r(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,a=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&a++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return a},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var _=r(180),y=r(111),s=r(7),h=r(0),i=r(69),a=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var oe=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(oe);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=oe.lookupNamespaceURI(ne))!==null&&oe.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?oe.setAttributeNS(L,re,this._decodeAttributeValue(de)):oe.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=oe);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();o.XMLParserImpl=a},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(275);o.XMLSerializer=v.XMLSerializerImpl},function(c,o,r){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var S=r(2),_=r(69),y=r(95),s=r(9),h=r(7),i=r(0),a=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();o.XMLSerializerImpl=a},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(277);o.XMLReader=v.XMLReader;var S=r(112);o.ObjectReader=S.ObjectReader;var _=r(280);o.JSONReader=_.JSONReader;var y=r(281);o.YAMLReader=y.YAMLReader},function(c,o,r){"use strict";r(31),r(32),r(33),r(19),r(65),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0});var s=r(180),h=r(111),i=r(7),a=r(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(a.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],oe=ne[1];if(Q=this.sanitize(Q),oe=this.sanitize(oe),Q==="xmlns")ee=oe;else{var le=_(a.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=oe),re[P]=oe)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],oe=R[1],Q=this.sanitize(Q),oe=this.sanitize(oe);var q=_(a.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(oe)):this.attribute(C,void 0,Q,this._decodeAttributeValue(oe))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(r(75).BaseReader);o.XMLReader=l},function(c,o,r){var v=r(4),S=r(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,o,r){"use strict";var v=r(16),S=r(8),_=r(61),y=r(85),s=r(79),h=r(27),i=r(41),a=Object.assign,l=Object.defineProperty;c.exports=!a||S(function(){if(v&&a({b:1},a(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),a({},u)[m]!=7||_(a({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:a},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var l in a)a.hasOwnProperty(l)&&(i[l]=a[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,a){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(a))},h}(r(75).BaseReader);o.JSONReader=y},function(c,o,r){"use strict";var v,S=this&&this.__extends||(v=function(i,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,a)},function(i,a){function l(){this.constructor=i}v(i,a),i.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)});Object.defineProperty(o,"__esModule",{value:!0});var _=r(112),y=r(75),s=r(282),h=function(i){function a(){return i!==null&&i.apply(this,arguments)||this}return S(a,i),a.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},a}(y.BaseReader);o.YAMLReader=h},function(c,o,r){"use strict";var v=r(283);c.exports=v},function(c,o,r){"use strict";var v=r(284),S=r(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=r(10),c.exports.Schema=r(39),c.exports.FAILSAFE_SCHEMA=r(113),c.exports.JSON_SCHEMA=r(182),c.exports.CORE_SCHEMA=r(181),c.exports.DEFAULT_SAFE_SCHEMA=r(54),c.exports.DEFAULT_FULL_SCHEMA=r(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=r(53),c.exports.MINIMAL_SCHEMA=r(113),c.exports.SAFE_SCHEMA=r(54),c.exports.DEFAULT_SCHEMA=r(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,o,r){"use strict";var v=r(38),S=r(53),_=r(285),y=r(54),s=r(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function oe(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&a.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",a=this.position;ay/2-1){i=" ... ",a-=5;break}return l=this.buffer.slice(h,a),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,o,r){"use strict";var v=r(38),S=r(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,a=s.length,l=0,u=!1;if(!a)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===a)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,o,r){"use strict";var v=r(38),S=r(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,a,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,a=1,l.forEach(function(u){h+=u*a,a*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,o,r){"use strict";var v=r(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,a,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,a=+s[3],!s[4])return new Date(Date.UTC(h,i,a));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,a,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,o,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,o,r){"use strict";var v;try{v=r(145).Buffer}catch{}var S=r(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,a=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),a=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=a%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",a=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[a>>12&63],i+=u[a>>6&63],i+=u[63&a]),a=(a<<8)+y[s];return(h=l%3)===0?(i+=u[a>>18&63],i+=u[a>>12&63],i+=u[a>>6&63],i+=u[63&a]):h===2?(i+=u[a>>10&63],i+=u[a>>4&63],i+=u[a<<2&63],i+=u[64]):h===1&&(i+=u[a>>2&63],i+=u[a<<4&63],i+=u[64],i+=u[64]),i}})},function(c,o,r){"use strict";var v=r(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,a,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,o,r){"use strict";var v;try{v=r(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=r(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(a){i.push(a.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,o,r){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),a=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new a.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(a,l){if(a.type===s.Syntax.BlockStatement&&a.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(a.innerComments=u)}},i.prototype.findTrailingComments=function(a){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=a.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=a.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(a){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=a.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=a.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=a.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(a,l){if(!(a.type===s.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(a.leadingComments=p),u.length>0&&(a.trailingComments=u),this.stack.push({node:a,start:l.start.offset})}},i.prototype.visitComment=function(a,l){var u=a.type[0]==="L"?"Line":"Block",p={type:u,value:a.value};if(a.range&&(p.range=a.range),a.loc&&(p.loc=a.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:a.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};a.loc&&(m.comment.loc=a.loc),a.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(a,l){a.type==="LineComment"||a.type==="BlockComment"?this.visitComment(a,l):this.attach&&this.visitNode(a,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),a=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new a.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new a.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new a.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new a.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new a.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new a.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new a.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new a.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var a=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=a;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var a=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=a;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var oe=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=oe;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),a=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new a.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new a.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new a.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new a.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new a.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new a.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new a.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new a.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new a.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new a.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new a.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new a.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new a.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new a.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new a.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new a.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new a.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new a.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new a.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new a.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new a.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new a.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new a.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new a.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new a.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new a.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new a.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new a.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new a.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new a.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new a.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new a.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new a.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new a.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new a.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new a.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new a.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new a.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new a.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new a.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new a.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new a.VariableDeclaration(N,M)))):(b=this.finalize(b,new a.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new a.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new a.ForStatement(b,x,E,g)):w?this.finalize(D,new a.ForInStatement(t,e,g)):this.finalize(D,new a.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new a.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new a.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new a.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new a.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new a.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new a.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new a.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new a.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new a.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new a.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new a.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new a.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new a.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new a.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new a.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new a.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new a.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new a.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new a.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new a.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new a.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new a.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new a.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new a.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new a.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new a.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new a.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new a.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new a.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new a.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new a.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var a=new Error(h);try{throw a}catch(l){Object.create&&Object.defineProperty&&(a=Object.create(l),Object.defineProperty(a,"column",{value:i}))}return a},s.prototype.createError=function(h,i,a,l){var u="Line "+i+": "+l,p=this.constructError(u,a);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,a,l){throw this.createError(h,i,a,l)},s.prototype.tolerateError=function(h,i,a,l){var u=this.createError(h,i,a,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function a(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),a=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new a}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,oe=oe&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,oe=oe&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:oe&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&a.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),oe=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(oe||de||P===""?"":` +`)+D(P,re),oe=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var vp=zs((Wn,bi)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ga=RegExp(Pr.source),Jn=/^\s+/,Ei=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wi=/\{\n\/\* \[wrapped with (.+)\] \*/,_a=/,? & /,xa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,ba=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,wa=/^0o[0-7]+$/i,Sa=/^(?:0|[1-9]\d*)$/,Aa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Da=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Ca="\\u0300-\\u036f",Ta="\\ufe20-\\ufe2f",Na="\\u20d0-\\u20ff",Si=Ca+Ta+Na,Ai="\\u2700-\\u27bf",Di="a-z\\xdf-\\xf6\\xf8-\\xff",Fa="\\xac\\xb1\\xd7\\xf7",Oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ia="\\u2000-\\u206f",ka=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ci="A-Z\\xc0-\\xd6\\xd8-\\xde",Ti="\\ufe0e\\ufe0f",Ni=Fa+Oa+Ia+ka,Ut="['\u2019]",Kn="["+_n+"]",Vn="["+Ni+"]",tn="["+Si+"]",Fi="\\d+",rn="["+Ai+"]",Oi="["+Di+"]",Ii="[^"+_n+Ni+Fi+Ai+Di+Ci+"]",xn="\\ud83c[\\udffb-\\udfff]",Pa="(?:"+tn+"|"+xn+")",ki="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ci+"]",le="\\u200d",be="(?:"+Oi+"|"+Ii+")",Ie="(?:"+Z+"|"+Ii+")",Qe="(?:"+Ut+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+Ut+"(?:D|LL|M|RE|S|T|VE))?",At=Pa+"?",bt="["+Ti+"]?",Ep="(?:"+le+"(?:"+[ki,F,j].join("|")+")"+bt+At+")*",wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nu=bt+At+Ep,Ap="(?:"+[rn,F,j].join("|")+")"+nu,Dp="(?:"+[ki+tn+"?",tn,F,j,Kn].join("|")+")",Cp=RegExp(Ut,"g"),Tp=RegExp(tn,"g"),Ba=RegExp(xn+"(?="+xn+")|"+Dp+nu,"g"),Np=RegExp([Z+"?"+Oi+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Sp,wp,Fi,Ap].join("|"),"g"),Fp=RegExp("["+le+_n+Si+Ti+"]"),Op=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ip=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Pp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bp={"&":"&","<":"<",">":">",'"':""","'":"'"},Lp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Rp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mp=parseFloat,jp=parseInt,iu=typeof global=="object"&&global&&global.Object===Object&&global,Up=typeof self=="object"&&self&&self.Object===Object&&self,Ft=iu||Up||Function("return this")(),La=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=La&&typeof bi=="object"&&bi&&!bi.nodeType&&bi,ou=nn&&nn.exports===La,Ra=ou&&iu.process,rr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ra&&Ra.binding&&Ra.binding("util")}catch{}}(),au=rr&&rr.isArrayBuffer,su=rr&&rr.isDate,uu=rr&&rr.isMap,lu=rr&&rr.isRegExp,cu=rr&&rr.isSet,fu=rr&&rr.isTypedArray;function $t(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function zp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ma(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function _u(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Vp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Yp=qa(Pp),Qp=qa(Bp);function Zp(fe){return"\\"+Rp[fe]}function eh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Fp.test(fe)}function th(fe){return Op.test(fe)}function rh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ha(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function xu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Gh(r,h){var A=this.__data__,O=Yi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=jh,br.prototype.delete=Uh,br.prototype.get=zh,br.prototype.has=qh,br.prototype.set=Gh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function ar(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Jd(r),!se)return zt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return rl(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:bl(r),!se)return pe?Ld(r,od(te,r)):Bd(r,Iu(te,r))}else{if(!ht[Fe])return U?r:{};te=$d(r,Fe,se)}}V||(V=new hr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Vl(r)?r.forEach(function(He){te.add(ar(He,h,A,He,r,V))}):$l(r)&&r.forEach(function(He,nt){te.set(nt,ar(He,h,A,nt,r,V))});var Xe=De?pe?gs:vs:pe?Gt:Ot,et=Ce?E:Xe(r);return nr(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,ar(He,h,A,nt,r,V))}),te}function ad(r){var h=Ot(r);return function(A){return ku(A,r,h)}}function ku(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Pu(r,h,A){if(typeof r!="function")throw new ir(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Pi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Kt(A))),O?(V=Ma,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:Ql(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var Za=ul(),Ru=ul(!0);function gr(r,h){return r&&Za(r,h,Ot)}function es(r,h){return r&&Ru(r,h,Ot)}function Zi(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ld(r,h){return r!=null&&ft.call(r,h)}function cd(r,h){return r!=null&&h in pt(r)}function fd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Wi.call(se,pe,1),Wi.call(r,pe,1);return r}function $u(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Wi.call(r,U,1):cs(r,U)}}return r}function ss(r,h){return r+Ji(Tu()*(h-r+1))}function Sd(r,h,A,O){for(var U=-1,V=Tt(Hi((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function us(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=Ji(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return As(Sl(r,h,Wt),r+"")}function Ad(r){return Ou(In(r))}function Dd(r,h){var A=In(r);return co(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Yt(te)&&(A?te<=h:te=o){var De=h?null:Ud(r);if(De)return Li(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:sr(r,h,A)}var tl=vh||function(r){return Ft.clearTimeout(r)};function rl(r,h){if(h)return r.slice();var A=r.length,O=wu?wu(A):new r.constructor(A);return r.copy(O),O}function ds(r){var h=new r.constructor(r.byteLength);return new qi(h).set(new qi(r)),h}function Od(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Id(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function kd(r){return ri?pt(ri.call(r)):{}}function nl(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function il(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Yt(r),te=h!==E,se=h===null,pe=h===h,De=Yt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ol(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Rt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function fl(r){return Ar(function(h){var A=h.length,O=A,U=or.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new ir(w);if(U&&!te&&uo(V)=="wrapper")var te=new or([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Vd(r){return Ye(r)||pn(r)||!!(Du&&r&&r[Du])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Sa.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function co(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ll(r,A)});function Rl(r){var h=$(r);return h.__chain__=!0,h}function s0(r,h){return h(r),r}function fo(r,h){return h(r)}var u0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return Qa(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:fo,args:[U],thisArg:E}),new or(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function l0(){return Rl(this)}function c0(){return new or(this.value(),this.__chain__)}function f0(){this.__values__===E&&(this.__values__=Yl(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function p0(){return this}function h0(r){for(var h,A=this;A instanceof Vi;){var O=Fl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function d0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:fo,args:[Ds],thisArg:E}),new or(h,this.__chain__)}return this.thru(Ds)}function m0(){return Zu(this.__wrapped__,this.__actions__)}var y0=no(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function v0(r,h,A){var O=Ye(r)?pu:sd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}function g0(r,h){var A=Ye(r)?Lr:Lu;return A(r,Ge(h,3))}var _0=cl(Ol),x0=cl(Il);function b0(r,h){return It(po(r,h),1)}function E0(r,h){return It(po(r,h),Y)}function w0(r,h,A){return A=A===E?1:Ze(A),It(po(r,h),A)}function Ml(r,h){var A=Ye(r)?nr:zr;return A(r,Ge(h,3))}function jl(r,h){var A=Ye(r)?qp:Bu;return A(r,Ge(h,3))}var S0=no(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function A0(r,h,A,O){r=qt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),go(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var D0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=qt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?$t(h,te,A):oi(te,h,A)}),V}),C0=no(function(r,h,A){wr(r,A,h)});function po(r,h){var A=Ye(r)?yt:qu;return A(r,Ge(h,3))}function T0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Hu(r,h,A))}var N0=no(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function F0(r,h,A){var O=Ye(r)?ja:yu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function O0(r,h,A){var O=Ye(r)?Gp:yu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Bu)}function I0(r,h){var A=Ye(r)?Lr:Lu;return A(r,yo(Ge(h,3)))}function k0(r){var h=Ye(r)?Ou:Ad;return h(r)}function P0(r,h,A){(A?Rt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?rd:Dd;return O(r,h)}function B0(r){var h=Ye(r)?nd:Td;return h(r)}function L0(r){if(r==null)return 0;if(qt(r))return go(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:is(r).length}function R0(r,h,A){var O=Ye(r)?Ua:Nd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}var M0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Rt(r,h[0],h[1])?h=[]:A>2&&Rt(h[0],h[1],h[2])&&(h=[h[0]]),Hu(r,It(h,1),[])}),ho=gh||function(){return Ft.Date.now()};function j0(r,h){if(typeof h!="function")throw new ir(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Ul(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function zl(r,h){var A;if(typeof h!="function")throw new ir(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ts=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Ts));O|=x}return Sr(r,O,h,A,U)}),ql=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(ql));O|=x}return Sr(h,O,r,A,U)});function Gl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Gl.placeholder,O}function Wl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Wl.placeholder,O}function Xl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new ir(w);h=lr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(lr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var mr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,mr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var mr=wt-pe,Nr=wt-De,cc=h-mr;return Fe?Pt(cc,V-Nr):cc}function He(wt){var mr=wt-pe,Nr=wt-De;return pe===E||mr>=h||mr<0||Fe&&Nr>=V}function nt(){var wt=ho();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Qt(){se!==E&&tl(se),De=0,O=pe=U=se=E}function Mt(){return se===E?te:ot(ho())}function Zt(){var wt=ho(),mr=He(wt);if(O=arguments,U=this,pe=wt,mr){if(se===E)return Xe(pe);if(Fe)return tl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return Zt.cancel=Qt,Zt.flush=Mt,Zt}var U0=rt(function(r,h){return Pu(r,1,h)}),z0=rt(function(r,h,A){return Pu(r,lr(h)||0,A)});function q0(r){return Sr(r,C)}function mo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new ir(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(mo.Cache||Er),A}mo.Cache=Er;function yo(r){if(typeof r!="function")throw new ir(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function G0(r){return zl(2,r)}var W0=Fd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Kt(Ge())):yt(It(h,1),Kt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=ju(function(){return arguments}())?ju:function(r){return xt(r)&&ft.call(r,"callee")&&!Au.call(r,"callee")},Ye=ve.isArray,oy=au?Kt(au):hd;function qt(r){return r!=null&&vo(r.length)&&!Cr(r)}function Et(r){return xt(r)&&qt(r)}function ay(r){return r===!0||r===!1||xt(r)&&Lt(r)==ue}var Xr=xh||Us,sy=su?Kt(su):dd;function uy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function ly(r){if(r==null)return!0;if(qt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!is(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function cy(r,h){return ai(r,h)}function fy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Fs(r){if(!xt(r))return!1;var h=Lt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function py(r){return typeof r=="number"&&Cu(r)}function Cr(r){if(!vt(r))return!1;var h=Lt(r);return h==L||h==B||h==ie||h==ge}function Jl(r){return typeof r=="number"&&r==Ze(r)}function vo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var $l=uu?Kt(uu):yd;function hy(r,h){return r===h||ns(r,h,xs(h))}function dy(r,h,A){return A=typeof A=="function"?A:E,ns(r,h,xs(h),A)}function my(r){return Kl(r)&&r!=+r}function yy(r){if(Zd(r))throw new Ke(v);return Uu(r)}function vy(r){return r===null}function gy(r){return r==null}function Kl(r){return typeof r=="number"||xt(r)&&Lt(r)==q}function fi(r){if(!xt(r)||Lt(r)!=oe)return!1;var h=Gi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&ji.call(A)==dh}var Os=lu?Kt(lu):vd;function _y(r){return Jl(r)&&r>=-z&&r<=z}var Vl=cu?Kt(cu):gd;function go(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Lt(r)==Le}function Yt(r){return typeof r=="symbol"||xt(r)&&Lt(r)==tt}var On=fu?Kt(fu):_d;function xy(r){return r===E}function by(r){return xt(r)&&Bt(r)==we}function Ey(r){return xt(r)&&Lt(r)==at}var wy=so(os),Sy=so(function(r,h){return r<=h});function Yl(r){if(!r)return[];if(qt(r))return go(r)?pr(r):zt(r);if(Qn&&r[Qn])return rh(r[Qn]());var h=Bt(r),A=h==M?Ha:h==Be?Li:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=lr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function Ql(r){return r?un(Ze(r),0,ee):0}function lr(r){if(typeof r=="number")return r;if(Yt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=vu(r);var A=Ea.test(r);return A||wa.test(r)?jp(r.slice(2),A?2:8):vr.test(r)?H:+r}function Zl(r){return _r(r,Gt(r))}function Ay(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Vt(r)}var Dy=Tn(function(r,h){if(li(h)||qt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),ec=Tn(function(r,h){_r(h,Gt(h),r)}),_o=Tn(function(r,h,A,O){_r(h,Gt(h),r,O)}),Cy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ty=Ar(Qa);function Ny(r,h){var A=Cn(r);return h==null?A:Iu(A,h)}var Fy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Rt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,gs(r),A),O&&(A=ar(A,n|i|u,zd));for(var U=h.length;U--;)cs(A,h[U]);return A});function $y(r,h){return rc(r,yo(Ge(h)))}var Ky=Ar(function(r,h){return r==null?{}:Ed(r,h)});function rc(r,h){if(r==null)return{};var A=yt(gs(r),function(O){return[O]});return h=Ge(h),Ju(r,A,function(O,U){return h(O,U[0])})}function Vy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Tu();return Pt(r+U*(h-r+Mp("1e-"+((U+"").length-1))),h)}return ss(r,h)}var sv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?oc(h):h)});function oc(r){return Ps(ct(r).toLowerCase())}function ac(r){return r=ct(r),r&&r.replace(Aa,Yp).replace(Tp,"")}function uv(r,h,A){r=ct(r),h=Vt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function lv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Qp):r}function cv(r){return r=ct(r),r&&ga.test(r)?r.replace(Pr,"\\$&"):r}var fv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),pv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),hv=ll("toLowerCase");function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return ao(Ji(U),A)+r+ao(Hi(U),A)}function mv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Os(h))&&(h=Vt(h),!h&&En(r))?Wr(pr(r),0,A):r.split(h,A)):[]}var Ev=Nn(function(r,h,A){return r+(A?" ":"")+Ps(h)});function wv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Vt(h),r.slice(A,A+h.length)==h}function Sv(r,h,A){var O=$.templateSettings;A&&Rt(r,h,A)&&(h=E),r=ct(r),h=_o({},h,O,yl);var U=_o({},h.imports,O.imports,yl),V=Ot(U),te=Xa(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ja((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?ba:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kp+"]")+` -`;r.replace(ke,function(He,nt,ot,Qt,Mt,Zt){return ot||(ot=Qt),Fe+=r.slice(De,Zt).replace(Da,Zp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),Mt&&(pe=!0,Fe+=`'; -`+Mt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=Zt+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,oe,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(oe);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,oe){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(oe);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,oe,le){var fe,P,C="",B=ne.tag;for(fe=0,P=oe.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(o,"__esModule",{value:!0});var s=r(91),h=r(1),i=r(183),a=r(0),l=r(7),u=r(95),p=r(69),m=r(3),f=r(305),t=r(306),e=r(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!a.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!a.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!a.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&a.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!a.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!a.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':a?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,a){return a?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var a=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+a.length>this._writerOptions.width?(a=this._beginLine()+this._indent(1)+a,this._lineLength=a.length,a):(this._lineLength+=1+a.length," "+a)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(r(114).BaseCBWriter);o.XMLCBWriter=_},function(c,o,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var a in i)i.hasOwnProperty(a)&&(h[a]=i[a])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(o,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,a){return""},s.prototype.docType=function(h,i,a){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,a){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);o.JSONCBWriter=_},function(c,o,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var a in i)i.hasOwnProperty(a)&&(h[a]=i[a])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(o,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,a){return""},s.prototype.docType=function(h,i,a){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var a=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,a},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,a){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var a=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?a.substr(0,a.length-2)+"-"+a.substr(-1,1):a},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);o.YAMLCBWriter=_},function(c,o,r){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=a(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var v=r(77);o.createCB=function(S){return new v.XMLBuilderCBImpl(S)},o.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var Up=Cs((ni,Pi)=>{(function(){var c,o="4.17.21",r=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,a=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",oe="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Gr.source),ai=/^\s+/,ki=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Li=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,oa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,aa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,wr=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,la=/^(?:0|[1-9]\d*)$/,ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pa="\\u0300-\\u036f",ha="\\ufe20-\\ufe2f",da="\\u20d0-\\u20ff",Bi=pa+ha+da,Mi="\\u2700-\\u27bf",Ri="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ya="\\u2000-\\u206f",_a=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ji="A-Z\\xc0-\\xd6\\xd8-\\xde",Ui="\\ufe0e\\ufe0f",zi=ma+va+ya+_a,$t="['\u2019]",ui="["+In+"]",li="["+zi+"]",fn="["+Bi+"]",qi="\\d+",pn="["+Mi+"]",Gi="["+Ri+"]",Wi="[^"+In+zi+qi+Mi+Ri+ji+"]",Pn="\\ud83c[\\udffb-\\udfff]",ga="(?:"+fn+"|"+Pn+")",Xi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+ji+"]",ce="\\u200d",Ee="(?:"+Gi+"|"+Wi+")",Le="(?:"+Z+"|"+Wi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ga+"?",Ct="["+Ui+"]?",Xp="(?:"+ce+"(?:"+[Xi,O,j].join("|")+")"+Ct+Ot+")*",Hp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$p="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",iu=Ct+Ot+Xp,Jp="(?:"+[pn,O,j].join("|")+")"+iu,Kp="(?:"+[Xi+fn+"?",fn,O,j,ui].join("|")+")",Vp=RegExp($t,"g"),Yp=RegExp(fn,"g"),xa=RegExp(Pn+"(?="+Pn+")|"+Kp+iu,"g"),Qp=RegExp([Z+"?"+Gi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,$p,Hp,qi,Jp].join("|"),"g"),Zp=RegExp("["+ce+In+Bi+Ui+"]"),eh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,th=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var nh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ih={"&":"&","<":"<",">":">",'"':""","'":"'"},oh={"&":"&","<":"<",">":">",""":'"',"'":"'"},ah={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},sh=parseFloat,uh=parseInt,ou=typeof global=="object"&&global&&global.Object===Object&&global,lh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=ou||lh||Function("return this")(),ba=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=ba&&typeof Pi=="object"&&Pi&&!Pi.nodeType&&Pi,au=hn&&hn.exports===ba,Ea=au&&ou.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Ea&&Ea.binding&&Ea.binding("util")}catch{}}(),su=lr&&lr.isArrayBuffer,uu=lr&&lr.isDate,lu=lr&&lr.isMap,cu=lr&&lr.isRegExp,fu=lr&&lr.isSet,pu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function ch(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function wa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function xu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function gh(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var xh=Da(nh),bh=Da(ih);function Eh(pe){return"\\"+ah[pe]}function wh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Zp.test(pe)}function Sh(pe){return eh.test(pe)}function Ah(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Fa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function bu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function pd(n,d){var A=this.__data__,F=lo(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Nr.prototype.clear=ud,Nr.prototype.delete=ld,Nr.prototype.get=cd,Nr.prototype.has=fd,Nr.prototype.set=pd;function Or(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function hr(n,d,A,F,U,V){var te,ue=d&i,he=d&a,De=d&l;if(A&&(te=U?A(n,F,U,V):A(n)),te!==c)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=vm(n),!ue)return Jt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(en(n))return nl(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:El(n),!ue)return he?om(n,Td(te,n)):im(n,Pu(te,n))}else{if(!yt[Ie])return U?n:{};te=ym(n,Ie,ue)}}V||(V=new gr);var qe=V.get(n);if(qe)return qe;V.set(n,te),Yl(n)?n.forEach(function(Je){te.add(hr(Je,d,A,Je,n,V))}):Kl(n)&&n.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,n,V))});var $e=De?he?ns:rs:he?Vt:Mt,it=Te?c:$e(n);return cr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),vi(te,st,hr(Je,d,A,st,n,V))}),te}function Nd(n){var d=Mt(n);return function(A){return ku(A,n,d)}}function ku(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===c&&!(U in n)||!V(te))return!1}return!0}function Lu(n,d,A){if(typeof n!="function")throw new fr(S);return wi(function(){n.apply(c,A)},d)}function yi(n,d,A,F){var U=-1,V=Hi,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=wa,te=!1):d.length>=r&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:Zl(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ra=ll(),Ru=ll(!0);function Sr(n,d){return n&&Ra(n,d,Mt)}function ja(n,d){return n&&Ru(n,d,Mt)}function fo(n,d){return Xr(d,function(A){return Lr(n[A])})}function _n(n,d){d=Qr(d,n);for(var A=0,F=d.length;n!=null&&Ad}function Id(n,d){return n!=null&&mt.call(n,d)}function Pd(n,d){return n!=null&&d in vt(n)}function kd(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new vn(te&&Te):c}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&ro.call(ue,he,1),ro.call(n,he,1);return n}function Ku(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;kr(U)?ro.call(n,U,1):Ka(n,U)}}return n}function Ha(n,d){return n+oo(Nu()*(d-n+1))}function $d(n,d,A,F){for(var U=-1,V=kt(io((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function $a(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=oo(d/2),d&&(n+=n);while(d);return A}function at(n,d){return cs(Al(n,d,Yt),n+"")}function Jd(n){return Iu(Xn(n))}function Kd(n,d){var A=Xn(n);return wo(A,yn(d,0,A.length))}function xi(n,d,A,F){if(!bt(n))return n;d=Qr(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!ir(te)&&(A?te<=d:te=r){var De=d?null:lm(n);if(De)return Ji(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?n:dr(n,d,A)}var rl=Uh||function(n){return Bt.clearTimeout(n)};function nl(n,d){if(d)return n.slice();var A=n.length,F=Su?Su(A):new n.constructor(A);return n.copy(F),F}function Za(n){var d=new n.constructor(n.byteLength);return new eo(d).set(new eo(n)),d}function em(n,d){var A=d?Za(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function tm(n){var d=new n.constructor(n.source,cn.exec(n));return d.lastIndex=n.lastIndex,d}function rm(n){return mi?vt(mi.call(n)):{}}function il(n,d){var A=d?Za(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function ol(n,d){if(n!==d){var A=n!==c,F=n===null,U=n===n,V=ir(n),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function al(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=n.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function pl(n){return Pr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&bo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function gm(n){return tt(n)||bn(n)||!!(Du&&n&&n[Du])}function kr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&la.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(c,arguments)}}function wo(n,d){var A=-1,F=n.length,U=F-1;for(d=d===c?F:d;++A1?n[d-1]:c;return A=typeof A=="function"?(n.pop(),A):c,Ml(n,A)});function Rl(n){var d=J(n);return d.__chain__=!0,d}function O0(n,d){return d(n),n}function So(n,d){return d(n)}var F0=Pr(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return Ma(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!kr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:So,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function I0(){return Rl(this)}function P0(){return new pr(this.value(),this.__chain__)}function k0(){this.__values__===c&&(this.__values__=Ql(this.value()));var n=this.__index__>=this.__values__.length,d=n?c:this.__values__[this.__index__++];return{done:n,value:d}}function L0(){return this}function B0(n){for(var d,A=this;A instanceof uo;){var F=Fl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function M0(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:So,args:[fs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(fs)}function R0(){return el(this.__wrapped__,this.__actions__)}var j0=vo(function(n,d,A){mt.call(n,A)?++n[A]:Fr(n,A,1)});function U0(n,d,A){var F=tt(n)?hu:Od;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}function z0(n,d){var A=tt(n)?Xr:Mu;return A(n,Xe(d,3))}var q0=fl(Il),G0=fl(Pl);function W0(n,d){return Rt(Ao(n,d),1)}function X0(n,d){return Rt(Ao(n,d),Y)}function H0(n,d,A){return A=A===c?1:nt(A),Rt(Ao(n,d),A)}function jl(n,d){var A=tt(n)?cr:Vr;return A(n,Xe(d,3))}function Ul(n,d){var A=tt(n)?fh:Bu;return A(n,Xe(d,3))}var $0=vo(function(n,d,A){mt.call(n,A)?n[A].push(d):Fr(n,A,[d])});function J0(n,d,A,F){n=Kt(n)?n:Xn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Oo(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&kn(n,d,A)>-1}var K0=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Kt(n)?_e(n.length):[];return Vr(n,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),V0=vo(function(n,d,A){Fr(n,A,d)});function Ao(n,d){var A=tt(n)?xt:Gu;return A(n,Xe(d,3))}function Y0(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),$u(n,d,A))}var Q0=vo(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function Z0(n,d,A){var F=tt(n)?Sa:yu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Vr)}function ev(n,d,A){var F=tt(n)?ph:yu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Bu)}function tv(n,d){var A=tt(n)?Xr:Mu;return A(n,To(Xe(d,3)))}function rv(n){var d=tt(n)?Iu:Jd;return d(n)}function nv(n,d,A){(A?Wt(n,d,A):d===c)?d=1:d=nt(d);var F=tt(n)?Ad:Kd;return F(n,d)}function iv(n){var d=tt(n)?Cd:Yd;return d(n)}function ov(n){if(n==null)return 0;if(Kt(n))return Oo(n)?Bn(n):n.length;var d=qt(n);return d==R||d==Re?n.size:Ga(n).length}function av(n,d,A){var F=tt(n)?Aa:Qd;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}var sv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Wt(n,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),$u(n,Rt(d,1),[])}),Co=zh||function(){return Bt.Date.now()};function uv(n,d){if(typeof d!="function")throw new fr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function zl(n,d,A){return d=A?c:d,d=n&&d==null?n.length:d,Ir(n,E,c,c,c,c,d)}function ql(n,d){var A;if(typeof d!="function")throw new fr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=c),A}}var hs=at(function(n,d,A){var F=m;if(A.length){var U=$r(A,Gn(hs));F|=b}return Ir(n,F,d,A,U)}),Gl=at(function(n,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Gl));F|=b}return Ir(d,F,n,A,U)});function Wl(n,d,A){d=A?c:d;var F=Ir(n,e,c,c,c,c,c,d);return F.placeholder=Wl.placeholder,F}function Xl(n,d,A){d=A?c:d;var F=Ir(n,g,c,c,c,c,c,d);return F.placeholder=Xl.placeholder,F}function Hl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Mr=U;return F=U=c,De=Tt,te=n.apply(Mr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Mr=Tt-De,fc=d-br;return Ie?zt(fc,V-Mr):fc}function Je(Tt){var br=Tt-he,Mr=Tt-De;return he===c||br>=d||br<0||Ie&&Mr>=V}function st(){var Tt=Co();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&rl(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Co())}function ar(){var Tt=Co(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return rl(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var lv=at(function(n,d){return Lu(n,1,d)}),cv=at(function(n,d,A){return Lu(n,vr(d)||0,A)});function fv(n){return Ir(n,D)}function Do(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(Do.Cache||Or),A}Do.Cache=Or;function To(n){if(typeof n!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function pv(n){return ql(2,n)}var hv=Zd(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=Uu(function(){return arguments}())?Uu:function(n){return St(n)&&mt.call(n,"callee")&&!Cu.call(n,"callee")},tt=_e.isArray,Tv=su?rr(su):Bd;function Kt(n){return n!=null&&No(n.length)&&!Lr(n)}function Dt(n){return St(n)&&Kt(n)}function Nv(n){return n===!0||n===!1||St(n)&&Gt(n)==le}var en=Gh||As,Ov=uu?rr(uu):Md;function Fv(n){return St(n)&&n.nodeType===1&&!Si(n)}function Iv(n){if(n==null)return!0;if(Kt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||en(n)||Wn(n)||bn(n)))return!n.length;var d=qt(n);if(d==R||d==Re)return!n.size;if(Ei(n))return!Ga(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function Pv(n,d){return gi(n,d)}function kv(n,d,A){A=typeof A=="function"?A:c;var F=A?A(n,d):c;return F===c?gi(n,d,c,A):!!F}function ms(n){if(!St(n))return!1;var d=Gt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Si(n)}function Lv(n){return typeof n=="number"&&Tu(n)}function Lr(n){if(!bt(n))return!1;var d=Gt(n);return d==B||d==L||d==oe||d==ge}function Jl(n){return typeof n=="number"&&n==nt(n)}function No(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Kl=lu?rr(lu):jd;function Bv(n,d){return n===d||qa(n,d,os(d))}function Mv(n,d,A){return A=typeof A=="function"?A:c,qa(n,d,os(d),A)}function Rv(n){return Vl(n)&&n!=+n}function jv(n){if(Em(n))throw new Ze(v);return zu(n)}function Uv(n){return n===null}function zv(n){return n==null}function Vl(n){return typeof n=="number"||St(n)&&Gt(n)==q}function Si(n){if(!St(n)||Gt(n)!=ae)return!1;var d=to(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Yi.call(A)==Mh}var vs=cu?rr(cu):Ud;function qv(n){return Jl(n)&&n>=-z&&n<=z}var Yl=fu?rr(fu):zd;function Oo(n){return typeof n=="string"||!tt(n)&&St(n)&&Gt(n)==je}function ir(n){return typeof n=="symbol"||St(n)&&Gt(n)==ot}var Wn=pu?rr(pu):qd;function Gv(n){return n===c}function Wv(n){return St(n)&&qt(n)==Se}function Xv(n){return St(n)&&Gt(n)==ct}var Hv=xo(Wa),$v=xo(function(n,d){return n<=d});function Ql(n){if(!n)return[];if(Kt(n))return Oo(n)?_r(n):Jt(n);if(fi&&n[fi])return Ah(n[fi]());var d=qt(n),A=d==R?Fa:d==Re?Ji:Xn;return A(n)}function Br(n){if(!n)return n===0?n:0;if(n=vr(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=Br(n),A=d%1;return d===d?A?d-A:d:0}function Zl(n){return n?yn(nt(n),0,ee):0}function vr(n){if(typeof n=="number")return n;if(ir(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=_u(n);var A=sa.test(n);return A||ua.test(n)?uh(n.slice(2),A?2:8):wr.test(n)?H:+n}function ec(n){return Ar(n,Vt(n))}function Jv(n){return n?yn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":nr(n)}var Kv=zn(function(n,d){if(Ei(d)||Kt(d)){Ar(d,Mt(d),n);return}for(var A in d)mt.call(d,A)&&vi(n,A,d[A])}),tc=zn(function(n,d){Ar(d,Vt(d),n)}),Fo=zn(function(n,d,A,F){Ar(d,Vt(d),n,F)}),Vv=zn(function(n,d,A,F){Ar(d,Mt(d),n,F)}),Yv=Pr(Ma);function Qv(n,d){var A=Un(n);return d==null?A:Pu(A,d)}var Zv=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Ar(n,ns(n),A),F&&(A=hr(A,i|a|l,cm));for(var U=d.length;U--;)Ka(A,d[U]);return A});function yy(n,d){return nc(n,To(Xe(d)))}var _y=Pr(function(n,d){return n==null?{}:Xd(n,d)});function nc(n,d){if(n==null)return{};var A=xt(ns(n),function(F){return[F]});return d=Xe(d),Ju(n,A,function(F,U){return d(F,U[0])})}function gy(n,d,A){d=Qr(d,n);var F=-1,U=d.length;for(U||(U=1,n=c);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Nu();return zt(n+U*(d-n+sh("1e-"+((U+"").length-1))),d)}return Ha(n,d)}var Oy=qn(function(n,d,A){return d=d.toLowerCase(),n+(A?ac(d):d)});function ac(n){return gs(dt(n).toLowerCase())}function sc(n){return n=dt(n),n&&n.replace(ca,xh).replace(Yp,"")}function Fy(n,d,A){n=dt(n),d=nr(d);var F=n.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function Iy(n){return n=dt(n),n&&ii.test(n)?n.replace(ft,bh):n}function Py(n){return n=dt(n),n&&na.test(n)?n.replace(Gr,"\\$&"):n}var ky=qn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),Ly=qn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),By=cl("toLowerCase");function My(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return go(oo(U),A)+n+go(io(U),A)}function Ry(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!vs(d))&&(d=nr(d),!d&&Ln(n))?Zr(_r(n),0,A):n.split(d,A)):[]}var Xy=qn(function(n,d,A){return n+(A?" ":"")+gs(d)});function Hy(n,d,A){return n=dt(n),A=A==null?0:yn(nt(A),0,n.length),d=nr(d),n.slice(A,A+d.length)==d}function $y(n,d,A){var F=J.templateSettings;A&&Wt(n,d,A)&&(d=c),n=dt(n),d=Fo({},d,F,yl);var U=Fo({},d.imports,F.imports,yl),V=Mt(U),te=Oa(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=Ia((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?aa:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rh+"]")+` +`;n.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=n.slice(De,ar).replace(fa,Eh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=uc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Fs(et))throw et;return et}function Av(r){return ct(r).toLowerCase()}function Dv(r){return ct(r).toUpperCase()}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return vu(r);if(!r||!(h=Vt(h)))return r;var O=pr(r),U=pr(h),V=gu(O,U),te=_u(O,U)+1;return Wr(O,V,te).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,bu(r)+1);if(!r||!(h=Vt(h)))return r;var O=pr(r),U=_u(O,pr(h))+1;return Wr(O,0,U).join("")}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Vt(h)))return r;var O=pr(r),U=gu(O,pr(h));return Wr(O,U).join("")}function Fv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Vt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=pr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Os(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ja(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Vt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Ov(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ah):r}var Iv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ps=ll("toUpperCase");function sc(r,h,A){return r=ct(r),h=A?E:h,h===E?th(r)?lh(r):Hp(r):r.match(h)||[]}var uc=rt(function(r,h){try{return $t(r,E,h)}catch(A){return Fs(A)?A:new Ke(A)}}),kv=Ar(function(r,h){return nr(h,function(A){A=xr(A),wr(r,A,Ts(r[A],r))}),r});function Pv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new ir(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Wa(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:fo,args:[Fe],thisArg:E}),new or(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),nr(["pop","push","shift","sort","splice","unshift"],function(r){var h=Ri[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[io(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Oh,it.prototype.reverse=Ih,it.prototype.value=kh,$.prototype.at=u0,$.prototype.chain=l0,$.prototype.commit=c0,$.prototype.next=f0,$.prototype.plant=h0,$.prototype.reverse=d0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=m0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=p0),$},jr=ch();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,La._=jr):Ft._=jr}).call(Wn)});var Rb={};wg(Rb,{default:()=>Bb,options:()=>bp,setup:()=>Pb,teardown:()=>Lb});module.exports=Sg(Rb);var gb=jt(require("k6/encoding")),_b=require("k6"),xb=jt(require("k6/http"));var Ag=typeof global=="object"&&global&&global.Object===Object&&global,bo=Ag;var Dg=typeof self=="object"&&self&&self.Object===Object&&self,Cg=bo||Dg||Function("return this")(),Dt=Cg;var Tg=Dt.Symbol,Fr=Tg;var pc=Object.prototype,Ng=pc.hasOwnProperty,Fg=pc.toString,pi=Fr?Fr.toStringTag:void 0;function Og(E){var l=Ng.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Fg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var hc=Og;var Ig=Object.prototype,kg=Ig.toString;function Pg(E){return kg.call(E)}var dc=Pg;var Bg="[object Null]",Lg="[object Undefined]",mc=Fr?Fr.toStringTag:void 0;function Rg(E){return E==null?E===void 0?Lg:Bg:mc&&mc in Object(E)?hc(E):dc(E)}var er=Rg;function Mg(E){return E!=null&&typeof E=="object"}var cr=Mg;var jg="[object Symbol]";function Ug(E){return typeof E=="symbol"||cr(E)&&er(E)==jg}var kn=Ug;function zg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=y_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Nc=__;function x_(E){return function(){return E}}var Fc=x_;var b_=function(){try{var E=Ht(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=b_;var E_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Fc(l),writable:!0})}:Eo,Oc=E_;var w_=Nc(Oc),Ic=w_;var S_=9007199254740991,A_=/^(?:0|[1-9]\d*)$/;function D_(E,l){var o=typeof E;return l=l??S_,!!l&&(o=="number"||o!="symbol"&&A_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=B_}var Do=L_;function R_(E){return E!=null&&Do(E.length)&&!Pn(E)}var Jr=R_;function M_(E,l,o){if(!Xt(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Ao(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var Mc=M_;function j_(E){return Rc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&Mc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var ff=sx;function ux(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var pf=ux;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),np=E=>new Ks(new URL(E||"").search).object();var op=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&ko(a,{headers:{Authorization:l.header}}),ip.default.request(v,rp(E,w),y,ko(a,m))};var sp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yb=jt(Ys());var vb=jt(Gn()),up=(E=10,l)=>(0,sp.randomString)(E,l);var Bo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var cp=require("k6/http");var Lo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Ro=class{settings;constructor(l){this.settings=new Lo(l)}};var Mo=class{v0;constructor(l){this.v0=new Ro(l)}};var jo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var zo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var qo=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Go=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new jo(l),this.spaces=new Uo(l),this.systemtags=new zo(l),this.systemtagsRelations=new qo(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Wo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Xo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Ho=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Jo=class{tags;constructor(l){this.tags=new Ho(l)}};var $o=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Jo(l)}};var Ko=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Vo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Yo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Qo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Wo(l),this.drives=new Xo(l),this.extensions=new $o(l),this.groups=new Ko(l),this.me=new Vo(l),this.users=new Yo(l)}};var Zo=class{v1;constructor(l){this.v1=new Qo(l)}};var ea=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Po({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ta=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{shares;sharees;constructor(l){this.shares=new ta(l),this.sharees=new ea(l)}};var na=class{v1;constructor(l){this.v1=new ra(l)}};var ia=class{filesSharing;constructor(l){this.filesSharing=new na(l)}};var oa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var aa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{users;groups;roles;constructor(l){this.users=new sa(l),this.groups=new oa(l),this.roles=new aa(l)}};var la=class{cloud;apps;constructor(l){this.cloud=new ua(l),this.apps=new ia(l)}};var ca=class{v2;constructor(l){this.v2=new la(l)}};var fa=class{ocs;graph;dav;api;constructor(l){this.ocs=new ca(l),this.graph=new Zo(l),this.dav=new Go(l),this.api=new Mo(l)}};var pa={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var lp=jt(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${lp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var ha=require("k6"),da=jt(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=da.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:up(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,ha.fail)(this.#i),o}getCode(l){let o=`${l}?${Po({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=da.default.get(o,{redirects:0}),w=Zr(np(v.headers.Location),"code");return(v.status!==302||!w)&&(0,ha.fail)(l),w}getToken(l){let o=da.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,ha.fail)(this.#o),v}};var fp=require("k6"),Zs=require("k6"),eu=require("k6"),mn=require("k6"),pp=jt(Gn()),hp=require("k6"),ma=require("k6"),xi=jt(Gn()),ya=require("k6"),yn=require("k6"),tu=jt(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},fr=(E,...l)=>l.includes(E);var bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!fr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,fp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!fr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,Zs.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!fr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,Zs.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,eu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,eu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,pp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!fr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,hp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ma.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ma.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ma.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Cb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,ya.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,ya.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,ya.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!fr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!fr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!fr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!fr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!fr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!fr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!fr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!fr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},va=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case pa.openIDConnect:w=new _i(v,E);break;case pa.basicAuth:w=new gi(v);break}let y=op(E,w,{jar:new cp.CookieJar}),m=new fa(y);this.application=new bb(l,m),this.drive=new Eb(l,m),this.group=new wb(l,m),this.resource=new Sb(l,m),this.role=new Ab(l,m),this.search=new Db(l,m),this.share=new Cb(m),this.tag=new Tb(l,m),this.user=new Nb(l,m)}};var Fb=jt(require("k6/http"));var Ob=require("https://jslib.k6.io/url/1.0.0/index.js"),Ib=require("k6/experimental/timers"),dp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),mp=jt(Ys());var kb=jt(Gn());var ru=(E=10,l)=>(0,dp.randomString)(E,l),yp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return mp.query(l,E).map(o=>$s(o)?void 0:o)};var gp=require("k6"),_p=jt(require("k6/execution")),xp=jt(vp()),yr={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Bo.basicAuth?Bo.basicAuth:Bo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},k6:{vus:1,insecureSkipTLSVerify:!0}},bp=yr.k6;function Pb(){let E=yr.adminUser,l=new va(yr.baseURL,yr.clientVersion,yr.authAdapter,E),o=(0,xp.times)(bp.vus||1,()=>{let v={login:ru(),password:ru()};return l.user.create(v),l.user.enable(v.login),{credential:v}});return{adminCredential:E,userInfos:o}}function Bb({userInfos:E}){let{credential:l}=E[_p.default.vu.idInTest-1],v=new va(yr.baseURL,yr.clientVersion,yr.authAdapter,l).user.me(),[w=l.login]=yp("displayNamed",v?.body);(0,gp.check)(w,{"user displayName":y=>y===l.login})}function Lb({userInfos:E,adminCredential:l}){let o=new va(yr.baseURL,yr.clientVersion,yr.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=lc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ms(it))throw it;return it}function Jy(n){return dt(n).toLowerCase()}function Ky(n){return dt(n).toUpperCase()}function Vy(n,d,A){if(n=dt(n),n&&(A||d===c))return _u(n);if(!n||!(d=nr(d)))return n;var F=_r(n),U=_r(d),V=gu(F,U),te=xu(F,U)+1;return Zr(F,V,te).join("")}function Yy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.slice(0,Eu(n)+1);if(!n||!(d=nr(d)))return n;var F=_r(n),U=xu(F,_r(d))+1;return Zr(F,0,U).join("")}function Qy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.replace(ai,"");if(!n||!(d=nr(d)))return n;var F=_r(n),U=gu(F,_r(d));return Zr(F,U).join("")}function Zy(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}n=dt(n);var V=n.length;if(Ln(n)){var te=_r(n);V=te.length}if(A>=V)return n;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):n.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),vs(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ia(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(n.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function e_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Nh):n}var t_=qn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),gs=cl("toUpperCase");function uc(n,d,A){return n=dt(n),d=A?c:d,d===c?Sh(n)?Ih(n):mh(n):n.match(d)||[]}var lc=at(function(n,d){try{return tr(n,c,d)}catch(A){return ms(A)?A:new Ze(A)}}),r_=Pr(function(n,d){return cr(d,function(A){A=Cr(A),Fr(n,A,hs(n[A],n))}),n});function n_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Na(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Sr(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:So,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Ki[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Sr(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[yo(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=ed,ut.prototype.reverse=td,ut.prototype.value=rd,J.prototype.at=F0,J.prototype.chain=I0,J.prototype.commit=P0,J.prototype.next=k0,J.prototype.plant=B0,J.prototype.reverse=M0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=R0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=L0),J},Jr=Ph();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,ba._=Jr):Bt._=Jr}).call(ni)});var yS={};jt(yS,{default:()=>Wp,options:()=>Gp,setup:()=>mS,teardown:()=>vS});module.exports=H_(yS);var op=Qt(require("k6/encoding")),Qo=require("k6"),Zo=Qt(require("k6/http"));var $_=typeof global=="object"&&global&&global.Object===Object&&global,Po=$_;var J_=typeof self=="object"&&self&&self.Object===Object&&self,K_=Po||J_||Function("return this")(),Ft=K_;var V_=Ft.Symbol,Rr=V_;var hc=Object.prototype,Y_=hc.hasOwnProperty,Q_=hc.toString,Ai=Rr?Rr.toStringTag:void 0;function Z_(c){var o=Y_.call(c,Ai),r=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=Q_.call(c);return v&&(o?c[Ai]=r:delete c[Ai]),S}var dc=Z_;var eg=Object.prototype,tg=eg.toString;function rg(c){return tg.call(c)}var mc=rg;var ng="[object Null]",ig="[object Undefined]",vc=Rr?Rr.toStringTag:void 0;function og(c){return c==null?c===void 0?ig:ng:vc&&vc in Object(c)?dc(c):mc(c)}var sr=og;function ag(c){return c!=null&&typeof c=="object"}var yr=ag;var sg="[object Symbol]";function ug(c){return typeof c=="symbol"||yr(c)&&sr(c)==sg}var Hn=ug;function lg(c,o){for(var r=-1,v=c==null?0:c.length,S=Array(v);++r0){if(++o>=Rg)return arguments[0]}else o=0;return c.apply(void 0,arguments)}}var Oc=zg;function qg(c){return function(){return c}}var Fc=qg;var Gg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=Gg;var Wg=Jn?function(c,o){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Fc(o),writable:!0})}:ko,Ic=Wg;var Xg=Oc(Ic),Pc=Xg;var Hg=9007199254740991,$g=/^(?:0|[1-9]\d*)$/;function Jg(c,o){var r=typeof c;return o=o??Hg,!!o&&(r=="number"||r!="symbol"&&$g.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=n1}var Ro=i1;function o1(c){return c!=null&&Ro(c.length)&&!$n(c)}var rn=o1;function a1(c,o,r){if(!At(r))return!1;var v=typeof o;return(v=="number"?rn(r)&&Kn(o,r.length):v=="string"&&o in r)?tn(r[o],c):!1}var Rc=a1;function s1(c){return Mc(function(o,r){var v=-1,S=r.length,_=S>1?r[S-1]:void 0,y=S>2?r[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&Rc(r[0],r[1],y)&&(_=S<3?void 0:_,S=1),o=Object(o);++v-1}var ff=Nx;function Ox(c,o){var r=this.__data__,v=on(r,c);return v<0?(++this.size,r.push([c,o])):r[v][1]=o,this}var pf=Ox;function ei(c){var o=-1,r=c==null?0:c.length;for(this.clear();++o(0,ep.randomString)(c,o);var ie={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var tp=require("k6/http");var Ps=require("https://jslib.k6.io/url/1.0.0/index.js"),Dr=(...c)=>c.join("/").replace(/(?new Ps.URLSearchParams(Object.keys(c).map(r=>[r,String(c[r])])).toString(),Jo=c=>{let o=new URL(c).search,r=new Ps.URLSearchParams(o);return Object.fromEntries(r)};var Ko=c=>(o,r,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,tp.request)(o,Dr(c.baseUrl,r),v,Sn(_,S))};var ks=require("k6");var ke=(c,o)=>{let r={...o};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,ks.check)(c.val,r,c.tags)};var ap=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var np=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(o){this.userLogin=o.userLogin,this.userPassword=o.userPassword}get header(){return`Basic ${np.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Vo=require("k6"),Yo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(o){this.userLogin=o.userLogin,this.userPassword=o.userPassword,this.baseUrl=o.baseUrl,this.redirectURL=Dr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Dr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Dr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let o=this.getContinueURI(),r=this.getCode(o),v=this.getToken(r);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let o=Yo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:$o(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),r=Ht(o.json(),"hello.continue_uri");return(o.status!==200||!r)&&(0,Vo.fail)(this.logonURL),r}getCode(o){let r=`${o}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Yo.default.get(r,{redirects:0}),S=Ht(Jo(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Vo.fail)(o),S}getToken(o){let r=Yo.default.post(this.tokenURL,{client_id:"web",code:o,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(r.json(),"access_token",""),tokenType:Ht(r.json(),"token_type",""),idToken:Ht(r.json(),"id_token",""),expiresIn:Ht(r.json(),"expires_in",0)};return(r.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Vo.fail)(this.tokenURL),v}};var Rs={};jt(Rs,{POST__get_roles:()=>Ub});var Ub=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var js={};jt(js,{SEARCH__search_for_resources:()=>zb});var zb=(c,{searchXml:o})=>c("SEARCH","/remote.php/dav",o,{headers:{"Content-Type":"application/xml"}});var Us={};jt(Us,{DELETE__delete_resource:()=>Xb,GET__download_resource:()=>Gb,MKCOL__create_resource:()=>Wb,MOVE__move_resource:()=>Hb,PROPFIND__get_properties_for_resource:()=>$b,PUT__upload_resource:()=>qb,REPORT__get_report_for_resources:()=>Jb});var qb=(c,{resourceBytes:o,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,o),Gb=(c,{root:o,resourcePath:r})=>c("GET",`/remote.php/dav/files/${o}/${r}`),Wb=(c,{resourcePath:o,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${o}`),Xb=(c,{resourcePath:o,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${o}`),Hb=(c,{toResourcePath:o,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${o}`}}),$b=(c,{root:o,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${o}/${r}`,v),Jb=(c,{reportXml:o,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,o);var zs={};jt(zs,{DELETE__delete_resource:()=>Qb,GET__download_resource:()=>Vb,MKCOL__create_resource:()=>Yb,MOVE__move_resource:()=>Zb,PROPFIND__get_properties_for_resource:()=>eE,PUT__upload_resource:()=>Kb});var Kb=(c,{resourcePath:o,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${o}`,v),Vb=(c,{resourcePath:o,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${o}`),Yb=(c,{resourcePath:o,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${o}`),Qb=(c,{resourcePath:o,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${o}`),Zb=(c,{toResourcePath:o,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${o}`}}),eE=(c,{propfindXml:o,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,o);var qs={};jt(qs,{DELETE__delete_tag:()=>rE,POST__create_tag:()=>tE,PROPFIND__get_tags_with_properties:()=>nE});var tE=(c,{tagName:o,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:o,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),rE=(c,{tagId:o})=>c("DELETE",`/remote.php/dav/systemtags/${o}`),nE=(c,{propfindXml:o})=>c("PROPFIND","/remote.php/dav/systemtags",o);var Gs={};jt(Gs,{DELETE__remove_tag_from_resource:()=>oE,PROPFIND__get_tags_with_properties_for_resource:()=>aE,PUT__add_tag_to_resource:()=>iE});var iE=(c,{tagId:o,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${o}`),oE=(c,{tagId:o,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${o}`),aE=(c,{propfindXml:o,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,o);var Ws={};jt(Ws,{GET__get_applications:()=>sE});var sE=c=>c("GET","/graph/v1.0/applications");var Xs={};jt(Xs,{DELETE__delete_drive:()=>lE,POST__create_drive:()=>uE});var uE=(c,{driveName:o})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:o})),lE=(c,{driveId:o})=>c("DELETE",`/graph/v1.0/drives/${o}`);var Hs={};jt(Hs,{DELETE__remove_tags_from_resource:()=>fE,PUT__add_tags_to_resource:()=>cE});var cE=(c,{tagNames:o,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:o})),fE=(c,{tagNames:o,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:o}));var $s={};jt($s,{DELETE__delete_group:()=>hE,POST__create_group:()=>pE});var pE=(c,{groupName:o})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:o})),hE=(c,{groupId:o})=>c("DELETE",`/graph/v1.0/groups/${o}`);var Js={};jt(Js,{GET__current_user:()=>mE,GET__get_current_user_drives:()=>dE});var dE=c=>c("GET","/graph/v1.0/me/drives"),mE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ks={};jt(Ks,{DELETE__delete_user:()=>yE,POST__add_app_role_to_user:()=>_E,POST__create_user:()=>vE});var vE=(c,{userLogin:o,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:o,displayName:o,mail:`${o}@cdperf.org`,passwordProfile:{password:r}})),yE=(c,{userLogin:o})=>c("DELETE",`/graph/v1.0/users/${o}`),_E=(c,{resourceId:o,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:o}));var Vs={};jt(Vs,{DELETE__delete_group:()=>xE,POST__create_group:()=>gE});var gE=(c,{groupName:o})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:o},{headers:{"OCS-APIRequest":"true"}}),xE=(c,{groupName:o})=>c("DELETE",`/ocs/v2.php/cloud/groups/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Ys={};jt(Ys,{DELETE__delete_user:()=>wE,POST__create_user:()=>bE,PUT__enable_user:()=>EE});var bE=(c,{userPassword:o,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:o,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),EE=(c,{userLogin:o})=>c("PUT",`/ocs/v2.php/cloud/users/${o}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),wE=(c,{userLogin:o})=>c("DELETE",`/ocs/v2.php/cloud/users/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Qs={};jt(Qs,{GET__search_for_sharees:()=>SE});var SE=(c,{searchQuery:o,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:o,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_share:()=>DE,POST__accept_share:()=>CE,POST__create_share:()=>AE});var AE=(c,{shareReceiverPermission:o,shareType:r,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:o.toString()};return _?.platform!==ie.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},CE=(c,{shareId:o})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}}),DE=(c,{shareId:o})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Rs}},dav:{...js,files:Us,spaces:zs,systemtags:qs,systemtags_relations:Gs},graph:{v1:{applications:Ws,drives:Xs,extensions:{org_libre_graph:{tags:Hs}},groups:$s,me:Js,users:Ks}},ocs:{v2:{apps:{cloud:{groups:Vs,users:Ys},file_sharing:{v1:{sharees:Qs,shares:Zs}}}}}};var sp=Qt(Ii());var Ap=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Cp=require("k6/http");var tu=require("https://jslib.k6.io/url/1.0.0/index.js"),ea=require("k6"),Tp=Qt(Bs());var Np=Qt(Ii()),TE=Object.defineProperty,It=(c,o)=>{for(var r in o)TE(c,r,{get:o[r],enumerable:!0})},NE={};It(NE,{Adapter:()=>OE,BasicAuth:()=>FE,Kopano:()=>IE});var OE={kopano:"kopano",basicAuth:"basicAuth"},FE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${op.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},IE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Dr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Dr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Dr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),o=this.getCode(c),r=this.getToken(o);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+r.expiresIn-5),v})(),token:r}}return this.cache.token}getContinueURI(){let c=Zo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:$o(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),o=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!o)&&(0,Qo.fail)(this.logonURL),o}getCode(c){let o=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,r=Zo.default.get(o,{redirects:0}),v=Ht(Jo(r.headers.Location),"code");return(r.status!==302||!v)&&(0,Qo.fail)(c),v}getToken(c){let o=Zo.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),r={accessToken:Ht(o.json(),"access_token",""),tokenType:Ht(o.json(),"token_type",""),idToken:Ht(o.json(),"id_token",""),expiresIn:Ht(o.json(),"expires_in",0)};return(o.status!==200||!r.accessToken||!r.tokenType||!r.idToken||!r.expiresIn)&&(0,Qo.fail)(this.tokenURL),r}},PE={};It(PE,{Client:()=>$E,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,o){this.platform=c,this.request=o}},kE=class extends Er{listApplications(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":o=>o?.status===200}),c}},LE=class extends Er{createDrive(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!o,val:o},{"client -> application.createDrive - status":r=>r?.status===201}),o}deleteDrive(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!o,val:o},{"client -> drive.deleteDrive - status":r=>r?.status===204}),o}},BE=class extends Er{createGroup(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:o},{"client -> group.createGroup - status":({status:r})=>r===200}),o}deleteGroup(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:o},{"client -> group.deleteGroup - status":({status:v})=>v===r}),o}},ME=class extends Er{getMyProfile(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":o=>o?.status===200}),c}getMyDrives(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":o=>o?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,sp.create)({version:"1.0",encoding:"UTF-8"}),RE={[ie.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[ie.ownCloudServer](){return this[ie.ownCloudInfiniteScale]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},ip={[ie.ownCloudInfiniteScale](c){let{searchQuery:o,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(o).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){return this[ie.ownCloudInfiniteScale](c)},[ie.nextcloud](c){let{root:o,searchQuery:r,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${o}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(r).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},jE={[ie.ownCloudInfiniteScale](c){let{tag:o,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${o}"`).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){let{tag:o}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(o).end()},[ie.nextcloud](c){return this[ie.ownCloudServer](c)}},up={[ie.ownCloudInfiniteScale](){return""},[ie.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},UE={[ie.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[ie.ownCloudServer](){return up[ie.ownCloudServer]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},zE=class extends Er{createResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.createResource - status":({status:r})=>r===201}),o}deleteResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.deleteResource - status":({status:r})=>r===204}),o}moveResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.MOVE__move_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.moveResource - status":({status:r})=>r===201}),o}getResourceProperties(c){let o=RE[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:o});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:o})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.PUT__upload_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.uploadResource - status":({status:r})=>r===201}),o}downloadResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.GET__download_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.downloadResource - status":({status:r})=>r===200}),o}},qE=class extends Er{getRoles(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":o=>o?.status===201}),c}addRoleToUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!o,val:o},{"client -> role.addRoleToUser - status":r=>r?.status===201}),o}},GE=class extends Er{searchForSharees(c){let o=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:o},{"client -> search.searchForSharees - status":({status:r})=>r===200}),o}searchForResources(c){let o;switch(this.platform){case ie.nextcloud:o=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:ip[this.platform](c)});break;case ie.ownCloudServer:case ie.ownCloudInfiniteScale:default:o=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ip[this.platform](c)})}return ke({val:o},{"client -> search.searchForResources - status":({status:r})=>r===207}),o}searchForResourcesByTag(c){let o=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:jE[this.platform](c)});return ke({val:o},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),o}},WE=class extends Er{createShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:o},{"client -> share.createShare - status":({status:r})=>r===200}),o}deleteShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:o},{"client -> share.deleteShare - status":({status:r})=>r===200}),o}acceptShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:o},{"client -> share.acceptShare - status":({status:r})=>r===200}),o}},XE=class extends Er{createTag(c){let{tagName:o,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:o,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!o,val:o},{"client -> tag.deleteTag - status":r=>r?.status===204}),o}getTags(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:up[this.platform]({})});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":o=>o?.status===207}),c}addTagToResource(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=201,o=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,o=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:o},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),o}removeTagFromResource(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=204,o=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,o=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:o},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),o}getTagsForResource(c){let o=UE[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:o});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:o})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},HE=class extends Er{createUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:o},{"client -> user.createUser - status":({status:r})=>r===200}),o}deleteUser(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),o=200;break;case ie.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),o=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===o}),r}enableUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!o,val:o},{"client -> user.enableUser - status":r=>r?.status===200}),o}},$E=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let o;switch(c.authAdapter){case Cn.basicAuth:o=new Dn(c);break;case Cn.kopano:default:o=new Tn(c);break}let r=Ko({authn:o,baseUrl:c.baseUrl,params:{jar:new ap.CookieJar}});this.application=new kE(c.platform,r),this.drive=new LE(c.platform,r),this.group=new BE(c.platform,r),this.me=new ME(c.platform,r),this.resource=new zE(c.platform,r),this.role=new qE(c.platform,r),this.search=new GE(c.platform,r),this.share=new WE(c.platform,r),this.tag=new XE(c.platform,r),this.user=new HE(c.platform,r)}},eu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},JE={};It(JE,{ItemType:()=>Rw,Permission:()=>jw,ShareType:()=>Mw,endpoints:()=>Uw});var lp={};It(lp,{POST__get_roles:()=>KE});var KE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),cp={};It(cp,{SEARCH__search_for_resources:()=>VE});var VE=(c,{searchXml:o})=>c("SEARCH","/remote.php/dav",o,{headers:{"Content-Type":"application/xml"}}),fp={};It(fp,{DELETE__delete_resource:()=>ew,GET__download_resource:()=>QE,MKCOL__create_resource:()=>ZE,MOVE__move_resource:()=>tw,PROPFIND__get_properties_for_resource:()=>rw,PUT__upload_resource:()=>YE,REPORT__get_report_for_resources:()=>nw});var YE=(c,{resourceBytes:o,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,o),QE=(c,{root:o,resourcePath:r})=>c("GET",`/remote.php/dav/files/${o}/${r}`),ZE=(c,{resourcePath:o,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${o}`),ew=(c,{resourcePath:o,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${o}`),tw=(c,{toResourcePath:o,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${o}`}}),rw=(c,{root:o,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${o}/${r}`,v),nw=(c,{reportXml:o,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,o),pp={};It(pp,{DELETE__delete_resource:()=>sw,GET__download_resource:()=>ow,MKCOL__create_resource:()=>aw,MOVE__move_resource:()=>uw,PROPFIND__get_properties_for_resource:()=>lw,PUT__upload_resource:()=>iw});var iw=(c,{resourcePath:o,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${o}`,v),ow=(c,{resourcePath:o,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${o}`),aw=(c,{resourcePath:o,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${o}`),sw=(c,{resourcePath:o,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${o}`),uw=(c,{toResourcePath:o,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${o}`}}),lw=(c,{propfindXml:o,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,o),hp={};It(hp,{DELETE__delete_tag:()=>fw,POST__create_tag:()=>cw,PROPFIND__get_tags_with_properties:()=>pw});var cw=(c,{tagName:o,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:o,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),fw=(c,{tagId:o})=>c("DELETE",`/remote.php/dav/systemtags/${o}`),pw=(c,{propfindXml:o})=>c("PROPFIND","/remote.php/dav/systemtags",o),dp={};It(dp,{DELETE__remove_tag_from_resource:()=>dw,PROPFIND__get_tags_with_properties_for_resource:()=>mw,PUT__add_tag_to_resource:()=>hw});var hw=(c,{tagId:o,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${o}`),dw=(c,{tagId:o,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${o}`),mw=(c,{propfindXml:o,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,o),mp={};It(mp,{GET__get_applications:()=>vw});var vw=c=>c("GET","/graph/v1.0/applications"),vp={};It(vp,{DELETE__delete_drive:()=>_w,POST__create_drive:()=>yw});var yw=(c,{driveName:o})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:o})),_w=(c,{driveId:o})=>c("DELETE",`/graph/v1.0/drives/${o}`),yp={};It(yp,{DELETE__remove_tags_from_resource:()=>xw,PUT__add_tags_to_resource:()=>gw});var gw=(c,{tagNames:o,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:o})),xw=(c,{tagNames:o,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:o})),_p={};It(_p,{DELETE__delete_group:()=>Ew,POST__create_group:()=>bw});var bw=(c,{groupName:o})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:o})),Ew=(c,{groupId:o})=>c("DELETE",`/graph/v1.0/groups/${o}`),gp={};It(gp,{GET__current_user:()=>Sw,GET__get_current_user_drives:()=>ww});var ww=c=>c("GET","/graph/v1.0/me/drives"),Sw=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),xp={};It(xp,{DELETE__delete_user:()=>Cw,POST__add_app_role_to_user:()=>Dw,POST__create_user:()=>Aw});var Aw=(c,{userLogin:o,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:o,displayName:o,mail:`${o}@cdperf.org`,passwordProfile:{password:r}})),Cw=(c,{userLogin:o})=>c("DELETE",`/graph/v1.0/users/${o}`),Dw=(c,{resourceId:o,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:o})),bp={};It(bp,{DELETE__delete_group:()=>Nw,POST__create_group:()=>Tw});var Tw=(c,{groupName:o})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:o},{headers:{"OCS-APIRequest":"true"}}),Nw=(c,{groupName:o})=>c("DELETE",`/ocs/v2.php/cloud/groups/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ep={};It(Ep,{DELETE__delete_user:()=>Iw,POST__create_user:()=>Ow,PUT__enable_user:()=>Fw});var Ow=(c,{userPassword:o,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:o,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{userLogin:o})=>c("PUT",`/ocs/v2.php/cloud/users/${o}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Iw=(c,{userLogin:o})=>c("DELETE",`/ocs/v2.php/cloud/users/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}}),wp={};It(wp,{GET__search_for_sharees:()=>Pw});var Pw=(c,{searchQuery:o,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:o,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{DELETE__delete_share:()=>Bw,POST__accept_share:()=>Lw,POST__create_share:()=>kw});var kw=(c,{shareReceiverPermission:o,shareType:r,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:o.toString()};return _?.platform!==ie.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},Lw=(c,{shareId:o})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Bw=(c,{shareId:o})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${o}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Mw={user:0,group:1,publicLink:3,federatedCloudShare:6},Rw={file:"file",folder:"folder"},jw={read:0,update:2,create:4,delete:8,share:16,all:31},Uw={api:{v0:{settings:lp}},dav:{...cp,files:fp,spaces:pp,systemtags:hp,systemtags_relations:dp},graph:{v1:{applications:mp,drives:vp,extensions:{org_libre_graph:{tags:yp}},groups:_p,me:gp,users:xp}},ocs:{v2:{apps:{cloud:{groups:bp,users:Ep},file_sharing:{v1:{sharees:wp,shares:Sp}}}}}},zw={};It(zw,{check:()=>Jw,cleanURL:()=>Dp,group:()=>$w,objectToQueryString:()=>Ww,platformGuard:()=>Gw,queryJson:()=>Op,queryStringToObject:()=>Xw,queryXml:()=>Kw,randomString:()=>qw,requestFactory:()=>Hw});var qw=(c=10,o)=>(0,Ap.randomString)(c,o),Gw=c=>({isOwnCloudInfiniteScale:c===ie.ownCloudInfiniteScale,isOwnCloudServer:c===ie.ownCloudServer,isNextcloud:c===ie.nextcloud}),Dp=(...c)=>c.join("/").replace(/(?new tu.URLSearchParams(Object.keys(c).map(o=>[o,String(c[o])])).toString(),Xw=c=>{let o=new URL(c).search,r=new tu.URLSearchParams(o);return Object.fromEntries(r)},Hw=c=>(o,r,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Cp.request)(o,Dp(c.baseUrl,r),v,Sn(_,S))},$w=(c,o)=>(0,ea.group)(c,()=>o(c)),Jw=(c,o)=>{let r={...o};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,ea.check)(c.val,r,c.tags)},Op=(c,o)=>{if(!c||!o)return[];let r=o;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Tp.query(r,c).map(v=>At(v)&&Oi(v)?void 0:v)},Kw=(c,o)=>{let r=Np.create(o).end({format:"object"});return Op(c,r)};var Vw=Qt(require("k6/encoding")),Yw=require("k6"),Qw=Qt(require("k6/http"));var ta={kopano:"kopano",basicAuth:"basicAuth"};var Ip=require("k6/http");var Pp=Qt(Ii());var Tr=class{platform;request;constructor(c,o){this.platform=c,this.request=o}},Zw=class extends Tr{listApplications(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":o=>o?.status===200}),c}},eS=class extends Tr{createDrive(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!o,val:o},{"client -> application.createDrive - status":r=>r?.status===201}),o}deleteDrive(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!o,val:o},{"client -> drive.deleteDrive - status":r=>r?.status===204}),o}},tS=class extends Tr{createGroup(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:o},{"client -> group.createGroup - status":({status:r})=>r===200}),o}deleteGroup(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:o},{"client -> group.deleteGroup - status":({status:v})=>v===r}),o}},rS=class extends Tr{getMyProfile(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":o=>o?.status===200}),c}getMyDrives(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":o=>o?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Pp.create)({version:"1.0",encoding:"UTF-8"}),nS={[ie.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[ie.ownCloudServer](){return this[ie.ownCloudInfiniteScale]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},Fp={[ie.ownCloudInfiniteScale](c){let{searchQuery:o,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(o).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){return this[ie.ownCloudInfiniteScale](c)},[ie.nextcloud](c){let{root:o,searchQuery:r,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${o}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(r).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},iS={[ie.ownCloudInfiniteScale](c){let{tag:o,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${o}"`).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){let{tag:o}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(o).end()},[ie.nextcloud](c){return this[ie.ownCloudServer](c)}},kp={[ie.ownCloudInfiniteScale](){return""},[ie.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},oS={[ie.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[ie.ownCloudServer](){return kp[ie.ownCloudServer]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},aS=class extends Tr{createResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.createResource - status":({status:r})=>r===201}),o}deleteResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.deleteResource - status":({status:r})=>r===204}),o}moveResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.MOVE__move_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.moveResource - status":({status:r})=>r===201}),o}getResourceProperties(c){let o=nS[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:o});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:o})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.PUT__upload_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.uploadResource - status":({status:r})=>r===201}),o}downloadResource(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.files.GET__download_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:o},{"client -> resource.downloadResource - status":({status:r})=>r===200}),o}},sS=class extends Tr{getRoles(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":o=>o?.status===201}),c}addRoleToUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!o,val:o},{"client -> role.addRoleToUser - status":r=>r?.status===201}),o}},uS=class extends Tr{searchForSharees(c){let o=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:o},{"client -> search.searchForSharees - status":({status:r})=>r===200}),o}searchForResources(c){let o;switch(this.platform){case ie.nextcloud:o=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Fp[this.platform](c)});break;case ie.ownCloudServer:case ie.ownCloudInfiniteScale:default:o=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Fp[this.platform](c)})}return ke({val:o},{"client -> search.searchForResources - status":({status:r})=>r===207}),o}searchForResourcesByTag(c){let o=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:iS[this.platform](c)});return ke({val:o},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),o}},lS=class extends Tr{createShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:o},{"client -> share.createShare - status":({status:r})=>r===200}),o}deleteShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:o},{"client -> share.deleteShare - status":({status:r})=>r===200}),o}acceptShare(c){let o=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:o},{"client -> share.acceptShare - status":({status:r})=>r===200}),o}},cS=class extends Tr{createTag(c){let{tagName:o,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:o,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!o,val:o},{"client -> tag.deleteTag - status":r=>r?.status===204}),o}getTags(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:kp[this.platform]({})});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":o=>o?.status===207}),c}addTagToResource(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=201,o=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,o=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:o},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),o}removeTagFromResource(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=204,o=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,o=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:o},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),o}getTagsForResource(c){let o=oS[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:o});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:o})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},fS=class extends Tr{createUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:o=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:o},{"client -> user.createUser - status":({status:r})=>r===200}),o}deleteUser(c){let o,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),o=200;break;case ie.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),o=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===o}),r}enableUser(c){let o;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:o=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!o,val:o},{"client -> user.enableUser - status":r=>r?.status===200}),o}},ra=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let o;switch(c.authAdapter){case Cn.basicAuth:o=new Dn(c);break;case Cn.kopano:default:o=new Tn(c);break}let r=Ko({authn:o,baseUrl:c.baseUrl,params:{jar:new Ip.CookieJar}});this.application=new Zw(c.platform,r),this.drive=new eS(c.platform,r),this.group=new tS(c.platform,r),this.me=new rS(c.platform,r),this.resource=new aS(c.platform,r),this.role=new sS(c.platform,r),this.search=new uS(c.platform,r),this.share=new lS(c.platform,r),this.tag=new cS(c.platform,r),this.user=new fS(c.platform,r)}};var Lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var pS=require("k6/http");var hS=require("https://jslib.k6.io/url/1.0.0/index.js"),nu=require("k6"),Rp=Qt(Bs());var dS=Qt(Ii()),ru=(c=10,o)=>(0,Lp.randomString)(c,o),Bp=c=>({isOwnCloudInfiniteScale:c===ie.ownCloudInfiniteScale,isOwnCloudServer:c===ie.ownCloudServer,isNextcloud:c===ie.nextcloud});var Mp=(c,o)=>{let r={...o};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,nu.check)(c.val,r,c.tags)},jp=(c,o)=>{if(!c||!o)return[];let r=o;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Rp.query(r,c).map(v=>At(v)&&Oi(v)?void 0:v)};var zp=Qt(require("k6/execution")),qp=Qt(Up()),zr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ta.basicAuth?ta.basicAuth:ta.kopano,platform:eu[__ENV.PLATFORM]||eu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},k6:{vus:1,insecureSkipTLSVerify:!0}},Gp=zr.k6;function mS(){let c=new ra({...zr,userLogin:zr.admin.login,userPassword:zr.admin.password}),o=(0,qp.times)(Gp.vus||1,()=>{let[r,v]=[ru(),ru()];return c.user.createUser({userLogin:r,userPassword:v}),c.user.enableUser({userLogin:r}),{actorLogin:r,actorPassword:v}});return{adminData:{adminLogin:zr.admin.login,adminPassword:zr.admin.password},actorData:o}}function Wp({actorData:c}){let{actorLogin:o,actorPassword:r}=c[zp.default.vu.idInTest-1],S=new ra({...zr,userLogin:o,userPassword:r}).me.getMyProfile(),_={...Bp(zr.platform)};Mp({skip:_.isOwnCloudServer||_.isNextcloud,val:S},{"user displayName":y=>{let[s]=jp("displayName",y?.body);return s===o}})}function vS({adminData:c,actorData:o}){let r=new ra({...zr,userLogin:c.adminLogin,userPassword:c.adminPassword});o.forEach(({actorLogin:v})=>{r.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-020-navigate-file-tree.js b/packages/k6-tests/artifacts/koko-020-navigate-file-tree.js index 13d668f..7cc17bb 100644 --- a/packages/k6-tests/artifacts/koko-020-navigate-file-tree.js +++ b/packages/k6-tests/artifacts/koko-020-navigate-file-tree.js @@ -1,90 +1,90 @@ -"use strict";var vg=Object.create;var bo=Object.defineProperty;var gg=Object.getOwnPropertyDescriptor;var _g=Object.getOwnPropertyNames;var xg=Object.getPrototypeOf,bg=Object.prototype.hasOwnProperty;var Gs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Eg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},pc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of _g(l))!bg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=gg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?vg(xg(E)):{},pc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),wg=E=>pc(bo({},"__esModule",{value:!0}),E);var Zs=Gs((sp,Qs)=>{(function(E){if(typeof sp=="object"&&typeof Qs<"u")Qs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function xa(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=xa(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ba(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Ea(){var F,j,Z,le,be;return be=S,F=ba(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=Ea(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function wa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=wa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Sa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Sa(F)),!Ae(","))break;we()}while(e<_);return j}function Aa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Da(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ca(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Ta(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Na(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Fa(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Oa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Fa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Ia(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function ka(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Pa(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=ka(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ba(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ca(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Oa(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Ta(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Pa(),be);case"throw":return b.markEnd(Ba(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(Aa(),be);case"while":return b.markEnd(Na(),be);case"with":return b.markEnd(Ia(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Da(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=La,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var q_=Object.create;var Po=Object.defineProperty;var G_=Object.getOwnPropertyDescriptor;var W_=Object.getOwnPropertyNames;var X_=Object.getPrototypeOf,H_=Object.prototype.hasOwnProperty;var Ts=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var r in a)Po(c,r,{get:a[r],enumerable:!0})},dc=(c,a,r,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of W_(a))!H_.call(c,S)&&S!==r&&Po(c,S,{get:()=>a[S],enumerable:!(v=G_(a,S))||v.enumerable});return c};var Qt=(c,a,r)=>(r=c!=null?q_(X_(c)):{},dc(a||!c||!c.__esModule?Po(r,"default",{value:c,enumerable:!0}):r,c)),$_=c=>dc(Po({},"__esModule",{value:!0}),c);var Rs=Ts((ip,Ms)=>{(function(c){if(typeof ip=="object"&&typeof Ms<"u")Ms.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,r;return function v(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function aa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function sa(){var O,j,Z,ce,Ee;return Ee=w,O=aa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=sa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=ua(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function la(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(la(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ya(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function _a(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ba,y.parse=Hi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof eu=="object"?eu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof js=="object"?js.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function r(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,r),S.l=!0,S.exports}return r.m=c,r.c=a,r.d=function(v,S,_){r.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},r.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},r.t=function(v,S){if(1&S&&(v=r(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(r.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)r.d(_,y,function(s){return v[s]}.bind(null,y));return _},r.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return r.d(S,"a",S),S},r.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},r.p="",r(r.s=184)}([function(c,a,r){"use strict";function v(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),v(r(240)),v(r(251)),v(r(175)),v(r(107)),v(r(29)),v(r(73)),v(r(106)),v(r(30)),v(r(252)),v(r(52)),v(r(97)),v(r(253)),v(r(37)),v(r(51)),v(r(173)),v(r(176)),v(r(172)),v(r(108)),v(r(254)),v(r(255)),v(r(256)),v(r(72)),v(r(177)),v(r(105)),v(r(17)),v(r(257)),v(r(12)),v(r(174))},function(c,a,r){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(212);a.FixedSizeSet=S.FixedSizeSet;var _=r(213);a.ObjectCache=_.ObjectCache;var y=r(214);a.CompareCache=y.CompareCache;var s=r(215);a.Lazy=s.Lazy;var h=r(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(241);a.Cast=v.Cast;var S=r(150);a.Guard=S.Guard;var _=r(242);a.EmptySet=_.EmptySet},function(c,a,r){var v=r(11),S=r(55).f,_=r(21),y=r(25),s=r(80),h=r(119),i=r(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,r){var v=r(11),S=r(81),_=r(14),y=r(58),s=r(86),h=r(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(1),S=r(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,r){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(r(228));a.base64=S;var _=v(r(146));a.byte=_;var y=v(r(147));a.byteSequence=y;var s=v(r(96));a.codePoint=s;var h=v(r(232));a.json=h;var i=v(r(233));a.list=i;var o=v(r(234));a.map=o;var l=v(r(235));a.namespace=l;var u=v(r(236));a.queue=u;var p=v(r(237));a.set=p;var m=v(r(238));a.stack=m;var f=v(r(239));a.string=f},function(c,a){c.exports=function(r){try{return!!r()}catch{return!0}}},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,r){"use strict";var v=r(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,r){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(c,a){var r={}.hasOwnProperty;c.exports=function(v,S){return r.call(v,S)}},function(c,a,r){var v=r(16),S=r(115),_=r(18),y=r(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,r){var v=r(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,r){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),_=r(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,r){var v=r(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,r){"use strict";var v=r(24),S=r(130),_=r(49),y=r(43),s=r(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,r){var v=r(90),S=r(25),_=r(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,r){var v=r(16),S=r(15),_=r(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,r){"use strict";var v=r(137).charAt,S=r(43),_=r(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,r){var v=r(11),S=r(203),_=r(19),y=r(21),s=r(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,r){var v=r(41),S=r(35);c.exports=function(_){return v(S(_))}},function(c,a,r){var v=r(11),S=r(21),_=r(14),y=r(80),s=r(117),h=r(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,r){var v=r(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,a,r){var v=r(35);c.exports=function(S){return Object(v(S))}},function(c,a,r){var v=r(16),S=r(8),_=r(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(148),S=r(149),_=r(151),y=r(98),s=r(153),h=r(154),i=r(155),o=r(99),l=r(100),u=r(156),p=r(157),m=r(101),f=r(158),t=r(159),e=r(160),g=r(161),b=r(162),x=r(163),E=r(164),w=r(165),D=r(166),T=r(167),N=r(168),I=r(169),M=r(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,r){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(17),y=r(3),s=r(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,r){"use strict";var v=r(4),S=r(11),_=r(46),y=r(44),s=r(16),h=r(86),i=r(124),o=r(8),l=r(14),u=r(59),p=r(13),m=r(18),f=r(27),t=r(24),e=r(56),g=r(40),b=r(60),x=r(61),E=r(82),w=r(190),D=r(85),T=r(55),N=r(15),I=r(79),M=r(21),k=r(25),G=r(81),$=r(57),Y=r(45),z=r(58),X=r(5),H=r(125),ee=r(126),re=r(62),de=r(43),ve=r(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,r){"use strict";var v=r(4),S=r(16),_=r(11),y=r(14),s=r(13),h=r(15).f,i=r(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,r){r(126)("iterator")},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(70),i=r(3),o=r(9),l=r(0),u=r(152),p=r(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,r){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=v(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=v(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,r){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:r)(S)}},function(c,a,r){"use strict";var v=r(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,r){"use strict";r(31),r(32),r(33),r(220),r(64),r(19),r(65),r(20),r(68),r(66),r(92),r(144),r(22),r(94),r(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,r){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(7),h=r(29),i=r(17),o=r(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,r){var v=r(121),S=r(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,a,r){var v=r(15).f,S=r(14),_=r(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,a,r){var v=r(8),S=r(5),_=r(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,r){"use strict";var v=r(4),S=r(122).indexOf,_=r(48),y=r(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(16),S=r(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,r){"use strict";var v=r(25),S=r(18),_=r(8),y=r(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(138),r(20),r(66),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(1),s=r(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(r(50).BaseWriter);a.ObjectWriter=h},function(c,a,r){"use strict";var v=r(4),S=r(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=v},function(c,a,r){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=r(9),_=r(3),y=r(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,r){"use strict";var v=r(39);c.exports=v.DEFAULT=new v({include:[r(54)],explicit:[r(299),r(300),r(301)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=r(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=r(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=r(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}c.exports=r},function(c,a,r){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,a,r){var v=r(11),S=r(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,a,r){var v=r(44),S=r(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,r){var v=r(121),S=r(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,a,r){var v=r(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,r){var v=r(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,r){var v=r(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,r){"use strict";var v=r(4),S=r(195),_=r(132),y=r(133),s=r(62),h=r(21),i=r(25),o=r(5),l=r(44),u=r(49),p=r(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,r){"use strict";var v=r(4),S=r(13),_=r(59),y=r(83),s=r(26),h=r(24),i=r(134),o=r(5),l=r(63),u=r(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=r(6),h=r(2),i=r(9),o=r(34),l=r(3),u=r(1),p=r(7),m=r(152),f=r(0),t=r(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=r(2),h=r(34),i=r(9),o=r(7),l=r(0),u=r(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(2),s=r(71),h=r(0),i=r(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(0),_=r(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(1),h=r(99),i=r(73),o=r(17),l=r(173),u=r(30),p=r(52),m=r(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,r){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(17),h=r(51),i=r(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,r){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,r){"use strict";r(179),Object.defineProperty(a,"__esModule",{value:!0});var v=r(262),S=r(110),_=r(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(1),S=r(153);a.AbortController=S.AbortControllerImpl;var _=r(154);a.AbortSignal=_.AbortSignalImpl;var y=r(102);a.AbstractRange=y.AbstractRangeImpl;var s=r(157);a.Attr=s.AttrImpl;var h=r(158);a.CDATASection=h.CDATASectionImpl;var i=r(71);a.CharacterData=i.CharacterDataImpl;var o=r(263),l=r(159);a.Comment=l.CommentImpl;var u=r(171);a.CustomEvent=u.CustomEventImpl;var p=r(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=r(98);a.Document=m.DocumentImpl;var f=r(264),t=r(155);a.DocumentType=t.DocumentTypeImpl;var e=r(6);a.dom=e.dom;var g=r(148);a.DOMImplementation=g.DOMImplementationImpl;var b=r(170);a.DOMTokenList=b.DOMTokenListImpl;var x=r(99);a.Element=x.ElementImpl;var E=r(104);a.Event=E.EventImpl;var w=r(70);a.EventTarget=w.EventTargetImpl;var D=r(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=r(265);a.MutationObserver=T.MutationObserverImpl;var N=r(169);a.MutationRecord=N.MutationRecordImpl;var I=r(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=r(168);a.NodeFilter=M.NodeFilterImpl;var k=r(34);a.Node=k.NodeImpl;var G=r(166);a.NodeIterator=G.NodeIteratorImpl;var $=r(162);a.NodeList=$.NodeListImpl;var Y=r(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=r(266),X=r(267),H=r(268),ee=r(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=r(165);a.Range=re.RangeImpl;var de=r(156);a.ShadowRoot=de.ShadowRootImpl;var ve=r(269),ne=r(270);a.StaticRange=ne.StaticRangeImpl;var Q=r(101);a.Text=Q.TextImpl;var ie=r(103);a.Traverser=ie.TraverserImpl;var le=r(167);a.TreeWalker=le.TreeWalkerImpl;var fe=r(149);a.Window=fe.WindowImpl;var P=r(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,r){"use strict";r(64),r(20),r(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(r(75).BaseReader);a.ObjectReader=y},function(c,a,r){"use strict";var v=r(39);c.exports=new v({explicit:[r(286),r(287),r(288)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,r){var v=r(16),S=r(8),_=r(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,r){var v=r(11),S=r(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,r){var v=r(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,a,r){var v=r(11),S=r(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,r){var v=r(14),S=r(187),_=r(55),y=r(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)v(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,r){var v=r(24),S=r(26),_=r(83),y=function(s){return function(h,i,o){var l,u=v(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,r){var v=r(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,r){var v=r(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,r){var v=r(5);a.f=v},function(c,a,r){var v=r(120),S=r(14),_=r(125),y=r(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},function(c,a,r){var v=r(13),S=r(59),_=r(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,r){var v,S,_=r(11),y=r(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,r){var v=r(5),S=r(60),_=r(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,r){"use strict";var v,S,_,y=r(132),s=r(21),h=r(14),i=r(5),o=r(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,r){var v=r(14),S=r(27),_=r(57),y=r(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,r){var v=r(18),S=r(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,r){"use strict";var v=r(56),S=r(15),_=r(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,r){var v=r(90),S=r(42),_=r(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,r){"use strict";var v=r(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,r){var v=r(47),S=r(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,r){var v=r(4),S=r(27),_=r(61);v({target:"Object",stat:!0,forced:r(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,r){"use strict";var v=r(4),S=r(11),_=r(123),y=r(25),s=r(140),h=r(141),i=r(142),o=r(13),l=r(8),u=r(208),p=r(62),m=r(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,r){var v=r(45),S=r(13),_=r(14),y=r(15).f,s=r(58),h=r(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,a,r){var v=r(18),S=r(205),_=r(26),y=r(87),s=r(206),h=r(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(r,v,S){if(!(r instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return r}},function(c,a,r){"use strict";var v=r(15).f,S=r(60),_=r(210),y=r(87),s=r(142),h=r(141),i=r(88),o=r(211),l=r(16),u=r(140).fastKey,p=r(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,r){"use strict";var v,S=r(4),_=r(55).f,y=r(26),s=r(222),h=r(35),i=r(224),o=r(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,r){"use strict";(function(v){var S=r(229),_=r(230),y=r(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,r){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(6),S=r(7),_=r(0),y=r(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(70),y=r(1),s=r(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(r(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,r){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=r(1),s=r(243),h=r(7),i=r(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(70),y=r(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(2),y=r(34),s=r(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(1),y=r(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(102),i=r(9),o=r(0),l=r(12),u=r(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(103),y=r(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(2),y=r(103),s=r(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=v},function(c,a,r){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(9),y=r(7),s=r(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=r(29),h=r(108),i=r(30),o=r(37),l=r(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(29),h=r(17),i=r(107),o=r(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,r){"use strict";var v=r(4),S=r(41),_=r(24),y=r(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,r){var v=r(4),S=r(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,r){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=r(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,r){"use strict";var v=r(39);c.exports=new v({include:[r(182)]})},function(c,a,r){"use strict";var v=r(39);c.exports=new v({include:[r(113)],implicit:[r(289),r(290),r(291),r(292)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(91),S=r(1),_=r(3),y=r(77),s=r(109);function h(u,p){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(91),y=r(1),s=r(217),h=r(2),i=r(3),o=r(0),l=r(109),u=r(7),p=r(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,r){var v=r(11),S=r(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,r){var v=r(46),S=r(82),_=r(85),y=r(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,r){var v=r(16),S=r(15),_=r(18),y=r(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,r){var v=r(46);c.exports=v("document","documentElement")},function(c,a,r){var v=r(24),S=r(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,a,r){"use strict";var v=r(4),S=r(36).every,_=r(48),y=r(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(4),S=r(36).filter,_=r(63),y=r(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(46);c.exports=v("navigator","userAgent")||""},function(c,a,r){"use strict";var v=r(4),S=r(36).find,_=r(130),y=r(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,r){"use strict";var v=r(131).IteratorPrototype,S=r(60),_=r(40),y=r(62),s=r(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,r){var v=r(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,r){var v=r(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,r){"use strict";var v=r(4),S=r(36).map,_=r(63),y=r(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(4),S=r(200).left,_=r(48),y=r(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(127),S=r(27),_=r(41),y=r(26),s=function(h){return function(i,o,l,u){v(o);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,r){"use strict";var v=r(4),S=r(36).some,_=r(48),y=r(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(90),S=r(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,r){var v=r(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,r){var v=r(5),S=r(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,r){var v=r(135),S=r(49),_=r(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,a,r){var v=r(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,r){var v=r(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,r){var v=r(13),S=r(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,r){var v=r(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,a,r){"use strict";var v=r(46),S=r(15),_=r(5),y=r(16),s=_("species");c.exports=function(h){var i=v(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,r){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,r){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(218);a.MapWriter=v.MapWriter;var S=r(258);a.XMLWriter=S.XMLWriter;var _=r(67);a.ObjectWriter=_.ObjectWriter;var y=r(260);a.JSONWriter=y.JSONWriter;var s=r(261);a.YAMLWriter=s.YAMLWriter},function(c,a,r){"use strict";r(19),r(219),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=r(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,r){"use strict";var v=r(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,r){var v=r(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,r){var v=r(13),S=r(42),_=r(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,r){var v=r(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,r){"use strict";r(68);var v=r(25),S=r(8),_=r(5),y=r(93),s=r(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,r){"use strict";var v=r(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,a,r){var v=r(42),S=r(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,r){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=r(96);a.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,r(145).Buffer)},function(c,a,r){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(r,v,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=r[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+r[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+r[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(r,v,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*o-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;r[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;r[S+f]=255&h,f+=t,h/=256,l-=8);r[S+f-t]|=128*e}},function(c,a){var r={}.toString;c.exports=Array.isArray||function(v){return r.call(v)=="[object Array]"}},function(c,a,r){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=v(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,r){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,r){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(96),_=r(147),y=r(146),s=r(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,r){"use strict";var v=r(245),S=r(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,r){(function(v,S){var _;(function(y){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,r,a,v))===void 0||(v.exports=_)})()}).call(this,r(246)(c),r(78))},function(c,a){c.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(c,a,r){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,r){"use strict";a.decode=a.parse=r(249),a.encode=a.stringify=r(250)},function(c,a,r){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,r){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1),_=r(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,a,r){"use strict";r(89),r(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=r(2),s=r(50),h=r(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,r){"use strict";var v=r(47),S=r(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(r(50).BaseWriter);a.JSONWriter=h},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(89),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(r(50).BaseWriter);a.YAMLWriter=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),r(110).dom.setFeatures(!0);var v=r(110);a.DOMImplementation=v.DOMImplementation;var S=r(271);a.DOMParser=S.DOMParser;var _=r(274);a.XMLSerializer=_.XMLSerializer},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=r(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=r(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,r){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),_=r(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(180),y=r(111),s=r(7),h=r(0),i=r(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,r){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(2),_=r(69),y=r(95),s=r(9),h=r(7),i=r(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(277);a.XMLReader=v.XMLReader;var S=r(112);a.ObjectReader=S.ObjectReader;var _=r(280);a.JSONReader=_.JSONReader;var y=r(281);a.YAMLReader=y.YAMLReader},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(65),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(180),h=r(111),i=r(7),o=r(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(r(75).BaseReader);a.XMLReader=l},function(c,a,r){var v=r(4),S=r(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,r){"use strict";var v=r(16),S=r(8),_=r(61),y=r(85),s=r(79),h=r(27),i=r(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(r(75).BaseReader);a.JSONReader=y},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(112),y=r(75),s=r(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,r){"use strict";var v=r(283);c.exports=v},function(c,a,r){"use strict";var v=r(284),S=r(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=r(10),c.exports.Schema=r(39),c.exports.FAILSAFE_SCHEMA=r(113),c.exports.JSON_SCHEMA=r(182),c.exports.CORE_SCHEMA=r(181),c.exports.DEFAULT_SAFE_SCHEMA=r(54),c.exports.DEFAULT_FULL_SCHEMA=r(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=r(53),c.exports.MINIMAL_SCHEMA=r(113),c.exports.SAFE_SCHEMA=r(54),c.exports.DEFAULT_SCHEMA=r(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,r){"use strict";var v=r(38),S=r(53),_=r(285),y=r(54),s=r(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(38),S=r(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,r){"use strict";var v=r(38),S=r(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,r){"use strict";var v;try{v=r(145).Buffer}catch{}var S=r(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,r){"use strict";var v=r(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,r){"use strict";var v;try{v=r(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=r(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,r){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var gp=Gs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,xa=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,ba=/,? & /,Ea=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,wa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Sa=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,Da=/^(?:0|[1-9]\d*)$/,Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ta=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Na="\\u0300-\\u036f",Fa="\\ufe20-\\ufe2f",Oa="\\u20d0-\\u20ff",Ai=Na+Fa+Oa,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Ia="\\xac\\xb1\\xd7\\xf7",ka="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pa="\\u2000-\\u206f",Ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Ia+ka+Pa+Ba,zt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",La="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=La+"?",bt="["+Ni+"]?",bp="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",Ep="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",iu=bt+At+bp,Sp="(?:"+[rn,F,j].join("|")+")"+iu,Ap="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Dp=RegExp(zt,"g"),Cp=RegExp(tn,"g"),Ra=RegExp(xn+"(?="+xn+")|"+Ap+iu,"g"),Tp=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,wp,Ep,Oi,Sp].join("|"),"g"),Np=RegExp("["+le+_n+Ai+Ni+"]"),Fp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Op=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ip=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var kp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Pp={"&":"&","<":"<",">":">",'"':""","'":"'"},Bp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Lp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Rp=parseFloat,Mp=parseInt,ou=typeof global=="object"&&global&&global.Object===Object&&global,jp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=ou||jp||Function("return this")(),Ma=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=Ma&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,au=nn&&nn.exports===Ma,ja=au&&ou.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||ja&&ja.binding&&ja.binding("util")}catch{}}(),su=nr&&nr.isArrayBuffer,uu=nr&&nr.isDate,lu=nr&&nr.isMap,cu=nr&&nr.isRegExp,fu=nr&&nr.isSet,pu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Up(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ua(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function xu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Kp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Vp=Wa(kp),Yp=Wa(Pp);function Qp(fe){return"\\"+Lp[fe]}function Zp(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Np.test(fe)}function eh(fe){return Fp.test(fe)}function th(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function $a(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function bu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function qh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Mh,br.prototype.delete=jh,br.prototype.get=Uh,br.prototype.has=zh,br.prototype.set=qh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Hd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return nl(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:El(r),!se)return pe?Bd(r,id(te,r)):Pd(r,ku(te,r))}else{if(!ht[Fe])return U?r:{};te=Jd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Yl(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Kl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?xs:_s:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function od(r){var h=Ot(r);return function(A){return Pu(A,r,h)}}function Pu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Bu(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ua,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:Zl(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var ts=ll(),Mu=ll(!0);function gr(r,h){return r&&ts(r,h,Ot)}function rs(r,h){return r&&Mu(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ud(r,h){return r!=null&&ft.call(r,h)}function ld(r,h){return r!=null&&h in pt(r)}function cd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Ku(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):ps(r,U)}}return r}function ls(r,h){return r+$i(Nu()*(h-r+1))}function wd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function cs(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Cs(Al(r,h,Xt),r+"")}function Sd(r){return Iu(In(r))}function Ad(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:jd(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var rl=yh||function(r){return Ft.clearTimeout(r)};function nl(r,h){if(h)return r.slice();var A=r.length,O=Su?Su(A):new r.constructor(A);return r.copy(O),O}function ys(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Fd(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Od(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Id(r){return ri?pt(ri.call(r)):{}}function il(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function ol(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function al(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function pl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Kd(r){return Ye(r)||pn(r)||!!(Cu&&r&&r[Cu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Da.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Rl(r,A)});function Ml(r){var h=$(r);return h.__chain__=!0,h}function a0(r,h){return h(r),r}function po(r,h){return h(r)}var s0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return es(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function u0(){return Ml(this)}function l0(){return new ar(this.value(),this.__chain__)}function c0(){this.__values__===E&&(this.__values__=Ql(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function f0(){return this}function p0(r){for(var h,A=this;A instanceof Yi;){var O=Ol(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function h0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ts],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ts)}function d0(){return el(this.__wrapped__,this.__actions__)}var m0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function y0(r,h,A){var O=Ye(r)?hu:ad;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function v0(r,h){var A=Ye(r)?Lr:Ru;return A(r,Ge(h,3))}var g0=fl(Il),_0=fl(kl);function x0(r,h){return It(ho(r,h),1)}function b0(r,h){return It(ho(r,h),Y)}function E0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function jl(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function Ul(r,h){var A=Ye(r)?zp:Lu;return A(r,Ge(h,3))}var w0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function S0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var A0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),D0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Gu;return A(r,Ge(h,3))}function C0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ju(r,h,A))}var T0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function N0(r,h,A){var O=Ye(r)?za:vu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function F0(r,h,A){var O=Ye(r)?qp:vu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Lu)}function O0(r,h){var A=Ye(r)?Lr:Ru;return A(r,vo(Ge(h,3)))}function I0(r){var h=Ye(r)?Iu:Sd;return h(r)}function k0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?td:Ad;return O(r,h)}function P0(r){var h=Ye(r)?rd:Cd;return h(r)}function B0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:as(r).length}function L0(r,h,A){var O=Ye(r)?qa:Td;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var R0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Ju(r,It(h,1),[])}),mo=vh||function(){return Ft.Date.now()};function M0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function zl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function ql(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Fs=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Fs));O|=x}return Sr(r,O,h,A,U)}),Gl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Gl));O|=x}return Sr(h,O,r,A,U)});function Wl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Wl.placeholder,O}function Xl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,fc=h-yr;return Fe?Pt(fc,V-Nr):fc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&rl(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return rl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var j0=rt(function(r,h){return Bu(r,1,h)}),U0=rt(function(r,h,A){return Bu(r,cr(h)||0,A)});function z0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function q0(r){return ql(2,r)}var G0=Nd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=Uu(function(){return arguments}())?Uu:function(r){return xt(r)&&ft.call(r,"callee")&&!Du.call(r,"callee")},Ye=ve.isArray,iy=su?Vt(su):pd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function oy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=_h||qs,ay=uu?Vt(uu):hd;function sy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function uy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!as(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function ly(r,h){return ai(r,h)}function cy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Is(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function fy(r){return typeof r=="number"&&Tu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function $l(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Kl=lu?Vt(lu):md;function py(r,h){return r===h||os(r,h,Es(h))}function hy(r,h,A){return A=typeof A=="function"?A:E,os(r,h,Es(h),A)}function dy(r){return Vl(r)&&r!=+r}function my(r){if(Qd(r))throw new Ke(v);return zu(r)}function yy(r){return r===null}function vy(r){return r==null}function Vl(r){return typeof r=="number"||xt(r)&&Rt(r)==q}function fi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==hh}var ks=cu?Vt(cu):yd;function gy(r){return $l(r)&&r>=-z&&r<=z}var Yl=fu?Vt(fu):vd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var On=pu?Vt(pu):gd;function _y(r){return r===E}function xy(r){return xt(r)&&Bt(r)==we}function by(r){return xt(r)&&Rt(r)==at}var Ey=uo(ss),wy=uo(function(r,h){return r<=h});function Ql(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):qt(r);if(Qn&&r[Qn])return th(r[Qn]());var h=Bt(r),A=h==M?$a:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function Zl(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=gu(r);var A=Sa.test(r);return A||Aa.test(r)?Mp(r.slice(2),A?2:8):vr.test(r)?H:+r}function ec(r){return _r(r,Wt(r))}function Sy(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Ay=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),tc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Dy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Cy=Ar(es);function Ty(r,h){var A=Cn(r);return h==null?A:ku(A,h)}var Ny=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,xs(r),A),O&&(A=sr(A,n|i|u,Ud));for(var U=h.length;U--;)ps(A,h[U]);return A});function Jy(r,h){return nc(r,vo(Ge(h)))}var $y=Ar(function(r,h){return r==null?{}:bd(r,h)});function nc(r,h){if(r==null)return{};var A=yt(xs(r),function(O){return[O]});return h=Ge(h),$u(r,A,function(O,U){return h(O,U[0])})}function Ky(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Nu();return Pt(r+U*(h-r+Rp("1e-"+((U+"").length-1))),h)}return ls(r,h)}var av=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?ac(h):h)});function ac(r){return Ls(ct(r).toLowerCase())}function sc(r){return r=ct(r),r&&r.replace(Ca,Vp).replace(Cp,"")}function sv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function uv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Yp):r}function lv(r){return r=ct(r),r&&xa.test(r)?r.replace(Pr,"\\$&"):r}var cv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),fv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),pv=cl("toLowerCase");function hv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!ks(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var bv=Nn(function(r,h,A){return r+(A?" ":"")+Ls(h)});function Ev(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function wv(r,h,A){var O=$.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,vl);var U=xo({},h.imports,O.imports,vl),V=Ot(U),te=Ja(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ka((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?wa:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ip+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Ta,Qp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=r(91),h=r(1),i=r(183),o=r(0),l=r(7),u=r(95),p=r(69),m=r(3),f=r(305),t=r(306),e=r(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(r(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,r){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var qp=Ts((ni,ki)=>{(function(){var c,a="4.17.21",r=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,oa=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,aa=/,? & /,sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,la=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ca=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,pa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,ha=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",da="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",va="\\u20d0-\\u20ff",Mi=da+ma+va,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ya="\\xac\\xb1\\xd7\\xf7",_a="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ga="\\u2000-\\u206f",xa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ya+_a+ga+xa,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ba="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ba+"?",Ct="["+zi+"]?",Hp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",$p="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Jp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=Ct+Ot+Hp,Kp="(?:"+[pn,O,j].join("|")+")"+au,Vp="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Yp=RegExp($t,"g"),Qp=RegExp(fn,"g"),Ea=RegExp(Pn+"(?="+Pn+")|"+Vp+au,"g"),Zp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Jp,$p,Gi,Kp].join("|"),"g"),eh=RegExp("["+ce+In+Mi+zi+"]"),th=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var ih={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},oh={"&":"&","<":"<",">":">",'"':""","'":"'"},ah={"&":"&","<":"<",">":">",""":'"',"'":"'"},sh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},uh=parseFloat,lh=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,ch=typeof self=="object"&&self&&self.Object===Object&&self,Bt=su||ch||Function("return this")(),wa=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=wa&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,uu=hn&&hn.exports===wa,Sa=uu&&su.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),lu=lr&&lr.isArrayBuffer,cu=lr&&lr.isDate,fu=lr&&lr.isMap,pu=lr&&lr.isRegExp,hu=lr&&lr.isSet,du=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function fh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Aa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function Eu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function xh(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var bh=Na(ih),Eh=Na(oh);function wh(pe){return"\\"+sh[pe]}function Sh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return eh.test(pe)}function Ah(pe){return th.test(pe)}function Ch(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Pa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function wu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function hd(n,d){var A=this.__data__,F=co(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Or.prototype.clear=ld,Or.prototype.delete=cd,Or.prototype.get=fd,Or.prototype.has=pd,Or.prototype.set=hd;function Fr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function hr(n,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(n,F,U,V):A(n)),te!==c)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=ym(n),!ue)return Jt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(en(n))return ol(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Sl(n),!ue)return he?am(n,Nd(te,n)):om(n,Lu(te,n))}else{if(!yt[Ie])return U?n:{};te=_m(n,Ie,ue)}}V||(V=new gr);var qe=V.get(n);if(qe)return qe;V.set(n,te),Zl(n)?n.forEach(function(Je){te.add(hr(Je,d,A,Je,n,V))}):Yl(n)&&n.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,n,V))});var $e=De?he?os:is:he?Vt:Mt,it=Te?c:$e(n);return cr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),vi(te,st,hr(Je,d,A,st,n,V))}),te}function Od(n){var d=Mt(n);return function(A){return Bu(A,n,d)}}function Bu(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===c&&!(U in n)||!V(te))return!1}return!0}function Mu(n,d,A){if(typeof n!="function")throw new fr(S);return wi(function(){n.apply(c,A)},d)}function yi(n,d,A,F){var U=-1,V=$i,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=Aa,te=!1):d.length>=r&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:tc(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ua=fl(),Uu=fl(!0);function Ar(n,d){return n&&Ua(n,d,Mt)}function za(n,d){return n&&Uu(n,d,Mt)}function po(n,d){return Xr(d,function(A){return Br(n[A])})}function _n(n,d){d=Qr(d,n);for(var A=0,F=d.length;n!=null&&Ad}function Pd(n,d){return n!=null&&mt.call(n,d)}function kd(n,d){return n!=null&&d in vt(n)}function Ld(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new vn(te&&Te):c}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&no.call(ue,he,1),no.call(n,he,1);return n}function Yu(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?no.call(n,U,1):Ya(n,U)}}return n}function Ja(n,d){return n+ao(Fu()*(d-n+1))}function Jd(n,d,A,F){for(var U=-1,V=kt(oo((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function Ka(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=ao(d/2),d&&(n+=n);while(d);return A}function at(n,d){return ps(Dl(n,d,Yt),n+"")}function Kd(n){return ku(Xn(n))}function Vd(n,d){var A=Xn(n);return So(A,yn(d,0,A.length))}function xi(n,d,A,F){if(!bt(n))return n;d=Qr(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!ir(te)&&(A?te<=d:te=r){var De=d?null:cm(n);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?n:dr(n,d,A)}var il=zh||function(n){return Bt.clearTimeout(n)};function ol(n,d){if(d)return n.slice();var A=n.length,F=Cu?Cu(A):new n.constructor(A);return n.copy(F),F}function ts(n){var d=new n.constructor(n.byteLength);return new to(d).set(new to(n)),d}function tm(n,d){var A=d?ts(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function rm(n){var d=new n.constructor(n.source,cn.exec(n));return d.lastIndex=n.lastIndex,d}function nm(n){return mi?vt(mi.call(n)):{}}function al(n,d){var A=d?ts(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function sl(n,d){if(n!==d){var A=n!==c,F=n===null,U=n===n,V=ir(n),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function ul(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=n.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function dl(n){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function xm(n){return tt(n)||bn(n)||!!(Nu&&n&&n[Nu])}function Lr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&fa.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(c,arguments)}}function So(n,d){var A=-1,F=n.length,U=F-1;for(d=d===c?F:d;++A1?n[d-1]:c;return A=typeof A=="function"?(n.pop(),A):c,jl(n,A)});function Ul(n){var d=J(n);return d.__chain__=!0,d}function F0(n,d){return d(n),n}function Ao(n,d){return d(n)}var I0=kr(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return ja(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function P0(){return Ul(this)}function k0(){return new pr(this.value(),this.__chain__)}function L0(){this.__values__===c&&(this.__values__=ec(this.value()));var n=this.__index__>=this.__values__.length,d=n?c:this.__values__[this.__index__++];return{done:n,value:d}}function B0(){return this}function M0(n){for(var d,A=this;A instanceof lo;){var F=Pl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function R0(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[hs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(hs)}function j0(){return rl(this.__wrapped__,this.__actions__)}var U0=yo(function(n,d,A){mt.call(n,A)?++n[A]:Ir(n,A,1)});function z0(n,d,A){var F=tt(n)?mu:Fd;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}function q0(n,d){var A=tt(n)?Xr:ju;return A(n,Xe(d,3))}var G0=hl(kl),W0=hl(Ll);function X0(n,d){return Rt(Co(n,d),1)}function H0(n,d){return Rt(Co(n,d),Y)}function $0(n,d,A){return A=A===c?1:nt(A),Rt(Co(n,d),A)}function zl(n,d){var A=tt(n)?cr:Vr;return A(n,Xe(d,3))}function ql(n,d){var A=tt(n)?ph:Ru;return A(n,Xe(d,3))}var J0=yo(function(n,d,A){mt.call(n,A)?n[A].push(d):Ir(n,A,[d])});function K0(n,d,A,F){n=Kt(n)?n:Xn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Fo(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&kn(n,d,A)>-1}var V0=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Kt(n)?_e(n.length):[];return Vr(n,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),Y0=yo(function(n,d,A){Ir(n,A,d)});function Co(n,d){var A=tt(n)?xt:Xu;return A(n,Xe(d,3))}function Q0(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Ku(n,d,A))}var Z0=yo(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function ev(n,d,A){var F=tt(n)?Ca:gu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Vr)}function tv(n,d,A){var F=tt(n)?hh:gu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Ru)}function rv(n,d){var A=tt(n)?Xr:ju;return A(n,No(Xe(d,3)))}function nv(n){var d=tt(n)?ku:Kd;return d(n)}function iv(n,d,A){(A?Wt(n,d,A):d===c)?d=1:d=nt(d);var F=tt(n)?Cd:Vd;return F(n,d)}function ov(n){var d=tt(n)?Dd:Qd;return d(n)}function av(n){if(n==null)return 0;if(Kt(n))return Fo(n)?Bn(n):n.length;var d=qt(n);return d==R||d==Re?n.size:Xa(n).length}function sv(n,d,A){var F=tt(n)?Da:Zd;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}var uv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Wt(n,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Ku(n,Rt(d,1),[])}),Do=qh||function(){return Bt.Date.now()};function lv(n,d){if(typeof d!="function")throw new fr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Gl(n,d,A){return d=A?c:d,d=n&&d==null?n.length:d,Pr(n,E,c,c,c,c,d)}function Wl(n,d){var A;if(typeof d!="function")throw new fr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=c),A}}var ms=at(function(n,d,A){var F=m;if(A.length){var U=$r(A,Gn(ms));F|=b}return Pr(n,F,d,A,U)}),Xl=at(function(n,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Xl));F|=b}return Pr(d,F,n,A,U)});function Hl(n,d,A){d=A?c:d;var F=Pr(n,e,c,c,c,c,c,d);return F.placeholder=Hl.placeholder,F}function $l(n,d,A){d=A?c:d;var F=Pr(n,g,c,c,c,c,c,d);return F.placeholder=$l.placeholder,F}function Jl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=n.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,hc=d-br;return Ie?zt(hc,V-Rr):hc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&il(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return il(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var cv=at(function(n,d){return Mu(n,1,d)}),fv=at(function(n,d,A){return Mu(n,vr(d)||0,A)});function pv(n){return Pr(n,D)}function To(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Fr),A}To.Cache=Fr;function No(n){if(typeof n!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function hv(n){return Wl(2,n)}var dv=em(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=qu(function(){return arguments}())?qu:function(n){return St(n)&&mt.call(n,"callee")&&!Tu.call(n,"callee")},tt=_e.isArray,Nv=lu?rr(lu):Md;function Kt(n){return n!=null&&Oo(n.length)&&!Br(n)}function Dt(n){return St(n)&&Kt(n)}function Ov(n){return n===!0||n===!1||St(n)&&Gt(n)==le}var en=Wh||Ds,Fv=cu?rr(cu):Rd;function Iv(n){return St(n)&&n.nodeType===1&&!Si(n)}function Pv(n){if(n==null)return!0;if(Kt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||en(n)||Wn(n)||bn(n)))return!n.length;var d=qt(n);if(d==R||d==Re)return!n.size;if(Ei(n))return!Xa(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function kv(n,d){return gi(n,d)}function Lv(n,d,A){A=typeof A=="function"?A:c;var F=A?A(n,d):c;return F===c?gi(n,d,c,A):!!F}function ys(n){if(!St(n))return!1;var d=Gt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Si(n)}function Bv(n){return typeof n=="number"&&Ou(n)}function Br(n){if(!bt(n))return!1;var d=Gt(n);return d==B||d==L||d==ie||d==ge}function Vl(n){return typeof n=="number"&&n==nt(n)}function Oo(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Yl=fu?rr(fu):Ud;function Mv(n,d){return n===d||Wa(n,d,ss(d))}function Rv(n,d,A){return A=typeof A=="function"?A:c,Wa(n,d,ss(d),A)}function jv(n){return Ql(n)&&n!=+n}function Uv(n){if(wm(n))throw new Ze(v);return Gu(n)}function zv(n){return n===null}function qv(n){return n==null}function Ql(n){return typeof n=="number"||St(n)&&Gt(n)==q}function Si(n){if(!St(n)||Gt(n)!=ae)return!1;var d=ro(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Rh}var _s=pu?rr(pu):zd;function Gv(n){return Vl(n)&&n>=-z&&n<=z}var Zl=hu?rr(hu):qd;function Fo(n){return typeof n=="string"||!tt(n)&&St(n)&&Gt(n)==je}function ir(n){return typeof n=="symbol"||St(n)&&Gt(n)==ot}var Wn=du?rr(du):Gd;function Wv(n){return n===c}function Xv(n){return St(n)&&qt(n)==Se}function Hv(n){return St(n)&&Gt(n)==ct}var $v=bo(Ha),Jv=bo(function(n,d){return n<=d});function ec(n){if(!n)return[];if(Kt(n))return Fo(n)?_r(n):Jt(n);if(fi&&n[fi])return Ch(n[fi]());var d=qt(n),A=d==R?Pa:d==Re?Ki:Xn;return A(n)}function Mr(n){if(!n)return n===0?n:0;if(n=vr(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=Mr(n),A=d%1;return d===d?A?d-A:d:0}function tc(n){return n?yn(nt(n),0,ee):0}function vr(n){if(typeof n=="number")return n;if(ir(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=xu(n);var A=la.test(n);return A||ca.test(n)?lh(n.slice(2),A?2:8):Sr.test(n)?H:+n}function rc(n){return Cr(n,Vt(n))}function Kv(n){return n?yn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":nr(n)}var Vv=zn(function(n,d){if(Ei(d)||Kt(d)){Cr(d,Mt(d),n);return}for(var A in d)mt.call(d,A)&&vi(n,A,d[A])}),nc=zn(function(n,d){Cr(d,Vt(d),n)}),Io=zn(function(n,d,A,F){Cr(d,Vt(d),n,F)}),Yv=zn(function(n,d,A,F){Cr(d,Mt(d),n,F)}),Qv=kr(ja);function Zv(n,d){var A=Un(n);return d==null?A:Lu(A,d)}var ey=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(n,os(n),A),F&&(A=hr(A,i|o|l,fm));for(var U=d.length;U--;)Ya(A,d[U]);return A});function _y(n,d){return oc(n,No(Xe(d)))}var gy=kr(function(n,d){return n==null?{}:Hd(n,d)});function oc(n,d){if(n==null)return{};var A=xt(os(n),function(F){return[F]});return d=Xe(d),Vu(n,A,function(F,U){return d(F,U[0])})}function xy(n,d,A){d=Qr(d,n);var F=-1,U=d.length;for(U||(U=1,n=c);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Fu();return zt(n+U*(d-n+uh("1e-"+((U+"").length-1))),d)}return Ja(n,d)}var Fy=qn(function(n,d,A){return d=d.toLowerCase(),n+(A?uc(d):d)});function uc(n){return bs(dt(n).toLowerCase())}function lc(n){return n=dt(n),n&&n.replace(pa,bh).replace(Qp,"")}function Iy(n,d,A){n=dt(n),d=nr(d);var F=n.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function Py(n){return n=dt(n),n&&ii.test(n)?n.replace(ft,Eh):n}function ky(n){return n=dt(n),n&&oa.test(n)?n.replace(Gr,"\\$&"):n}var Ly=qn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),By=qn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),My=pl("toLowerCase");function Ry(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return xo(ao(U),A)+n+xo(oo(U),A)}function jy(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!_s(d))&&(d=nr(d),!d&&Ln(n))?Zr(_r(n),0,A):n.split(d,A)):[]}var Hy=qn(function(n,d,A){return n+(A?" ":"")+bs(d)});function $y(n,d,A){return n=dt(n),A=A==null?0:yn(nt(A),0,n.length),d=nr(d),n.slice(A,A+d.length)==d}function Jy(n,d,A){var F=J.templateSettings;A&&Wt(n,d,A)&&(d=c),n=dt(n),d=Io({},d,F,gl);var U=Io({},d.imports,F.imports,gl),V=Mt(U),te=Ia(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=ka((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?ua:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nh+"]")+` +`;n.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=n.slice(De,ar).replace(ha,wh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=lc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Is(et))throw et;return et}function Sv(r){return ct(r).toLowerCase()}function Av(r){return ct(r).toUpperCase()}function Dv(r,h,A){if(r=ct(r),r&&(A||h===E))return gu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=_u(O,U),te=xu(O,U)+1;return Wr(O,V,te).join("")}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Eu(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=xu(O,hr(h))+1;return Wr(O,0,U).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=_u(O,hr(h));return Wr(O,U).join("")}function Nv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),ks(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ka(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Fv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,oh):r}var Ov=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ls=cl("toUpperCase");function uc(r,h,A){return r=ct(r),h=A?E:h,h===E?eh(r)?uh(r):Xp(r):r.match(h)||[]}var lc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Is(A)?A:new Ke(A)}}),Iv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Fs(r[A],r))}),r});function kv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Ha(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Fh,it.prototype.reverse=Oh,it.prototype.value=Ih,$.prototype.at=s0,$.prototype.chain=u0,$.prototype.commit=l0,$.prototype.next=c0,$.prototype.plant=p0,$.prototype.reverse=h0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=d0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=f0),$},jr=lh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,Ma._=jr):Ft._=jr}).call(Wn)});var Lb={};Eg(Lb,{default:()=>Pb,options:()=>xp,setup:()=>kb,teardown:()=>Bb});module.exports=wg(Lb);var vb=Ut(require("k6/encoding")),gb=require("k6"),_b=Ut(require("k6/http"));var Sg=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Sg;var Ag=typeof self=="object"&&self&&self.Object===Object&&self,Dg=Eo||Ag||Function("return this")(),Dt=Dg;var Cg=Dt.Symbol,Fr=Cg;var hc=Object.prototype,Tg=hc.hasOwnProperty,Ng=hc.toString,pi=Fr?Fr.toStringTag:void 0;function Fg(E){var l=Tg.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Ng.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var dc=Fg;var Og=Object.prototype,Ig=Og.toString;function kg(E){return Ig.call(E)}var mc=kg;var Pg="[object Null]",Bg="[object Undefined]",yc=Fr?Fr.toStringTag:void 0;function Lg(E){return E==null?E===void 0?Bg:Pg:yc&&yc in Object(E)?dc(E):mc(E)}var tr=Lg;function Rg(E){return E!=null&&typeof E=="object"}var fr=Rg;var Mg="[object Symbol]";function jg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Mg}var kn=jg;function Ug(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=m_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Fc=g_;function __(E){return function(){return E}}var Oc=__;var x_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=x_;var b_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Oc(l),writable:!0})}:wo,Ic=b_;var E_=Fc(Ic),kc=E_;var w_=9007199254740991,S_=/^(?:0|[1-9]\d*)$/;function A_(E,l){var o=typeof E;return l=l??w_,!!l&&(o=="number"||o!="symbol"&&S_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=P_}var Co=B_;function L_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=L_;function R_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var jc=R_;function M_(E){return Mc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&jc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var pf=ax;function sx(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var hf=sx;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ip=E=>new Ys(new URL(E||"").search).object();var ap=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),op.default.request(v,np(E,w),y,Po(a,m))};var up=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),mb=Ut(Zs());var yb=Ut(Gn()),lp=(E=10,l)=>(0,up.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var cp=Ut(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${cp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=Ut(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:lp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(ip(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var pp=require("k6"),tu=require("k6"),ru=require("k6"),mn=require("k6"),hp=Ut(Gn()),dp=require("k6"),ya=require("k6"),xi=Ut(Gn()),va=require("k6"),yn=require("k6"),nu=Ut(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var xb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,pp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,tu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,tu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,ru.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,ru.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,hp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,dp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Db=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=ap(E,w,{jar:new fp.CookieJar}),m=new pa(y);this.application=new xb(l,m),this.drive=new bb(l,m),this.group=new Eb(l,m),this.resource=new wb(l,m),this.role=new Sb(l,m),this.search=new Ab(l,m),this.share=new Db(m),this.tag=new Cb(l,m),this.user=new Tb(l,m)}};var Nb=Ut(require("k6/http"));var Fb=require("https://jslib.k6.io/url/1.0.0/index.js"),Ob=require("k6/experimental/timers"),mp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yp=Ut(Zs());var Ib=Ut(Gn());var ga=(E=10,l)=>(0,mp.randomString)(E,l),vp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return yp.query(l,E).map(o=>Vs(o)?void 0:o)};var _p=Ut(require("k6/execution")),_a=Ut(gp()),Lt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},folder:{rootCount:parseInt(__ENV.FOLDER_ROOT_COUNT)||5,childCount:parseInt(__ENV.FOLDER_CHILD_COUNT)||5},k6:{vus:1,insecureSkipTLSVerify:!0}},xp=Lt.k6;function kb(){let E=Lt.adminUser,l=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,E),o=(0,_a.times)(xp.vus||1,()=>{let v={login:ga(),password:ga()};l.user.create(v),l.user.enable(v.login);let w=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v),y=w.user.drives(),[m=v.login]=vp("$.value[?(@.driveType === 'personal')].id",y?.body),a=(0,_a.times)(Lt.folder.rootCount,()=>(0,_a.times)(Lt.folder.childCount,()=>ga()).reduce((n,i)=>(n.push(i),w.resource.create(m,n.join("/")),n),[]));return{home:m,folders:a,credential:v}});return{adminCredential:E,userInfos:o}}function Pb({userInfos:E}){let{home:l,folders:o,credential:v}=E[_p.default.vu.idInTest-1],w=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v);o.forEach(y=>{for(let m=1;m<=y.length;m++)w.resource.propfind(l,y.slice(0,m).join("/"))})}function Bb({userInfos:E,adminCredential:l}){let o=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=fc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ys(it))throw it;return it}function Ky(n){return dt(n).toLowerCase()}function Vy(n){return dt(n).toUpperCase()}function Yy(n,d,A){if(n=dt(n),n&&(A||d===c))return xu(n);if(!n||!(d=nr(d)))return n;var F=_r(n),U=_r(d),V=bu(F,U),te=Eu(F,U)+1;return Zr(F,V,te).join("")}function Qy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.slice(0,Su(n)+1);if(!n||!(d=nr(d)))return n;var F=_r(n),U=Eu(F,_r(d))+1;return Zr(F,0,U).join("")}function Zy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.replace(ai,"");if(!n||!(d=nr(d)))return n;var F=_r(n),U=bu(F,_r(d));return Zr(F,U).join("")}function e_(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}n=dt(n);var V=n.length;if(Ln(n)){var te=_r(n);V=te.length}if(A>=V)return n;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):n.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),_s(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=ka(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(n.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function t_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Oh):n}var r_=qn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),bs=pl("toUpperCase");function cc(n,d,A){return n=dt(n),d=A?c:d,d===c?Ah(n)?Ph(n):vh(n):n.match(d)||[]}var fc=at(function(n,d){try{return tr(n,c,d)}catch(A){return ys(A)?A:new Ze(A)}}),n_=kr(function(n,d){return cr(d,function(A){A=Dr(A),Ir(n,A,ms(n[A],n))}),n});function i_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Fa(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Vi[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=td,ut.prototype.reverse=rd,ut.prototype.value=nd,J.prototype.at=I0,J.prototype.chain=P0,J.prototype.commit=k0,J.prototype.next=L0,J.prototype.plant=M0,J.prototype.reverse=R0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=j0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=B0),J},Jr=kh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,wa._=Jr):Bt._=Jr}).call(ni)});var yS={};jt(yS,{default:()=>Xp,options:()=>Wp,setup:()=>mS,teardown:()=>vS});module.exports=$_(yS);var sp=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var J_=typeof global=="object"&&global&&global.Object===Object&&global,ko=J_;var K_=typeof self=="object"&&self&&self.Object===Object&&self,V_=ko||K_||Function("return this")(),Ft=V_;var Y_=Ft.Symbol,jr=Y_;var mc=Object.prototype,Q_=mc.hasOwnProperty,Z_=mc.toString,Ai=jr?jr.toStringTag:void 0;function eg(c){var a=Q_.call(c,Ai),r=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=Z_.call(c);return v&&(a?c[Ai]=r:delete c[Ai]),S}var vc=eg;var tg=Object.prototype,rg=tg.toString;function ng(c){return rg.call(c)}var yc=ng;var ig="[object Null]",og="[object Undefined]",_c=jr?jr.toStringTag:void 0;function ag(c){return c==null?c===void 0?og:ig:_c&&_c in Object(c)?vc(c):yc(c)}var sr=ag;function sg(c){return c!=null&&typeof c=="object"}var yr=sg;var ug="[object Symbol]";function lg(c){return typeof c=="symbol"||yr(c)&&sr(c)==ug}var Hn=lg;function cg(c,a){for(var r=-1,v=c==null?0:c.length,S=Array(v);++r0){if(++a>=jg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Ic=qg;function Gg(c){return function(){return c}}var Pc=Gg;var Wg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=Wg;var Xg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Pc(a),writable:!0})}:Lo,kc=Xg;var Hg=Ic(kc),Lc=Hg;var $g=9007199254740991,Jg=/^(?:0|[1-9]\d*)$/;function Kg(c,a){var r=typeof c;return a=a??$g,!!a&&(r=="number"||r!="symbol"&&Jg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=i1}var jo=o1;function a1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=a1;function s1(c,a,r){if(!At(r))return!1;var v=typeof a;return(v=="number"?rn(r)&&Kn(a,r.length):v=="string"&&a in r)?tn(r[a],c):!1}var Uc=s1;function u1(c){return jc(function(a,r){var v=-1,S=r.length,_=S>1?r[S-1]:void 0,y=S>2?r[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&Uc(r[0],r[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++v-1}var hf=Ox;function Fx(c,a){var r=this.__data__,v=on(r,c);return v<0?(++this.size,r.push([c,a])):r[v][1]=a,this}var df=Fx;function ei(c){var a=-1,r=c==null?0:c.length;for(this.clear();++a(0,rp.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var np=require("k6/http");var Ls=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Ls.URLSearchParams(Object.keys(c).map(r=>[r,String(c[r])])).toString(),Ko=c=>{let a=new URL(c).search,r=new Ls.URLSearchParams(a);return Object.fromEntries(r)};var Vo=c=>(a,r,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,np.request)(a,Tr(c.baseUrl,r),v,Sn(_,S))};var Bs=require("k6");var ke=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,Bs.check)(c.val,r,c.tags)};var up=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var op=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${op.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),r=this.getCode(a),v=this.getToken(r);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),r=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!r)&&(0,Yo.fail)(this.logonURL),r}getCode(a){let r=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Qo.default.get(r,{redirects:0}),S=Ht(Ko(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let r=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(r.json(),"access_token",""),tokenType:Ht(r.json(),"token_type",""),idToken:Ht(r.json(),"id_token",""),expiresIn:Ht(r.json(),"expires_in",0)};return(r.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Yo.fail)(this.tokenURL),v}};var Us={};jt(Us,{POST__get_roles:()=>zb});var zb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var zs={};jt(zs,{SEARCH__search_for_resources:()=>qb});var qb=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var qs={};jt(qs,{DELETE__delete_resource:()=>Hb,GET__download_resource:()=>Wb,MKCOL__create_resource:()=>Xb,MOVE__move_resource:()=>$b,PROPFIND__get_properties_for_resource:()=>Jb,PUT__upload_resource:()=>Gb,REPORT__get_report_for_resources:()=>Kb});var Gb=(c,{resourceBytes:a,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,a),Wb=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),Xb=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),Hb=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),$b=(c,{toResourcePath:a,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),Jb=(c,{root:a,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,v),Kb=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a);var Gs={};jt(Gs,{DELETE__delete_resource:()=>Zb,GET__download_resource:()=>Yb,MKCOL__create_resource:()=>Qb,MOVE__move_resource:()=>eE,PROPFIND__get_properties_for_resource:()=>tE,PUT__upload_resource:()=>Vb});var Vb=(c,{resourcePath:a,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,v),Yb=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),Qb=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),Zb=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),eE=(c,{toResourcePath:a,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),tE=(c,{propfindXml:a,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,a);var Ws={};jt(Ws,{DELETE__delete_tag:()=>nE,POST__create_tag:()=>rE,PROPFIND__get_tags_with_properties:()=>iE});var rE=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),nE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),iE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Xs={};jt(Xs,{DELETE__remove_tag_from_resource:()=>aE,PROPFIND__get_tags_with_properties_for_resource:()=>sE,PUT__add_tag_to_resource:()=>oE});var oE=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),aE=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),sE=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a);var Hs={};jt(Hs,{GET__get_applications:()=>uE});var uE=c=>c("GET","/graph/v1.0/applications");var $s={};jt($s,{DELETE__delete_drive:()=>cE,POST__create_drive:()=>lE});var lE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),cE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Js={};jt(Js,{DELETE__remove_tags_from_resource:()=>pE,PUT__add_tags_to_resource:()=>fE});var fE=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),pE=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a}));var Ks={};jt(Ks,{DELETE__delete_group:()=>dE,POST__create_group:()=>hE});var hE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),dE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Vs={};jt(Vs,{GET__current_user:()=>vE,GET__get_current_user_drives:()=>mE});var mE=c=>c("GET","/graph/v1.0/me/drives"),vE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ys={};jt(Ys,{DELETE__delete_user:()=>_E,POST__add_app_role_to_user:()=>gE,POST__create_user:()=>yE});var yE=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),_E=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),gE=(c,{resourceId:a,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:a}));var Qs={};jt(Qs,{DELETE__delete_group:()=>bE,POST__create_group:()=>xE});var xE=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),bE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_user:()=>SE,POST__create_user:()=>EE,PUT__enable_user:()=>wE});var EE=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),wE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),SE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{GET__search_for_sharees:()=>AE});var AE=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{DELETE__delete_share:()=>TE,POST__accept_share:()=>DE,POST__create_share:()=>CE});var CE=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},DE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),TE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Us}},dav:{...zs,files:qs,spaces:Gs,systemtags:Ws,systemtags_relations:Xs},graph:{v1:{applications:Hs,drives:$s,extensions:{org_libre_graph:{tags:Js}},groups:Ks,me:Vs,users:Ys}},ocs:{v2:{apps:{cloud:{groups:Qs,users:Zs},file_sharing:{v1:{sharees:eu,shares:tu}}}}}};var lp=Qt(Ii());var Dp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Tp=require("k6/http");var nu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Op=Qt(Rs());var Fp=Qt(Ii()),NE=Object.defineProperty,It=(c,a)=>{for(var r in a)NE(c,r,{get:a[r],enumerable:!0})},OE={};It(OE,{Adapter:()=>FE,BasicAuth:()=>IE,Kopano:()=>PE});var FE={kopano:"kopano",basicAuth:"basicAuth"},IE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${sp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},PE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),r=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+r.expiresIn-5),v})(),token:r}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,r=ea.default.get(a,{redirects:0}),v=Ht(Ko(r.headers.Location),"code");return(r.status!==302||!v)&&(0,Zo.fail)(c),v}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),r={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!r.accessToken||!r.tokenType||!r.idToken||!r.expiresIn)&&(0,Zo.fail)(this.tokenURL),r}},kE={};It(kE,{Client:()=>JE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},LE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},BE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},ME=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===r}),a}},RE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,lp.create)({version:"1.0",encoding:"UTF-8"}),jE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},ap={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:r,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(r).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},UE={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},cp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},zE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return cp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},qE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=jE[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},GE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},WE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:ap[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ap[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:UE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},XE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},HE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:cp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),a}getTagsForResource(c){let a=zE[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},$E=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===a}),r}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},JE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new up.CookieJar}});this.application=new LE(c.platform,r),this.drive=new BE(c.platform,r),this.group=new ME(c.platform,r),this.me=new RE(c.platform,r),this.resource=new qE(c.platform,r),this.role=new GE(c.platform,r),this.search=new WE(c.platform,r),this.share=new XE(c.platform,r),this.tag=new HE(c.platform,r),this.user=new $E(c.platform,r)}},ru={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},KE={};It(KE,{ItemType:()=>jw,Permission:()=>Uw,ShareType:()=>Rw,endpoints:()=>zw});var fp={};It(fp,{POST__get_roles:()=>VE});var VE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),pp={};It(pp,{SEARCH__search_for_resources:()=>YE});var YE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),hp={};It(hp,{DELETE__delete_resource:()=>tw,GET__download_resource:()=>ZE,MKCOL__create_resource:()=>ew,MOVE__move_resource:()=>rw,PROPFIND__get_properties_for_resource:()=>nw,PUT__upload_resource:()=>QE,REPORT__get_report_for_resources:()=>iw});var QE=(c,{resourceBytes:a,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,a),ZE=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),ew=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),tw=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),rw=(c,{toResourcePath:a,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),nw=(c,{root:a,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,v),iw=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a),dp={};It(dp,{DELETE__delete_resource:()=>uw,GET__download_resource:()=>aw,MKCOL__create_resource:()=>sw,MOVE__move_resource:()=>lw,PROPFIND__get_properties_for_resource:()=>cw,PUT__upload_resource:()=>ow});var ow=(c,{resourcePath:a,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,v),aw=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),sw=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),uw=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),lw=(c,{toResourcePath:a,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),cw=(c,{propfindXml:a,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,a),mp={};It(mp,{DELETE__delete_tag:()=>pw,POST__create_tag:()=>fw,PROPFIND__get_tags_with_properties:()=>hw});var fw=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),pw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),hw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),vp={};It(vp,{DELETE__remove_tag_from_resource:()=>mw,PROPFIND__get_tags_with_properties_for_resource:()=>vw,PUT__add_tag_to_resource:()=>dw});var dw=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),mw=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),vw=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a),yp={};It(yp,{GET__get_applications:()=>yw});var yw=c=>c("GET","/graph/v1.0/applications"),_p={};It(_p,{DELETE__delete_drive:()=>gw,POST__create_drive:()=>_w});var _w=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),gw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),gp={};It(gp,{DELETE__remove_tags_from_resource:()=>bw,PUT__add_tags_to_resource:()=>xw});var xw=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),bw=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),xp={};It(xp,{DELETE__delete_group:()=>ww,POST__create_group:()=>Ew});var Ew=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),ww=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),bp={};It(bp,{GET__current_user:()=>Aw,GET__get_current_user_drives:()=>Sw});var Sw=c=>c("GET","/graph/v1.0/me/drives"),Aw=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),Ep={};It(Ep,{DELETE__delete_user:()=>Dw,POST__add_app_role_to_user:()=>Tw,POST__create_user:()=>Cw});var Cw=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),Dw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Tw=(c,{resourceId:a,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:a})),wp={};It(wp,{DELETE__delete_group:()=>Ow,POST__create_group:()=>Nw});var Nw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{DELETE__delete_user:()=>Pw,POST__create_user:()=>Fw,PUT__enable_user:()=>Iw});var Fw=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Iw=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Pw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{GET__search_for_sharees:()=>kw});var kw=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{DELETE__delete_share:()=>Mw,POST__accept_share:()=>Bw,POST__create_share:()=>Lw});var Lw=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},Bw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Mw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Rw={user:0,group:1,publicLink:3,federatedCloudShare:6},jw={file:"file",folder:"folder"},Uw={read:0,update:2,create:4,delete:8,share:16,all:31},zw={api:{v0:{settings:fp}},dav:{...pp,files:hp,spaces:dp,systemtags:mp,systemtags_relations:vp},graph:{v1:{applications:yp,drives:_p,extensions:{org_libre_graph:{tags:gp}},groups:xp,me:bp,users:Ep}},ocs:{v2:{apps:{cloud:{groups:wp,users:Sp},file_sharing:{v1:{sharees:Ap,shares:Cp}}}}}},qw={};It(qw,{check:()=>Kw,cleanURL:()=>Np,group:()=>Jw,objectToQueryString:()=>Xw,platformGuard:()=>Ww,queryJson:()=>Ip,queryStringToObject:()=>Hw,queryXml:()=>Vw,randomString:()=>Gw,requestFactory:()=>$w});var Gw=(c=10,a)=>(0,Dp.randomString)(c,a),Ww=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Np=(...c)=>c.join("/").replace(/(?new nu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Hw=c=>{let a=new URL(c).search,r=new nu.URLSearchParams(a);return Object.fromEntries(r)},$w=c=>(a,r,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Tp.request)(a,Np(c.baseUrl,r),v,Sn(_,S))},Jw=(c,a)=>(0,ta.group)(c,()=>a(c)),Kw=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,ta.check)(c.val,r,c.tags)},Ip=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Op.query(r,c).map(v=>At(v)&&Oi(v)?void 0:v)},Vw=(c,a)=>{let r=Fp.create(a).end({format:"object"});return Ip(c,r)};var Yw=Qt(require("k6/encoding")),Qw=require("k6"),Zw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var kp=require("k6/http");var Lp=Qt(Ii());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},eS=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},tS=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},rS=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===r}),a}},nS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Lp.create)({version:"1.0",encoding:"UTF-8"}),iS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Pp={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:r,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(r).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},oS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Bp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},aS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Bp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=iS[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},uS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},lS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Pp[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Pp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:oS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},cS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},fS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Bp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),a}getTagsForResource(c){let a=aS[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},pS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===a}),r}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},Pi=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new kp.CookieJar}});this.application=new eS(c.platform,r),this.drive=new tS(c.platform,r),this.group=new rS(c.platform,r),this.me=new nS(c.platform,r),this.resource=new sS(c.platform,r),this.role=new uS(c.platform,r),this.search=new lS(c.platform,r),this.share=new cS(c.platform,r),this.tag=new fS(c.platform,r),this.user=new pS(c.platform,r)}};var Mp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var hS=require("k6/http");var dS=require("https://jslib.k6.io/url/1.0.0/index.js"),iu=require("k6"),jp=Qt(Rs());var Up=Qt(Ii()),na=(c=10,a)=>(0,Mp.randomString)(c,a);var Rp=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,iu.check)(c.val,r,c.tags)},ou=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return jp.query(r,c).map(v=>At(v)&&Oi(v)?void 0:v)},zp=(c,a)=>{let r=Up.create(a).end({format:"object"});return ou(c,r)};var Gp=Qt(require("k6/execution")),ia=Qt(qp()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:ru[__ENV.PLATFORM]||ru.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},folder:{rootCount:parseInt(__ENV.FOLDER_ROOT_COUNT,10)||5,childCount:parseInt(__ENV.FOLDER_CHILD_COUNT,10)||5},k6:{vus:1,insecureSkipTLSVerify:!0}},Wp=wr.k6;function mS(){let c=new Pi({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,ia.times)(Wp.vus||1,()=>{let[r,v]=[na(),na()];c.user.createUser({userLogin:r,userPassword:v}),c.user.enableUser({userLogin:r});let S=new Pi({...wr,userLogin:r,userPassword:v}),_=S.me.getMyDrives(),[y=r]=ou("$.value[?(@.driveType === 'personal')].id",_?.body),s=(0,ia.times)(wr.folder.rootCount,()=>(0,ia.times)(wr.folder.childCount,()=>na()).reduce((i,o)=>(i.push(o),S.resource.createResource({root:y,resourcePath:i.join("/")}),i),[]));return{actorLogin:r,actorPassword:v,actorRoot:y,folders:s}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function Xp({actorData:c}){let{actorLogin:a,actorPassword:r,actorRoot:v,folders:S}=c[Gp.default.vu.idInTest-1],_=new Pi({...wr,userLogin:a,userPassword:r});S.forEach(y=>{for(let s=1;s<=y.length;s+=1){let h=y.slice(0,s).join("/"),i=_.resource.getResourceProperties({root:v,resourcePath:h});Rp({val:i},{"test -> resource.getResourceProperties - path - match":({body:o})=>{let[l=""]=zp("$..['d:href']",o);return l.endsWith(`${h}/`)}})}})}function vS({adminData:c,actorData:a}){let r=new Pi({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{r.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-030-search-for-filename.js b/packages/k6-tests/artifacts/koko-030-search-for-filename.js index 7a54c75..3f73e99 100644 --- a/packages/k6-tests/artifacts/koko-030-search-for-filename.js +++ b/packages/k6-tests/artifacts/koko-030-search-for-filename.js @@ -1,90 +1,90 @@ -"use strict";var wg=Object.create;var Eo=Object.defineProperty;var Sg=Object.getOwnPropertyDescriptor;var Ag=Object.getOwnPropertyNames;var Dg=Object.getPrototypeOf,Cg=Object.prototype.hasOwnProperty;var Ws=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Tg=(E,l)=>{for(var o in l)Eo(E,o,{get:l[o],enumerable:!0})},dc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Ag(l))!Cg.call(E,w)&&w!==o&&Eo(E,w,{get:()=>l[w],enumerable:!(v=Sg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?wg(Dg(E)):{},dc(l||!E||!E.__esModule?Eo(o,"default",{value:E,enumerable:!0}):o,E)),Ng=E=>dc(Eo({},"__esModule",{value:!0}),E);var eu=Ws((lp,Zs)=>{(function(E){if(typeof lp=="object"&&typeof Zs<"u")Zs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Vn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Hn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Jn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Jn();if(Ae("["))return gt();if(Ae("{"))return Hn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Ii();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=$n(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ba(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function $n(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Si(){var F,j,Z=S;return F=ba(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Si():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Si(),j}function Ai(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function Ea(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Ai(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Ai(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function wa(){var F,j,Z,le,be;return be=S,F=Ea(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=wa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function Sa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=Sa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Aa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Kn(F){var j=[];do{if(j.push(Aa(F)),!Ae(","))break;we()}while(e<_);return j}function Da(){var F;return Te("var"),F=Kn(),We(),b.createVariableDeclaration(F,"var")}function Ca(F){var j,Z;return Z=S,Te(F),j=Kn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ta(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Na(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Fa(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Oa(){var F,j,Z;return Z=S,F=we(),j=Kn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Ia(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Oa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Di(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Ci(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ti(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function ka(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function Pa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ba(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Pa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function La(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ni(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Fi(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ni()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Oi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ta(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Ci(),be);case"continue":return b.markEnd(Di(),be);case"debugger":return b.markEnd(Oi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Ia(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Na(),be);case"return":return b.markEnd(Ti(),be);case"switch":return b.markEnd(Ba(),be);case"throw":return b.markEnd(La(),be);case"try":return b.markEnd(Fi(),be);case"var":return b.markEnd(Da(),be);case"while":return b.markEnd(Fa(),be);case"with":return b.markEnd(ka(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Vn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Yn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Yn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Vn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Ii(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Yn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Vn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Ca(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function ki(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function Pi(){var F,j;return Q(),at(),j=S,t=!1,F=ki(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Bi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Pi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Ra,m.parse=Bi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var G_=Object.create;var ko=Object.defineProperty;var W_=Object.getOwnPropertyDescriptor;var X_=Object.getOwnPropertyNames;var H_=Object.getPrototypeOf,$_=Object.prototype.hasOwnProperty;var Ns=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var r in a)ko(c,r,{get:a[r],enumerable:!0})},mc=(c,a,r,m)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of X_(a))!$_.call(c,S)&&S!==r&&ko(c,S,{get:()=>a[S],enumerable:!(m=W_(a,S))||m.enumerable});return c};var Qt=(c,a,r)=>(r=c!=null?G_(H_(c)):{},mc(a||!c||!c.__esModule?ko(r,"default",{value:c,enumerable:!0}):r,c)),J_=c=>mc(ko({},"__esModule",{value:!0}),c);var js=Ns((op,Rs)=>{(function(c){if(typeof op=="object"&&typeof Rs<"u")Rs.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,r;return function m(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var v=_[o]={exports:{}};S[o][0].call(v.exports,function(f){var t=S[o][1][f];return s(t||f)},v,v.exports,m,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}v={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=li(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function oi(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function ai(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return ai();if(Ce("["))return Et();if(Ce("{"))return oi();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Wi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function sa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Mi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Mi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function ua(){var O,j,Z,ce,Ee;return Ee=w,O=sa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=ua(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=la(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function ca(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function ui(O){var j=[];do{if(j.push(ca(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Ri(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function ji(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function Ui(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function _a(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function ga(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function ci(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Hi(){var O,j;return Q(),ct(),j=w,t=!1,O=Xi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function $i(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=v,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Hi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=Ea,y.parse=$i,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(m,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,v,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,v){if(v.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var v=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=v.lexer.lex()||T,typeof le!="number"&&(le=v.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(v,f){if(this.yy.parser)this.yy.parser.parseError(v,f);else throw new Error(v)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var v=p.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var v=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),v=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+v+"^"},test_match:function(p,v){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,v,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gv[0].length)){if(v=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(p=this.test_match(v,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof m<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=m("fs").readFileSync(m("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&m.main===S&&_.main(y.argv.slice(1)))}).call(this,m("_process"))},{_process:14,fs:12,path:13}],2:[function(m,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(m,S,_){var y=m("./dict"),s=m("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(m.resolve("../include/module.js")),h.actionInclude=s.readFileSync(m.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(m,S,_){var y=m("./aesprim"),s=m("./slice"),h=m("static-eval"),i=m("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=m(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=m("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function v(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(m,S,_){var y=m("assert"),s=m("./dict"),h=m("./parser"),i=m("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,v){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var f=this.nodes(p,v)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,v).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),arguments.length>=3){var t=this.nodes(p,v).shift();if(!t)return this._vivify(p,v,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(v),1).shift()},o.prototype._vivify=function(p,v,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var e=this.parser.parse(v).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,v)[0]},o.prototype.query=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(v),"we need a path");var t=this.nodes(p,v,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var t=this.nodes(p,v,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),f===0)return[];var t=this.parser.parse(v),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var v="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);v+=g.replace(/{{value}}/,b)}}),v},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),v}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(m,S,_){var y=m("./grammar"),s=m("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(m,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(m,S,_){var y=m("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=v;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(m,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(m,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(m,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function v(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=v(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof gi=="object"&&typeof tu=="object"?tu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof gi=="object"?gi.xmlbuilder2=l():E.xmlbuilder2=l()})(gi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=m("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=m("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,m("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(m,S,_){},{}],13:[function(m,S,_){(function(y){function s(l,u){for(var p=0,v=l.length-1;v>=0;v--){var f=l[v];f==="."?l.splice(v,1):f===".."?(l.splice(v,1),p++):p&&(l.splice(v,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var v=p>=0?arguments[p]:y.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;l=v+"/"+l,u=v.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(v){return!!v}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var v=p(l.split("/")),f=p(u.split("/")),t=Math.min(v.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){v=t;break}}else f=!1;return v===-1?p?"/":".":p&&v===1?"/":l.slice(0,v)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,v=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!v){u=f+1;break}}else p===-1&&(v=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,v=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}v===-1&&(f=!1,v=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||v===-1||t===0||t===1&&u===v-1&&u===p+1?"":l.slice(u,v)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],v=0;v1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Ii=="object"&&typeof Us=="object"?Us.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Ii=="object"?Ii.xmlbuilder2=a():c.xmlbuilder2=a()})(Ii,function(){return function(c){var a={};function r(m){if(a[m])return a[m].exports;var S=a[m]={i:m,l:!1,exports:{}};return c[m].call(S.exports,S,S.exports,r),S.l=!0,S.exports}return r.m=c,r.c=a,r.d=function(m,S,_){r.o(m,S)||Object.defineProperty(m,S,{enumerable:!0,get:_})},r.r=function(m){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},r.t=function(m,S){if(1&S&&(m=r(m)),8&S||4&S&&typeof m=="object"&&m&&m.__esModule)return m;var _=Object.create(null);if(r.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:m}),2&S&&typeof m!="string")for(var y in m)r.d(_,y,function(s){return m[s]}.bind(null,y));return _},r.n=function(m){var S=m&&m.__esModule?function(){return m.default}:function(){return m};return r.d(S,"a",S),S},r.o=function(m,S){return Object.prototype.hasOwnProperty.call(m,S)},r.p="",r(r.s=184)}([function(c,a,r){"use strict";function m(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),m(r(240)),m(r(251)),m(r(175)),m(r(107)),m(r(29)),m(r(73)),m(r(106)),m(r(30)),m(r(252)),m(r(52)),m(r(97)),m(r(253)),m(r(37)),m(r(51)),m(r(173)),m(r(176)),m(r(172)),m(r(108)),m(r(254)),m(r(255)),m(r(256)),m(r(72)),m(r(177)),m(r(105)),m(r(17)),m(r(257)),m(r(12)),m(r(174))},function(c,a,r){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(212);a.FixedSizeSet=S.FixedSizeSet;var _=r(213);a.ObjectCache=_.ObjectCache;var y=r(214);a.CompareCache=y.CompareCache;var s=r(215);a.Lazy=s.Lazy;var h=r(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=m(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function v(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(m){m[m.Before=0]="Before",m[m.Equal=1]="Equal",m[m.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(m){m[m.None=0]="None",m[m.Capturing=1]="Capturing",m[m.AtTarget=2]="AtTarget",m[m.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(m){m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=3]="Text",m[m.CData=4]="CData",m[m.EntityReference=5]="EntityReference",m[m.Entity=6]="Entity",m[m.ProcessingInstruction=7]="ProcessingInstruction",m[m.Comment=8]="Comment",m[m.Document=9]="Document",m[m.DocumentType=10]="DocumentType",m[m.DocumentFragment=11]="DocumentFragment",m[m.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(m){m[m.Disconnected=1]="Disconnected",m[m.Preceding=2]="Preceding",m[m.Following=4]="Following",m[m.Contains=8]="Contains",m[m.ContainedBy=16]="ContainedBy",m[m.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(m){m[m.Accept=1]="Accept",m[m.Reject=2]="Reject",m[m.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(m){m[m.All=4294967295]="All",m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=4]="Text",m[m.CDataSection=8]="CDataSection",m[m.EntityReference=16]="EntityReference",m[m.Entity=32]="Entity",m[m.ProcessingInstruction=64]="ProcessingInstruction",m[m.Comment=128]="Comment",m[m.Document=256]="Document",m[m.DocumentType=512]="DocumentType",m[m.DocumentFragment=1024]="DocumentFragment",m[m.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(m){m[m.StartToStart=0]="StartToStart",m[m.StartToEnd=1]="StartToEnd",m[m.EndToEnd=2]="EndToEnd",m[m.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(241);a.Cast=m.Cast;var S=r(150);a.Guard=S.Guard;var _=r(242);a.EmptySet=_.EmptySet},function(c,a,r){var m=r(11),S=r(55).f,_=r(21),y=r(25),s=r(80),h=r(119),i=r(123);c.exports=function(o,l){var u,p,v,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?m:b?m[e]||s(e,{}):(m[e]||{}).prototype)for(p in l){if(f=l[p],v=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&v!==void 0){if(typeof f==typeof v)continue;h(f,v)}(o.sham||v&&v.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,r){var m=r(11),S=r(81),_=r(14),y=r(58),s=r(86),h=r(124),i=S("wks"),o=m.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(1),S=r(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new m.CompareCache,this._rangeList=new m.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),m.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,r){"use strict";var m=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=m(r(228));a.base64=S;var _=m(r(146));a.byte=_;var y=m(r(147));a.byteSequence=y;var s=m(r(96));a.codePoint=s;var h=m(r(232));a.json=h;var i=m(r(233));a.list=i;var o=m(r(234));a.map=o;var l=m(r(235));a.namespace=l;var u=m(r(236));a.queue=u;var p=m(r(237));a.set=p;var v=m(r(238));a.stack=v;var f=m(r(239));a.string=f},function(c,a){c.exports=function(r){try{return!!r()}catch{return!0}}},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(z,X){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}m(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var v=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=v;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,r){"use strict";var m=r(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new m('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new m('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,r){(function(m){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof m=="object"&&m)||Function("return this")()}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(m,S,_){Object.defineProperty(m,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(c,a){var r={}.hasOwnProperty;c.exports=function(m,S){return r.call(m,S)}},function(c,a,r){var m=r(16),S=r(115),_=r(18),y=r(56),s=Object.defineProperty;a.f=m?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,r){var m=r(8);c.exports=!m(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,r){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),_=r(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e,g){if(g===void 0&&(g=!1),g){var b=v(e,!1);return S.Guard.isShadowRoot(b)?v(b._host,!0):b}return e._parent?v(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=v(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=m(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=m(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=m(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=v,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=v(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&v(e)===v(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=v(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,r){var m=r(13);c.exports=function(S){if(!m(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,r){"use strict";var m=r(24),S=r(130),_=r(49),y=r(43),s=r(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:m(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,r){var m=r(90),S=r(25),_=r(202);m||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,r){var m=r(16),S=r(15),_=r(40);c.exports=m?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,r){"use strict";var m=r(137).charAt,S=r(43),_=r(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=m(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,r){var m=r(11),S=r(203),_=r(19),y=r(21),s=r(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=m[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var v in _)if(p[v]!==_[v])try{y(p,v,_[v])}catch{p[v]=_[v]}}}}},function(c,a,r){var m=r(41),S=r(35);c.exports=function(_){return m(S(_))}},function(c,a,r){var m=r(11),S=r(21),_=r(14),y=r(80),s=r(117),h=r(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,v,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof v=="function"&&(typeof p!="string"||_(v,"name")||S(v,"name",p),o(v).source=l.join(typeof p=="string"?p:"")),u!==m?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=v:S(u,p,v)):e?u[p]=v:y(p,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,r){var m=r(47),S=Math.min;c.exports=function(_){return _>0?S(m(_),9007199254740991):0}},function(c,a,r){var m=r(35);c.exports=function(S){return Object(m(S))}},function(c,a,r){var m=r(16),S=r(8),_=r(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,v=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!m)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,v)})}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(148),S=r(149),_=r(151),y=r(98),s=r(153),h=r(154),i=r(155),o=r(99),l=r(100),u=r(156),p=r(157),v=r(101),f=r(158),t=r(159),e=r(160),g=r(161),b=r(162),x=r(163),E=r(164),w=r(165),D=r(166),T=r(167),N=r(168),I=r(169),M=r(170);a.create_domImplementation=function(k){return m.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return v.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,r){"use strict";var m=this&&this.__values||function(p){var v=typeof Symbol=="function"&&Symbol.iterator,f=v&&p[v],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(17),y=r(3),s=r(72),h=new Map;function i(p,v){if(v!==p._root&&_.tree_isAncestorOf(p._reference,v,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,v);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(v,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(v._previousSibling===null)v._parent!==null&&(p._reference=v._parent);else{for(var t=v._previousSibling,e=_.tree_getFirstDescendantNode(v._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(v._previousSibling,e,!0,!1);p._reference=t}}}function o(p,v,f,t,e){if(y.Guard.isSlot(p)&&v==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,v,f,t,e){if(y.Guard.isSlotable(p)&&v==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,v,f,t){v==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,v){},a.dom_runCloningSteps=function(p,v,f,t){},a.dom_runAdoptingSteps=function(p,v){},a.dom_runAttributeChangeSteps=function(p,v,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,v,f,t,e),o.call(p,p,v,f,t,e)),u.call(p,p,v,t,e);try{for(var x=m(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,v,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,v){i.call(p,p,v)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,r){"use strict";var m=r(4),S=r(11),_=r(46),y=r(44),s=r(16),h=r(86),i=r(124),o=r(8),l=r(14),u=r(59),p=r(13),v=r(18),f=r(27),t=r(24),e=r(56),g=r(40),b=r(60),x=r(61),E=r(82),w=r(190),D=r(85),T=r(55),N=r(15),I=r(79),M=r(21),k=r(25),G=r(81),$=r(57),Y=r(45),z=r(58),X=r(5),H=r(125),ee=r(126),re=r(62),de=r(43),ve=r(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),v(xe);var Ce=e(be,!0);return v(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){v(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),m({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),m({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),m({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),m({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),m({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&m({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,r){"use strict";var m=r(4),S=r(16),_=r(11),y=r(14),s=r(13),h=r(15).f,i=r(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var v=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=v.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),m({global:!0,forced:!0},{Symbol:u})}},function(c,a,r){r(126)("iterator")},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(f,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}m(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(70),i=r(3),o=r(9),l=r(0),u=r(152),p=r(12),v=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(v)return!1}return f?-1:p||v?v:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,r){"use strict";var m=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=m(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=m(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=m(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=m(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=m(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=m(v.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,m(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=m(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=m(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=m(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=m(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=m(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,r){"use strict";function m(S){return S==null}c.exports.isNothing=m,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:m(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?m:r)(S)}},function(c,a,r){"use strict";var m=r(8);c.exports=function(S,_){var y=[][S];return!!y&&m(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,r){"use strict";r(31),r(32),r(33),r(220),r(64),r(19),r(65),r(20),r(68),r(66),r(92),r(144),r(22),r(94),r(23);var m=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,t,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,v,f,t,e){var g,b;try{for(var x=m(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,v,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,v){var f,t;try{for(var e=m(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,v)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,v){if(v&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(v&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,v){if(v&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(v&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,v){if(v&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,v,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=m(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=v.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&v.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||v.hasPrefix(N.prefix)&&!v.has(N.prefix,I)?this._generatePrefix(I,v,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,v){var f,t,e=[],g=v?{}:void 0;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(v){if(v&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(v&&g&&(g[E.localName]=!0),v&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,v,f){var t,e,g=null;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),v.has(T,N)))continue;v.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,v,f){var t="ns"+f.value.toString();return f.value++,v.set(t,p),t},u.prototype._serializeAttributeValue=function(p,v){if(v&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,r){"use strict";var m=this&&this.__values||function(v){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&v[f],e=0;if(t)return t.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&e>=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(v,f){var t=typeof Symbol=="function"&&v[Symbol.iterator];if(!t)return v;var e,g,b=t.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(7),h=r(29),i=r(17),o=r(97);function l(){var v=_.dom.window;v._mutationObserverMicrotaskQueued||(v._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var v,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},v=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;v=m?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(m):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete v.prototype[y[e]];return v()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=v(),t===void 0?e:_(e,t)}},function(c,a,r){var m=r(121),S=r(84);c.exports=Object.keys||function(_){return m(_,S)}},function(c,a,r){var m=r(15).f,S=r(14),_=r(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&m(y,_,{configurable:!0,value:s})}},function(c,a,r){var m=r(8),S=r(5),_=r(129),y=S("species");c.exports=function(s){return _>=51||!m(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,r){"use strict";var m=r(4),S=r(122).indexOf,_=r(48),y=r(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});m({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var m=r(16),S=r(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;m&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,r){"use strict";var m=r(25),S=r(18),_=r(8),y=r(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&m(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(138),r(20),r(66),r(22),r(23);var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(1),s=r(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,v,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[v+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?v+(t++).toString():v]=l;return t},o.prototype.beginElement=function(l){var u,p,v=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=v,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(v):f[l]=[f[l],v]:this._currentList.push(((p={})[l]=v,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=v:this._listRegister.push(v),this._currentList=v},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,v;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(v={},v[l]=u,v)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var v=this._currentList[this._currentList.length-1];this._isInstructionNode(v)?y.isArray(v["?"])?v["?"].push(p):v["?"]=[v["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(r(50).BaseWriter);a.ObjectWriter=h},function(c,a,r){"use strict";var m=r(4),S=r(93);m({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=m},function(c,a,r){"use strict";var m=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),v=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)v.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return v};Object.defineProperty(a,"__esModule",{value:!0});var S=r(9),_=r(3),y=r(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=m(y.eventTarget_flattenMore(l),3),v=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:v,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,r){"use strict";var m=r(39);c.exports=m.DEFAULT=new m({include:[r(54)],explicit:[r(299),r(300),r(301)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(185);a.XMLBuilderImpl=m.XMLBuilderImpl;var S=r(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=r(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=r(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}c.exports=r},function(c,a,r){"use strict";var m={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!m.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:m},function(c,a,r){var m=r(11),S=r(21);c.exports=function(_,y){try{S(m,_,y)}catch{m[_]=y}return y}},function(c,a,r){var m=r(44),S=r(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:m?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,r){var m=r(121),S=r(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return m(_,S)}},function(c,a,r){var m=r(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=m(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,r){var m=r(8);c.exports=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())})},function(c,a,r){var m=r(127);c.exports=function(S,_,y){if(m(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,r){"use strict";var m=r(4),S=r(195),_=r(132),y=r(133),s=r(62),h=r(21),i=r(25),o=r(5),l=r(44),u=r(49),p=r(131),v=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),v!==Object.prototype&&N.next&&(l||_(N)===v||(y?y(N,v):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else m({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,r){"use strict";var m=r(4),S=r(13),_=r(59),y=r(83),s=r(26),h=r(24),i=r(134),o=r(5),l=r(63),u=r(28),p=l("slice"),v=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;m({target:"Array",proto:!0,forced:!p||!v},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(v=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:v),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;m("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=v),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=r(6),h=r(2),i=r(9),o=r(34),l=r(3),u=r(1),p=r(7),v=r(152),f=r(0),t=r(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return v.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(v,f){var t=typeof Symbol=="function"&&v[Symbol.iterator];if(!t)return v;var e,g,b=t.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=r(2),h=r(34),i=r(9),o=r(7),l=r(0),u=r(12),p=function(v){function f(){var t=v.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,v),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[v++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(2),s=r(71),h=r(0),i=r(12),o=function(l){function u(p){p===void 0&&(p="");var v=l.call(this,p)||this;return v._name="",v._assignedSlot=null,v}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,v,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(v=t.return)&&v.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,v){v===void 0&&(v="");var f=new u(v);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=m},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=m.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=r(0),_=r(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=m.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var v=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&v++,v<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--v0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(6),y=r(3),s=r(1),h=r(99),i=r(73),o=r(17),l=r(173),u=r(30),p=r(52),v=r(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=m(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&v.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,r){"use strict";var m=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(17),h=r(51),i=r(30);a.characterData_replaceData=function(o,l,u,p){var v,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=m(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,r){"use strict";var m=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,v=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=v.return)&&l.call(v)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,v,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(v=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){v={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(v)throw v.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,r){"use strict";r(179),Object.defineProperty(a,"__esModule",{value:!0});var m=r(262),S=r(110),_=r(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new m.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(1),S=r(153);a.AbortController=S.AbortControllerImpl;var _=r(154);a.AbortSignal=_.AbortSignalImpl;var y=r(102);a.AbstractRange=y.AbstractRangeImpl;var s=r(157);a.Attr=s.AttrImpl;var h=r(158);a.CDATASection=h.CDATASectionImpl;var i=r(71);a.CharacterData=i.CharacterDataImpl;var o=r(263),l=r(159);a.Comment=l.CommentImpl;var u=r(171);a.CustomEvent=u.CustomEventImpl;var p=r(100);a.DocumentFragment=p.DocumentFragmentImpl;var v=r(98);a.Document=v.DocumentImpl;var f=r(264),t=r(155);a.DocumentType=t.DocumentTypeImpl;var e=r(6);a.dom=e.dom;var g=r(148);a.DOMImplementation=g.DOMImplementationImpl;var b=r(170);a.DOMTokenList=b.DOMTokenListImpl;var x=r(99);a.Element=x.ElementImpl;var E=r(104);a.Event=E.EventImpl;var w=r(70);a.EventTarget=w.EventTargetImpl;var D=r(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=r(265);a.MutationObserver=T.MutationObserverImpl;var N=r(169);a.MutationRecord=N.MutationRecordImpl;var I=r(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=r(168);a.NodeFilter=M.NodeFilterImpl;var k=r(34);a.Node=k.NodeImpl;var G=r(166);a.NodeIterator=G.NodeIteratorImpl;var $=r(162);a.NodeList=$.NodeListImpl;var Y=r(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=r(266),X=r(267),H=r(268),ee=r(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=r(165);a.Range=re.RangeImpl;var de=r(156);a.ShadowRoot=de.ShadowRootImpl;var ve=r(269),ne=r(270);a.StaticRange=ne.StaticRangeImpl;var Q=r(101);a.Text=Q.TextImpl;var ie=r(103);a.Traverser=ie.TraverserImpl;var le=r(167);a.TreeWalker=le.TreeWalkerImpl;var fe=r(149);a.Window=fe.WindowImpl;var P=r(151);a.XMLDocument=P.XMLDocumentImpl,m.applyMixin(x.ElementImpl,o.ChildNodeImpl),m.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),m.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),m.applyMixin(v.DocumentImpl,f.DocumentOrShadowRootImpl),m.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),m.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(v.DocumentImpl,X.NonElementParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),m.applyMixin(v.DocumentImpl,H.ParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),m.applyMixin(x.ElementImpl,H.ParentNodeImpl),m.applyMixin(Q.TextImpl,ve.SlotableImpl),m.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(m){m[m.EOF=0]="EOF",m[m.Declaration=1]="Declaration",m[m.DocType=2]="DocType",m[m.Element=3]="Element",m[m.Text=4]="Text",m[m.CDATA=5]="CDATA",m[m.PI=6]="PI",m[m.Comment=7]="Comment",m[m.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,r){"use strict";r(64),r(20),r(66);var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(v){return p=l.parse(i,v)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(v,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||v.indexOf(u.convert.att)!==0)if(u.ignoreConverters||v.indexOf(u.convert.text)!==0)if(u.ignoreConverters||v.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||v.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||v.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(v))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[v]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(v)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(v)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(v))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(v===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(v.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(r(75).BaseReader);a.ObjectReader=y},function(c,a,r){"use strict";var m=r(39);c.exports=new m({explicit:[r(286),r(287),r(288)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=m},function(c,a,r){var m=r(16),S=r(8),_=r(116);c.exports=!m&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,r){var m=r(11),S=r(13),_=m.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,r){var m=r(118),S=Function.toString;typeof m.inspectSource!="function"&&(m.inspectSource=function(_){return S.call(_)}),c.exports=m.inspectSource},function(c,a,r){var m=r(11),S=r(80),_=m["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,r){var m=r(14),S=r(187),_=r(55),y=r(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)m(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,r){var m=r(24),S=r(26),_=r(83),y=function(s){return function(h,i,o){var l,u=m(h),p=S(u.length),v=_(o,p);if(s&&i!=i){for(;p>v;)if((l=u[v++])!=l)return!0}else for(;p>v;v++)if((s||v in u)&&u[v]===i)return s||v||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,r){var m=r(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?m(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,r){var m=r(86);c.exports=m&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,r){var m=r(5);a.f=m},function(c,a,r){var m=r(120),S=r(14),_=r(125),y=r(15).f;c.exports=function(s){var h=m.Symbol||(m.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},function(c,a,r){var m=r(13),S=r(59),_=r(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?m(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,r){var m,S,_=r(11),y=r(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(m=i.split("."))[0]+m[1]:y&&(!(m=y.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=y.match(/Chrome\/(\d+)/))&&(S=m[1]),c.exports=S&&+S},function(c,a,r){var m=r(5),S=r(60),_=r(15),y=m("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,r){"use strict";var m,S,_,y=r(132),s=r(21),h=r(14),i=r(5),o=r(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(m=S):u=!0),m==null&&(m={}),o||h(m,l)||s(m,l,function(){return this}),c.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:u}},function(c,a,r){var m=r(14),S=r(27),_=r(57),y=r(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),m(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,r){var m=r(18),S=r(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return m(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,r){"use strict";var m=r(56),S=r(15),_=r(40);c.exports=function(y,s,h){var i=m(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,r){var m=r(90),S=r(42),_=r(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=m?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,r){"use strict";var m=r(18);c.exports=function(){var S=m(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,r){var m=r(47),S=r(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=m(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,r){var m=r(4),S=r(27),_=r(61);m({target:"Object",stat:!0,forced:r(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,r){"use strict";var m=r(4),S=r(11),_=r(123),y=r(25),s=r(140),h=r(141),i=r(142),o=r(13),l=r(8),u=r(208),p=r(62),v=r(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=v(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,m({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,r){var m=r(45),S=r(13),_=r(14),y=r(15).f,s=r(58),h=r(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(v){y(v,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(v,f){if(!S(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!_(v,i)){if(!l(v))return"F";if(!f)return"E";u(v)}return v[i].objectID},getWeakData:function(v,f){if(!_(v,i)){if(!l(v))return!0;if(!f)return!1;u(v)}return v[i].weakData},onFreeze:function(v){return h&&p.REQUIRED&&l(v)&&!_(v,i)&&u(v),v}};m[i]=!0},function(c,a,r){var m=r(18),S=r(205),_=r(26),y=r(87),s=r(206),h=r(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,v){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(v)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(m(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(r,m,S){if(!(r instanceof m))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return r}},function(c,a,r){"use strict";var m=r(15).f,S=r(60),_=r(210),y=r(87),s=r(142),h=r(141),i=r(88),o=r(211),l=r(16),u=r(140).fastKey,p=r(43),v=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),v(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&m(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){v(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,r){"use strict";var m,S=r(4),_=r(55).f,y=r(26),s=r(222),h=r(35),i=r(224),o=r(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(m=_(String.prototype,"endsWith"),!m||m.writable))&&!p},{endsWith:function(v){var f=String(h(this));s(v);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(v);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,r){"use strict";(function(m){var S=r(229),_=r(230),y=r(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(m){return m>=0&&m<=127}},function(c,a,r){"use strict";var m=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(6),S=r(7),_=r(0),y=r(12),s=function(){function h(i){this._associatedDocument=i||m.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var v=_.create_text(o,i);p.appendChild(v)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(70),y=r(1),s=r(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===m.NodeType.Text||s===m.NodeType.ProcessingInstruction||s===m.NodeType.Comment||s===m.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===m.NodeType.Text||y._nodeType===m.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(r(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,r){"use strict";var m=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=r(1),s=r(243),h=r(7),i=r(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=m(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,m(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,v);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,m(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=m(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=m(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=m(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=m(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=m(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=m(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=m(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=m(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=m(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(0),S=function(){function _(){this._signal=m.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){m.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(h,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}m(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(70),y=r(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(2),y=r(34),s=r(12),h=function(i){function o(l,u,p){var v=i.call(this)||this;return v._name="",v._publicId="",v._systemId="",v._name=l,v._publicId=u,v._systemId=p,v}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(1),y=r(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=m(this._items),v=p.next();!v.done;v=p.next()){var f=v.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),s=r(2),h=r(102),i=r(9),o=r(0),l=r(12),u=r(3),p=function(v){function f(){var t=v.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,v),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(h,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}m(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(103),y=r(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(2),y=r(103),s=r(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,v=l;v!==null;){if(v===this._root)return null;if((p=v._nextSibling)!==null){l=p;break}v=v._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=r(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return m.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=m},function(c,a,r){"use strict";var m=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(9),y=r(7),s=r(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),v=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===v._attribute._localName&&b===null&&(g?v._tokenSet=s.orderedSet_parse(g):v._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var v=m(this._tokenSet),f=v.next();!f.done;f=v.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(m){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===m.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(m){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(m){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=r(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?m.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=r(29),h=r(108),i=r(30),o=r(37),l=r(52);a.node_stringReplaceAll=function(u,p){var v=null;u!==""&&(v=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(v,p)},a.node_clone=function u(p,v,f){var t,e,g,b,x;if(v===void 0&&(v=null),f===void 0&&(f=!1),v===null&&(v=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(v,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=m(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,v);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(v,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(v,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(v,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(v,p._data):_.Guard.isCommentNode(p)?s.create_comment(v,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(v,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(v):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,v=x):x._nodeDocument=v,S.dom.features.steps&&i.dom_runCloningSteps(x,p,v,f),f)try{for(var I=m(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,v,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,v){var f,t,e,g;if(p._nodeType!==v._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(v)){if(p._name!==v._name||p._publicId!==v._publicId||p._systemId!==v._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){if(p._namespace!==v._namespace||p._namespacePrefix!==v._namespacePrefix||p._localName!==v._localName||p._attributeList.length!==v._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(v)){if(p._namespace!==v._namespace||p._localName!==v._localName||p._value!==v._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(v)){if(p._target!==v._target||p._data!==v._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(v)&&p._data!==v._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){var b={};try{for(var x=m(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=m(v._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==v._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=v._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(v){return v._namespace===y.namespace.HTML&&v._qualifiedName===u.toLowerCase()||v._namespace!==y.namespace.HTML&&v._qualifiedName===u}):s.create_htmlCollection(p,function(v){return v._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,v){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(v):u==="*"?s.create_htmlCollection(v,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(v,function(f){return f._namespace===u}):s.create_htmlCollection(v,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var v=h.orderedSet_parse(u);if(v.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,v,f)})},a.node_locateANamespacePrefix=function u(p,v){if(p._namespace===v&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[v++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(9),s=r(29),h=r(17),i=r(107),o=r(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=l;v&&_.Guard.isTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===l&&(v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=l;v&&_.Guard.isExclusiveTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===l&&(v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(v){return _.Guard.isTextNode(v)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(v){return _.Guard.isTextNode(v)});return u},a.text_split=function(l,u){var p,v,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=m(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(v=x.return)&&v.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,r){"use strict";var m=r(4),S=r(41),_=r(24),y=r(48),s=[].join,h=S!=Object,i=y("join",",");m({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,r){var m=r(4),S=r(83),_=String.fromCharCode,y=String.fromCodePoint;m({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,r){"use strict";var m=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=r(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=m(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,r){"use strict";var m=r(39);c.exports=new m({include:[r(182)]})},function(c,a,r){"use strict";var m=r(39);c.exports=new m({include:[r(113)],implicit:[r(289),r(290),r(291),r(292)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(91),S=r(1),_=r(3),y=r(77),s=r(109);function h(u,p){var v=o(u===void 0||i(u)?u:m.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,v);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!m.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,m.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,v){var f=u;f._xmlBuilderOptions=p,f._isFragment=v}a.builder=function(u,p){var v=o(i(u)?u:m.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(91),y=r(1),s=r(217),h=r(2),i=r(3),o=r(0),l=r(109),u=r(7),p=r(276),v=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=m(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=m(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=m(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=v},function(c,a,r){var m=r(11),S=r(117),_=m.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,r){var m=r(46),S=r(82),_=r(85),y=r(18);c.exports=m("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,r){var m=r(16),S=r(15),_=r(18),y=r(61);c.exports=m?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,r){var m=r(46);c.exports=m("document","documentElement")},function(c,a,r){var m=r(24),S=r(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(m(s))}},function(c,a,r){"use strict";var m=r(4),S=r(36).every,_=r(48),y=r(28),s=_("every"),h=y("every");m({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var m=r(4),S=r(36).filter,_=r(63),y=r(28),s=_("filter"),h=y("filter");m({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var m=r(46);c.exports=m("navigator","userAgent")||""},function(c,a,r){"use strict";var m=r(4),S=r(36).find,_=r(130),y=r(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),m({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,r){"use strict";var m=r(131).IteratorPrototype,S=r(60),_=r(40),y=r(62),s=r(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(m,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,r){var m=r(8);c.exports=!m(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,r){var m=r(13);c.exports=function(S){if(!m(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,r){"use strict";var m=r(4),S=r(36).map,_=r(63),y=r(28),s=_("map"),h=y("map");m({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var m=r(4),S=r(200).left,_=r(48),y=r(28),s=_("reduce"),h=y("reduce",{1:0});m({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var m=r(127),S=r(27),_=r(41),y=r(26),s=function(h){return function(i,o,l,u){m(o);var p=S(i),v=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in v){u=v[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in v&&(u=o(u,v[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,r){"use strict";var m=r(4),S=r(36).some,_=r(48),y=r(28),s=_("some"),h=y("some");m({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var m=r(90),S=r(135);c.exports=m?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,r){var m=r(8);c.exports=!m(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,r){var m=r(5),S=r(49),_=m("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,r){var m=r(135),S=r(49),_=r(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[m(y)]}},function(c,a,r){var m=r(18);c.exports=function(S,_,y,s){try{return s?_(m(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&m(h.call(S)),i}}},function(c,a,r){var m=r(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[m]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[m]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,r){var m=r(13),S=r(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&m(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,r){var m=r(25);c.exports=function(S,_,y){for(var s in _)m(S,s,_[s],y);return S}},function(c,a,r){"use strict";var m=r(46),S=r(15),_=r(5),y=r(16),s=_("species");c.exports=function(h){var i=m(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,r){"use strict";var m=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(v){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,r){"use strict";var m=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(v){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=m},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=m},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=m},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(218);a.MapWriter=m.MapWriter;var S=r(258);a.XMLWriter=S.XMLWriter;var _=r(67);a.ObjectWriter=_.ObjectWriter;var y=r(260);a.JSONWriter=y.JSONWriter;var s=r(261);a.YAMLWriter=s.YAMLWriter},function(c,a,r){"use strict";r(19),r(219),r(20),r(22),r(23);var m,S=this&&this.__extends||(m=function(h,i){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}m(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=r(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[v]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[v];return b!==void 0?!!b:_(g)};m({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,r){"use strict";var m=r(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=m(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=m(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,r){var m=r(223);c.exports=function(S){if(m(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,r){var m=r(13),S=r(42),_=r(5)("match");c.exports=function(y){var s;return m(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,r){var m=r(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[m]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,r){"use strict";r(68);var m=r(25),S=r(8),_=r(5),y=r(93),s=r(21),h=_("species"),i=!S(function(){var v=/./;return v.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(v,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var v=/(?:)/,f=v.exec;v.exec=function(){return f.apply(this,arguments)};var t="ab".split(v);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(v,f,t,e){var g=_(v),b=!S(function(){var N={};return N[g]=function(){return 7},""[v](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return v==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||v==="replace"&&(!i||!o||u)||v==="split"&&!p){var E=/./[g],w=t(g,""[v],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];m(String.prototype,v,D),m(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,r){"use strict";var m=r(137).charAt;c.exports=function(S,_,y){return _+(y?m(S,_).length:1)}},function(c,a,r){var m=r(42),S=r(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(m(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,r){"use strict";(function(m){Object.defineProperty(a,"__esModule",{value:!0});var S=r(96);a.forgivingBase64Encode=function(_){return m.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?m.from(_,"base64").toString("utf8"):null)}}).call(this,r(145).Buffer)},function(c,a,r){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],v=u[1];return 3*(p+v)/4-v},a.toByteArray=function(l){var u,p,v=i(l),f=v[0],t=v[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,v=p%3,f=[],t=0,e=p-v;te?e:t+16383));return v===1?(u=l[p-1],f.push(m[u>>2]+m[u<<4&63]+"==")):v===2&&(u=(l[p-2]<<8)+l[p-1],f.push(m[u>>10]+m[u>>4&63]+m[u<<2&63]+"=")),f.join("")};for(var m=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var v,f,t=[],e=u;e>18&63]+m[f>>12&63]+m[f>>6&63]+m[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(r,m,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,v=S?-1:1,f=r[m+p];for(p+=v,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+r[m+p],p+=v,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+r[m+p],p+=v,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(r,m,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,v=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(i=isNaN(m)?1:0,h=u):(h=Math.floor(Math.log(m)/Math.LN2),m*(o=Math.pow(2,-h))<1&&(h--,o*=2),(m+=h+p>=1?v/o:v*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(m*o-1)*Math.pow(2,y),h+=p):(i=m*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;r[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;r[S+f]=255&h,f+=t,h/=256,l-=8);r[S+f-t]|=128*e}},function(c,a){var r={}.toString;c.exports=Array.isArray||function(m){return r.call(m)=="[object Array]"}},function(c,a,r){"use strict";var m=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=m(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var v=y[p];i.set(p,_(v))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,r){"use strict";var m=this&&this.__generator||function(h,i){var o,l,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;v;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,l=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)v.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return v},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var v=y(h),f=v.next();!f.done;f=v.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var v=p.value;if(s.isFunction(i)){if(i.call(null,v))return!0}else if(v===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),v=p.next();!v.done;v=p.next()){var f=v.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{v&&!v.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,v,f;return m(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),v={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(v)throw v.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,r){"use strict";var m=this&&this.__generator||function(h,i){var o,l,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;v;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,l=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),v=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)v.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return v},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,v=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=v.return)&&l.call(v)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(96),_=r(147),y=r(146),s=r(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=m(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Hn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Hn;var Jn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Jn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=v,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=m(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(150),S=function(){function _(){}return _.asNode=function(y){if(m.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=m;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(m){m[m.SchemeStart=0]="SchemeStart",m[m.Scheme=1]="Scheme",m[m.NoScheme=2]="NoScheme",m[m.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",m[m.PathOrAuthority=4]="PathOrAuthority",m[m.Relative=5]="Relative",m[m.RelativeSlash=6]="RelativeSlash",m[m.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",m[m.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",m[m.Authority=9]="Authority",m[m.Host=10]="Host",m[m.Hostname=11]="Hostname",m[m.Port=12]="Port",m[m.File=13]="File",m[m.FileSlash=14]="FileSlash",m[m.FileHost=15]="FileHost",m[m.PathStart=16]="PathStart",m[m.Path=17]="Path",m[m.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",m[m.Query=19]="Query",m[m.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,r){"use strict";var m=r(245),S=r(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=r(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(v);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=m.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,r){(function(m,S){var _;(function(y){a&&a.nodeType,m&&m.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?v(N/700):N>>1,N+=v(N/I);N>455;k+=36)N=v(N/35);return v(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>v((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>v(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),v(ne/I)>i-Q&&t("overflow"),Q+=v(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rev((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=v(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,r,a,m))===void 0||(m.exports=_)})()}).call(this,r(246)(c),r(78))},function(c,a){c.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(c,a,r){"use strict";c.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},function(c,a,r){"use strict";a.decode=a.parse=r(249),a.encode=a.stringify=r(250)},function(c,a,r){"use strict";function m(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(v=g.substr(0,b),f=g.substr(b+1)):(v=g,f=""),t=decodeURIComponent(v),e=decodeURIComponent(f),m(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,r){"use strict";var m=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(m(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(m(p))}).join(h):u+encodeURIComponent(m(s[l]))}).join(h):o?encodeURIComponent(m(o))+i+encodeURIComponent(m(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1),_=r(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=m(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),v.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);v.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));v.mutation_append(R,L)}try{for(var q=m(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;v.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),v.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),v.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),v.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),v.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=m(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=m(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),v.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);v.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));v.mutation_append(B,C)}try{for(var L=m(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);v.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),v.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),v.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=m(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}v.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&v.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,v.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new m.NotSupportedError}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(2),S=r(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===m.FilterResult.Accept)return _._current=s,s;if(h===m.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===m.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==m.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===m.FilterResult.Accept)return null}}},function(c,a,r){"use strict";r(89),r(74);var m,S=this&&this.__extends||(m=function(o,l){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)p.hasOwnProperty(v)&&(u[v]=p[v])})(o,l)},function(o,l){function u(){this.constructor=o}m(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(1),y=r(2),s=r(50),h=r(3),i=function(o){function l(u,p){var v=o.call(this,u)||this;return v._indentation={},v._lengthToLastNewline=0,v._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),v}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,v){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,v){this._beginLine(),this._refs.markup+=p&&v?"':p?"':v?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,v){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!v){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(v||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=v?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var v=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+v.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+v):this._refs.markup+=" "+v},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,r){"use strict";var m=r(47),S=r(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=m(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(20),r(22),r(23);var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var v,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(v){return u+=p._descendantCount(v,u)},this):s.isObject(l)?s.forEachObject(l,function(v,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(r(50).BaseWriter);a.JSONWriter=h},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(89),r(20),r(22),r(23);var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(67),s=r(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),v=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return v.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(v=v.slice(0,-this._writerOptions.newline.length)),v},o.prototype._convertObject=function(l,u,p,v){var f,t,e=this;v===void 0&&(v=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){v?(g+=e._key(w),v=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var v=l.offset+u+1,f=new Array(v).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(r(50).BaseWriter);a.YAMLWriter=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),r(110).dom.setFeatures(!0);var m=r(110);a.DOMImplementation=m.DOMImplementation;var S=r(271);a.DOMParser=S.DOMParser;var _=r(274);a.XMLSerializer=_.XMLSerializer},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(3),S=r(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),_=r(3),y=r(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,v=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,m(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=v}},t=this;try{for(var e=m(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=m(this._nodeList),p=u.next();!p.done;p=u.next()){var v=p.value;y.list.remove(v._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._previousSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._nextSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(3),S=r(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(m.Cast.asNode(this),!1,!1,function(i){return m.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(m.Cast.asNode(this),h,!1,!1,function(i){return m.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,r){"use strict";var m=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),_=r(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=m(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(v){h={error:v}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(v=t.next()).done;)e.push(v.value)}catch(g){f={error:g}}finally{try{v&&!v.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],v=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&v>=l.length&&(l=void 0),{value:l&&l[v++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=r(180),y=r(111),s=r(7),h=r(0),i=r(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,v,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=m(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=m(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=m(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(v=X.return)&&v.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=m(P.value,2),B=(re=C[0],de=C[1],m(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(275);a.XMLSerializer=m.XMLSerializerImpl},function(c,a,r){"use strict";var m=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],v=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&v>=l.length&&(l=void 0),{value:l&&l[v++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(2),_=r(69),y=r(95),s=r(9),h=r(7),i=r(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var v=new y.NamespacePrefixMap;v.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,v,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,v,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,v,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,v,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,v,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,v,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=v.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=m(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,v,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var v="",f=0;f"?">":t}return v},l.prototype._serializeDocumentFragmentNS=function(u,p,v,f,t){var e,g,b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,v,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=m(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,v):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,v){var f,t,e=null;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),v[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,v){var f="ns"+v.value;return v.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var v="",f=0;f"?">":t}return v},l.prototype._serializeElement=function(u,p){var v,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=m(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){v={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(v)throw v.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var v,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var v,f,t="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return t},l.prototype._serializeAttributes=function(u,p){var v,f,t="",e=p?{}:void 0;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(277);a.XMLReader=m.XMLReader;var S=r(112);a.ObjectReader=S.ObjectReader;var _=r(280);a.JSONReader=_.JSONReader;var y=r(281);a.YAMLReader=y.YAMLReader},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(65),r(20),r(22),r(23);var m,S=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var t in f)f.hasOwnProperty(t)&&(v[t]=f[t])})(u,p)},function(u,p){function v(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}),_=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,t,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(180),h=r(111),i=r(7),o=r(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(v,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=v,w=v,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===v.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(r(75).BaseReader);a.XMLReader=l},function(c,a,r){var m=r(4),S=r(279);m({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,r){"use strict";var m=r(16),S=r(8),_=r(61),y=r(85),s=r(79),h=r(27),i=r(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(m&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},v=Symbol();return u[v]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[v]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var v=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],m&&!g.call(x,b)||(v[b]=x[b]);return v}:o},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(r(75).BaseReader);a.JSONReader=y},function(c,a,r){"use strict";var m,S=this&&this.__extends||(m=function(i,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}m(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=r(112),y=r(75),s=r(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,r){"use strict";var m=r(283);c.exports=m},function(c,a,r){"use strict";var m=r(284),S=r(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=r(10),c.exports.Schema=r(39),c.exports.FAILSAFE_SCHEMA=r(113),c.exports.JSON_SCHEMA=r(182),c.exports.CORE_SCHEMA=r(181),c.exports.DEFAULT_SAFE_SCHEMA=r(54),c.exports.DEFAULT_FULL_SCHEMA=r(76),c.exports.load=m.load,c.exports.loadAll=m.loadAll,c.exports.safeLoad=m.safeLoad,c.exports.safeLoadAll=m.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=r(53),c.exports.MINIMAL_SCHEMA=r(113),c.exports.SAFE_SCHEMA=r(54),c.exports.DEFAULT_SCHEMA=r(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,r){"use strict";var m=r(38),S=r(53),_=r(285),y=r(54),s=r(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function v(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=m.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),m.repeat(" ",_)+s+l+i+` +`+m.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var m=r(38),S=r(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,r){"use strict";var m=r(38),S=r(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||m.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(m.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var m=r(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new m("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,v,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),v=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&v.setTime(v.getTime()-t),v},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,r){"use strict";var m=r(10);c.exports=new m("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,r){"use strict";var m;try{m=r(145).Buffer}catch{}var S=r(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),m?m.from?m.from(p):new m(p):p},predicate:function(y){return m&&m.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,r){"use strict";var m=r(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new m("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,r){"use strict";var m;try{m=r(302)}catch{typeof window<"u"&&(m=window.esprima)}var S=r(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=m.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=m.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,r){var m;m=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,v,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(v){b=typeof v.comment=="boolean"&&v.comment;var x=typeof v.attachComment=="boolean"&&v.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,v.comment=!0,g=e)}var E,w=!1;v&&typeof v.sourceType=="string"&&(w=v.sourceType==="module"),E=v&&typeof v.jsx=="boolean"&&v.jsx?new h.JSXParser(p,v,g):new i.Parser(p,v,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,v,f){var t=v||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,v,f){var t=v||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,v,f){var t,e=new o.Tokenizer(p,v);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var v=this.leading[p];l.end.offset>=v.start&&(u.unshift(v.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var v=this.stack[this.stack.length-1];if(v&&v.node.trailingComments){var f=v.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=v.node.trailingComments,delete v.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var v=l.leadingComments[p];v.range[1]<=o.start.offset&&(u.unshift(v),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var v={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(v.comment.loc=o.loc),o.type=u,this.leading.push(v),this.trailing.push(v)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),v=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var v=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=v;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var v=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=v;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var oi=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=oi;var ai=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=ai},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),v=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=v},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(v,f){this.source=v,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=v.length,this.index=0,this.lineNumber=v.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(v){this.index=v.index,this.lineNumber=v.lineNumber,this.lineStart=v.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(v){return v===void 0&&(v=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.tolerateUnexpectedToken=function(v){v===void 0&&(v=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.skipSingleLineComment=function(v){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-v,t={start:{line:this.lineNumber,column:this.index-this.lineStart-v},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+v,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+v,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var v,f,t=[];for(this.trackComment&&(t=[],v=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var v;this.trackComment&&(v=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(v=v.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(v=v.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(v=v.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(v=v.concat(e))}}return v},p.prototype.isFutureReservedWord=function(v){switch(v){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(v){return v==="eval"||v==="arguments"},p.prototype.isKeyword=function(v){switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try"||v==="let";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}},p.prototype.codePointAt=function(v){var f=this.source.charCodeAt(v);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(v+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(v){for(var f=v==="u"?4:2,t=0,e=0;e1114111||v!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var v=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=v,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=v,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(v,this.index)},p.prototype.getComplexIdentifier=function(){var v,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierStart(v.charCodeAt(0))||this.throwUnexpectedToken(),t=v);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=v=h.Character.fromCodePoint(f),this.index+=v.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierPart(v.charCodeAt(0))||this.throwUnexpectedToken(),t+=v);return t},p.prototype.octalToDecimal=function(v){var f=v!=="0",t=l(v);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(v)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var v,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((v=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:v,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var v=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===v&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanHexLiteral=function(v){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanBinaryLiteral=function(v){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanOctalLiteral=function(v,f){var t="",e=!1;for(h.Character.isOctalDigit(v.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var v=this.index+1;v=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(v,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var v=this.source[this.index];s.assert(v==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=v=this.source[this.index++],v==="\\")v=this.source[this.index++],h.Character.isLineTerminator(v.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=v;else if(h.Character.isLineTerminator(v.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)v==="]"&&(t=!1);else{if(v==="/"){e=!0;break}v==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var v="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())v+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(v+=e;t=55296&&v<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],v=p!==null;switch(p){case"this":case"]":v=!1;break;case")":var f=this.values[this.paren-1];v=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(v=!1,this.values[this.curly-3]==="function")v=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;v=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return v},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,v){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!v&&typeof v.tolerant=="boolean"&&v.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!v&&typeof v.comment=="boolean"&&v.comment,this.trackRange=!!v&&typeof v.range=="boolean"&&v.range,this.trackLoc=!!v&&typeof v.loc=="boolean"&&v.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var v=0;v0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var wp=Ws((Xn,wi)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Hn=RegExp(st.source),Jn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ba=RegExp(Pr.source),$n=/^\s+/,Si=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ai=/\{\n\/\* \[wrapped with (.+)\] \*/,Ea=/,? & /,wa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,Sa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Aa=/^0b[01]+$/i,Kn=/^\[object .+?Constructor\]$/,Da=/^0o[0-7]+$/i,Ca=/^(?:0|[1-9]\d*)$/,Ta=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Na=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Fa="\\u0300-\\u036f",Oa="\\ufe20-\\ufe2f",Ia="\\u20d0-\\u20ff",Di=Fa+Oa+Ia,Ci="\\u2700-\\u27bf",Ti="a-z\\xdf-\\xf6\\xf8-\\xff",ka="\\xac\\xb1\\xd7\\xf7",Pa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ba="\\u2000-\\u206f",La=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ni="A-Z\\xc0-\\xd6\\xd8-\\xde",Fi="\\ufe0e\\ufe0f",Oi=ka+Pa+Ba+La,zt="['\u2019]",Vn="["+_n+"]",Yn="["+Oi+"]",tn="["+Di+"]",Ii="\\d+",rn="["+Ci+"]",ki="["+Ti+"]",Pi="[^"+_n+Oi+Ii+Ci+Ti+Ni+"]",xn="\\ud83c[\\udffb-\\udfff]",Ra="(?:"+tn+"|"+xn+")",Bi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ni+"]",le="\\u200d",be="(?:"+ki+"|"+Pi+")",Ie="(?:"+Z+"|"+Pi+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=Ra+"?",bt="["+Fi+"]?",Cp="(?:"+le+"(?:"+[Bi,F,j].join("|")+")"+bt+At+")*",Tp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Np="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=bt+At+Cp,Fp="(?:"+[rn,F,j].join("|")+")"+au,Op="(?:"+[Bi+tn+"?",tn,F,j,Vn].join("|")+")",Ip=RegExp(zt,"g"),kp=RegExp(tn,"g"),Ma=RegExp(xn+"(?="+xn+")|"+Op+au,"g"),Pp=RegExp([Z+"?"+ki+"+"+Qe+"(?="+[Yn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Yn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Np,Tp,Ii,Fp].join("|"),"g"),Bp=RegExp("["+le+_n+Di+Fi+"]"),Lp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var jp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Up={"&":"&","<":"<",">":">",'"':""","'":"'"},zp={"&":"&","<":"<",">":">",""":'"',"'":"'"},qp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Gp=parseFloat,Wp=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,Xp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=su||Xp||Function("return this")(),ja=typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,nn=ja&&typeof wi=="object"&&wi&&!wi.nodeType&&wi,uu=nn&&nn.exports===ja,Ua=uu&&su.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ua&&Ua.binding&&Ua.binding("util")}catch{}}(),lu=nr&&nr.isArrayBuffer,cu=nr&&nr.isDate,fu=nr&&nr.isMap,pu=nr&&nr.isRegExp,hu=nr&&nr.isSet,du=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Hp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function za(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function Eu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function th(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var rh=Xa(jp),nh=Xa(Up);function ih(fe){return"\\"+qp[fe]}function oh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Bp.test(fe)}function ah(fe){return Lp.test(fe)}function sh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ka(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function wu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function $h(r,h){var A=this.__data__,O=Zi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Wh,br.prototype.delete=Xh,br.prototype.get=Hh,br.prototype.has=Jh,br.prototype.set=$h;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Qd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return ol(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:Sl(r),!se)return pe?zd(r,cd(te,r)):Ud(r,Bu(te,r))}else{if(!ht[Fe])return U?r:{};te=Zd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Zl(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Yl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?bs:xs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ii(te,nt,sr(He,h,A,nt,r,V))}),te}function fd(r){var h=Ot(r);return function(A){return Lu(A,r,h)}}function Lu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Ru(r,h,A){if(typeof r!="function")throw new or(w);return fi(function(){r.apply(E,A)},h)}function oi(r,h,A,O){var U=-1,V=Li,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=za,te=!1):h.length>=o&&(V=Qn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:tc(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var rs=fl(),Uu=fl(!0);function gr(r,h){return r&&rs(r,h,Ot)}function ns(r,h){return r&&Uu(r,h,Ot)}function to(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function dd(r,h){return r!=null&&ft.call(r,h)}function md(r,h){return r!=null&&h in pt(r)}function yd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Hi.call(se,pe,1),Hi.call(r,pe,1);return r}function Yu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Hi.call(r,U,1):hs(r,U)}}return r}function cs(r,h){return r+Ki(Ou()*(h-r+1))}function Nd(r,h,A,O){for(var U=-1,V=Tt($i((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function fs(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=Ki(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Ts(Cl(r,h,Xt),r+"")}function Fd(r){return Pu(In(r))}function Od(r,h){var A=In(r);return po(A,un(h,0,A.length))}function ui(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Xd(r);if(De)return Mi(De);te=!1,U=Qn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var il=Eh||function(r){return Ft.clearTimeout(r)};function ol(r,h){if(h)return r.slice();var A=r.length,O=Du?Du(A):new r.constructor(A);return r.copy(O),O}function vs(r){var h=new r.constructor(r.byteLength);return new Wi(h).set(new Wi(r)),h}function Ld(r,h){var A=h?vs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Rd(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Md(r){return ni?pt(ni.call(r)):{}}function al(r,h){var A=h?vs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function sl(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ul(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function dl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&co(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function tm(r){return Ye(r)||pn(r)||!!(Nu&&r&&r[Nu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Ca.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function po(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,jl(r,A)});function Ul(r){var h=$(r);return h.__chain__=!0,h}function p0(r,h){return h(r),r}function ho(r,h){return h(r)}var h0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return ts(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:ho,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function d0(){return Ul(this)}function m0(){return new ar(this.value(),this.__chain__)}function y0(){this.__values__===E&&(this.__values__=ec(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function v0(){return this}function g0(r){for(var h,A=this;A instanceof Qi;){var O=kl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function _0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:ho,args:[Ns],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ns)}function x0(){return rl(this.__wrapped__,this.__actions__)}var b0=oo(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function E0(r,h,A){var O=Ye(r)?mu:pd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function w0(r,h){var A=Ye(r)?Lr:ju;return A(r,Ge(h,3))}var S0=hl(Pl),A0=hl(Bl);function D0(r,h){return It(mo(r,h),1)}function C0(r,h){return It(mo(r,h),Y)}function T0(r,h,A){return A=A===E?1:Ze(A),It(mo(r,h),A)}function zl(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function ql(r,h){var A=Ye(r)?Jp:Mu;return A(r,Ge(h,3))}var N0=oo(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function F0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),xo(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var O0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):ai(te,h,A)}),V}),I0=oo(function(r,h,A){wr(r,A,h)});function mo(r,h){var A=Ye(r)?yt:Xu;return A(r,Ge(h,3))}function k0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ku(r,h,A))}var P0=oo(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function B0(r,h,A){var O=Ye(r)?qa:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function L0(r,h,A){var O=Ye(r)?$p:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,Mu)}function R0(r,h){var A=Ye(r)?Lr:ju;return A(r,go(Ge(h,3)))}function M0(r){var h=Ye(r)?Pu:Fd;return h(r)}function j0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?sd:Od;return O(r,h)}function U0(r){var h=Ye(r)?ud:kd;return h(r)}function z0(r){if(r==null)return 0;if(Gt(r))return xo(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:ss(r).length}function q0(r,h,A){var O=Ye(r)?Ga:Pd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var G0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Ku(r,It(h,1),[])}),yo=wh||function(){return Ft.Date.now()};function W0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Gl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Wl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Os=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Os));O|=x}return Sr(r,O,h,A,U)}),Xl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Xl));O|=x}return Sr(h,O,r,A,U)});function Hl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Jl.placeholder,O}function $l(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=fi(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,hc=h-yr;return Fe?Pt(hc,V-Nr):hc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=yo();if(He(wt))return ot(wt);se=fi(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&il(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(yo())}function er(){var wt=yo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return il(se),se=fi(nt,h),Ue(pe)}return se===E&&(se=fi(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var X0=rt(function(r,h){return Ru(r,1,h)}),H0=rt(function(r,h,A){return Ru(r,cr(h)||0,A)});function J0(r){return Sr(r,C)}function vo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(vo.Cache||Er),A}vo.Cache=Er;function go(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function $0(r){return Wl(2,r)}var K0=Bd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=qu(function(){return arguments}())?qu:function(r){return xt(r)&&ft.call(r,"callee")&&!Tu.call(r,"callee")},Ye=ve.isArray,cy=lu?Vt(lu):gd;function Gt(r){return r!=null&&_o(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function fy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=Ah||Gs,py=cu?Vt(cu):_d;function hy(r){return xt(r)&&r.nodeType===1&&!pi(r)}function dy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(ci(r))return!ss(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function my(r,h){return si(r,h)}function yy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?si(r,h,E,A):!!O}function ks(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!pi(r)}function vy(r){return typeof r=="number"&&Fu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Vl(r){return typeof r=="number"&&r==Ze(r)}function _o(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Yl=fu?Vt(fu):bd;function gy(r,h){return r===h||as(r,h,ws(h))}function _y(r,h,A){return A=typeof A=="function"?A:E,as(r,h,ws(h),A)}function xy(r){return Ql(r)&&r!=+r}function by(r){if(im(r))throw new Ke(v);return Gu(r)}function Ey(r){return r===null}function wy(r){return r==null}function Ql(r){return typeof r=="number"||xt(r)&&Rt(r)==q}function pi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Xi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&zi.call(A)==_h}var Ps=pu?Vt(pu):Ed;function Sy(r){return Vl(r)&&r>=-z&&r<=z}var Zl=hu?Vt(hu):wd;function xo(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var On=du?Vt(du):Sd;function Ay(r){return r===E}function Dy(r){return xt(r)&&Bt(r)==we}function Cy(r){return xt(r)&&Rt(r)==at}var Ty=lo(us),Ny=lo(function(r,h){return r<=h});function ec(r){if(!r)return[];if(Gt(r))return xo(r)?hr(r):qt(r);if(Zn&&r[Zn])return sh(r[Zn]());var h=Bt(r),A=h==M?Ka:h==Be?Mi:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function tc(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=xu(r);var A=Aa.test(r);return A||Da.test(r)?Wp(r.slice(2),A?2:8):vr.test(r)?H:+r}function rc(r){return _r(r,Wt(r))}function Fy(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Oy=Tn(function(r,h){if(ci(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ii(r,A,h[A])}),nc=Tn(function(r,h){_r(h,Wt(h),r)}),bo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Iy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),ky=Ar(ts);function Py(r,h){var A=Cn(r);return h==null?A:Bu(A,h)}var By=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,bs(r),A),O&&(A=sr(A,n|i|u,Hd));for(var U=h.length;U--;)hs(A,h[U]);return A});function Zy(r,h){return oc(r,go(Ge(h)))}var ev=Ar(function(r,h){return r==null?{}:Cd(r,h)});function oc(r,h){if(r==null)return{};var A=yt(bs(r),function(O){return[O]});return h=Ge(h),Vu(r,A,function(O,U){return h(O,U[0])})}function tv(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Ou();return Pt(r+U*(h-r+Gp("1e-"+((U+"").length-1))),h)}return cs(r,h)}var pv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?uc(h):h)});function uc(r){return Rs(ct(r).toLowerCase())}function lc(r){return r=ct(r),r&&r.replace(Ta,rh).replace(kp,"")}function hv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function dv(r){return r=ct(r),r&&Hn.test(r)?r.replace(st,nh):r}function mv(r){return r=ct(r),r&&ba.test(r)?r.replace(Pr,"\\$&"):r}var yv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),vv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),gv=pl("toLowerCase");function _v(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return uo(Ki(U),A)+r+uo($i(U),A)}function xv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Ps(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Cv=Nn(function(r,h,A){return r+(A?" ":"")+Rs(h)});function Tv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Nv(r,h,A){var O=$.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=bo({},h,O,_l);var U=bo({},h.imports,O.imports,_l),V=Ot(U),te=$a(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Va((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?Sa:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mp+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Na,ih),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=v(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=r(91),h=r(1),i=r(183),o=r(0),l=r(7),u=r(95),p=r(69),v=r(3),f=r(305),t=r(306),e=r(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(v.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else v.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):v.Guard.isCommentNode(E)?this.com(E.data):v.Guard.isCDATASectionNode(E)?this.dat(E.data):v.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(r(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,r){"use strict";r(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,r){"use strict";r(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,r){"use strict";var m,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};m=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function v(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return v(this,e,!0)},s.prototype.rawListeners=function(e){return v(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var m=r(77);a.createCB=function(S){return new m.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new m.XMLBuilderCBImpl(S,!0)}}])})});var qp=Ns((ii,Li)=>{(function(){var c,a="4.17.21",r=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,v=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",v],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),oi=RegExp(ft.source),ai=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,aa=RegExp(Gr.source),si=/^\s+/,Bi=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mi=/\{\n\/\* \[wrapped with (.+)\] \*/,sa=/,? & /,ua=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,la=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,ui=/^\[object .+?Constructor\]$/,fa=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,da=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",ma="\\u0300-\\u036f",va="\\ufe20-\\ufe2f",ya="\\u20d0-\\u20ff",Ri=ma+va+ya,ji="\\u2700-\\u27bf",Ui="a-z\\xdf-\\xf6\\xf8-\\xff",_a="\\xac\\xb1\\xd7\\xf7",ga="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xa="\\u2000-\\u206f",ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zi="A-Z\\xc0-\\xd6\\xd8-\\xde",qi="\\ufe0e\\ufe0f",Gi=_a+ga+xa+ba,$t="['\u2019]",li="["+In+"]",ci="["+Gi+"]",fn="["+Ri+"]",Wi="\\d+",pn="["+ji+"]",Xi="["+Ui+"]",Hi="[^"+In+Gi+Wi+ji+Ui+zi+"]",Pn="\\ud83c[\\udffb-\\udfff]",Ea="(?:"+fn+"|"+Pn+")",$i="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+zi+"]",ce="\\u200d",Ee="(?:"+Xi+"|"+Hi+")",Le="(?:"+Z+"|"+Hi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=Ea+"?",Ct="["+qi+"]?",$p="(?:"+ce+"(?:"+[$i,O,j].join("|")+")"+Ct+Ot+")*",Jp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Kp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",su=Ct+Ot+$p,Vp="(?:"+[pn,O,j].join("|")+")"+su,Yp="(?:"+[$i+fn+"?",fn,O,j,li].join("|")+")",Qp=RegExp($t,"g"),Zp=RegExp(fn,"g"),wa=RegExp(Pn+"(?="+Pn+")|"+Yp+su,"g"),eh=RegExp([Z+"?"+Xi+"+"+rt+"(?="+[ci,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[ci,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Kp,Jp,Wi,Vp].join("|"),"g"),th=RegExp("["+ce+In+Ri+qi+"]"),rh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ih=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var oh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ah={"&":"&","<":"<",">":">",'"':""","'":"'"},sh={"&":"&","<":"<",">":">",""":'"',"'":"'"},uh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lh=parseFloat,ch=parseInt,uu=typeof global=="object"&&global&&global.Object===Object&&global,fh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=uu||fh||Function("return this")(),Sa=typeof ii=="object"&&ii&&!ii.nodeType&&ii,hn=Sa&&typeof Li=="object"&&Li&&!Li.nodeType&&Li,lu=hn&&hn.exports===Sa,Aa=lu&&uu.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Aa&&Aa.binding&&Aa.binding("util")}catch{}}(),cu=lr&&lr.isArrayBuffer,fu=lr&&lr.isDate,pu=lr&&lr.isMap,hu=lr&&lr.isRegExp,du=lr&&lr.isSet,mu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function ph(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Ca(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function wu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function bh(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var Eh=Oa(oh),wh=Oa(ah);function Sh(pe){return"\\"+uh[pe]}function Ah(pe,we){return pe==null?c:pe[we]}function Ln(pe){return th.test(pe)}function Ch(pe){return rh.test(pe)}function Dh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function ka(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function Su(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function dd(n,d){var A=this.__data__,F=fo(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Or.prototype.clear=cd,Or.prototype.delete=fd,Or.prototype.get=pd,Or.prototype.has=hd,Or.prototype.set=dd;function Fr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function hr(n,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(n,F,U,V):A(n)),te!==c)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=_m(n),!ue)return Jt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(en(n))return al(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Al(n),!ue)return he?sm(n,Od(te,n)):am(n,Bu(te,n))}else{if(!yt[Ie])return U?n:{};te=gm(n,Ie,ue)}}V||(V=new gr);var qe=V.get(n);if(qe)return qe;V.set(n,te),ec(n)?n.forEach(function(Je){te.add(hr(Je,d,A,Je,n,V))}):Ql(n)&&n.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,n,V))});var $e=De?he?as:os:he?Vt:Mt,it=Te?c:$e(n);return cr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),yi(te,st,hr(Je,d,A,st,n,V))}),te}function Fd(n){var d=Mt(n);return function(A){return Mu(A,n,d)}}function Mu(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===c&&!(U in n)||!V(te))return!1}return!0}function Ru(n,d,A){if(typeof n!="function")throw new fr(S);return Si(function(){n.apply(c,A)},d)}function _i(n,d,A,F){var U=-1,V=Ji,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=Ca,te=!1):d.length>=r&&(V=fi,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:rc(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var za=pl(),zu=pl(!0);function Ar(n,d){return n&&za(n,d,Mt)}function qa(n,d){return n&&zu(n,d,Mt)}function ho(n,d){return Xr(d,function(A){return Br(n[A])})}function _n(n,d){d=Qr(d,n);for(var A=0,F=d.length;n!=null&&Ad}function kd(n,d){return n!=null&&mt.call(n,d)}function Ld(n,d){return n!=null&&d in vt(n)}function Bd(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new vn(te&&Te):c}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&io.call(ue,he,1),io.call(n,he,1);return n}function Qu(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?io.call(n,U,1):Qa(n,U)}}return n}function Ka(n,d){return n+so(Iu()*(d-n+1))}function Kd(n,d,A,F){for(var U=-1,V=kt(ao((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function Va(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=so(d/2),d&&(n+=n);while(d);return A}function at(n,d){return hs(Tl(n,d,Yt),n+"")}function Vd(n){return Lu(Xn(n))}function Yd(n,d){var A=Xn(n);return Ao(A,yn(d,0,A.length))}function bi(n,d,A,F){if(!bt(n))return n;d=Qr(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!ir(te)&&(A?te<=d:te=r){var De=d?null:fm(n);if(De)return Vi(De);te=!1,U=fi,he=new vn}else he=d?[]:ue;e:for(;++F=F?n:dr(n,d,A)}var ol=qh||function(n){return Bt.clearTimeout(n)};function al(n,d){if(d)return n.slice();var A=n.length,F=Du?Du(A):new n.constructor(A);return n.copy(F),F}function rs(n){var d=new n.constructor(n.byteLength);return new ro(d).set(new ro(n)),d}function rm(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function nm(n){var d=new n.constructor(n.source,cn.exec(n));return d.lastIndex=n.lastIndex,d}function im(n){return vi?vt(vi.call(n)):{}}function sl(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function ul(n,d){if(n!==d){var A=n!==c,F=n===null,U=n===n,V=ir(n),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function ll(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=n.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function ml(n){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&wo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function bm(n){return tt(n)||bn(n)||!!(Ou&&n&&n[Ou])}function Lr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&pa.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(c,arguments)}}function Ao(n,d){var A=-1,F=n.length,U=F-1;for(d=d===c?F:d;++A1?n[d-1]:c;return A=typeof A=="function"?(n.pop(),A):c,Ul(n,A)});function zl(n){var d=J(n);return d.__chain__=!0,d}function I0(n,d){return d(n),n}function Co(n,d){return d(n)}var P0=kr(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return Ua(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Co,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function k0(){return zl(this)}function L0(){return new pr(this.value(),this.__chain__)}function B0(){this.__values__===c&&(this.__values__=tc(this.value()));var n=this.__index__>=this.__values__.length,d=n?c:this.__values__[this.__index__++];return{done:n,value:d}}function M0(){return this}function R0(n){for(var d,A=this;A instanceof co;){var F=kl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function j0(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Co,args:[ds],thisArg:c}),new pr(d,this.__chain__)}return this.thru(ds)}function U0(){return nl(this.__wrapped__,this.__actions__)}var z0=_o(function(n,d,A){mt.call(n,A)?++n[A]:Ir(n,A,1)});function q0(n,d,A){var F=tt(n)?vu:Id;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}function G0(n,d){var A=tt(n)?Xr:Uu;return A(n,Xe(d,3))}var W0=dl(Ll),X0=dl(Bl);function H0(n,d){return Rt(Do(n,d),1)}function $0(n,d){return Rt(Do(n,d),Y)}function J0(n,d,A){return A=A===c?1:nt(A),Rt(Do(n,d),A)}function ql(n,d){var A=tt(n)?cr:Vr;return A(n,Xe(d,3))}function Gl(n,d){var A=tt(n)?hh:ju;return A(n,Xe(d,3))}var K0=_o(function(n,d,A){mt.call(n,A)?n[A].push(d):Ir(n,A,[d])});function V0(n,d,A,F){n=Kt(n)?n:Xn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Io(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&kn(n,d,A)>-1}var Y0=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Kt(n)?_e(n.length):[];return Vr(n,function(te){V[++F]=U?tr(d,te,A):gi(te,d,A)}),V}),Q0=_o(function(n,d,A){Ir(n,A,d)});function Do(n,d){var A=tt(n)?xt:Hu;return A(n,Xe(d,3))}function Z0(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Vu(n,d,A))}var ev=_o(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function tv(n,d,A){var F=tt(n)?Da:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Vr)}function rv(n,d,A){var F=tt(n)?dh:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,ju)}function nv(n,d){var A=tt(n)?Xr:Uu;return A(n,Oo(Xe(d,3)))}function iv(n){var d=tt(n)?Lu:Vd;return d(n)}function ov(n,d,A){(A?Wt(n,d,A):d===c)?d=1:d=nt(d);var F=tt(n)?Dd:Yd;return F(n,d)}function av(n){var d=tt(n)?Td:Zd;return d(n)}function sv(n){if(n==null)return 0;if(Kt(n))return Io(n)?Bn(n):n.length;var d=qt(n);return d==R||d==Re?n.size:Ha(n).length}function uv(n,d,A){var F=tt(n)?Ta:em;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}var lv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Wt(n,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Vu(n,Rt(d,1),[])}),To=Gh||function(){return Bt.Date.now()};function cv(n,d){if(typeof d!="function")throw new fr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Wl(n,d,A){return d=A?c:d,d=n&&d==null?n.length:d,Pr(n,E,c,c,c,c,d)}function Xl(n,d){var A;if(typeof d!="function")throw new fr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=c),A}}var vs=at(function(n,d,A){var F=v;if(A.length){var U=$r(A,Gn(vs));F|=b}return Pr(n,F,d,A,U)}),Hl=at(function(n,d,A){var F=v|f;if(A.length){var U=$r(A,Gn(Hl));F|=b}return Pr(d,F,n,A,U)});function $l(n,d,A){d=A?c:d;var F=Pr(n,e,c,c,c,c,c,d);return F.placeholder=$l.placeholder,F}function Jl(n,d,A){d=A?c:d;var F=Pr(n,g,c,c,c,c,c,d);return F.placeholder=Jl.placeholder,F}function Kl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=n.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=Si(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,dc=d-br;return Ie?zt(dc,V-Rr):dc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=To();if(Je(Tt))return lt(Tt);ue=Si(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&ol(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(To())}function ar(){var Tt=To(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return ol(ue),ue=Si(st,d),qe(he)}return ue===c&&(ue=Si(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var fv=at(function(n,d){return Ru(n,1,d)}),pv=at(function(n,d,A){return Ru(n,vr(d)||0,A)});function hv(n){return Pr(n,D)}function No(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(No.Cache||Fr),A}No.Cache=Fr;function Oo(n){if(typeof n!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function dv(n){return Xl(2,n)}var mv=tm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=Gu(function(){return arguments}())?Gu:function(n){return St(n)&&mt.call(n,"callee")&&!Nu.call(n,"callee")},tt=_e.isArray,Ov=cu?rr(cu):Rd;function Kt(n){return n!=null&&Fo(n.length)&&!Br(n)}function Dt(n){return St(n)&&Kt(n)}function Fv(n){return n===!0||n===!1||St(n)&&Gt(n)==le}var en=Xh||Ts,Iv=fu?rr(fu):jd;function Pv(n){return St(n)&&n.nodeType===1&&!Ai(n)}function kv(n){if(n==null)return!0;if(Kt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||en(n)||Wn(n)||bn(n)))return!n.length;var d=qt(n);if(d==R||d==Re)return!n.size;if(wi(n))return!Ha(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function Lv(n,d){return xi(n,d)}function Bv(n,d,A){A=typeof A=="function"?A:c;var F=A?A(n,d):c;return F===c?xi(n,d,c,A):!!F}function _s(n){if(!St(n))return!1;var d=Gt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ai(n)}function Mv(n){return typeof n=="number"&&Fu(n)}function Br(n){if(!bt(n))return!1;var d=Gt(n);return d==B||d==L||d==ie||d==ge}function Yl(n){return typeof n=="number"&&n==nt(n)}function Fo(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Ql=pu?rr(pu):zd;function Rv(n,d){return n===d||Xa(n,d,us(d))}function jv(n,d,A){return A=typeof A=="function"?A:c,Xa(n,d,us(d),A)}function Uv(n){return Zl(n)&&n!=+n}function zv(n){if(Sm(n))throw new Ze(m);return Wu(n)}function qv(n){return n===null}function Gv(n){return n==null}function Zl(n){return typeof n=="number"||St(n)&&Gt(n)==q}function Ai(n){if(!St(n)||Gt(n)!=ae)return!1;var d=no(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Zi.call(A)==jh}var gs=hu?rr(hu):qd;function Wv(n){return Yl(n)&&n>=-z&&n<=z}var ec=du?rr(du):Gd;function Io(n){return typeof n=="string"||!tt(n)&&St(n)&&Gt(n)==je}function ir(n){return typeof n=="symbol"||St(n)&&Gt(n)==ot}var Wn=mu?rr(mu):Wd;function Xv(n){return n===c}function Hv(n){return St(n)&&qt(n)==Se}function $v(n){return St(n)&&Gt(n)==ct}var Jv=Eo($a),Kv=Eo(function(n,d){return n<=d});function tc(n){if(!n)return[];if(Kt(n))return Io(n)?_r(n):Jt(n);if(pi&&n[pi])return Dh(n[pi]());var d=qt(n),A=d==R?ka:d==Re?Vi:Xn;return A(n)}function Mr(n){if(!n)return n===0?n:0;if(n=vr(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=Mr(n),A=d%1;return d===d?A?d-A:d:0}function rc(n){return n?yn(nt(n),0,ee):0}function vr(n){if(typeof n=="number")return n;if(ir(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=bu(n);var A=ca.test(n);return A||fa.test(n)?ch(n.slice(2),A?2:8):Sr.test(n)?H:+n}function nc(n){return Cr(n,Vt(n))}function Vv(n){return n?yn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":nr(n)}var Yv=zn(function(n,d){if(wi(d)||Kt(d)){Cr(d,Mt(d),n);return}for(var A in d)mt.call(d,A)&&yi(n,A,d[A])}),ic=zn(function(n,d){Cr(d,Vt(d),n)}),Po=zn(function(n,d,A,F){Cr(d,Vt(d),n,F)}),Qv=zn(function(n,d,A,F){Cr(d,Mt(d),n,F)}),Zv=kr(Ua);function ey(n,d){var A=Un(n);return d==null?A:Bu(A,d)}var ty=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(n,as(n),A),F&&(A=hr(A,i|o|l,pm));for(var U=d.length;U--;)Qa(A,d[U]);return A});function gy(n,d){return ac(n,Oo(Xe(d)))}var xy=kr(function(n,d){return n==null?{}:$d(n,d)});function ac(n,d){if(n==null)return{};var A=xt(as(n),function(F){return[F]});return d=Xe(d),Yu(n,A,function(F,U){return d(F,U[0])})}function by(n,d,A){d=Qr(d,n);var F=-1,U=d.length;for(U||(U=1,n=c);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Iu();return zt(n+U*(d-n+lh("1e-"+((U+"").length-1))),d)}return Ka(n,d)}var Iy=qn(function(n,d,A){return d=d.toLowerCase(),n+(A?lc(d):d)});function lc(n){return Es(dt(n).toLowerCase())}function cc(n){return n=dt(n),n&&n.replace(ha,Eh).replace(Zp,"")}function Py(n,d,A){n=dt(n),d=nr(d);var F=n.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function ky(n){return n=dt(n),n&&oi.test(n)?n.replace(ft,wh):n}function Ly(n){return n=dt(n),n&&aa.test(n)?n.replace(Gr,"\\$&"):n}var By=qn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),My=qn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),Ry=hl("toLowerCase");function jy(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return bo(so(U),A)+n+bo(ao(U),A)}function Uy(n,d,A){n=dt(n),d=nt(d);var F=d?Bn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!gs(d))&&(d=nr(d),!d&&Ln(n))?Zr(_r(n),0,A):n.split(d,A)):[]}var $y=qn(function(n,d,A){return n+(A?" ":"")+Es(d)});function Jy(n,d,A){return n=dt(n),A=A==null?0:yn(nt(A),0,n.length),d=nr(d),n.slice(A,A+d.length)==d}function Ky(n,d,A){var F=J.templateSettings;A&&Wt(n,d,A)&&(d=c),n=dt(n),d=Po({},d,F,xl);var U=Po({},d.imports,F.imports,xl),V=Mt(U),te=Pa(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=La((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?la:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ih+"]")+` +`;n.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=n.slice(De,ar).replace(da,Sh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=fc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,ks(et))throw et;return et}function Fv(r){return ct(r).toLowerCase()}function Ov(r){return ct(r).toUpperCase()}function Iv(r,h,A){if(r=ct(r),r&&(A||h===E))return xu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=bu(O,U),te=Eu(O,U)+1;return Wr(O,V,te).join("")}function kv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Su(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=Eu(O,hr(h))+1;return Wr(O,0,U).join("")}function Pv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace($n,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h));return Wr(O,U).join("")}function Bv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Ps(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Va(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Lv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,fh):r}var Rv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Rs=pl("toUpperCase");function cc(r,h,A){return r=ct(r),h=A?E:h,h===E?ah(r)?dh(r):Yp(r):r.match(h)||[]}var fc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return ks(A)?A:new Ke(A)}}),Mv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Os(r[A],r))}),r});function jv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Ja(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:ho,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=ji[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[ao(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Lh,it.prototype.reverse=Rh,it.prototype.value=Mh,$.prototype.at=h0,$.prototype.chain=d0,$.prototype.commit=m0,$.prototype.next=y0,$.prototype.plant=g0,$.prototype.reverse=_0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=x0,$.prototype.first=$.prototype.head,Zn&&($.prototype[Zn]=v0),$},jr=mh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,ja._=jr):Ft._=jr}).call(Xn)});var qb={};Tg(qb,{default:()=>Ub,options:()=>Dp,setup:()=>jb,teardown:()=>zb});module.exports=Ng(qb);var wb=Ut(require("k6/encoding")),Sb=require("k6"),Ab=Ut(require("k6/http"));var Fg=typeof global=="object"&&global&&global.Object===Object&&global,wo=Fg;var Og=typeof self=="object"&&self&&self.Object===Object&&self,Ig=wo||Og||Function("return this")(),Dt=Ig;var kg=Dt.Symbol,Fr=kg;var mc=Object.prototype,Pg=mc.hasOwnProperty,Bg=mc.toString,hi=Fr?Fr.toStringTag:void 0;function Lg(E){var l=Pg.call(E,hi),o=E[hi];try{E[hi]=void 0;var v=!0}catch{}var w=Bg.call(E);return v&&(l?E[hi]=o:delete E[hi]),w}var yc=Lg;var Rg=Object.prototype,Mg=Rg.toString;function jg(E){return Mg.call(E)}var vc=jg;var Ug="[object Null]",zg="[object Undefined]",gc=Fr?Fr.toStringTag:void 0;function qg(E){return E==null?E===void 0?zg:Ug:gc&&gc in Object(E)?yc(E):vc(E)}var tr=qg;function Gg(E){return E!=null&&typeof E=="object"}var fr=Gg;var Wg="[object Symbol]";function Xg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Wg}var kn=Xg;function Hg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=b_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Ic=S_;function A_(E){return function(){return E}}var kc=A_;var D_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=D_;var C_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:kc(l),writable:!0})}:So,Pc=C_;var T_=Ic(Pc),Bc=T_;var N_=9007199254740991,F_=/^(?:0|[1-9]\d*)$/;function O_(E,l){var o=typeof E;return l=l??N_,!!l&&(o=="number"||o!="symbol"&&F_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=U_}var To=z_;function q_(E){return E!=null&&To(E.length)&&!Pn(E)}var Jr=q_;function G_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Co(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var zc=G_;function W_(E){return Uc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&zc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var df=px;function hx(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var mf=hx;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ap=E=>new Qs(new URL(E||"").search).object();var up=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Bo(a,{headers:{Authorization:l.header}}),sp.default.request(v,op(E,w),y,Bo(a,m))};var cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),bb=Ut(eu());var Eb=Ut(Gn()),fp=(E=10,l)=>(0,cp.randomString)(E,l);var Ro={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=require("k6/http");var Mo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var jo=class{settings;constructor(l){this.settings=new Mo(l)}};var Uo=class{v0;constructor(l){this.v0=new jo(l)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var qo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var Go=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Wo=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Xo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new zo(l),this.spaces=new qo(l),this.systemtags=new Go(l),this.systemtagsRelations=new Wo(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Ho=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Jo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var $o=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Ko=class{tags;constructor(l){this.tags=new $o(l)}};var Vo=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Ko(l)}};var Yo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Qo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Zo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var ea=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Ho(l),this.drives=new Jo(l),this.extensions=new Vo(l),this.groups=new Yo(l),this.me=new Qo(l),this.users=new Zo(l)}};var ta=class{v1;constructor(l){this.v1=new ea(l)}};var ra=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Lo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ia=class{shares;sharees;constructor(l){this.shares=new na(l),this.sharees=new ra(l)}};var oa=class{v1;constructor(l){this.v1=new ia(l)}};var aa=class{filesSharing;constructor(l){this.filesSharing=new oa(l)}};var sa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ca=class{users;groups;roles;constructor(l){this.users=new la(l),this.groups=new sa(l),this.roles=new ua(l)}};var fa=class{cloud;apps;constructor(l){this.cloud=new ca(l),this.apps=new aa(l)}};var pa=class{v2;constructor(l){this.v2=new fa(l)}};var ha=class{ocs;graph;dav;api;constructor(l){this.ocs=new pa(l),this.graph=new ta(l),this.dav=new Xo(l),this.api=new Uo(l)}};var da={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=Ut(require("k6/encoding")),_i=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${pp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var ma=require("k6"),ya=Ut(require("k6/http"));var xi=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ya.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:fp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,ma.fail)(this.#i),o}getCode(l){let o=`${l}?${Lo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ya.default.get(o,{redirects:0}),w=Zr(ap(v.headers.Location),"code");return(v.status!==302||!w)&&(0,ma.fail)(l),w}getToken(l){let o=ya.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,ma.fail)(this.#o),v}};var dp=require("k6"),ru=require("k6"),nu=require("k6"),mn=require("k6"),mp=Ut(Gn()),yp=require("k6"),va=require("k6"),bi=Ut(Gn()),ga=require("k6"),yn=require("k6"),iu=Ut(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,dp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,ru.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,ru.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,nu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,nu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,mp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,yp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Ob=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,va.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,va.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,va.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Ib=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,ga.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,ga.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,ga.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},kb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,iu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,iu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Pb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},Ei=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case da.openIDConnect:w=new xi(v,E);break;case da.basicAuth:w=new _i(v);break}let y=up(E,w,{jar:new hp.CookieJar}),m=new ha(y);this.application=new Db(l,m),this.drive=new Cb(l,m),this.group=new Tb(l,m),this.resource=new Nb(l,m),this.role=new Fb(l,m),this.search=new Ob(l,m),this.share=new Ib(m),this.tag=new kb(l,m),this.user=new Pb(l,m)}};var Bb=Ut(require("k6/http"));var Lb=require("https://jslib.k6.io/url/1.0.0/index.js"),vp=require("k6/experimental/timers"),xp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),bp=Ut(eu());var Ep=Ut(Gn());var Rb=E=>new Promise(l=>{(0,vp.setTimeout)(l,E)}),gp=(E,l)=>new Promise((o,v)=>E().then(o).catch(()=>{Rb(l.delay).then(()=>(l.delay=l.delay*l.delayMultiplier,gp(E,l))).then(o).catch(v)}));function Mb(E){return{delay:100,delayMultiplier:2,...E}}var _p=class{#e;#t;constructor(E){this.#e=[],this.#t=Mb(E)}add(E){this.#e.push(E)}exec(){return Promise.all(this.#e.map(E=>gp(E,this.#t)))}},Wn=(E=10,l)=>(0,xp.randomString)(E,l),ou=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return bp.query(l,E).map(o=>Ys(o)?void 0:o)},_a=(E,l)=>{let o=Ep.create(l).end({format:"object"});return ou(E,o)};var Sp=require("k6"),Ap=Ut(require("k6/execution")),xa=Ut(wp()),Lt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Ro.basicAuth?Ro.basicAuth:Ro.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT)||2,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT)||2},k6:{vus:1,insecureSkipTLSVerify:!0}},Dp=Lt.k6;function jb(){let E=Lt.adminUser,l=new Ei(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,E),o=(0,xa.times)(Dp.vus||1,()=>{let v={login:Wn(),password:Wn()};l.user.create(v),l.user.enable(v.login);let y=new Ei(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v).user.drives(),[m=v.login]=ou("$.value[?(@.driveType === 'personal')].id",y?.body);return{home:m,credential:v}});return{adminCredential:E,userInfos:o}}function Ub({userInfos:E}){let l=[],{home:o,credential:v}=E[Ap.default.vu.idInTest-1],w=new Ei(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v),y=new _p({delay:1e3,delayMultiplier:0}),m=(0,xa.times)(Lt.assets.folderCount,()=>Wn()),a=(0,xa.times)(Lt.assets.textDocumentCount,()=>[Wn()+".txt",Wn()]),p=(n,i,u)=>{let s=w.search.resource(v.login,{query:n}),[f]=_a("$..['oc:fileid']",s?.body);return!f?Promise.reject():((0,Sp.check)(void 0,{[`test -> search.${u} - found`]:()=>i===f}),Promise.resolve())};m.forEach(n=>{w.resource.create(o,n);let i=w.resource.propfind(o,n),[u]=_a("$..['oc:fileid']",i?.body);y.add(()=>p(n,u,"folder-name")),l.push(()=>{w.resource.delete(o,n)})}),a.forEach(([n,i])=>{w.resource.upload(o,n,i);let u=w.resource.propfind(o,n),[s]=_a("$..['oc:fileid']",u?.body);y.add(()=>p(n,s,"file-name")),l.push(()=>{w.resource.delete(o,n)})}),y.exec().then(()=>l.forEach(n=>n()))}function zb({userInfos:E,adminCredential:l}){let o=new Ei(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=pc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,_s(it))throw it;return it}function Vy(n){return dt(n).toLowerCase()}function Yy(n){return dt(n).toUpperCase()}function Qy(n,d,A){if(n=dt(n),n&&(A||d===c))return bu(n);if(!n||!(d=nr(d)))return n;var F=_r(n),U=_r(d),V=Eu(F,U),te=wu(F,U)+1;return Zr(F,V,te).join("")}function Zy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.slice(0,Au(n)+1);if(!n||!(d=nr(d)))return n;var F=_r(n),U=wu(F,_r(d))+1;return Zr(F,0,U).join("")}function e_(n,d,A){if(n=dt(n),n&&(A||d===c))return n.replace(si,"");if(!n||!(d=nr(d)))return n;var F=_r(n),U=Eu(F,_r(d));return Zr(F,U).join("")}function t_(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}n=dt(n);var V=n.length;if(Ln(n)){var te=_r(n);V=te.length}if(A>=V)return n;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):n.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),gs(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=La(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(n.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function r_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Fh):n}var n_=qn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),Es=hl("toUpperCase");function fc(n,d,A){return n=dt(n),d=A?c:d,d===c?Ch(n)?kh(n):yh(n):n.match(d)||[]}var pc=at(function(n,d){try{return tr(n,c,d)}catch(A){return _s(A)?A:new Ze(A)}}),i_=kr(function(n,d){return cr(d,function(A){A=Dr(A),Ir(n,A,vs(n[A],n))}),n});function o_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Ia(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Co,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Yi[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[go(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=rd,ut.prototype.reverse=nd,ut.prototype.value=id,J.prototype.at=P0,J.prototype.chain=k0,J.prototype.commit=L0,J.prototype.next=B0,J.prototype.plant=R0,J.prototype.reverse=j0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=U0,J.prototype.first=J.prototype.head,pi&&(J.prototype[pi]=M0),J},Jr=Lh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,Sa._=Jr):Bt._=Jr}).call(ii)});var _S={};jt(_S,{default:()=>Hp,options:()=>Xp,setup:()=>vS,teardown:()=>yS});module.exports=J_(_S);var up=Qt(require("k6/encoding")),ea=require("k6"),ta=Qt(require("k6/http"));var K_=typeof global=="object"&&global&&global.Object===Object&&global,Lo=K_;var V_=typeof self=="object"&&self&&self.Object===Object&&self,Y_=Lo||V_||Function("return this")(),Ft=Y_;var Q_=Ft.Symbol,jr=Q_;var vc=Object.prototype,Z_=vc.hasOwnProperty,eg=vc.toString,Ci=jr?jr.toStringTag:void 0;function tg(c){var a=Z_.call(c,Ci),r=c[Ci];try{c[Ci]=void 0;var m=!0}catch{}var S=eg.call(c);return m&&(a?c[Ci]=r:delete c[Ci]),S}var yc=tg;var rg=Object.prototype,ng=rg.toString;function ig(c){return ng.call(c)}var _c=ig;var og="[object Null]",ag="[object Undefined]",gc=jr?jr.toStringTag:void 0;function sg(c){return c==null?c===void 0?ag:og:gc&&gc in Object(c)?yc(c):_c(c)}var sr=sg;function ug(c){return c!=null&&typeof c=="object"}var yr=ug;var lg="[object Symbol]";function cg(c){return typeof c=="symbol"||yr(c)&&sr(c)==lg}var Hn=cg;function fg(c,a){for(var r=-1,m=c==null?0:c.length,S=Array(m);++r0){if(++a>=Ug)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Pc=Gg;function Wg(c){return function(){return c}}var kc=Wg;var Xg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=Xg;var Hg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:kc(a),writable:!0})}:Bo,Lc=Hg;var $g=Pc(Lc),Bc=$g;var Jg=9007199254740991,Kg=/^(?:0|[1-9]\d*)$/;function Vg(c,a){var r=typeof c;return a=a??Jg,!!a&&(r=="number"||r!="symbol"&&Kg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=o1}var Uo=a1;function s1(c){return c!=null&&Uo(c.length)&&!$n(c)}var rn=s1;function u1(c,a,r){if(!At(r))return!1;var m=typeof a;return(m=="number"?rn(r)&&Kn(a,r.length):m=="string"&&a in r)?tn(r[a],c):!1}var zc=u1;function l1(c){return Uc(function(a,r){var m=-1,S=r.length,_=S>1?r[S-1]:void 0,y=S>2?r[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&zc(r[0],r[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++m-1}var df=Fx;function Ix(c,a){var r=this.__data__,m=on(r,c);return m<0?(++this.size,r.push([c,a])):r[m][1]=a,this}var mf=Ix;function ei(c){var a=-1,r=c==null?0:c.length;for(this.clear();++a(0,np.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var ip=require("k6/http");var Bs=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Bs.URLSearchParams(Object.keys(c).map(r=>[r,String(c[r])])).toString(),Vo=c=>{let a=new URL(c).search,r=new Bs.URLSearchParams(a);return Object.fromEntries(r)};var Yo=c=>(a,r,m,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,ip.request)(a,Tr(c.baseUrl,r),m,Sn(_,S))};var Ms=require("k6");var ke=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(m=>{r[`${m} -- (SKIPPED)`]=()=>!0,delete r[m]}),(0,Ms.check)(c.val,r,c.tags)};var lp=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var ap=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Qo=require("k6"),Zo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),r=this.getCode(a),m=this.getToken(r);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+m.expiresIn-5),_})(),token:m}}return this.cache.token}getContinueURI(){let a=Zo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Ko(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),r=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!r)&&(0,Qo.fail)(this.logonURL),r}getCode(a){let r=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,m=Zo.default.get(r,{redirects:0}),S=Ht(Vo(m.headers.Location),"code");return(m.status!==302||!S)&&(0,Qo.fail)(a),S}getToken(a){let r=Zo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),m={accessToken:Ht(r.json(),"access_token",""),tokenType:Ht(r.json(),"token_type",""),idToken:Ht(r.json(),"id_token",""),expiresIn:Ht(r.json(),"expires_in",0)};return(r.status!==200||!m.accessToken||!m.tokenType||!m.idToken||!m.expiresIn)&&(0,Qo.fail)(this.tokenURL),m}};var zs={};jt(zs,{POST__get_roles:()=>qb});var qb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var qs={};jt(qs,{SEARCH__search_for_resources:()=>Gb});var Gb=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var Gs={};jt(Gs,{DELETE__delete_resource:()=>$b,GET__download_resource:()=>Xb,MKCOL__create_resource:()=>Hb,MOVE__move_resource:()=>Jb,PROPFIND__get_properties_for_resource:()=>Kb,PUT__upload_resource:()=>Wb,REPORT__get_report_for_resources:()=>Vb});var Wb=(c,{resourceBytes:a,root:r,resourcePath:m})=>c("PUT",`/remote.php/dav/files/${r}/${m}`,a),Xb=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),Hb=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),$b=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),Jb=(c,{toResourcePath:a,root:r,fromResourcePath:m})=>c("MOVE",`/remote.php/dav/files/${r}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),Kb=(c,{root:a,resourcePath:r,propfindXml:m})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,m),Vb=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a);var Ws={};jt(Ws,{DELETE__delete_resource:()=>eE,GET__download_resource:()=>Qb,MKCOL__create_resource:()=>Zb,MOVE__move_resource:()=>tE,PROPFIND__get_properties_for_resource:()=>rE,PUT__upload_resource:()=>Yb});var Yb=(c,{resourcePath:a,driveId:r,resourceBytes:m})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,m),Qb=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),Zb=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),eE=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),tE=(c,{toResourcePath:a,driveId:r,fromResourcePath:m})=>c("MOVE",`/remote.php/dav/spaces/${r}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),rE=(c,{propfindXml:a,resourcePath:r,driveId:m})=>c("PROPFIND",`/remote.php/dav/spaces/${m}/${r}`,a);var Xs={};jt(Xs,{DELETE__delete_tag:()=>iE,POST__create_tag:()=>nE,PROPFIND__get_tags_with_properties:()=>oE});var nE=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:m,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),iE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),oE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Hs={};jt(Hs,{DELETE__remove_tag_from_resource:()=>sE,PROPFIND__get_tags_with_properties_for_resource:()=>uE,PUT__add_tag_to_resource:()=>aE});var aE=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),sE=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),uE=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a);var $s={};jt($s,{GET__get_applications:()=>lE});var lE=c=>c("GET","/graph/v1.0/applications");var Js={};jt(Js,{DELETE__delete_drive:()=>fE,POST__create_drive:()=>cE});var cE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),fE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Ks={};jt(Ks,{DELETE__remove_tags_from_resource:()=>hE,PUT__add_tags_to_resource:()=>pE});var pE=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),hE=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a}));var Vs={};jt(Vs,{DELETE__delete_group:()=>mE,POST__create_group:()=>dE});var dE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),mE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Ys={};jt(Ys,{GET__current_user:()=>yE,GET__get_current_user_drives:()=>vE});var vE=c=>c("GET","/graph/v1.0/me/drives"),yE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Qs={};jt(Qs,{DELETE__delete_user:()=>gE,POST__add_app_role_to_user:()=>xE,POST__create_user:()=>_E});var _E=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),gE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),xE=(c,{resourceId:a,principalId:r,appRoleId:m})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:r,resourceId:a}));var Zs={};jt(Zs,{DELETE__delete_group:()=>EE,POST__create_group:()=>bE});var bE=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),EE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{DELETE__delete_user:()=>AE,POST__create_user:()=>wE,PUT__enable_user:()=>SE});var wE=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),SE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),AE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{GET__search_for_sharees:()=>CE});var CE=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var ru={};jt(ru,{DELETE__delete_share:()=>NE,POST__accept_share:()=>TE,POST__create_share:()=>DE});var DE=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:r.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},TE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),NE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:zs}},dav:{...qs,files:Gs,spaces:Ws,systemtags:Xs,systemtags_relations:Hs},graph:{v1:{applications:$s,drives:Js,extensions:{org_libre_graph:{tags:Ks}},groups:Vs,me:Ys,users:Qs}},ocs:{v2:{apps:{cloud:{groups:Zs,users:eu},file_sharing:{v1:{sharees:tu,shares:ru}}}}}};var cp=Qt(Pi());var Tp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Np=require("k6/http");var iu=require("https://jslib.k6.io/url/1.0.0/index.js"),ra=require("k6"),Fp=Qt(js());var Ip=Qt(Pi()),OE=Object.defineProperty,It=(c,a)=>{for(var r in a)OE(c,r,{get:a[r],enumerable:!0})},FE={};It(FE,{Adapter:()=>IE,BasicAuth:()=>PE,Kopano:()=>kE});var IE={kopano:"kopano",basicAuth:"basicAuth"},PE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${up.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},kE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),r=this.getToken(a);this.cache={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+r.expiresIn-5),m})(),token:r}}return this.cache.token}getContinueURI(){let c=ta.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Ko(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,ea.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,r=ta.default.get(a,{redirects:0}),m=Ht(Vo(r.headers.Location),"code");return(r.status!==302||!m)&&(0,ea.fail)(c),m}getToken(c){let a=ta.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),r={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!r.accessToken||!r.tokenType||!r.idToken||!r.expiresIn)&&(0,ea.fail)(this.tokenURL),r}},LE={};It(LE,{Client:()=>KE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},BE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},ME=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},RE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:m})=>m===r}),a}},jE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,cp.create)({version:"1.0",encoding:"UTF-8"}),UE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sp={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:r,searchLimit:m=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(r).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(m.toString()).end()}},zE={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},fp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},qE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return fp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},GE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=UE[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),r}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},WE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},XE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:sp[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:sp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:zE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},HE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},$E=class extends Er{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:fp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:m})=>m===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:m})=>m===r}),a}getTagsForResource(c){let a=qE[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),r}},JE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:m})=>m===a}),r}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},KE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Yo({authn:a,baseUrl:c.baseUrl,params:{jar:new lp.CookieJar}});this.application=new BE(c.platform,r),this.drive=new ME(c.platform,r),this.group=new RE(c.platform,r),this.me=new jE(c.platform,r),this.resource=new GE(c.platform,r),this.role=new WE(c.platform,r),this.search=new XE(c.platform,r),this.share=new HE(c.platform,r),this.tag=new $E(c.platform,r),this.user=new JE(c.platform,r)}},nu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},VE={};It(VE,{ItemType:()=>Uw,Permission:()=>zw,ShareType:()=>jw,endpoints:()=>qw});var pp={};It(pp,{POST__get_roles:()=>YE});var YE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),hp={};It(hp,{SEARCH__search_for_resources:()=>QE});var QE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),dp={};It(dp,{DELETE__delete_resource:()=>rw,GET__download_resource:()=>ew,MKCOL__create_resource:()=>tw,MOVE__move_resource:()=>nw,PROPFIND__get_properties_for_resource:()=>iw,PUT__upload_resource:()=>ZE,REPORT__get_report_for_resources:()=>ow});var ZE=(c,{resourceBytes:a,root:r,resourcePath:m})=>c("PUT",`/remote.php/dav/files/${r}/${m}`,a),ew=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),tw=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),rw=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),nw=(c,{toResourcePath:a,root:r,fromResourcePath:m})=>c("MOVE",`/remote.php/dav/files/${r}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),iw=(c,{root:a,resourcePath:r,propfindXml:m})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,m),ow=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a),mp={};It(mp,{DELETE__delete_resource:()=>lw,GET__download_resource:()=>sw,MKCOL__create_resource:()=>uw,MOVE__move_resource:()=>cw,PROPFIND__get_properties_for_resource:()=>fw,PUT__upload_resource:()=>aw});var aw=(c,{resourcePath:a,driveId:r,resourceBytes:m})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,m),sw=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),uw=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),lw=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),cw=(c,{toResourcePath:a,driveId:r,fromResourcePath:m})=>c("MOVE",`/remote.php/dav/spaces/${r}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),fw=(c,{propfindXml:a,resourcePath:r,driveId:m})=>c("PROPFIND",`/remote.php/dav/spaces/${m}/${r}`,a),vp={};It(vp,{DELETE__delete_tag:()=>hw,POST__create_tag:()=>pw,PROPFIND__get_tags_with_properties:()=>dw});var pw=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:m,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),hw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),dw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),yp={};It(yp,{DELETE__remove_tag_from_resource:()=>vw,PROPFIND__get_tags_with_properties_for_resource:()=>yw,PUT__add_tag_to_resource:()=>mw});var mw=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),vw=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),yw=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a),_p={};It(_p,{GET__get_applications:()=>_w});var _w=c=>c("GET","/graph/v1.0/applications"),gp={};It(gp,{DELETE__delete_drive:()=>xw,POST__create_drive:()=>gw});var gw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),xw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),xp={};It(xp,{DELETE__remove_tags_from_resource:()=>Ew,PUT__add_tags_to_resource:()=>bw});var bw=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),Ew=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),bp={};It(bp,{DELETE__delete_group:()=>Sw,POST__create_group:()=>ww});var ww=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),Sw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),Ep={};It(Ep,{GET__current_user:()=>Cw,GET__get_current_user_drives:()=>Aw});var Aw=c=>c("GET","/graph/v1.0/me/drives"),Cw=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),wp={};It(wp,{DELETE__delete_user:()=>Tw,POST__add_app_role_to_user:()=>Nw,POST__create_user:()=>Dw});var Dw=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),Tw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Nw=(c,{resourceId:a,principalId:r,appRoleId:m})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:r,resourceId:a})),Sp={};It(Sp,{DELETE__delete_group:()=>Fw,POST__create_group:()=>Ow});var Ow=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_user:()=>kw,POST__create_user:()=>Iw,PUT__enable_user:()=>Pw});var Iw=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Pw=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),kw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{GET__search_for_sharees:()=>Lw});var Lw=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Dp={};It(Dp,{DELETE__delete_share:()=>Rw,POST__accept_share:()=>Mw,POST__create_share:()=>Bw});var Bw=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:r.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},Mw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Rw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),jw={user:0,group:1,publicLink:3,federatedCloudShare:6},Uw={file:"file",folder:"folder"},zw={read:0,update:2,create:4,delete:8,share:16,all:31},qw={api:{v0:{settings:pp}},dav:{...hp,files:dp,spaces:mp,systemtags:vp,systemtags_relations:yp},graph:{v1:{applications:_p,drives:gp,extensions:{org_libre_graph:{tags:xp}},groups:bp,me:Ep,users:wp}},ocs:{v2:{apps:{cloud:{groups:Sp,users:Ap},file_sharing:{v1:{sharees:Cp,shares:Dp}}}}}},Gw={};It(Gw,{check:()=>Vw,cleanURL:()=>Op,group:()=>Kw,objectToQueryString:()=>Hw,platformGuard:()=>Xw,queryJson:()=>Pp,queryStringToObject:()=>$w,queryXml:()=>Yw,randomString:()=>Ww,requestFactory:()=>Jw});var Ww=(c=10,a)=>(0,Tp.randomString)(c,a),Xw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Op=(...c)=>c.join("/").replace(/(?new iu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),$w=c=>{let a=new URL(c).search,r=new iu.URLSearchParams(a);return Object.fromEntries(r)},Jw=c=>(a,r,m,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Np.request)(a,Op(c.baseUrl,r),m,Sn(_,S))},Kw=(c,a)=>(0,ra.group)(c,()=>a(c)),Vw=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(m=>{r[`${m} -- (SKIPPED)`]=()=>!0,delete r[m]}),(0,ra.check)(c.val,r,c.tags)},Pp=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Fp.query(r,c).map(m=>At(m)&&Fi(m)?void 0:m)},Yw=(c,a)=>{let r=Ip.create(a).end({format:"object"});return Pp(c,r)};var Qw=Qt(require("k6/encoding")),Zw=require("k6"),eS=Qt(require("k6/http"));var na={kopano:"kopano",basicAuth:"basicAuth"};var Lp=require("k6/http");var Bp=Qt(Pi());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},tS=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},rS=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},nS=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:m})=>m===r}),a}},iS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Bp.create)({version:"1.0",encoding:"UTF-8"}),oS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},kp={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:r,searchLimit:m=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(r).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(m.toString()).end()}},aS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Mp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Mp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},uS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=oS[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),r}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},lS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},cS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:kp[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:kp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:aS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},fS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},pS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Mp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:m})=>m===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:m})=>m===r}),a}getTagsForResource(c){let a=sS[this.platform]({}),r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),r}},hS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:m})=>m===a}),r}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},ki=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Yo({authn:a,baseUrl:c.baseUrl,params:{jar:new Lp.CookieJar}});this.application=new tS(c.platform,r),this.drive=new rS(c.platform,r),this.group=new nS(c.platform,r),this.me=new iS(c.platform,r),this.resource=new uS(c.platform,r),this.role=new lS(c.platform,r),this.search=new cS(c.platform,r),this.share=new fS(c.platform,r),this.tag=new pS(c.platform,r),this.user=new hS(c.platform,r)}};var Rp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var dS=require("k6/http");var mS=require("https://jslib.k6.io/url/1.0.0/index.js"),ou=require("k6"),Up=Qt(js());var zp=Qt(Pi()),ni=(c=10,a)=>(0,Rp.randomString)(c,a);var jp=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(m=>{r[`${m} -- (SKIPPED)`]=()=>!0,delete r[m]}),(0,ou.check)(c.val,r,c.tags)},au=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Up.query(r,c).map(m=>At(m)&&Fi(m)?void 0:m)},ia=(c,a)=>{let r=zp.create(a).end({format:"object"});return au(c,r)};var Gp=require("k6"),Wp=Qt(require("k6/execution")),oa=Qt(qp()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===na.basicAuth?na.basicAuth:na.kopano,platform:nu[__ENV.PLATFORM]||nu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT,10)||2,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT,10)||2},k6:{vus:1,insecureSkipTLSVerify:!0}},Xp=wr.k6;function vS(){let c=new ki({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,oa.times)(Xp.vus||1,()=>{let[r,m]=[ni(),ni()];c.user.createUser({userLogin:r,userPassword:m}),c.user.enableUser({userLogin:r});let _=new ki({...wr,userLogin:r,userPassword:m}).me.getMyDrives(),[y=r]=au("$.value[?(@.driveType === 'personal')].id",_?.body);return{actorLogin:r,actorPassword:m,actorRoot:y}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function Hp({actorData:c}){let{actorLogin:a,actorPassword:r,actorRoot:m}=c[Wp.default.vu.idInTest-1],S=new ki({...wr,userLogin:a,userPassword:r}),_=[],y=(0,oa.times)(wr.assets.folderCount,()=>ni()),s=(0,oa.times)(wr.assets.textDocumentCount,()=>[`${ni()}.txt`,ni()]),h=(i,o,l)=>{let u=S.search.searchForResources({root:m,searchQuery:i}),[p]=ia("$..['oc:fileid']",u?.body);if(!!!p){(0,Gp.sleep)(1),h(i,o,l);return}jp({val:void 0},{[`test -> search.${l} - found`]:()=>o===p})};y.forEach(i=>{S.resource.createResource({root:m,resourcePath:i});let o=S.resource.getResourceProperties({root:m,resourcePath:i}),[l]=ia("$..['oc:fileid']",o?.body);h(i,l,"folder-name"),_.push(()=>{S.resource.deleteResource({root:m,resourcePath:i})})}),s.forEach(([i,o])=>{S.resource.uploadResource({root:m,resourcePath:i,resourceBytes:o});let l=S.resource.getResourceProperties({root:m,resourcePath:i}),[u]=ia("$..['oc:fileid']",l?.body);h(i,u,"file-name"),_.push(()=>{S.resource.deleteResource({root:m,resourcePath:i})})}),_.forEach(i=>{i()})}function yS({adminData:c,actorData:a}){let r=new ki({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:m})=>{r.user.deleteUser({userLogin:m})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-040-upload-delete.js b/packages/k6-tests/artifacts/koko-040-upload-delete.js index b496800..a7e4b81 100644 --- a/packages/k6-tests/artifacts/koko-040-upload-delete.js +++ b/packages/k6-tests/artifacts/koko-040-upload-delete.js @@ -1,90 +1,90 @@ -"use strict";var gg=Object.create;var bo=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var xg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var zs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),wg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},hc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of xg(l))!Eg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=_g(l,w))||v.enumerable});return E};var jt=(E,l,o)=>(o=E!=null?gg(bg(E)):{},hc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),Sg=E=>hc(bo({},"__esModule",{value:!0}),E);var Ys=zs((up,Vs)=>{(function(E){if(typeof up=="object"&&typeof Vs<"u")Vs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ga(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=ga(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function _a(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function xa(){var F,j,Z,le,be;return be=S,F=_a(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=xa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function ba(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=ba(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ea(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Ea(F)),!Ae(","))break;we()}while(e<_);return j}function wa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Sa(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Aa(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Da(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ca(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Ta(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Na(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Ta(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Fa(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function Oa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ia(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Oa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function ka(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Aa(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Na(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Da(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Ia(),be);case"throw":return b.markEnd(ka(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(wa(),be);case"while":return b.markEnd(Ca(),be);case"with":return b.markEnd(Fa(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Sa(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Pa,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var U_=Object.create;var Po=Object.defineProperty;var z_=Object.getOwnPropertyDescriptor;var q_=Object.getOwnPropertyNames;var G_=Object.getPrototypeOf,W_=Object.prototype.hasOwnProperty;var Cs=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var n in a)Po(c,n,{get:a[n],enumerable:!0})},hc=(c,a,n,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of q_(a))!W_.call(c,S)&&S!==n&&Po(c,S,{get:()=>a[S],enumerable:!(v=z_(a,S))||v.enumerable});return c};var Qt=(c,a,n)=>(n=c!=null?U_(G_(c)):{},hc(a||!c||!c.__esModule?Po(n,"default",{value:c,enumerable:!0}):n,c)),X_=c=>hc(Po({},"__esModule",{value:!0}),c);var Bs=Cs((np,Ls)=>{(function(c){if(typeof np=="object"&&typeof Ls<"u")Ls.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,n;return function v(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ia(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function oa(){var O,j,Z,ce,Ee;return Ee=w,O=ia(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=oa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=aa(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function sa(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(sa(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ma(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function va(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ga,y.parse=Hi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof Qs=="object"?Qs.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof Ms=="object"?Ms.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function n(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,n),S.l=!0,S.exports}return n.m=c,n.c=a,n.d=function(v,S,_){n.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},n.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},n.t=function(v,S){if(1&S&&(v=n(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(n.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)n.d(_,y,function(s){return v[s]}.bind(null,y));return _},n.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return n.d(S,"a",S),S},n.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},n.p="",n(n.s=184)}([function(c,a,n){"use strict";function v(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),v(n(240)),v(n(251)),v(n(175)),v(n(107)),v(n(29)),v(n(73)),v(n(106)),v(n(30)),v(n(252)),v(n(52)),v(n(97)),v(n(253)),v(n(37)),v(n(51)),v(n(173)),v(n(176)),v(n(172)),v(n(108)),v(n(254)),v(n(255)),v(n(256)),v(n(72)),v(n(177)),v(n(105)),v(n(17)),v(n(257)),v(n(12)),v(n(174))},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(212);a.FixedSizeSet=S.FixedSizeSet;var _=n(213);a.ObjectCache=_.ObjectCache;var y=n(214);a.CompareCache=y.CompareCache;var s=n(215);a.Lazy=s.Lazy;var h=n(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(241);a.Cast=v.Cast;var S=n(150);a.Guard=S.Guard;var _=n(242);a.EmptySet=_.EmptySet},function(c,a,n){var v=n(11),S=n(55).f,_=n(21),y=n(25),s=n(80),h=n(119),i=n(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,n){var v=n(11),S=n(81),_=n(14),y=n(58),s=n(86),h=n(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,n){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(n(228));a.base64=S;var _=v(n(146));a.byte=_;var y=v(n(147));a.byteSequence=y;var s=v(n(96));a.codePoint=s;var h=v(n(232));a.json=h;var i=v(n(233));a.list=i;var o=v(n(234));a.map=o;var l=v(n(235));a.namespace=l;var u=v(n(236));a.queue=u;var p=v(n(237));a.set=p;var m=v(n(238));a.stack=m;var f=v(n(239));a.string=f},function(c,a){c.exports=function(n){try{return!!n()}catch{return!0}}},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,n){"use strict";var v=n(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,n){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},function(c,a){var n={}.hasOwnProperty;c.exports=function(v,S){return n.call(v,S)}},function(c,a,n){var v=n(16),S=n(115),_=n(18),y=n(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,n){"use strict";var v=n(24),S=n(130),_=n(49),y=n(43),s=n(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,n){var v=n(90),S=n(25),_=n(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,n){var v=n(16),S=n(15),_=n(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,n){"use strict";var v=n(137).charAt,S=n(43),_=n(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,n){var v=n(11),S=n(203),_=n(19),y=n(21),s=n(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,n){var v=n(41),S=n(35);c.exports=function(_){return v(S(_))}},function(c,a,n){var v=n(11),S=n(21),_=n(14),y=n(80),s=n(117),h=n(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,n){var v=n(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,a,n){var v=n(35);c.exports=function(S){return Object(v(S))}},function(c,a,n){var v=n(16),S=n(8),_=n(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(148),S=n(149),_=n(151),y=n(98),s=n(153),h=n(154),i=n(155),o=n(99),l=n(100),u=n(156),p=n(157),m=n(101),f=n(158),t=n(159),e=n(160),g=n(161),b=n(162),x=n(163),E=n(164),w=n(165),D=n(166),T=n(167),N=n(168),I=n(169),M=n(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,n){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(17),y=n(3),s=n(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(46),y=n(44),s=n(16),h=n(86),i=n(124),o=n(8),l=n(14),u=n(59),p=n(13),m=n(18),f=n(27),t=n(24),e=n(56),g=n(40),b=n(60),x=n(61),E=n(82),w=n(190),D=n(85),T=n(55),N=n(15),I=n(79),M=n(21),k=n(25),G=n(81),$=n(57),Y=n(45),z=n(58),X=n(5),H=n(125),ee=n(126),re=n(62),de=n(43),ve=n(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,n){"use strict";var v=n(4),S=n(16),_=n(11),y=n(14),s=n(13),h=n(15).f,i=n(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,n){n(126)("iterator")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(70),i=n(3),o=n(9),l=n(0),u=n(152),p=n(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,n){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=v(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=v(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,n){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:n)(S)}},function(c,a,n){"use strict";var v=n(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,n){"use strict";n(31),n(32),n(33),n(220),n(64),n(19),n(65),n(20),n(68),n(66),n(92),n(144),n(22),n(94),n(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,n){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(7),h=n(29),i=n(17),o=n(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,n){var v=n(121),S=n(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,a,n){var v=n(15).f,S=n(14),_=n(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,a,n){var v=n(8),S=n(5),_=n(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,n){"use strict";var v=n(4),S=n(122).indexOf,_=n(48),y=n(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(16),S=n(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,n){"use strict";var v=n(25),S=n(18),_=n(8),y=n(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(138),n(20),n(66),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),s=n(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(n(50).BaseWriter);a.ObjectWriter=h},function(c,a,n){"use strict";var v=n(4),S=n(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=v},function(c,a,n){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=n(9),_=n(3),y=n(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,n){"use strict";var v=n(39);c.exports=v.DEFAULT=new v({include:[n(54)],explicit:[n(299),n(300),n(301)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=n(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=n(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=n(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}c.exports=n},function(c,a,n){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,a,n){var v=n(11),S=n(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,a,n){var v=n(44),S=n(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,n){var v=n(121),S=n(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,a,n){var v=n(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,n){var v=n(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,n){var v=n(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,n){"use strict";var v=n(4),S=n(195),_=n(132),y=n(133),s=n(62),h=n(21),i=n(25),o=n(5),l=n(44),u=n(49),p=n(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,n){"use strict";var v=n(4),S=n(13),_=n(59),y=n(83),s=n(26),h=n(24),i=n(134),o=n(5),l=n(63),u=n(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=n(6),h=n(2),i=n(9),o=n(34),l=n(3),u=n(1),p=n(7),m=n(152),f=n(0),t=n(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=n(2),h=n(34),i=n(9),o=n(7),l=n(0),u=n(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),s=n(71),h=n(0),i=n(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(0),_=n(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(1),h=n(99),i=n(73),o=n(17),l=n(173),u=n(30),p=n(52),m=n(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,n){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(17),h=n(51),i=n(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,n){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,n){"use strict";n(179),Object.defineProperty(a,"__esModule",{value:!0});var v=n(262),S=n(110),_=n(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(153);a.AbortController=S.AbortControllerImpl;var _=n(154);a.AbortSignal=_.AbortSignalImpl;var y=n(102);a.AbstractRange=y.AbstractRangeImpl;var s=n(157);a.Attr=s.AttrImpl;var h=n(158);a.CDATASection=h.CDATASectionImpl;var i=n(71);a.CharacterData=i.CharacterDataImpl;var o=n(263),l=n(159);a.Comment=l.CommentImpl;var u=n(171);a.CustomEvent=u.CustomEventImpl;var p=n(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=n(98);a.Document=m.DocumentImpl;var f=n(264),t=n(155);a.DocumentType=t.DocumentTypeImpl;var e=n(6);a.dom=e.dom;var g=n(148);a.DOMImplementation=g.DOMImplementationImpl;var b=n(170);a.DOMTokenList=b.DOMTokenListImpl;var x=n(99);a.Element=x.ElementImpl;var E=n(104);a.Event=E.EventImpl;var w=n(70);a.EventTarget=w.EventTargetImpl;var D=n(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=n(265);a.MutationObserver=T.MutationObserverImpl;var N=n(169);a.MutationRecord=N.MutationRecordImpl;var I=n(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=n(168);a.NodeFilter=M.NodeFilterImpl;var k=n(34);a.Node=k.NodeImpl;var G=n(166);a.NodeIterator=G.NodeIteratorImpl;var $=n(162);a.NodeList=$.NodeListImpl;var Y=n(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=n(266),X=n(267),H=n(268),ee=n(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=n(165);a.Range=re.RangeImpl;var de=n(156);a.ShadowRoot=de.ShadowRootImpl;var ve=n(269),ne=n(270);a.StaticRange=ne.StaticRangeImpl;var Q=n(101);a.Text=Q.TextImpl;var ie=n(103);a.Traverser=ie.TraverserImpl;var le=n(167);a.TreeWalker=le.TreeWalkerImpl;var fe=n(149);a.Window=fe.WindowImpl;var P=n(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,n){"use strict";n(64),n(20),n(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(n(75).BaseReader);a.ObjectReader=y},function(c,a,n){"use strict";var v=n(39);c.exports=new v({explicit:[n(286),n(287),n(288)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,n){var v=n(16),S=n(8),_=n(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,n){var v=n(11),S=n(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,n){var v=n(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,a,n){var v=n(11),S=n(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,n){var v=n(14),S=n(187),_=n(55),y=n(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)v(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,n){var v=n(24),S=n(26),_=n(83),y=function(s){return function(h,i,o){var l,u=v(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,n){var v=n(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,n){var v=n(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,n){var v=n(5);a.f=v},function(c,a,n){var v=n(120),S=n(14),_=n(125),y=n(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},function(c,a,n){var v=n(13),S=n(59),_=n(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,n){var v,S,_=n(11),y=n(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,n){var v=n(5),S=n(60),_=n(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,n){"use strict";var v,S,_,y=n(132),s=n(21),h=n(14),i=n(5),o=n(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,n){var v=n(14),S=n(27),_=n(57),y=n(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,n){var v=n(18),S=n(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,n){"use strict";var v=n(56),S=n(15),_=n(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,n){var v=n(90),S=n(42),_=n(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,n){"use strict";var v=n(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,n){var v=n(47),S=n(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,n){var v=n(4),S=n(27),_=n(61);v({target:"Object",stat:!0,forced:n(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(123),y=n(25),s=n(140),h=n(141),i=n(142),o=n(13),l=n(8),u=n(208),p=n(62),m=n(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,n){var v=n(45),S=n(13),_=n(14),y=n(15).f,s=n(58),h=n(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,a,n){var v=n(18),S=n(205),_=n(26),y=n(87),s=n(206),h=n(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(n,v,S){if(!(n instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return n}},function(c,a,n){"use strict";var v=n(15).f,S=n(60),_=n(210),y=n(87),s=n(142),h=n(141),i=n(88),o=n(211),l=n(16),u=n(140).fastKey,p=n(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,n){"use strict";var v,S=n(4),_=n(55).f,y=n(26),s=n(222),h=n(35),i=n(224),o=n(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,n){"use strict";(function(v){var S=n(229),_=n(230),y=n(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,n){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),S=n(7),_=n(0),y=n(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(1),s=n(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(n(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=n(1),s=n(243),h=n(7),i=n(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(34),s=n(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=n(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(102),i=n(9),o=n(0),l=n(12),u=n(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(103),y=n(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(103),s=n(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=v},function(c,a,n){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(9),y=n(7),s=n(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=n(29),h=n(108),i=n(30),o=n(37),l=n(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(29),h=n(17),i=n(107),o=n(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,n){"use strict";var v=n(4),S=n(41),_=n(24),y=n(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,n){var v=n(4),S=n(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,n){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=n(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(182)]})},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(113)],implicit:[n(289),n(290),n(291),n(292)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(91),S=n(1),_=n(3),y=n(77),s=n(109);function h(u,p){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(91),y=n(1),s=n(217),h=n(2),i=n(3),o=n(0),l=n(109),u=n(7),p=n(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,n){var v=n(11),S=n(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,n){var v=n(46),S=n(82),_=n(85),y=n(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,n){var v=n(16),S=n(15),_=n(18),y=n(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,n){var v=n(46);c.exports=v("document","documentElement")},function(c,a,n){var v=n(24),S=n(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,a,n){"use strict";var v=n(4),S=n(36).every,_=n(48),y=n(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(36).filter,_=n(63),y=n(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(46);c.exports=v("navigator","userAgent")||""},function(c,a,n){"use strict";var v=n(4),S=n(36).find,_=n(130),y=n(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,n){"use strict";var v=n(131).IteratorPrototype,S=n(60),_=n(40),y=n(62),s=n(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,n){var v=n(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,n){"use strict";var v=n(4),S=n(36).map,_=n(63),y=n(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(200).left,_=n(48),y=n(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(127),S=n(27),_=n(41),y=n(26),s=function(h){return function(i,o,l,u){v(o);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,n){"use strict";var v=n(4),S=n(36).some,_=n(48),y=n(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(90),S=n(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,n){var v=n(5),S=n(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,n){var v=n(135),S=n(49),_=n(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,a,n){var v=n(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,n){var v=n(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,n){var v=n(13),S=n(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,n){var v=n(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,a,n){"use strict";var v=n(46),S=n(15),_=n(5),y=n(16),s=_("species");c.exports=function(h){var i=v(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(218);a.MapWriter=v.MapWriter;var S=n(258);a.XMLWriter=S.XMLWriter;var _=n(67);a.ObjectWriter=_.ObjectWriter;var y=n(260);a.JSONWriter=y.JSONWriter;var s=n(261);a.YAMLWriter=s.YAMLWriter},function(c,a,n){"use strict";n(19),n(219),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,n){"use strict";var v=n(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,n){var v=n(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,n){var v=n(13),S=n(42),_=n(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,n){var v=n(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,n){"use strict";n(68);var v=n(25),S=n(8),_=n(5),y=n(93),s=n(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,n){"use strict";var v=n(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,a,n){var v=n(42),S=n(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,n){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=n(96);a.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,n(145).Buffer)},function(c,a,n){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(n,v,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=n[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+n[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+n[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(n,v,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*o-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;n[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;n[S+f]=255&h,f+=t,h/=256,l-=8);n[S+f-t]|=128*e}},function(c,a){var n={}.toString;c.exports=Array.isArray||function(v){return n.call(v)=="[object Array]"}},function(c,a,n){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=v(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(96),_=n(147),y=n(146),s=n(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,n){"use strict";var v=n(245),S=n(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,n){(function(v,S){var _;(function(y){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,n,a,v))===void 0||(v.exports=_)})()}).call(this,n(246)(c),n(78))},function(c,a){c.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(c,a,n){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,n){"use strict";a.decode=a.parse=n(249),a.encode=a.stringify=n(250)},function(c,a,n){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,n){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1),_=n(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,a,n){"use strict";n(89),n(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(2),s=n(50),h=n(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,n){"use strict";var v=n(47),S=n(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(n(50).BaseWriter);a.JSONWriter=h},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(89),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(n(50).BaseWriter);a.YAMLWriter=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),n(110).dom.setFeatures(!0);var v=n(110);a.DOMImplementation=v.DOMImplementation;var S=n(271);a.DOMParser=S.DOMParser;var _=n(274);a.XMLSerializer=_.XMLSerializer},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(180),y=n(111),s=n(7),h=n(0),i=n(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,n){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(2),_=n(69),y=n(95),s=n(9),h=n(7),i=n(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(277);a.XMLReader=v.XMLReader;var S=n(112);a.ObjectReader=S.ObjectReader;var _=n(280);a.JSONReader=_.JSONReader;var y=n(281);a.YAMLReader=y.YAMLReader},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(65),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(180),h=n(111),i=n(7),o=n(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(n(75).BaseReader);a.XMLReader=l},function(c,a,n){var v=n(4),S=n(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,n){"use strict";var v=n(16),S=n(8),_=n(61),y=n(85),s=n(79),h=n(27),i=n(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(n(75).BaseReader);a.JSONReader=y},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=n(75),s=n(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,n){"use strict";var v=n(283);c.exports=v},function(c,a,n){"use strict";var v=n(284),S=n(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=n(10),c.exports.Schema=n(39),c.exports.FAILSAFE_SCHEMA=n(113),c.exports.JSON_SCHEMA=n(182),c.exports.CORE_SCHEMA=n(181),c.exports.DEFAULT_SAFE_SCHEMA=n(54),c.exports.DEFAULT_FULL_SCHEMA=n(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=n(53),c.exports.MINIMAL_SCHEMA=n(113),c.exports.SAFE_SCHEMA=n(54),c.exports.DEFAULT_SCHEMA=n(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,n){"use strict";var v=n(38),S=n(53),_=n(285),y=n(54),s=n(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(38),S=n(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,n){"use strict";var v=n(38),S=n(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,n){"use strict";var v;try{v=n(145).Buffer}catch{}var S=n(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,n){"use strict";var v=n(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,n){"use strict";var v;try{v=n(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=n(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,n){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var _p=zs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ga=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,_a=/,? & /,xa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,ba=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,wa=/^0o[0-7]+$/i,Sa=/^(?:0|[1-9]\d*)$/,Aa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Da=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Ca="\\u0300-\\u036f",Ta="\\ufe20-\\ufe2f",Na="\\u20d0-\\u20ff",Ai=Ca+Ta+Na,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Fa="\\xac\\xb1\\xd7\\xf7",Oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ia="\\u2000-\\u206f",ka=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Fa+Oa+Ia+ka,zt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",Pa="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=Pa+"?",bt="["+Ni+"]?",Ep="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=bt+At+Ep,Ap="(?:"+[rn,F,j].join("|")+")"+ou,Dp="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Cp=RegExp(zt,"g"),Tp=RegExp(tn,"g"),Ba=RegExp(xn+"(?="+xn+")|"+Dp+ou,"g"),Np=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Sp,wp,Oi,Ap].join("|"),"g"),Fp=RegExp("["+le+_n+Ai+Ni+"]"),Op=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ip=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Pp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bp={"&":"&","<":"<",">":">",'"':""","'":"'"},Lp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Rp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mp=parseFloat,jp=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,Up=typeof self=="object"&&self&&self.Object===Object&&self,Ft=au||Up||Function("return this")(),La=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=La&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,su=nn&&nn.exports===La,Ra=su&&au.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ra&&Ra.binding&&Ra.binding("util")}catch{}}(),uu=nr&&nr.isArrayBuffer,lu=nr&&nr.isDate,cu=nr&&nr.isMap,fu=nr&&nr.isRegExp,pu=nr&&nr.isSet,hu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function zp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ma(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function bu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Vp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Yp=qa(Pp),Qp=qa(Bp);function Zp(fe){return"\\"+Rp[fe]}function eh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Fp.test(fe)}function th(fe){return Op.test(fe)}function rh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ha(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function Eu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Gh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=jh,br.prototype.delete=Uh,br.prototype.get=zh,br.prototype.has=qh,br.prototype.set=Gh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Jd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return il(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:wl(r),!se)return pe?Ld(r,od(te,r)):Bd(r,Pu(te,r))}else{if(!ht[Fe])return U?r:{};te=$d(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Ql(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Vl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?gs:vs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function ad(r){var h=Ot(r);return function(A){return Bu(A,r,h)}}function Bu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Lu(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ma,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:ec(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var Za=cl(),ju=cl(!0);function gr(r,h){return r&&Za(r,h,Ot)}function es(r,h){return r&&ju(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ld(r,h){return r!=null&&ft.call(r,h)}function cd(r,h){return r!=null&&h in pt(r)}function fd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Vu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):cs(r,U)}}return r}function ss(r,h){return r+$i(Fu()*(h-r+1))}function Sd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function us(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return As(Dl(r,h,Xt),r+"")}function Ad(r){return ku(In(r))}function Dd(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Ud(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var nl=vh||function(r){return Ft.clearTimeout(r)};function il(r,h){if(h)return r.slice();var A=r.length,O=Au?Au(A):new r.constructor(A);return r.copy(O),O}function ds(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Od(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Id(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function kd(r){return ri?pt(ri.call(r)):{}}function ol(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function sl(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Rt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function hl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Vd(r){return Ye(r)||pn(r)||!!(Tu&&r&&r[Tu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Sa.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ml(r,A)});function jl(r){var h=$(r);return h.__chain__=!0,h}function s0(r,h){return h(r),r}function po(r,h){return h(r)}var u0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return Qa(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function l0(){return jl(this)}function c0(){return new ar(this.value(),this.__chain__)}function f0(){this.__values__===E&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function p0(){return this}function h0(r){for(var h,A=this;A instanceof Yi;){var O=Il(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function d0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ds],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ds)}function m0(){return tl(this.__wrapped__,this.__actions__)}var y0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function v0(r,h,A){var O=Ye(r)?du:sd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}function g0(r,h){var A=Ye(r)?Lr:Mu;return A(r,Ge(h,3))}var _0=pl(kl),x0=pl(Pl);function b0(r,h){return It(ho(r,h),1)}function E0(r,h){return It(ho(r,h),Y)}function w0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function Ul(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?qp:Ru;return A(r,Ge(h,3))}var S0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function A0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var D0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),C0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Wu;return A(r,Ge(h,3))}function T0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),$u(r,h,A))}var N0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function F0(r,h,A){var O=Ye(r)?ja:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function O0(r,h,A){var O=Ye(r)?Gp:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Ru)}function I0(r,h){var A=Ye(r)?Lr:Mu;return A(r,vo(Ge(h,3)))}function k0(r){var h=Ye(r)?ku:Ad;return h(r)}function P0(r,h,A){(A?Rt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?rd:Dd;return O(r,h)}function B0(r){var h=Ye(r)?nd:Td;return h(r)}function L0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:is(r).length}function R0(r,h,A){var O=Ye(r)?Ua:Nd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}var M0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Rt(r,h[0],h[1])?h=[]:A>2&&Rt(h[0],h[1],h[2])&&(h=[h[0]]),$u(r,It(h,1),[])}),mo=gh||function(){return Ft.Date.now()};function j0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function ql(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Gl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ts=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Ts));O|=x}return Sr(r,O,h,A,U)}),Wl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Wl));O|=x}return Sr(h,O,r,A,U)});function Xl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,pc=h-yr;return Fe?Pt(pc,V-Nr):pc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&nl(se),De=0,O=pe=U=se=E}function Mt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return nl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=Mt,er}var U0=rt(function(r,h){return Lu(r,1,h)}),z0=rt(function(r,h,A){return Lu(r,cr(h)||0,A)});function q0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function G0(r){return Gl(2,r)}var W0=Fd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Cu.call(r,"callee")},Ye=ve.isArray,oy=uu?Vt(uu):hd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function ay(r){return r===!0||r===!1||xt(r)&&Lt(r)==ue}var Xr=xh||Us,sy=lu?Vt(lu):dd;function uy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function ly(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!is(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function cy(r,h){return ai(r,h)}function fy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Fs(r){if(!xt(r))return!1;var h=Lt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function py(r){return typeof r=="number"&&Nu(r)}function Cr(r){if(!vt(r))return!1;var h=Lt(r);return h==L||h==B||h==ie||h==ge}function Kl(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Vl=cu?Vt(cu):yd;function hy(r,h){return r===h||ns(r,h,xs(h))}function dy(r,h,A){return A=typeof A=="function"?A:E,ns(r,h,xs(h),A)}function my(r){return Yl(r)&&r!=+r}function yy(r){if(Zd(r))throw new Ke(v);return qu(r)}function vy(r){return r===null}function gy(r){return r==null}function Yl(r){return typeof r=="number"||xt(r)&&Lt(r)==q}function fi(r){if(!xt(r)||Lt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==dh}var Os=fu?Vt(fu):vd;function _y(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?Vt(pu):gd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Lt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Lt(r)==tt}var On=hu?Vt(hu):_d;function xy(r){return r===E}function by(r){return xt(r)&&Bt(r)==we}function Ey(r){return xt(r)&&Lt(r)==at}var wy=uo(os),Sy=uo(function(r,h){return r<=h});function Zl(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):qt(r);if(Qn&&r[Qn])return rh(r[Qn]());var h=Bt(r),A=h==M?Ha:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function ec(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=_u(r);var A=Ea.test(r);return A||wa.test(r)?jp(r.slice(2),A?2:8):vr.test(r)?H:+r}function tc(r){return _r(r,Wt(r))}function Ay(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Dy=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),rc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Cy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ty=Ar(Qa);function Ny(r,h){var A=Cn(r);return h==null?A:Pu(A,h)}var Fy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Rt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,gs(r),A),O&&(A=sr(A,n|i|u,zd));for(var U=h.length;U--;)cs(A,h[U]);return A});function $y(r,h){return ic(r,vo(Ge(h)))}var Ky=Ar(function(r,h){return r==null?{}:Ed(r,h)});function ic(r,h){if(r==null)return{};var A=yt(gs(r),function(O){return[O]});return h=Ge(h),Ku(r,A,function(O,U){return h(O,U[0])})}function Vy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Fu();return Pt(r+U*(h-r+Mp("1e-"+((U+"").length-1))),h)}return ss(r,h)}var sv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?sc(h):h)});function sc(r){return Ps(ct(r).toLowerCase())}function uc(r){return r=ct(r),r&&r.replace(Aa,Yp).replace(Tp,"")}function uv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function lv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Qp):r}function cv(r){return r=ct(r),r&&ga.test(r)?r.replace(Pr,"\\$&"):r}var fv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),pv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),hv=fl("toLowerCase");function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function mv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Os(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Ev=Nn(function(r,h,A){return r+(A?" ":"")+Ps(h)});function wv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Sv(r,h,A){var O=$.templateSettings;A&&Rt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,gl);var U=xo({},h.imports,O.imports,gl),V=Ot(U),te=Xa(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ja((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?ba:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kp+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,Mt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Da,Zp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),Mt&&(pe=!0,Fe+=`'; -`+Mt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=n(91),h=n(1),i=n(183),o=n(0),l=n(7),u=n(95),p=n(69),m=n(3),f=n(305),t=n(306),e=n(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(n(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,n){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var Up=Cs((ni,ki)=>{(function(){var c,a="4.17.21",n=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,oa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,aa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,la=/^(?:0|[1-9]\d*)$/,ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pa="\\u0300-\\u036f",ha="\\ufe20-\\ufe2f",da="\\u20d0-\\u20ff",Mi=pa+ha+da,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ya="\\u2000-\\u206f",_a=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ma+va+ya+_a,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ga="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ga+"?",Ct="["+zi+"]?",Wp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=Ct+Ot+Wp,$p="(?:"+[pn,O,j].join("|")+")"+ou,Jp="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Kp=RegExp($t,"g"),Vp=RegExp(fn,"g"),xa=RegExp(Pn+"(?="+Pn+")|"+Jp+ou,"g"),Yp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Hp,Xp,Gi,$p].join("|"),"g"),Qp=RegExp("["+ce+In+Mi+zi+"]"),Zp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],th=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var rh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},nh={"&":"&","<":"<",">":">",'"':""","'":"'"},ih={"&":"&","<":"<",">":">",""":'"',"'":"'"},oh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ah=parseFloat,sh=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,uh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=au||uh||Function("return this")(),ba=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=ba&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,su=hn&&hn.exports===ba,Ea=su&&au.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Ea&&Ea.binding&&Ea.binding("util")}catch{}}(),uu=lr&&lr.isArrayBuffer,lu=lr&&lr.isDate,cu=lr&&lr.isMap,fu=lr&&lr.isRegExp,pu=lr&&lr.isSet,hu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function lh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function wa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function bu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function _h(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var gh=Da(rh),xh=Da(nh);function bh(pe){return"\\"+oh[pe]}function Eh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Qp.test(pe)}function wh(pe){return Zp.test(pe)}function Sh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Fa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function Eu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function fd(r,d){var A=this.__data__,F=co(A,r);return F<0?(++this.size,A.push([r,d])):A[F][1]=d,this}Or.prototype.clear=sd,Or.prototype.delete=ud,Or.prototype.get=ld,Or.prototype.has=cd,Or.prototype.set=fd;function Fr(r){var d=-1,A=r==null?0:r.length;for(this.clear();++d=d?r:d)),r}function hr(r,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(r,F,U,V):A(r)),te!==c)return te;if(!bt(r))return r;var Te=tt(r);if(Te){if(te=mm(r),!ue)return Jt(r,te)}else{var Ie=qt(r),Be=Ie==B||Ie==L;if(en(r))return il(r,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:wl(r),!ue)return he?im(r,Dd(te,r)):nm(r,ku(te,r))}else{if(!yt[Ie])return U?r:{};te=vm(r,Ie,ue)}}V||(V=new gr);var qe=V.get(r);if(qe)return qe;V.set(r,te),Ql(r)?r.forEach(function(Je){te.add(hr(Je,d,A,Je,r,V))}):Vl(r)&&r.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,r,V))});var $e=De?he?ns:rs:he?Vt:Mt,it=Te?c:$e(r);return cr(it||r,function(Je,st){it&&(st=Je,Je=r[st]),vi(te,st,hr(Je,d,A,st,r,V))}),te}function Td(r){var d=Mt(r);return function(A){return Lu(A,r,d)}}function Lu(r,d,A){var F=A.length;if(r==null)return!F;for(r=vt(r);F--;){var U=A[F],V=d[U],te=r[U];if(te===c&&!(U in r)||!V(te))return!1}return!0}function Bu(r,d,A){if(typeof r!="function")throw new fr(S);return wi(function(){r.apply(c,A)},d)}function yi(r,d,A,F){var U=-1,V=$i,te=!0,ue=r.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=wa,te=!1):d.length>=n&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:ec(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ra=cl(),ju=cl(!0);function Ar(r,d){return r&&Ra(r,d,Mt)}function ja(r,d){return r&&ju(r,d,Mt)}function po(r,d){return Xr(d,function(A){return Br(r[A])})}function _n(r,d){d=Qr(d,r);for(var A=0,F=d.length;r!=null&&Ad}function Fd(r,d){return r!=null&&mt.call(r,d)}function Id(r,d){return r!=null&&d in vt(r)}function Pd(r,d,A){return r>=zt(d,A)&&r=120&&Te.length>=120)?new vn(te&&Te):c}Te=r[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==r&&no.call(ue,he,1),no.call(r,he,1);return r}function Vu(r,d){for(var A=r?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?no.call(r,U,1):Ka(r,U)}}return r}function Ha(r,d){return r+ao(Ou()*(d-r+1))}function Hd(r,d,A,F){for(var U=-1,V=kt(oo((d-r)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=r,r+=A;return te}function $a(r,d){var A="";if(!r||d<1||d>z)return A;do d%2&&(A+=r),d=ao(d/2),d&&(r+=r);while(d);return A}function at(r,d){return cs(Cl(r,d,Yt),r+"")}function $d(r){return Pu(Xn(r))}function Jd(r,d){var A=Xn(r);return So(A,yn(d,0,A.length))}function xi(r,d,A,F){if(!bt(r))return r;d=Qr(d,r);for(var U=-1,V=d.length,te=V-1,ue=r;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=r[V];te!==null&&!ir(te)&&(A?te<=d:te=n){var De=d?null:um(r);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?r:dr(r,d,A)}var nl=jh||function(r){return Bt.clearTimeout(r)};function il(r,d){if(d)return r.slice();var A=r.length,F=Au?Au(A):new r.constructor(A);return r.copy(F),F}function Za(r){var d=new r.constructor(r.byteLength);return new to(d).set(new to(r)),d}function Zd(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function em(r){var d=new r.constructor(r.source,cn.exec(r));return d.lastIndex=r.lastIndex,d}function tm(r){return mi?vt(mi.call(r)):{}}function ol(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,d){if(r!==d){var A=r!==c,F=r===null,U=r===r,V=ir(r),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&r>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&r=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return r.index-d.index}function sl(r,d,A,F){for(var U=-1,V=r.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=r.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function hl(r){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(r&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(r),Te=V.get(d);if(De&&Te)return De==d&&Te==r;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(r,d),V.set(d,r);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),r.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function _m(r){return tt(r)||bn(r)||!!(Tu&&r&&r[Tu])}function Lr(r,d){var A=typeof r;return d=d??z,!!d&&(A=="number"||A!="symbol"&&la.test(r))&&r>-1&&r%1==0&&r0){if(++d>=I)return arguments[0]}else d=0;return r.apply(c,arguments)}}function So(r,d){var A=-1,F=r.length,U=F-1;for(d=d===c?F:d;++A1?r[d-1]:c;return A=typeof A=="function"?(r.pop(),A):c,Rl(r,A)});function jl(r){var d=J(r);return d.__chain__=!0,d}function N0(r,d){return d(r),r}function Ao(r,d){return d(r)}var O0=kr(function(r){var d=r.length,A=d?r[0]:0,F=this.__wrapped__,U=function(V){return Ma(V,r)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function F0(){return jl(this)}function I0(){return new pr(this.value(),this.__chain__)}function P0(){this.__values__===c&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,d=r?c:this.__values__[this.__index__++];return{done:r,value:d}}function k0(){return this}function L0(r){for(var d,A=this;A instanceof lo;){var F=Il(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=r,d}function B0(){var r=this.__wrapped__;if(r instanceof ut){var d=r;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[fs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(fs)}function M0(){return tl(this.__wrapped__,this.__actions__)}var R0=yo(function(r,d,A){mt.call(r,A)?++r[A]:Ir(r,A,1)});function j0(r,d,A){var F=tt(r)?du:Nd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}function U0(r,d){var A=tt(r)?Xr:Ru;return A(r,Xe(d,3))}var z0=pl(Pl),q0=pl(kl);function G0(r,d){return Rt(Co(r,d),1)}function W0(r,d){return Rt(Co(r,d),Y)}function X0(r,d,A){return A=A===c?1:nt(A),Rt(Co(r,d),A)}function Ul(r,d){var A=tt(r)?cr:Vr;return A(r,Xe(d,3))}function zl(r,d){var A=tt(r)?ch:Mu;return A(r,Xe(d,3))}var H0=yo(function(r,d,A){mt.call(r,A)?r[A].push(d):Ir(r,A,[d])});function $0(r,d,A,F){r=Kt(r)?r:Xn(r),A=A&&!F?nt(A):0;var U=r.length;return A<0&&(A=kt(U+A,0)),Fo(r)?A<=U&&r.indexOf(d,A)>-1:!!U&&kn(r,d,A)>-1}var J0=at(function(r,d,A){var F=-1,U=typeof d=="function",V=Kt(r)?_e(r.length):[];return Vr(r,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),K0=yo(function(r,d,A){Ir(r,A,d)});function Co(r,d){var A=tt(r)?xt:Wu;return A(r,Xe(d,3))}function V0(r,d,A,F){return r==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Ju(r,d,A))}var Y0=yo(function(r,d,A){r[A?0:1].push(d)},function(){return[[],[]]});function Q0(r,d,A){var F=tt(r)?Sa:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Vr)}function Z0(r,d,A){var F=tt(r)?fh:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Mu)}function ev(r,d){var A=tt(r)?Xr:Ru;return A(r,No(Xe(d,3)))}function tv(r){var d=tt(r)?Pu:$d;return d(r)}function rv(r,d,A){(A?Wt(r,d,A):d===c)?d=1:d=nt(d);var F=tt(r)?Sd:Jd;return F(r,d)}function nv(r){var d=tt(r)?Ad:Vd;return d(r)}function iv(r){if(r==null)return 0;if(Kt(r))return Fo(r)?Bn(r):r.length;var d=qt(r);return d==R||d==Re?r.size:Ga(r).length}function ov(r,d,A){var F=tt(r)?Aa:Yd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}var av=at(function(r,d){if(r==null)return[];var A=d.length;return A>1&&Wt(r,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Ju(r,Rt(d,1),[])}),Do=Uh||function(){return Bt.Date.now()};function sv(r,d){if(typeof d!="function")throw new fr(S);return r=nt(r),function(){if(--r<1)return d.apply(this,arguments)}}function ql(r,d,A){return d=A?c:d,d=r&&d==null?r.length:d,Pr(r,E,c,c,c,c,d)}function Gl(r,d){var A;if(typeof d!="function")throw new fr(S);return r=nt(r),function(){return--r>0&&(A=d.apply(this,arguments)),r<=1&&(d=c),A}}var hs=at(function(r,d,A){var F=m;if(A.length){var U=$r(A,Gn(hs));F|=b}return Pr(r,F,d,A,U)}),Wl=at(function(r,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Wl));F|=b}return Pr(d,F,r,A,U)});function Xl(r,d,A){d=A?c:d;var F=Pr(r,e,c,c,c,c,c,d);return F.placeholder=Xl.placeholder,F}function Hl(r,d,A){d=A?c:d;var F=Pr(r,g,c,c,c,c,c,d);return F.placeholder=Hl.placeholder,F}function $l(r,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof r!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=r.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,pc=d-br;return Ie?zt(pc,V-Rr):pc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&nl(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return nl(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var uv=at(function(r,d){return Bu(r,1,d)}),lv=at(function(r,d,A){return Bu(r,vr(d)||0,A)});function cv(r){return Pr(r,D)}function To(r,d){if(typeof r!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Fr),A}To.Cache=Fr;function No(r){if(typeof r!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!r.call(this);case 1:return!r.call(this,d[0]);case 2:return!r.call(this,d[0],d[1]);case 3:return!r.call(this,d[0],d[1],d[2])}return!r.apply(this,d)}}function fv(r){return Gl(2,r)}var pv=Qd(function(r,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=zu(function(){return arguments}())?zu:function(r){return St(r)&&mt.call(r,"callee")&&!Du.call(r,"callee")},tt=_e.isArray,Dv=uu?rr(uu):Ld;function Kt(r){return r!=null&&Oo(r.length)&&!Br(r)}function Dt(r){return St(r)&&Kt(r)}function Tv(r){return r===!0||r===!1||St(r)&&Gt(r)==le}var en=qh||As,Nv=lu?rr(lu):Bd;function Ov(r){return St(r)&&r.nodeType===1&&!Si(r)}function Fv(r){if(r==null)return!0;if(Kt(r)&&(tt(r)||typeof r=="string"||typeof r.splice=="function"||en(r)||Wn(r)||bn(r)))return!r.length;var d=qt(r);if(d==R||d==Re)return!r.size;if(Ei(r))return!Ga(r).length;for(var A in r)if(mt.call(r,A))return!1;return!0}function Iv(r,d){return gi(r,d)}function Pv(r,d,A){A=typeof A=="function"?A:c;var F=A?A(r,d):c;return F===c?gi(r,d,c,A):!!F}function ms(r){if(!St(r))return!1;var d=Gt(r);return d==C||d==P||typeof r.message=="string"&&typeof r.name=="string"&&!Si(r)}function kv(r){return typeof r=="number"&&Nu(r)}function Br(r){if(!bt(r))return!1;var d=Gt(r);return d==B||d==L||d==ie||d==ge}function Kl(r){return typeof r=="number"&&r==nt(r)}function Oo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function bt(r){var d=typeof r;return r!=null&&(d=="object"||d=="function")}function St(r){return r!=null&&typeof r=="object"}var Vl=cu?rr(cu):Rd;function Lv(r,d){return r===d||qa(r,d,os(d))}function Bv(r,d,A){return A=typeof A=="function"?A:c,qa(r,d,os(d),A)}function Mv(r){return Yl(r)&&r!=+r}function Rv(r){if(bm(r))throw new Ze(v);return qu(r)}function jv(r){return r===null}function Uv(r){return r==null}function Yl(r){return typeof r=="number"||St(r)&&Gt(r)==q}function Si(r){if(!St(r)||Gt(r)!=ae)return!1;var d=ro(r);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Bh}var vs=fu?rr(fu):jd;function zv(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?rr(pu):Ud;function Fo(r){return typeof r=="string"||!tt(r)&&St(r)&&Gt(r)==je}function ir(r){return typeof r=="symbol"||St(r)&&Gt(r)==ot}var Wn=hu?rr(hu):zd;function qv(r){return r===c}function Gv(r){return St(r)&&qt(r)==Se}function Wv(r){return St(r)&&Gt(r)==ct}var Xv=bo(Wa),Hv=bo(function(r,d){return r<=d});function Zl(r){if(!r)return[];if(Kt(r))return Fo(r)?_r(r):Jt(r);if(fi&&r[fi])return Sh(r[fi]());var d=qt(r),A=d==R?Fa:d==Re?Ki:Xn;return A(r)}function Mr(r){if(!r)return r===0?r:0;if(r=vr(r),r===Y||r===-Y){var d=r<0?-1:1;return d*X}return r===r?r:0}function nt(r){var d=Mr(r),A=d%1;return d===d?A?d-A:d:0}function ec(r){return r?yn(nt(r),0,ee):0}function vr(r){if(typeof r=="number")return r;if(ir(r))return H;if(bt(r)){var d=typeof r.valueOf=="function"?r.valueOf():r;r=bt(d)?d+"":d}if(typeof r!="string")return r===0?r:+r;r=gu(r);var A=sa.test(r);return A||ua.test(r)?sh(r.slice(2),A?2:8):Sr.test(r)?H:+r}function tc(r){return Cr(r,Vt(r))}function $v(r){return r?yn(nt(r),-z,z):r===0?r:0}function dt(r){return r==null?"":nr(r)}var Jv=zn(function(r,d){if(Ei(d)||Kt(d)){Cr(d,Mt(d),r);return}for(var A in d)mt.call(d,A)&&vi(r,A,d[A])}),rc=zn(function(r,d){Cr(d,Vt(d),r)}),Io=zn(function(r,d,A,F){Cr(d,Vt(d),r,F)}),Kv=zn(function(r,d,A,F){Cr(d,Mt(d),r,F)}),Vv=kr(Ma);function Yv(r,d){var A=Un(r);return d==null?A:ku(A,d)}var Qv=at(function(r,d){r=vt(r);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(r,ns(r),A),F&&(A=hr(A,i|o|l,lm));for(var U=d.length;U--;)Ka(A,d[U]);return A});function vy(r,d){return ic(r,No(Xe(d)))}var yy=kr(function(r,d){return r==null?{}:Wd(r,d)});function ic(r,d){if(r==null)return{};var A=xt(ns(r),function(F){return[F]});return d=Xe(d),Ku(r,A,function(F,U){return d(F,U[0])})}function _y(r,d,A){d=Qr(d,r);var F=-1,U=d.length;for(U||(U=1,r=c);++Fd){var F=r;r=d,d=F}if(A||r%1||d%1){var U=Ou();return zt(r+U*(d-r+ah("1e-"+((U+"").length-1))),d)}return Ha(r,d)}var Ny=qn(function(r,d,A){return d=d.toLowerCase(),r+(A?sc(d):d)});function sc(r){return gs(dt(r).toLowerCase())}function uc(r){return r=dt(r),r&&r.replace(ca,gh).replace(Vp,"")}function Oy(r,d,A){r=dt(r),d=nr(d);var F=r.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&r.slice(A,U)==d}function Fy(r){return r=dt(r),r&&ii.test(r)?r.replace(ft,xh):r}function Iy(r){return r=dt(r),r&&na.test(r)?r.replace(Gr,"\\$&"):r}var Py=qn(function(r,d,A){return r+(A?"-":"")+d.toLowerCase()}),ky=qn(function(r,d,A){return r+(A?" ":"")+d.toLowerCase()}),Ly=fl("toLowerCase");function By(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;if(!d||F>=d)return r;var U=(d-F)/2;return xo(ao(U),A)+r+xo(oo(U),A)}function My(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;return d&&F>>0,A?(r=dt(r),r&&(typeof d=="string"||d!=null&&!vs(d))&&(d=nr(d),!d&&Ln(r))?Zr(_r(r),0,A):r.split(d,A)):[]}var Wy=qn(function(r,d,A){return r+(A?" ":"")+gs(d)});function Xy(r,d,A){return r=dt(r),A=A==null?0:yn(nt(A),0,r.length),d=nr(d),r.slice(A,A+d.length)==d}function Hy(r,d,A){var F=J.templateSettings;A&&Wt(r,d,A)&&(d=c),r=dt(r),d=Io({},d,F,_l);var U=Io({},d.imports,F.imports,_l),V=Mt(U),te=Oa(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=Ia((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?aa:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++th+"]")+` +`;r.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=r.slice(De,ar).replace(fa,bh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=cc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Fs(et))throw et;return et}function Av(r){return ct(r).toLowerCase()}function Dv(r){return ct(r).toUpperCase()}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return _u(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=xu(O,U),te=bu(O,U)+1;return Wr(O,V,te).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,wu(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h))+1;return Wr(O,0,U).join("")}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=xu(O,hr(h));return Wr(O,U).join("")}function Fv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Os(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ja(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Ov(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ah):r}var Iv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ps=fl("toUpperCase");function lc(r,h,A){return r=ct(r),h=A?E:h,h===E?th(r)?lh(r):Hp(r):r.match(h)||[]}var cc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Fs(A)?A:new Ke(A)}}),kv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Ts(r[A],r))}),r});function Pv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Wa(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Oh,it.prototype.reverse=Ih,it.prototype.value=kh,$.prototype.at=u0,$.prototype.chain=l0,$.prototype.commit=c0,$.prototype.next=f0,$.prototype.plant=h0,$.prototype.reverse=d0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=m0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=p0),$},jr=ch();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,La._=jr):Ft._=jr}).call(Wn)});var Rb={};wg(Rb,{default:()=>Bb,options:()=>bp,setup:()=>Pb,teardown:()=>Lb});module.exports=Sg(Rb);var gb=jt(require("k6/encoding")),_b=require("k6"),xb=jt(require("k6/http"));var Ag=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Ag;var Dg=typeof self=="object"&&self&&self.Object===Object&&self,Cg=Eo||Dg||Function("return this")(),Dt=Cg;var Tg=Dt.Symbol,Fr=Tg;var dc=Object.prototype,Ng=dc.hasOwnProperty,Fg=dc.toString,pi=Fr?Fr.toStringTag:void 0;function Og(E){var l=Ng.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Fg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var mc=Og;var Ig=Object.prototype,kg=Ig.toString;function Pg(E){return kg.call(E)}var yc=Pg;var Bg="[object Null]",Lg="[object Undefined]",vc=Fr?Fr.toStringTag:void 0;function Rg(E){return E==null?E===void 0?Lg:Bg:vc&&vc in Object(E)?mc(E):yc(E)}var tr=Rg;function Mg(E){return E!=null&&typeof E=="object"}var fr=Mg;var jg="[object Symbol]";function Ug(E){return typeof E=="symbol"||fr(E)&&tr(E)==jg}var kn=Ug;function zg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=y_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Oc=__;function x_(E){return function(){return E}}var Ic=x_;var b_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=b_;var E_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Ic(l),writable:!0})}:wo,kc=E_;var w_=Oc(kc),Pc=w_;var S_=9007199254740991,A_=/^(?:0|[1-9]\d*)$/;function D_(E,l){var o=typeof E;return l=l??S_,!!l&&(o=="number"||o!="symbol"&&A_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=B_}var Co=L_;function R_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=R_;function M_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var Uc=M_;function j_(E){return jc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&Uc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var hf=sx;function ux(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var df=ux;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),op=E=>new Ks(new URL(E||"").search).object();var sp=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),ap.default.request(v,ip(E,w),y,Po(a,m))};var lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yb=jt(Ys());var vb=jt(Gn()),cp=(E=10,l)=>(0,lp.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=jt(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${fp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=jt(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:cp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(op(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var hp=require("k6"),Zs=require("k6"),eu=require("k6"),mn=require("k6"),dp=jt(Gn()),mp=require("k6"),ya=require("k6"),xi=jt(Gn()),va=require("k6"),yn=require("k6"),tu=jt(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,hp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,Zs.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,Zs.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,eu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,eu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,dp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,mp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Cb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=sp(E,w,{jar:new pp.CookieJar}),m=new pa(y);this.application=new bb(l,m),this.drive=new Eb(l,m),this.group=new wb(l,m),this.resource=new Sb(l,m),this.role=new Ab(l,m),this.search=new Db(l,m),this.share=new Cb(m),this.tag=new Tb(l,m),this.user=new Nb(l,m)}};var Fb=jt(require("k6/http"));var Ob=require("https://jslib.k6.io/url/1.0.0/index.js"),Ib=require("k6/experimental/timers"),yp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),vp=jt(Ys());var kb=jt(Gn());var ru=(E=10,l)=>(0,yp.randomString)(E,l),gp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return vp.query(l,E).map(o=>$s(o)?void 0:o)};var xp=require("k6/crypto"),nu=jt(require("k6/execution")),iu=jt(_p()),Ut={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{small:{size:parseInt(__ENV.ASSET_SMALL_SIZE)||10,quantity:parseInt(__ENV.ASSET_SMALL_QUANTITY)||1},medium:{size:parseInt(__ENV.ASSET_MEDIUM_SIZE)||10*10,quantity:parseInt(__ENV.ASSET_MEDIUM_QUANTITY)||1},large:{size:parseInt(__ENV.ASSET_LARGE_SIZE)||10*100,quantity:parseInt(__ENV.ASSET_LARGE_QUANTITY)||1}},k6:{vus:1,insecureSkipTLSVerify:!0}},bp=Ut.k6;function Pb(){let E=Ut.adminUser,l=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,E),o=(0,iu.times)(bp.vus||1,()=>{let v={login:ru(),password:ru()};l.user.create(v),l.user.enable(v.login);let y=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,v).user.drives(),[m=v.login]=gp("$.value[?(@.driveType === 'personal')].id",y?.body);return{credential:v,home:m}});return{adminCredential:E,userInfos:o}}function Bb({userInfos:E}){let l=[],{home:o,credential:v}=E[nu.default.vu.idInTest-1],w=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,v);for(let[y,m]of Object.entries(Ut.assets))(0,iu.times)(m.quantity,a=>{let p=[nu.default.scenario.iterationInTest,y,a].join("-");w.resource.upload(o,p,(0,xp.randomBytes)(m.size*1e3)),l.push(()=>w.resource.delete(o,p))});l.forEach(y=>y())}function Lb({userInfos:E,adminCredential:l}){let o=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=cc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ms(it))throw it;return it}function $y(r){return dt(r).toLowerCase()}function Jy(r){return dt(r).toUpperCase()}function Ky(r,d,A){if(r=dt(r),r&&(A||d===c))return gu(r);if(!r||!(d=nr(d)))return r;var F=_r(r),U=_r(d),V=xu(F,U),te=bu(F,U)+1;return Zr(F,V,te).join("")}function Vy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.slice(0,wu(r)+1);if(!r||!(d=nr(d)))return r;var F=_r(r),U=bu(F,_r(d))+1;return Zr(F,0,U).join("")}function Yy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.replace(ai,"");if(!r||!(d=nr(d)))return r;var F=_r(r),U=xu(F,_r(d));return Zr(F,U).join("")}function Qy(r,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}r=dt(r);var V=r.length;if(Ln(r)){var te=_r(r);V=te.length}if(A>=V)return r;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):r.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),vs(U)){if(r.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ia(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(r.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function Zy(r){return r=dt(r),r&&Ut.test(r)?r.replace(wt,Th):r}var e_=qn(function(r,d,A){return r+(A?" ":"")+d.toUpperCase()}),gs=fl("toUpperCase");function lc(r,d,A){return r=dt(r),d=A?c:d,d===c?wh(r)?Fh(r):dh(r):r.match(d)||[]}var cc=at(function(r,d){try{return tr(r,c,d)}catch(A){return ms(A)?A:new Ze(A)}}),t_=kr(function(r,d){return cr(d,function(A){A=Dr(A),Ir(r,A,hs(r[A],r))}),r});function r_(r){var d=r==null?0:r.length,A=Xe();return r=d?xt(r,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(r,ee);d=Xe(d),r-=ee;for(var U=Na(F,d);++A0||d<0)?new ut(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-r)),A)},ut.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(r,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=r.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?r.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(r){var d=Vi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",F=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(r,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=Zh,ut.prototype.reverse=ed,ut.prototype.value=td,J.prototype.at=O0,J.prototype.chain=F0,J.prototype.commit=I0,J.prototype.next=P0,J.prototype.plant=L0,J.prototype.reverse=B0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=M0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=k0),J},Jr=Ih();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,ba._=Jr):Bt._=Jr}).call(ni)});var vS={};jt(vS,{default:()=>Gp,options:()=>qp,setup:()=>dS,teardown:()=>mS});module.exports=X_(vS);var ap=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var H_=typeof global=="object"&&global&&global.Object===Object&&global,ko=H_;var $_=typeof self=="object"&&self&&self.Object===Object&&self,J_=ko||$_||Function("return this")(),Ft=J_;var K_=Ft.Symbol,jr=K_;var dc=Object.prototype,V_=dc.hasOwnProperty,Y_=dc.toString,Ai=jr?jr.toStringTag:void 0;function Q_(c){var a=V_.call(c,Ai),n=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=Y_.call(c);return v&&(a?c[Ai]=n:delete c[Ai]),S}var mc=Q_;var Z_=Object.prototype,eg=Z_.toString;function tg(c){return eg.call(c)}var vc=tg;var rg="[object Null]",ng="[object Undefined]",yc=jr?jr.toStringTag:void 0;function ig(c){return c==null?c===void 0?ng:rg:yc&&yc in Object(c)?mc(c):vc(c)}var sr=ig;function og(c){return c!=null&&typeof c=="object"}var yr=og;var ag="[object Symbol]";function sg(c){return typeof c=="symbol"||yr(c)&&sr(c)==ag}var Hn=sg;function ug(c,a){for(var n=-1,v=c==null?0:c.length,S=Array(v);++n0){if(++a>=Mg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Fc=Ug;function zg(c){return function(){return c}}var Ic=zg;var qg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=qg;var Gg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Ic(a),writable:!0})}:Lo,Pc=Gg;var Wg=Fc(Pc),kc=Wg;var Xg=9007199254740991,Hg=/^(?:0|[1-9]\d*)$/;function $g(c,a){var n=typeof c;return a=a??Xg,!!a&&(n=="number"||n!="symbol"&&Hg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=r1}var jo=n1;function i1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=i1;function o1(c,a,n){if(!At(n))return!1;var v=typeof a;return(v=="number"?rn(n)&&Kn(a,n.length):v=="string"&&a in n)?tn(n[a],c):!1}var jc=o1;function a1(c){return Rc(function(a,n){var v=-1,S=n.length,_=S>1?n[S-1]:void 0,y=S>2?n[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&jc(n[0],n[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++v-1}var pf=Tx;function Nx(c,a){var n=this.__data__,v=on(n,c);return v<0?(++this.size,n.push([c,a])):n[v][1]=a,this}var hf=Nx;function ei(c){var a=-1,n=c==null?0:c.length;for(this.clear();++a(0,tp.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var rp=require("k6/http");var Ps=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Ps.URLSearchParams(Object.keys(c).map(n=>[n,String(c[n])])).toString(),Ko=c=>{let a=new URL(c).search,n=new Ps.URLSearchParams(a);return Object.fromEntries(n)};var Vo=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,rp.request)(a,Tr(c.baseUrl,n),v,Sn(_,S))};var ks=require("k6");var ke=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ks.check)(c.val,n,c.tags)};var sp=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var ip=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${ip.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),n=this.getCode(a),v=this.getToken(n);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),n=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!n)&&(0,Yo.fail)(this.logonURL),n}getCode(a){let n=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Qo.default.get(n,{redirects:0}),S=Ht(Ko(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let n=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(n.json(),"access_token",""),tokenType:Ht(n.json(),"token_type",""),idToken:Ht(n.json(),"id_token",""),expiresIn:Ht(n.json(),"expires_in",0)};return(n.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Yo.fail)(this.tokenURL),v}};var Rs={};jt(Rs,{POST__get_roles:()=>jb});var jb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var js={};jt(js,{SEARCH__search_for_resources:()=>Ub});var Ub=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var Us={};jt(Us,{DELETE__delete_resource:()=>Wb,GET__download_resource:()=>qb,MKCOL__create_resource:()=>Gb,MOVE__move_resource:()=>Xb,PROPFIND__get_properties_for_resource:()=>Hb,PUT__upload_resource:()=>zb,REPORT__get_report_for_resources:()=>$b});var zb=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),qb=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),Gb=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),Wb=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),Xb=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),Hb=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),$b=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a);var zs={};jt(zs,{DELETE__delete_resource:()=>Yb,GET__download_resource:()=>Kb,MKCOL__create_resource:()=>Vb,MOVE__move_resource:()=>Qb,PROPFIND__get_properties_for_resource:()=>Zb,PUT__upload_resource:()=>Jb});var Jb=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),Kb=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),Vb=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),Yb=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),Qb=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),Zb=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a);var qs={};jt(qs,{DELETE__delete_tag:()=>tE,POST__create_tag:()=>eE,PROPFIND__get_tags_with_properties:()=>rE});var eE=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),tE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),rE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Gs={};jt(Gs,{DELETE__remove_tag_from_resource:()=>iE,PROPFIND__get_tags_with_properties_for_resource:()=>oE,PUT__add_tag_to_resource:()=>nE});var nE=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),iE=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),oE=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a);var Ws={};jt(Ws,{GET__get_applications:()=>aE});var aE=c=>c("GET","/graph/v1.0/applications");var Xs={};jt(Xs,{DELETE__delete_drive:()=>uE,POST__create_drive:()=>sE});var sE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),uE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Hs={};jt(Hs,{DELETE__remove_tags_from_resource:()=>cE,PUT__add_tags_to_resource:()=>lE});var lE=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),cE=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a}));var $s={};jt($s,{DELETE__delete_group:()=>pE,POST__create_group:()=>fE});var fE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),pE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Js={};jt(Js,{GET__current_user:()=>dE,GET__get_current_user_drives:()=>hE});var hE=c=>c("GET","/graph/v1.0/me/drives"),dE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ks={};jt(Ks,{DELETE__delete_user:()=>vE,POST__add_app_role_to_user:()=>yE,POST__create_user:()=>mE});var mE=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),vE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),yE=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a}));var Vs={};jt(Vs,{DELETE__delete_group:()=>gE,POST__create_group:()=>_E});var _E=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),gE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Ys={};jt(Ys,{DELETE__delete_user:()=>EE,POST__create_user:()=>xE,PUT__enable_user:()=>bE});var xE=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),bE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),EE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Qs={};jt(Qs,{GET__search_for_sharees:()=>wE});var wE=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_share:()=>CE,POST__accept_share:()=>AE,POST__create_share:()=>SE});var SE=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},AE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),CE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Rs}},dav:{...js,files:Us,spaces:zs,systemtags:qs,systemtags_relations:Gs},graph:{v1:{applications:Ws,drives:Xs,extensions:{org_libre_graph:{tags:Hs}},groups:$s,me:Js,users:Ks}},ocs:{v2:{apps:{cloud:{groups:Vs,users:Ys},file_sharing:{v1:{sharees:Qs,shares:Zs}}}}}};var up=Qt(Ii());var Cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Dp=require("k6/http");var tu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Np=Qt(Bs());var Op=Qt(Ii()),DE=Object.defineProperty,It=(c,a)=>{for(var n in a)DE(c,n,{get:a[n],enumerable:!0})},TE={};It(TE,{Adapter:()=>NE,BasicAuth:()=>OE,Kopano:()=>FE});var NE={kopano:"kopano",basicAuth:"basicAuth"},OE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},FE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),n=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+n.expiresIn-5),v})(),token:n}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,n=ea.default.get(a,{redirects:0}),v=Ht(Ko(n.headers.Location),"code");return(n.status!==302||!v)&&(0,Zo.fail)(c),v}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),n={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!n.accessToken||!n.tokenType||!n.idToken||!n.expiresIn)&&(0,Zo.fail)(this.tokenURL),n}},IE={};It(IE,{Client:()=>HE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},PE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},kE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},LE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},BE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,up.create)({version:"1.0",encoding:"UTF-8"}),ME={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},op={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(n).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},RE={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},jE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},UE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=ME[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},zE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},qE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:op[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:op[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:RE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},GE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},WE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=jE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},XE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},HE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new sp.CookieJar}});this.application=new PE(c.platform,n),this.drive=new kE(c.platform,n),this.group=new LE(c.platform,n),this.me=new BE(c.platform,n),this.resource=new UE(c.platform,n),this.role=new zE(c.platform,n),this.search=new qE(c.platform,n),this.share=new GE(c.platform,n),this.tag=new WE(c.platform,n),this.user=new XE(c.platform,n)}},eu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},$E={};It($E,{ItemType:()=>Mw,Permission:()=>Rw,ShareType:()=>Bw,endpoints:()=>jw});var cp={};It(cp,{POST__get_roles:()=>JE});var JE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),fp={};It(fp,{SEARCH__search_for_resources:()=>KE});var KE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),pp={};It(pp,{DELETE__delete_resource:()=>ZE,GET__download_resource:()=>YE,MKCOL__create_resource:()=>QE,MOVE__move_resource:()=>ew,PROPFIND__get_properties_for_resource:()=>tw,PUT__upload_resource:()=>VE,REPORT__get_report_for_resources:()=>rw});var VE=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),YE=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),QE=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),ZE=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),ew=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),tw=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),rw=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a),hp={};It(hp,{DELETE__delete_resource:()=>aw,GET__download_resource:()=>iw,MKCOL__create_resource:()=>ow,MOVE__move_resource:()=>sw,PROPFIND__get_properties_for_resource:()=>uw,PUT__upload_resource:()=>nw});var nw=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),iw=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),ow=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),aw=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),sw=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),uw=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a),dp={};It(dp,{DELETE__delete_tag:()=>cw,POST__create_tag:()=>lw,PROPFIND__get_tags_with_properties:()=>fw});var lw=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),cw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),fw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),mp={};It(mp,{DELETE__remove_tag_from_resource:()=>hw,PROPFIND__get_tags_with_properties_for_resource:()=>dw,PUT__add_tag_to_resource:()=>pw});var pw=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),hw=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),dw=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a),vp={};It(vp,{GET__get_applications:()=>mw});var mw=c=>c("GET","/graph/v1.0/applications"),yp={};It(yp,{DELETE__delete_drive:()=>yw,POST__create_drive:()=>vw});var vw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),yw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),_p={};It(_p,{DELETE__remove_tags_from_resource:()=>gw,PUT__add_tags_to_resource:()=>_w});var _w=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gw=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gp={};It(gp,{DELETE__delete_group:()=>bw,POST__create_group:()=>xw});var xw=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),bw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),xp={};It(xp,{GET__current_user:()=>ww,GET__get_current_user_drives:()=>Ew});var Ew=c=>c("GET","/graph/v1.0/me/drives"),ww=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),bp={};It(bp,{DELETE__delete_user:()=>Aw,POST__add_app_role_to_user:()=>Cw,POST__create_user:()=>Sw});var Sw=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),Aw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Cw=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a})),Ep={};It(Ep,{DELETE__delete_group:()=>Tw,POST__create_group:()=>Dw});var Dw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Tw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),wp={};It(wp,{DELETE__delete_user:()=>Fw,POST__create_user:()=>Nw,PUT__enable_user:()=>Ow});var Nw=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{GET__search_for_sharees:()=>Iw});var Iw=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_share:()=>Lw,POST__accept_share:()=>kw,POST__create_share:()=>Pw});var Pw=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},kw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Lw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Bw={user:0,group:1,publicLink:3,federatedCloudShare:6},Mw={file:"file",folder:"folder"},Rw={read:0,update:2,create:4,delete:8,share:16,all:31},jw={api:{v0:{settings:cp}},dav:{...fp,files:pp,spaces:hp,systemtags:dp,systemtags_relations:mp},graph:{v1:{applications:vp,drives:yp,extensions:{org_libre_graph:{tags:_p}},groups:gp,me:xp,users:bp}},ocs:{v2:{apps:{cloud:{groups:Ep,users:wp},file_sharing:{v1:{sharees:Sp,shares:Ap}}}}}},Uw={};It(Uw,{check:()=>$w,cleanURL:()=>Tp,group:()=>Hw,objectToQueryString:()=>Gw,platformGuard:()=>qw,queryJson:()=>Fp,queryStringToObject:()=>Ww,queryXml:()=>Jw,randomString:()=>zw,requestFactory:()=>Xw});var zw=(c=10,a)=>(0,Cp.randomString)(c,a),qw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Tp=(...c)=>c.join("/").replace(/(?new tu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Ww=c=>{let a=new URL(c).search,n=new tu.URLSearchParams(a);return Object.fromEntries(n)},Xw=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Dp.request)(a,Tp(c.baseUrl,n),v,Sn(_,S))},Hw=(c,a)=>(0,ta.group)(c,()=>a(c)),$w=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ta.check)(c.val,n,c.tags)},Fp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Np.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)},Jw=(c,a)=>{let n=Op.create(a).end({format:"object"});return Fp(c,n)};var Kw=Qt(require("k6/encoding")),Vw=require("k6"),Yw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var Pp=require("k6/http");var kp=Qt(Ii());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},Qw=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},Zw=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},eS=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},tS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,kp.create)({version:"1.0",encoding:"UTF-8"}),rS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Ip={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(n).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},nS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},iS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},oS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=rS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},aS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},sS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Ip[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Ip[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:nS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},uS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},lS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=iS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},cS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},Pi=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new Pp.CookieJar}});this.application=new Qw(c.platform,n),this.drive=new Zw(c.platform,n),this.group=new eS(c.platform,n),this.me=new tS(c.platform,n),this.resource=new oS(c.platform,n),this.role=new aS(c.platform,n),this.search=new sS(c.platform,n),this.share=new uS(c.platform,n),this.tag=new lS(c.platform,n),this.user=new cS(c.platform,n)}};var Bp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var fS=require("k6/http");var pS=require("https://jslib.k6.io/url/1.0.0/index.js"),Mp=require("k6"),Rp=Qt(Bs());var hS=Qt(Ii()),ru=(c=10,a)=>(0,Bp.randomString)(c,a);var jp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Rp.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)};var zp=require("k6/crypto"),nu=Qt(require("k6/execution")),iu=Qt(Up()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:eu[__ENV.PLATFORM]||eu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{small:{size:parseInt(__ENV.ASSET_SMALL_SIZE,10)||10,quantity:parseInt(__ENV.ASSET_SMALL_QUANTITY,10)||1},medium:{size:parseInt(__ENV.ASSET_MEDIUM_SIZE,10)||10*10,quantity:parseInt(__ENV.ASSET_MEDIUM_QUANTITY,10)||1},large:{size:parseInt(__ENV.ASSET_LARGE_SIZE,10)||10*100,quantity:parseInt(__ENV.ASSET_LARGE_QUANTITY,10)||1}},k6:{vus:1,insecureSkipTLSVerify:!0}},qp=wr.k6;function dS(){let c=new Pi({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,iu.times)(qp.vus||1,()=>{let[n,v]=[ru(),ru()];c.user.createUser({userLogin:n,userPassword:v}),c.user.enableUser({userLogin:n});let _=new Pi({...wr,userLogin:n,userPassword:v}).me.getMyDrives(),[y=n]=jp("$.value[?(@.driveType === 'personal')].id",_?.body);return{actorLogin:n,actorPassword:v,actorRoot:y}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function Gp({actorData:c}){let{actorLogin:a,actorPassword:n,actorRoot:v}=c[nu.default.vu.idInTest-1],S=new Pi({...wr,userLogin:a,userPassword:n}),_=[];Object.keys(wr.assets).forEach(y=>{let{quantity:s,size:h}=wr.assets[y];(0,iu.times)(s,i=>{let o=[nu.default.scenario.iterationInTest,y,i].join("-");S.resource.uploadResource({root:v,resourcePath:o,resourceBytes:(0,zp.randomBytes)(h*1e3)}),_.push(()=>{S.resource.deleteResource({root:v,resourcePath:o})})})}),_.forEach(y=>{y()})}function mS({adminData:c,actorData:a}){let n=new Pi({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{n.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-050-upload-download.js b/packages/k6-tests/artifacts/koko-050-upload-download.js index 4122a5a..88f1d2c 100644 --- a/packages/k6-tests/artifacts/koko-050-upload-download.js +++ b/packages/k6-tests/artifacts/koko-050-upload-download.js @@ -1,90 +1,90 @@ -"use strict";var gg=Object.create;var bo=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var xg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var zs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),wg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},hc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of xg(l))!Eg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=_g(l,w))||v.enumerable});return E};var jt=(E,l,o)=>(o=E!=null?gg(bg(E)):{},hc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),Sg=E=>hc(bo({},"__esModule",{value:!0}),E);var Ys=zs((up,Vs)=>{(function(E){if(typeof up=="object"&&typeof Vs<"u")Vs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ga(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=ga(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function _a(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function xa(){var F,j,Z,le,be;return be=S,F=_a(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=xa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function ba(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=ba(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ea(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Ea(F)),!Ae(","))break;we()}while(e<_);return j}function wa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Sa(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Aa(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Da(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ca(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Ta(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Na(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Ta(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Fa(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function Oa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ia(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Oa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function ka(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Aa(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Na(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Da(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Ia(),be);case"throw":return b.markEnd(ka(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(wa(),be);case"while":return b.markEnd(Ca(),be);case"with":return b.markEnd(Fa(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Sa(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Pa,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var U_=Object.create;var Po=Object.defineProperty;var z_=Object.getOwnPropertyDescriptor;var q_=Object.getOwnPropertyNames;var G_=Object.getPrototypeOf,W_=Object.prototype.hasOwnProperty;var Cs=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var n in a)Po(c,n,{get:a[n],enumerable:!0})},hc=(c,a,n,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of q_(a))!W_.call(c,S)&&S!==n&&Po(c,S,{get:()=>a[S],enumerable:!(v=z_(a,S))||v.enumerable});return c};var Qt=(c,a,n)=>(n=c!=null?U_(G_(c)):{},hc(a||!c||!c.__esModule?Po(n,"default",{value:c,enumerable:!0}):n,c)),X_=c=>hc(Po({},"__esModule",{value:!0}),c);var Bs=Cs((np,Ls)=>{(function(c){if(typeof np=="object"&&typeof Ls<"u")Ls.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,n;return function v(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ia(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function oa(){var O,j,Z,ce,Ee;return Ee=w,O=ia(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=oa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=aa(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function sa(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(sa(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ma(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function va(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ga,y.parse=Hi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof Qs=="object"?Qs.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof Ms=="object"?Ms.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function n(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,n),S.l=!0,S.exports}return n.m=c,n.c=a,n.d=function(v,S,_){n.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},n.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},n.t=function(v,S){if(1&S&&(v=n(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(n.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)n.d(_,y,function(s){return v[s]}.bind(null,y));return _},n.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return n.d(S,"a",S),S},n.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},n.p="",n(n.s=184)}([function(c,a,n){"use strict";function v(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),v(n(240)),v(n(251)),v(n(175)),v(n(107)),v(n(29)),v(n(73)),v(n(106)),v(n(30)),v(n(252)),v(n(52)),v(n(97)),v(n(253)),v(n(37)),v(n(51)),v(n(173)),v(n(176)),v(n(172)),v(n(108)),v(n(254)),v(n(255)),v(n(256)),v(n(72)),v(n(177)),v(n(105)),v(n(17)),v(n(257)),v(n(12)),v(n(174))},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(212);a.FixedSizeSet=S.FixedSizeSet;var _=n(213);a.ObjectCache=_.ObjectCache;var y=n(214);a.CompareCache=y.CompareCache;var s=n(215);a.Lazy=s.Lazy;var h=n(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(241);a.Cast=v.Cast;var S=n(150);a.Guard=S.Guard;var _=n(242);a.EmptySet=_.EmptySet},function(c,a,n){var v=n(11),S=n(55).f,_=n(21),y=n(25),s=n(80),h=n(119),i=n(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,n){var v=n(11),S=n(81),_=n(14),y=n(58),s=n(86),h=n(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,n){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(n(228));a.base64=S;var _=v(n(146));a.byte=_;var y=v(n(147));a.byteSequence=y;var s=v(n(96));a.codePoint=s;var h=v(n(232));a.json=h;var i=v(n(233));a.list=i;var o=v(n(234));a.map=o;var l=v(n(235));a.namespace=l;var u=v(n(236));a.queue=u;var p=v(n(237));a.set=p;var m=v(n(238));a.stack=m;var f=v(n(239));a.string=f},function(c,a){c.exports=function(n){try{return!!n()}catch{return!0}}},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,n){"use strict";var v=n(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,n){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},function(c,a){var n={}.hasOwnProperty;c.exports=function(v,S){return n.call(v,S)}},function(c,a,n){var v=n(16),S=n(115),_=n(18),y=n(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,n){"use strict";var v=n(24),S=n(130),_=n(49),y=n(43),s=n(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,n){var v=n(90),S=n(25),_=n(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,n){var v=n(16),S=n(15),_=n(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,n){"use strict";var v=n(137).charAt,S=n(43),_=n(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,n){var v=n(11),S=n(203),_=n(19),y=n(21),s=n(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,n){var v=n(41),S=n(35);c.exports=function(_){return v(S(_))}},function(c,a,n){var v=n(11),S=n(21),_=n(14),y=n(80),s=n(117),h=n(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,n){var v=n(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,a,n){var v=n(35);c.exports=function(S){return Object(v(S))}},function(c,a,n){var v=n(16),S=n(8),_=n(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(148),S=n(149),_=n(151),y=n(98),s=n(153),h=n(154),i=n(155),o=n(99),l=n(100),u=n(156),p=n(157),m=n(101),f=n(158),t=n(159),e=n(160),g=n(161),b=n(162),x=n(163),E=n(164),w=n(165),D=n(166),T=n(167),N=n(168),I=n(169),M=n(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,n){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(17),y=n(3),s=n(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(46),y=n(44),s=n(16),h=n(86),i=n(124),o=n(8),l=n(14),u=n(59),p=n(13),m=n(18),f=n(27),t=n(24),e=n(56),g=n(40),b=n(60),x=n(61),E=n(82),w=n(190),D=n(85),T=n(55),N=n(15),I=n(79),M=n(21),k=n(25),G=n(81),$=n(57),Y=n(45),z=n(58),X=n(5),H=n(125),ee=n(126),re=n(62),de=n(43),ve=n(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,n){"use strict";var v=n(4),S=n(16),_=n(11),y=n(14),s=n(13),h=n(15).f,i=n(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,n){n(126)("iterator")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(70),i=n(3),o=n(9),l=n(0),u=n(152),p=n(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,n){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=v(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=v(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,n){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:n)(S)}},function(c,a,n){"use strict";var v=n(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,n){"use strict";n(31),n(32),n(33),n(220),n(64),n(19),n(65),n(20),n(68),n(66),n(92),n(144),n(22),n(94),n(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,n){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(7),h=n(29),i=n(17),o=n(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,n){var v=n(121),S=n(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,a,n){var v=n(15).f,S=n(14),_=n(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,a,n){var v=n(8),S=n(5),_=n(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,n){"use strict";var v=n(4),S=n(122).indexOf,_=n(48),y=n(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(16),S=n(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,n){"use strict";var v=n(25),S=n(18),_=n(8),y=n(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(138),n(20),n(66),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),s=n(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(n(50).BaseWriter);a.ObjectWriter=h},function(c,a,n){"use strict";var v=n(4),S=n(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=v},function(c,a,n){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=n(9),_=n(3),y=n(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,n){"use strict";var v=n(39);c.exports=v.DEFAULT=new v({include:[n(54)],explicit:[n(299),n(300),n(301)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=n(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=n(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=n(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}c.exports=n},function(c,a,n){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,a,n){var v=n(11),S=n(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,a,n){var v=n(44),S=n(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,n){var v=n(121),S=n(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,a,n){var v=n(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,n){var v=n(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,n){var v=n(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,n){"use strict";var v=n(4),S=n(195),_=n(132),y=n(133),s=n(62),h=n(21),i=n(25),o=n(5),l=n(44),u=n(49),p=n(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,n){"use strict";var v=n(4),S=n(13),_=n(59),y=n(83),s=n(26),h=n(24),i=n(134),o=n(5),l=n(63),u=n(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=n(6),h=n(2),i=n(9),o=n(34),l=n(3),u=n(1),p=n(7),m=n(152),f=n(0),t=n(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=n(2),h=n(34),i=n(9),o=n(7),l=n(0),u=n(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),s=n(71),h=n(0),i=n(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(0),_=n(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(1),h=n(99),i=n(73),o=n(17),l=n(173),u=n(30),p=n(52),m=n(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,n){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(17),h=n(51),i=n(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,n){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,n){"use strict";n(179),Object.defineProperty(a,"__esModule",{value:!0});var v=n(262),S=n(110),_=n(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(153);a.AbortController=S.AbortControllerImpl;var _=n(154);a.AbortSignal=_.AbortSignalImpl;var y=n(102);a.AbstractRange=y.AbstractRangeImpl;var s=n(157);a.Attr=s.AttrImpl;var h=n(158);a.CDATASection=h.CDATASectionImpl;var i=n(71);a.CharacterData=i.CharacterDataImpl;var o=n(263),l=n(159);a.Comment=l.CommentImpl;var u=n(171);a.CustomEvent=u.CustomEventImpl;var p=n(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=n(98);a.Document=m.DocumentImpl;var f=n(264),t=n(155);a.DocumentType=t.DocumentTypeImpl;var e=n(6);a.dom=e.dom;var g=n(148);a.DOMImplementation=g.DOMImplementationImpl;var b=n(170);a.DOMTokenList=b.DOMTokenListImpl;var x=n(99);a.Element=x.ElementImpl;var E=n(104);a.Event=E.EventImpl;var w=n(70);a.EventTarget=w.EventTargetImpl;var D=n(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=n(265);a.MutationObserver=T.MutationObserverImpl;var N=n(169);a.MutationRecord=N.MutationRecordImpl;var I=n(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=n(168);a.NodeFilter=M.NodeFilterImpl;var k=n(34);a.Node=k.NodeImpl;var G=n(166);a.NodeIterator=G.NodeIteratorImpl;var $=n(162);a.NodeList=$.NodeListImpl;var Y=n(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=n(266),X=n(267),H=n(268),ee=n(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=n(165);a.Range=re.RangeImpl;var de=n(156);a.ShadowRoot=de.ShadowRootImpl;var ve=n(269),ne=n(270);a.StaticRange=ne.StaticRangeImpl;var Q=n(101);a.Text=Q.TextImpl;var ie=n(103);a.Traverser=ie.TraverserImpl;var le=n(167);a.TreeWalker=le.TreeWalkerImpl;var fe=n(149);a.Window=fe.WindowImpl;var P=n(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,n){"use strict";n(64),n(20),n(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(n(75).BaseReader);a.ObjectReader=y},function(c,a,n){"use strict";var v=n(39);c.exports=new v({explicit:[n(286),n(287),n(288)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,n){var v=n(16),S=n(8),_=n(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,n){var v=n(11),S=n(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,n){var v=n(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,a,n){var v=n(11),S=n(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,n){var v=n(14),S=n(187),_=n(55),y=n(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)v(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,n){var v=n(24),S=n(26),_=n(83),y=function(s){return function(h,i,o){var l,u=v(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,n){var v=n(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,n){var v=n(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,n){var v=n(5);a.f=v},function(c,a,n){var v=n(120),S=n(14),_=n(125),y=n(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},function(c,a,n){var v=n(13),S=n(59),_=n(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,n){var v,S,_=n(11),y=n(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,n){var v=n(5),S=n(60),_=n(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,n){"use strict";var v,S,_,y=n(132),s=n(21),h=n(14),i=n(5),o=n(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,n){var v=n(14),S=n(27),_=n(57),y=n(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,n){var v=n(18),S=n(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,n){"use strict";var v=n(56),S=n(15),_=n(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,n){var v=n(90),S=n(42),_=n(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,n){"use strict";var v=n(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,n){var v=n(47),S=n(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,n){var v=n(4),S=n(27),_=n(61);v({target:"Object",stat:!0,forced:n(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(123),y=n(25),s=n(140),h=n(141),i=n(142),o=n(13),l=n(8),u=n(208),p=n(62),m=n(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,n){var v=n(45),S=n(13),_=n(14),y=n(15).f,s=n(58),h=n(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,a,n){var v=n(18),S=n(205),_=n(26),y=n(87),s=n(206),h=n(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(n,v,S){if(!(n instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return n}},function(c,a,n){"use strict";var v=n(15).f,S=n(60),_=n(210),y=n(87),s=n(142),h=n(141),i=n(88),o=n(211),l=n(16),u=n(140).fastKey,p=n(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,n){"use strict";var v,S=n(4),_=n(55).f,y=n(26),s=n(222),h=n(35),i=n(224),o=n(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,n){"use strict";(function(v){var S=n(229),_=n(230),y=n(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,n){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),S=n(7),_=n(0),y=n(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(1),s=n(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(n(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=n(1),s=n(243),h=n(7),i=n(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(34),s=n(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=n(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(102),i=n(9),o=n(0),l=n(12),u=n(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(103),y=n(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(103),s=n(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=v},function(c,a,n){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(9),y=n(7),s=n(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=n(29),h=n(108),i=n(30),o=n(37),l=n(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(29),h=n(17),i=n(107),o=n(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,n){"use strict";var v=n(4),S=n(41),_=n(24),y=n(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,n){var v=n(4),S=n(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,n){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=n(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(182)]})},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(113)],implicit:[n(289),n(290),n(291),n(292)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(91),S=n(1),_=n(3),y=n(77),s=n(109);function h(u,p){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(91),y=n(1),s=n(217),h=n(2),i=n(3),o=n(0),l=n(109),u=n(7),p=n(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,n){var v=n(11),S=n(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,n){var v=n(46),S=n(82),_=n(85),y=n(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,n){var v=n(16),S=n(15),_=n(18),y=n(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,n){var v=n(46);c.exports=v("document","documentElement")},function(c,a,n){var v=n(24),S=n(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,a,n){"use strict";var v=n(4),S=n(36).every,_=n(48),y=n(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(36).filter,_=n(63),y=n(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(46);c.exports=v("navigator","userAgent")||""},function(c,a,n){"use strict";var v=n(4),S=n(36).find,_=n(130),y=n(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,n){"use strict";var v=n(131).IteratorPrototype,S=n(60),_=n(40),y=n(62),s=n(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,n){var v=n(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,n){"use strict";var v=n(4),S=n(36).map,_=n(63),y=n(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(200).left,_=n(48),y=n(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(127),S=n(27),_=n(41),y=n(26),s=function(h){return function(i,o,l,u){v(o);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,n){"use strict";var v=n(4),S=n(36).some,_=n(48),y=n(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(90),S=n(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,n){var v=n(5),S=n(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,n){var v=n(135),S=n(49),_=n(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,a,n){var v=n(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,n){var v=n(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,n){var v=n(13),S=n(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,n){var v=n(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,a,n){"use strict";var v=n(46),S=n(15),_=n(5),y=n(16),s=_("species");c.exports=function(h){var i=v(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(218);a.MapWriter=v.MapWriter;var S=n(258);a.XMLWriter=S.XMLWriter;var _=n(67);a.ObjectWriter=_.ObjectWriter;var y=n(260);a.JSONWriter=y.JSONWriter;var s=n(261);a.YAMLWriter=s.YAMLWriter},function(c,a,n){"use strict";n(19),n(219),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,n){"use strict";var v=n(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,n){var v=n(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,n){var v=n(13),S=n(42),_=n(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,n){var v=n(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,n){"use strict";n(68);var v=n(25),S=n(8),_=n(5),y=n(93),s=n(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,n){"use strict";var v=n(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,a,n){var v=n(42),S=n(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,n){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=n(96);a.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,n(145).Buffer)},function(c,a,n){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(n,v,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=n[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+n[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+n[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(n,v,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*o-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;n[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;n[S+f]=255&h,f+=t,h/=256,l-=8);n[S+f-t]|=128*e}},function(c,a){var n={}.toString;c.exports=Array.isArray||function(v){return n.call(v)=="[object Array]"}},function(c,a,n){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=v(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(96),_=n(147),y=n(146),s=n(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,n){"use strict";var v=n(245),S=n(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,n){(function(v,S){var _;(function(y){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,n,a,v))===void 0||(v.exports=_)})()}).call(this,n(246)(c),n(78))},function(c,a){c.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(c,a,n){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,n){"use strict";a.decode=a.parse=n(249),a.encode=a.stringify=n(250)},function(c,a,n){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,n){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1),_=n(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,a,n){"use strict";n(89),n(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(2),s=n(50),h=n(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,n){"use strict";var v=n(47),S=n(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(n(50).BaseWriter);a.JSONWriter=h},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(89),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(n(50).BaseWriter);a.YAMLWriter=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),n(110).dom.setFeatures(!0);var v=n(110);a.DOMImplementation=v.DOMImplementation;var S=n(271);a.DOMParser=S.DOMParser;var _=n(274);a.XMLSerializer=_.XMLSerializer},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(180),y=n(111),s=n(7),h=n(0),i=n(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,n){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(2),_=n(69),y=n(95),s=n(9),h=n(7),i=n(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(277);a.XMLReader=v.XMLReader;var S=n(112);a.ObjectReader=S.ObjectReader;var _=n(280);a.JSONReader=_.JSONReader;var y=n(281);a.YAMLReader=y.YAMLReader},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(65),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(180),h=n(111),i=n(7),o=n(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(n(75).BaseReader);a.XMLReader=l},function(c,a,n){var v=n(4),S=n(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,n){"use strict";var v=n(16),S=n(8),_=n(61),y=n(85),s=n(79),h=n(27),i=n(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(n(75).BaseReader);a.JSONReader=y},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=n(75),s=n(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,n){"use strict";var v=n(283);c.exports=v},function(c,a,n){"use strict";var v=n(284),S=n(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=n(10),c.exports.Schema=n(39),c.exports.FAILSAFE_SCHEMA=n(113),c.exports.JSON_SCHEMA=n(182),c.exports.CORE_SCHEMA=n(181),c.exports.DEFAULT_SAFE_SCHEMA=n(54),c.exports.DEFAULT_FULL_SCHEMA=n(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=n(53),c.exports.MINIMAL_SCHEMA=n(113),c.exports.SAFE_SCHEMA=n(54),c.exports.DEFAULT_SCHEMA=n(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,n){"use strict";var v=n(38),S=n(53),_=n(285),y=n(54),s=n(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(38),S=n(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,n){"use strict";var v=n(38),S=n(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,n){"use strict";var v;try{v=n(145).Buffer}catch{}var S=n(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,n){"use strict";var v=n(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,n){"use strict";var v;try{v=n(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=n(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,n){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var _p=zs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ga=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,_a=/,? & /,xa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,ba=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,wa=/^0o[0-7]+$/i,Sa=/^(?:0|[1-9]\d*)$/,Aa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Da=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Ca="\\u0300-\\u036f",Ta="\\ufe20-\\ufe2f",Na="\\u20d0-\\u20ff",Ai=Ca+Ta+Na,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Fa="\\xac\\xb1\\xd7\\xf7",Oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ia="\\u2000-\\u206f",ka=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Fa+Oa+Ia+ka,zt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",Pa="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=Pa+"?",bt="["+Ni+"]?",Ep="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=bt+At+Ep,Ap="(?:"+[rn,F,j].join("|")+")"+ou,Dp="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Cp=RegExp(zt,"g"),Tp=RegExp(tn,"g"),Ba=RegExp(xn+"(?="+xn+")|"+Dp+ou,"g"),Np=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Sp,wp,Oi,Ap].join("|"),"g"),Fp=RegExp("["+le+_n+Ai+Ni+"]"),Op=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ip=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Pp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bp={"&":"&","<":"<",">":">",'"':""","'":"'"},Lp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Rp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mp=parseFloat,jp=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,Up=typeof self=="object"&&self&&self.Object===Object&&self,Ft=au||Up||Function("return this")(),La=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=La&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,su=nn&&nn.exports===La,Ra=su&&au.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ra&&Ra.binding&&Ra.binding("util")}catch{}}(),uu=nr&&nr.isArrayBuffer,lu=nr&&nr.isDate,cu=nr&&nr.isMap,fu=nr&&nr.isRegExp,pu=nr&&nr.isSet,hu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function zp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ma(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function bu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Vp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Yp=qa(Pp),Qp=qa(Bp);function Zp(fe){return"\\"+Rp[fe]}function eh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Fp.test(fe)}function th(fe){return Op.test(fe)}function rh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ha(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function Eu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Gh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=jh,br.prototype.delete=Uh,br.prototype.get=zh,br.prototype.has=qh,br.prototype.set=Gh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Jd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return il(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:wl(r),!se)return pe?Ld(r,od(te,r)):Bd(r,Pu(te,r))}else{if(!ht[Fe])return U?r:{};te=$d(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Ql(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Vl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?gs:vs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function ad(r){var h=Ot(r);return function(A){return Bu(A,r,h)}}function Bu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Lu(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ma,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:ec(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var Za=cl(),ju=cl(!0);function gr(r,h){return r&&Za(r,h,Ot)}function es(r,h){return r&&ju(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ld(r,h){return r!=null&&ft.call(r,h)}function cd(r,h){return r!=null&&h in pt(r)}function fd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Vu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):cs(r,U)}}return r}function ss(r,h){return r+$i(Fu()*(h-r+1))}function Sd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function us(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return As(Dl(r,h,Xt),r+"")}function Ad(r){return ku(In(r))}function Dd(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Ud(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var nl=vh||function(r){return Ft.clearTimeout(r)};function il(r,h){if(h)return r.slice();var A=r.length,O=Au?Au(A):new r.constructor(A);return r.copy(O),O}function ds(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Od(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Id(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function kd(r){return ri?pt(ri.call(r)):{}}function ol(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function sl(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Rt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function hl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Vd(r){return Ye(r)||pn(r)||!!(Tu&&r&&r[Tu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Sa.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ml(r,A)});function jl(r){var h=$(r);return h.__chain__=!0,h}function s0(r,h){return h(r),r}function po(r,h){return h(r)}var u0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return Qa(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function l0(){return jl(this)}function c0(){return new ar(this.value(),this.__chain__)}function f0(){this.__values__===E&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function p0(){return this}function h0(r){for(var h,A=this;A instanceof Yi;){var O=Il(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function d0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ds],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ds)}function m0(){return tl(this.__wrapped__,this.__actions__)}var y0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function v0(r,h,A){var O=Ye(r)?du:sd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}function g0(r,h){var A=Ye(r)?Lr:Mu;return A(r,Ge(h,3))}var _0=pl(kl),x0=pl(Pl);function b0(r,h){return It(ho(r,h),1)}function E0(r,h){return It(ho(r,h),Y)}function w0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function Ul(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?qp:Ru;return A(r,Ge(h,3))}var S0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function A0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var D0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),C0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Wu;return A(r,Ge(h,3))}function T0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),$u(r,h,A))}var N0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function F0(r,h,A){var O=Ye(r)?ja:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function O0(r,h,A){var O=Ye(r)?Gp:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Ru)}function I0(r,h){var A=Ye(r)?Lr:Mu;return A(r,vo(Ge(h,3)))}function k0(r){var h=Ye(r)?ku:Ad;return h(r)}function P0(r,h,A){(A?Rt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?rd:Dd;return O(r,h)}function B0(r){var h=Ye(r)?nd:Td;return h(r)}function L0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:is(r).length}function R0(r,h,A){var O=Ye(r)?Ua:Nd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}var M0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Rt(r,h[0],h[1])?h=[]:A>2&&Rt(h[0],h[1],h[2])&&(h=[h[0]]),$u(r,It(h,1),[])}),mo=gh||function(){return Ft.Date.now()};function j0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function ql(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Gl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ts=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Ts));O|=x}return Sr(r,O,h,A,U)}),Wl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Wl));O|=x}return Sr(h,O,r,A,U)});function Xl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,pc=h-yr;return Fe?Pt(pc,V-Nr):pc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&nl(se),De=0,O=pe=U=se=E}function Mt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return nl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=Mt,er}var U0=rt(function(r,h){return Lu(r,1,h)}),z0=rt(function(r,h,A){return Lu(r,cr(h)||0,A)});function q0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function G0(r){return Gl(2,r)}var W0=Fd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Cu.call(r,"callee")},Ye=ve.isArray,oy=uu?Vt(uu):hd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function ay(r){return r===!0||r===!1||xt(r)&&Lt(r)==ue}var Xr=xh||Us,sy=lu?Vt(lu):dd;function uy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function ly(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!is(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function cy(r,h){return ai(r,h)}function fy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Fs(r){if(!xt(r))return!1;var h=Lt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function py(r){return typeof r=="number"&&Nu(r)}function Cr(r){if(!vt(r))return!1;var h=Lt(r);return h==L||h==B||h==ie||h==ge}function Kl(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Vl=cu?Vt(cu):yd;function hy(r,h){return r===h||ns(r,h,xs(h))}function dy(r,h,A){return A=typeof A=="function"?A:E,ns(r,h,xs(h),A)}function my(r){return Yl(r)&&r!=+r}function yy(r){if(Zd(r))throw new Ke(v);return qu(r)}function vy(r){return r===null}function gy(r){return r==null}function Yl(r){return typeof r=="number"||xt(r)&&Lt(r)==q}function fi(r){if(!xt(r)||Lt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==dh}var Os=fu?Vt(fu):vd;function _y(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?Vt(pu):gd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Lt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Lt(r)==tt}var On=hu?Vt(hu):_d;function xy(r){return r===E}function by(r){return xt(r)&&Bt(r)==we}function Ey(r){return xt(r)&&Lt(r)==at}var wy=uo(os),Sy=uo(function(r,h){return r<=h});function Zl(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):qt(r);if(Qn&&r[Qn])return rh(r[Qn]());var h=Bt(r),A=h==M?Ha:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function ec(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=_u(r);var A=Ea.test(r);return A||wa.test(r)?jp(r.slice(2),A?2:8):vr.test(r)?H:+r}function tc(r){return _r(r,Wt(r))}function Ay(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Dy=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),rc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Cy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ty=Ar(Qa);function Ny(r,h){var A=Cn(r);return h==null?A:Pu(A,h)}var Fy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Rt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,gs(r),A),O&&(A=sr(A,n|i|u,zd));for(var U=h.length;U--;)cs(A,h[U]);return A});function $y(r,h){return ic(r,vo(Ge(h)))}var Ky=Ar(function(r,h){return r==null?{}:Ed(r,h)});function ic(r,h){if(r==null)return{};var A=yt(gs(r),function(O){return[O]});return h=Ge(h),Ku(r,A,function(O,U){return h(O,U[0])})}function Vy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Fu();return Pt(r+U*(h-r+Mp("1e-"+((U+"").length-1))),h)}return ss(r,h)}var sv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?sc(h):h)});function sc(r){return Ps(ct(r).toLowerCase())}function uc(r){return r=ct(r),r&&r.replace(Aa,Yp).replace(Tp,"")}function uv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function lv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Qp):r}function cv(r){return r=ct(r),r&&ga.test(r)?r.replace(Pr,"\\$&"):r}var fv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),pv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),hv=fl("toLowerCase");function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function mv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Os(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Ev=Nn(function(r,h,A){return r+(A?" ":"")+Ps(h)});function wv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Sv(r,h,A){var O=$.templateSettings;A&&Rt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,gl);var U=xo({},h.imports,O.imports,gl),V=Ot(U),te=Xa(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ja((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?ba:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kp+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,Mt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Da,Zp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),Mt&&(pe=!0,Fe+=`'; -`+Mt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=n(91),h=n(1),i=n(183),o=n(0),l=n(7),u=n(95),p=n(69),m=n(3),f=n(305),t=n(306),e=n(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(n(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,n){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var Up=Cs((ni,ki)=>{(function(){var c,a="4.17.21",n=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,oa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,aa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,la=/^(?:0|[1-9]\d*)$/,ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pa="\\u0300-\\u036f",ha="\\ufe20-\\ufe2f",da="\\u20d0-\\u20ff",Mi=pa+ha+da,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ya="\\u2000-\\u206f",_a=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ma+va+ya+_a,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ga="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ga+"?",Ct="["+zi+"]?",Wp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=Ct+Ot+Wp,$p="(?:"+[pn,O,j].join("|")+")"+ou,Jp="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Kp=RegExp($t,"g"),Vp=RegExp(fn,"g"),xa=RegExp(Pn+"(?="+Pn+")|"+Jp+ou,"g"),Yp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Hp,Xp,Gi,$p].join("|"),"g"),Qp=RegExp("["+ce+In+Mi+zi+"]"),Zp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],th=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var rh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},nh={"&":"&","<":"<",">":">",'"':""","'":"'"},ih={"&":"&","<":"<",">":">",""":'"',"'":"'"},oh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ah=parseFloat,sh=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,uh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=au||uh||Function("return this")(),ba=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=ba&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,su=hn&&hn.exports===ba,Ea=su&&au.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Ea&&Ea.binding&&Ea.binding("util")}catch{}}(),uu=lr&&lr.isArrayBuffer,lu=lr&&lr.isDate,cu=lr&&lr.isMap,fu=lr&&lr.isRegExp,pu=lr&&lr.isSet,hu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function lh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function wa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function bu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function _h(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var gh=Da(rh),xh=Da(nh);function bh(pe){return"\\"+oh[pe]}function Eh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Qp.test(pe)}function wh(pe){return Zp.test(pe)}function Sh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Fa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function Eu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function fd(r,d){var A=this.__data__,F=co(A,r);return F<0?(++this.size,A.push([r,d])):A[F][1]=d,this}Or.prototype.clear=sd,Or.prototype.delete=ud,Or.prototype.get=ld,Or.prototype.has=cd,Or.prototype.set=fd;function Fr(r){var d=-1,A=r==null?0:r.length;for(this.clear();++d=d?r:d)),r}function hr(r,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(r,F,U,V):A(r)),te!==c)return te;if(!bt(r))return r;var Te=tt(r);if(Te){if(te=mm(r),!ue)return Jt(r,te)}else{var Ie=qt(r),Be=Ie==B||Ie==L;if(en(r))return il(r,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:wl(r),!ue)return he?im(r,Dd(te,r)):nm(r,ku(te,r))}else{if(!yt[Ie])return U?r:{};te=vm(r,Ie,ue)}}V||(V=new gr);var qe=V.get(r);if(qe)return qe;V.set(r,te),Ql(r)?r.forEach(function(Je){te.add(hr(Je,d,A,Je,r,V))}):Vl(r)&&r.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,r,V))});var $e=De?he?ns:rs:he?Vt:Mt,it=Te?c:$e(r);return cr(it||r,function(Je,st){it&&(st=Je,Je=r[st]),vi(te,st,hr(Je,d,A,st,r,V))}),te}function Td(r){var d=Mt(r);return function(A){return Lu(A,r,d)}}function Lu(r,d,A){var F=A.length;if(r==null)return!F;for(r=vt(r);F--;){var U=A[F],V=d[U],te=r[U];if(te===c&&!(U in r)||!V(te))return!1}return!0}function Bu(r,d,A){if(typeof r!="function")throw new fr(S);return wi(function(){r.apply(c,A)},d)}function yi(r,d,A,F){var U=-1,V=$i,te=!0,ue=r.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=wa,te=!1):d.length>=n&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:ec(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ra=cl(),ju=cl(!0);function Ar(r,d){return r&&Ra(r,d,Mt)}function ja(r,d){return r&&ju(r,d,Mt)}function po(r,d){return Xr(d,function(A){return Br(r[A])})}function _n(r,d){d=Qr(d,r);for(var A=0,F=d.length;r!=null&&Ad}function Fd(r,d){return r!=null&&mt.call(r,d)}function Id(r,d){return r!=null&&d in vt(r)}function Pd(r,d,A){return r>=zt(d,A)&&r=120&&Te.length>=120)?new vn(te&&Te):c}Te=r[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==r&&no.call(ue,he,1),no.call(r,he,1);return r}function Vu(r,d){for(var A=r?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?no.call(r,U,1):Ka(r,U)}}return r}function Ha(r,d){return r+ao(Ou()*(d-r+1))}function Hd(r,d,A,F){for(var U=-1,V=kt(oo((d-r)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=r,r+=A;return te}function $a(r,d){var A="";if(!r||d<1||d>z)return A;do d%2&&(A+=r),d=ao(d/2),d&&(r+=r);while(d);return A}function at(r,d){return cs(Cl(r,d,Yt),r+"")}function $d(r){return Pu(Xn(r))}function Jd(r,d){var A=Xn(r);return So(A,yn(d,0,A.length))}function xi(r,d,A,F){if(!bt(r))return r;d=Qr(d,r);for(var U=-1,V=d.length,te=V-1,ue=r;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=r[V];te!==null&&!ir(te)&&(A?te<=d:te=n){var De=d?null:um(r);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?r:dr(r,d,A)}var nl=jh||function(r){return Bt.clearTimeout(r)};function il(r,d){if(d)return r.slice();var A=r.length,F=Au?Au(A):new r.constructor(A);return r.copy(F),F}function Za(r){var d=new r.constructor(r.byteLength);return new to(d).set(new to(r)),d}function Zd(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function em(r){var d=new r.constructor(r.source,cn.exec(r));return d.lastIndex=r.lastIndex,d}function tm(r){return mi?vt(mi.call(r)):{}}function ol(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,d){if(r!==d){var A=r!==c,F=r===null,U=r===r,V=ir(r),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&r>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&r=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return r.index-d.index}function sl(r,d,A,F){for(var U=-1,V=r.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=r.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function hl(r){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(r&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(r),Te=V.get(d);if(De&&Te)return De==d&&Te==r;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(r,d),V.set(d,r);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),r.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function _m(r){return tt(r)||bn(r)||!!(Tu&&r&&r[Tu])}function Lr(r,d){var A=typeof r;return d=d??z,!!d&&(A=="number"||A!="symbol"&&la.test(r))&&r>-1&&r%1==0&&r0){if(++d>=I)return arguments[0]}else d=0;return r.apply(c,arguments)}}function So(r,d){var A=-1,F=r.length,U=F-1;for(d=d===c?F:d;++A1?r[d-1]:c;return A=typeof A=="function"?(r.pop(),A):c,Rl(r,A)});function jl(r){var d=J(r);return d.__chain__=!0,d}function N0(r,d){return d(r),r}function Ao(r,d){return d(r)}var O0=kr(function(r){var d=r.length,A=d?r[0]:0,F=this.__wrapped__,U=function(V){return Ma(V,r)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function F0(){return jl(this)}function I0(){return new pr(this.value(),this.__chain__)}function P0(){this.__values__===c&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,d=r?c:this.__values__[this.__index__++];return{done:r,value:d}}function k0(){return this}function L0(r){for(var d,A=this;A instanceof lo;){var F=Il(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=r,d}function B0(){var r=this.__wrapped__;if(r instanceof ut){var d=r;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[fs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(fs)}function M0(){return tl(this.__wrapped__,this.__actions__)}var R0=yo(function(r,d,A){mt.call(r,A)?++r[A]:Ir(r,A,1)});function j0(r,d,A){var F=tt(r)?du:Nd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}function U0(r,d){var A=tt(r)?Xr:Ru;return A(r,Xe(d,3))}var z0=pl(Pl),q0=pl(kl);function G0(r,d){return Rt(Co(r,d),1)}function W0(r,d){return Rt(Co(r,d),Y)}function X0(r,d,A){return A=A===c?1:nt(A),Rt(Co(r,d),A)}function Ul(r,d){var A=tt(r)?cr:Vr;return A(r,Xe(d,3))}function zl(r,d){var A=tt(r)?ch:Mu;return A(r,Xe(d,3))}var H0=yo(function(r,d,A){mt.call(r,A)?r[A].push(d):Ir(r,A,[d])});function $0(r,d,A,F){r=Kt(r)?r:Xn(r),A=A&&!F?nt(A):0;var U=r.length;return A<0&&(A=kt(U+A,0)),Fo(r)?A<=U&&r.indexOf(d,A)>-1:!!U&&kn(r,d,A)>-1}var J0=at(function(r,d,A){var F=-1,U=typeof d=="function",V=Kt(r)?_e(r.length):[];return Vr(r,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),K0=yo(function(r,d,A){Ir(r,A,d)});function Co(r,d){var A=tt(r)?xt:Wu;return A(r,Xe(d,3))}function V0(r,d,A,F){return r==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Ju(r,d,A))}var Y0=yo(function(r,d,A){r[A?0:1].push(d)},function(){return[[],[]]});function Q0(r,d,A){var F=tt(r)?Sa:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Vr)}function Z0(r,d,A){var F=tt(r)?fh:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Mu)}function ev(r,d){var A=tt(r)?Xr:Ru;return A(r,No(Xe(d,3)))}function tv(r){var d=tt(r)?Pu:$d;return d(r)}function rv(r,d,A){(A?Wt(r,d,A):d===c)?d=1:d=nt(d);var F=tt(r)?Sd:Jd;return F(r,d)}function nv(r){var d=tt(r)?Ad:Vd;return d(r)}function iv(r){if(r==null)return 0;if(Kt(r))return Fo(r)?Bn(r):r.length;var d=qt(r);return d==R||d==Re?r.size:Ga(r).length}function ov(r,d,A){var F=tt(r)?Aa:Yd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}var av=at(function(r,d){if(r==null)return[];var A=d.length;return A>1&&Wt(r,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Ju(r,Rt(d,1),[])}),Do=Uh||function(){return Bt.Date.now()};function sv(r,d){if(typeof d!="function")throw new fr(S);return r=nt(r),function(){if(--r<1)return d.apply(this,arguments)}}function ql(r,d,A){return d=A?c:d,d=r&&d==null?r.length:d,Pr(r,E,c,c,c,c,d)}function Gl(r,d){var A;if(typeof d!="function")throw new fr(S);return r=nt(r),function(){return--r>0&&(A=d.apply(this,arguments)),r<=1&&(d=c),A}}var hs=at(function(r,d,A){var F=m;if(A.length){var U=$r(A,Gn(hs));F|=b}return Pr(r,F,d,A,U)}),Wl=at(function(r,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Wl));F|=b}return Pr(d,F,r,A,U)});function Xl(r,d,A){d=A?c:d;var F=Pr(r,e,c,c,c,c,c,d);return F.placeholder=Xl.placeholder,F}function Hl(r,d,A){d=A?c:d;var F=Pr(r,g,c,c,c,c,c,d);return F.placeholder=Hl.placeholder,F}function $l(r,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof r!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=r.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,pc=d-br;return Ie?zt(pc,V-Rr):pc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&nl(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return nl(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var uv=at(function(r,d){return Bu(r,1,d)}),lv=at(function(r,d,A){return Bu(r,vr(d)||0,A)});function cv(r){return Pr(r,D)}function To(r,d){if(typeof r!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Fr),A}To.Cache=Fr;function No(r){if(typeof r!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!r.call(this);case 1:return!r.call(this,d[0]);case 2:return!r.call(this,d[0],d[1]);case 3:return!r.call(this,d[0],d[1],d[2])}return!r.apply(this,d)}}function fv(r){return Gl(2,r)}var pv=Qd(function(r,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=zu(function(){return arguments}())?zu:function(r){return St(r)&&mt.call(r,"callee")&&!Du.call(r,"callee")},tt=_e.isArray,Dv=uu?rr(uu):Ld;function Kt(r){return r!=null&&Oo(r.length)&&!Br(r)}function Dt(r){return St(r)&&Kt(r)}function Tv(r){return r===!0||r===!1||St(r)&&Gt(r)==le}var en=qh||As,Nv=lu?rr(lu):Bd;function Ov(r){return St(r)&&r.nodeType===1&&!Si(r)}function Fv(r){if(r==null)return!0;if(Kt(r)&&(tt(r)||typeof r=="string"||typeof r.splice=="function"||en(r)||Wn(r)||bn(r)))return!r.length;var d=qt(r);if(d==R||d==Re)return!r.size;if(Ei(r))return!Ga(r).length;for(var A in r)if(mt.call(r,A))return!1;return!0}function Iv(r,d){return gi(r,d)}function Pv(r,d,A){A=typeof A=="function"?A:c;var F=A?A(r,d):c;return F===c?gi(r,d,c,A):!!F}function ms(r){if(!St(r))return!1;var d=Gt(r);return d==C||d==P||typeof r.message=="string"&&typeof r.name=="string"&&!Si(r)}function kv(r){return typeof r=="number"&&Nu(r)}function Br(r){if(!bt(r))return!1;var d=Gt(r);return d==B||d==L||d==ie||d==ge}function Kl(r){return typeof r=="number"&&r==nt(r)}function Oo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function bt(r){var d=typeof r;return r!=null&&(d=="object"||d=="function")}function St(r){return r!=null&&typeof r=="object"}var Vl=cu?rr(cu):Rd;function Lv(r,d){return r===d||qa(r,d,os(d))}function Bv(r,d,A){return A=typeof A=="function"?A:c,qa(r,d,os(d),A)}function Mv(r){return Yl(r)&&r!=+r}function Rv(r){if(bm(r))throw new Ze(v);return qu(r)}function jv(r){return r===null}function Uv(r){return r==null}function Yl(r){return typeof r=="number"||St(r)&&Gt(r)==q}function Si(r){if(!St(r)||Gt(r)!=ae)return!1;var d=ro(r);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Bh}var vs=fu?rr(fu):jd;function zv(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?rr(pu):Ud;function Fo(r){return typeof r=="string"||!tt(r)&&St(r)&&Gt(r)==je}function ir(r){return typeof r=="symbol"||St(r)&&Gt(r)==ot}var Wn=hu?rr(hu):zd;function qv(r){return r===c}function Gv(r){return St(r)&&qt(r)==Se}function Wv(r){return St(r)&&Gt(r)==ct}var Xv=bo(Wa),Hv=bo(function(r,d){return r<=d});function Zl(r){if(!r)return[];if(Kt(r))return Fo(r)?_r(r):Jt(r);if(fi&&r[fi])return Sh(r[fi]());var d=qt(r),A=d==R?Fa:d==Re?Ki:Xn;return A(r)}function Mr(r){if(!r)return r===0?r:0;if(r=vr(r),r===Y||r===-Y){var d=r<0?-1:1;return d*X}return r===r?r:0}function nt(r){var d=Mr(r),A=d%1;return d===d?A?d-A:d:0}function ec(r){return r?yn(nt(r),0,ee):0}function vr(r){if(typeof r=="number")return r;if(ir(r))return H;if(bt(r)){var d=typeof r.valueOf=="function"?r.valueOf():r;r=bt(d)?d+"":d}if(typeof r!="string")return r===0?r:+r;r=gu(r);var A=sa.test(r);return A||ua.test(r)?sh(r.slice(2),A?2:8):Sr.test(r)?H:+r}function tc(r){return Cr(r,Vt(r))}function $v(r){return r?yn(nt(r),-z,z):r===0?r:0}function dt(r){return r==null?"":nr(r)}var Jv=zn(function(r,d){if(Ei(d)||Kt(d)){Cr(d,Mt(d),r);return}for(var A in d)mt.call(d,A)&&vi(r,A,d[A])}),rc=zn(function(r,d){Cr(d,Vt(d),r)}),Io=zn(function(r,d,A,F){Cr(d,Vt(d),r,F)}),Kv=zn(function(r,d,A,F){Cr(d,Mt(d),r,F)}),Vv=kr(Ma);function Yv(r,d){var A=Un(r);return d==null?A:ku(A,d)}var Qv=at(function(r,d){r=vt(r);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(r,ns(r),A),F&&(A=hr(A,i|o|l,lm));for(var U=d.length;U--;)Ka(A,d[U]);return A});function vy(r,d){return ic(r,No(Xe(d)))}var yy=kr(function(r,d){return r==null?{}:Wd(r,d)});function ic(r,d){if(r==null)return{};var A=xt(ns(r),function(F){return[F]});return d=Xe(d),Ku(r,A,function(F,U){return d(F,U[0])})}function _y(r,d,A){d=Qr(d,r);var F=-1,U=d.length;for(U||(U=1,r=c);++Fd){var F=r;r=d,d=F}if(A||r%1||d%1){var U=Ou();return zt(r+U*(d-r+ah("1e-"+((U+"").length-1))),d)}return Ha(r,d)}var Ny=qn(function(r,d,A){return d=d.toLowerCase(),r+(A?sc(d):d)});function sc(r){return gs(dt(r).toLowerCase())}function uc(r){return r=dt(r),r&&r.replace(ca,gh).replace(Vp,"")}function Oy(r,d,A){r=dt(r),d=nr(d);var F=r.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&r.slice(A,U)==d}function Fy(r){return r=dt(r),r&&ii.test(r)?r.replace(ft,xh):r}function Iy(r){return r=dt(r),r&&na.test(r)?r.replace(Gr,"\\$&"):r}var Py=qn(function(r,d,A){return r+(A?"-":"")+d.toLowerCase()}),ky=qn(function(r,d,A){return r+(A?" ":"")+d.toLowerCase()}),Ly=fl("toLowerCase");function By(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;if(!d||F>=d)return r;var U=(d-F)/2;return xo(ao(U),A)+r+xo(oo(U),A)}function My(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;return d&&F>>0,A?(r=dt(r),r&&(typeof d=="string"||d!=null&&!vs(d))&&(d=nr(d),!d&&Ln(r))?Zr(_r(r),0,A):r.split(d,A)):[]}var Wy=qn(function(r,d,A){return r+(A?" ":"")+gs(d)});function Xy(r,d,A){return r=dt(r),A=A==null?0:yn(nt(A),0,r.length),d=nr(d),r.slice(A,A+d.length)==d}function Hy(r,d,A){var F=J.templateSettings;A&&Wt(r,d,A)&&(d=c),r=dt(r),d=Io({},d,F,_l);var U=Io({},d.imports,F.imports,_l),V=Mt(U),te=Oa(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=Ia((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?aa:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++th+"]")+` +`;r.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=r.slice(De,ar).replace(fa,bh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=cc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Fs(et))throw et;return et}function Av(r){return ct(r).toLowerCase()}function Dv(r){return ct(r).toUpperCase()}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return _u(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=xu(O,U),te=bu(O,U)+1;return Wr(O,V,te).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,wu(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h))+1;return Wr(O,0,U).join("")}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=xu(O,hr(h));return Wr(O,U).join("")}function Fv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Os(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ja(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Ov(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ah):r}var Iv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ps=fl("toUpperCase");function lc(r,h,A){return r=ct(r),h=A?E:h,h===E?th(r)?lh(r):Hp(r):r.match(h)||[]}var cc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Fs(A)?A:new Ke(A)}}),kv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Ts(r[A],r))}),r});function Pv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Wa(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Oh,it.prototype.reverse=Ih,it.prototype.value=kh,$.prototype.at=u0,$.prototype.chain=l0,$.prototype.commit=c0,$.prototype.next=f0,$.prototype.plant=h0,$.prototype.reverse=d0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=m0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=p0),$},jr=ch();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,La._=jr):Ft._=jr}).call(Wn)});var Rb={};wg(Rb,{default:()=>Bb,options:()=>bp,setup:()=>Pb,teardown:()=>Lb});module.exports=Sg(Rb);var gb=jt(require("k6/encoding")),_b=require("k6"),xb=jt(require("k6/http"));var Ag=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Ag;var Dg=typeof self=="object"&&self&&self.Object===Object&&self,Cg=Eo||Dg||Function("return this")(),Dt=Cg;var Tg=Dt.Symbol,Fr=Tg;var dc=Object.prototype,Ng=dc.hasOwnProperty,Fg=dc.toString,pi=Fr?Fr.toStringTag:void 0;function Og(E){var l=Ng.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Fg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var mc=Og;var Ig=Object.prototype,kg=Ig.toString;function Pg(E){return kg.call(E)}var yc=Pg;var Bg="[object Null]",Lg="[object Undefined]",vc=Fr?Fr.toStringTag:void 0;function Rg(E){return E==null?E===void 0?Lg:Bg:vc&&vc in Object(E)?mc(E):yc(E)}var tr=Rg;function Mg(E){return E!=null&&typeof E=="object"}var fr=Mg;var jg="[object Symbol]";function Ug(E){return typeof E=="symbol"||fr(E)&&tr(E)==jg}var kn=Ug;function zg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=y_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Oc=__;function x_(E){return function(){return E}}var Ic=x_;var b_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=b_;var E_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Ic(l),writable:!0})}:wo,kc=E_;var w_=Oc(kc),Pc=w_;var S_=9007199254740991,A_=/^(?:0|[1-9]\d*)$/;function D_(E,l){var o=typeof E;return l=l??S_,!!l&&(o=="number"||o!="symbol"&&A_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=B_}var Co=L_;function R_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=R_;function M_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var Uc=M_;function j_(E){return jc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&Uc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var hf=sx;function ux(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var df=ux;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),op=E=>new Ks(new URL(E||"").search).object();var sp=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),ap.default.request(v,ip(E,w),y,Po(a,m))};var lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yb=jt(Ys());var vb=jt(Gn()),cp=(E=10,l)=>(0,lp.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=jt(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${fp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=jt(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:cp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(op(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var hp=require("k6"),Zs=require("k6"),eu=require("k6"),mn=require("k6"),dp=jt(Gn()),mp=require("k6"),ya=require("k6"),xi=jt(Gn()),va=require("k6"),yn=require("k6"),tu=jt(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,hp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,Zs.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,Zs.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,eu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,eu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,dp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,mp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Cb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=sp(E,w,{jar:new pp.CookieJar}),m=new pa(y);this.application=new bb(l,m),this.drive=new Eb(l,m),this.group=new wb(l,m),this.resource=new Sb(l,m),this.role=new Ab(l,m),this.search=new Db(l,m),this.share=new Cb(m),this.tag=new Tb(l,m),this.user=new Nb(l,m)}};var Fb=jt(require("k6/http"));var Ob=require("https://jslib.k6.io/url/1.0.0/index.js"),Ib=require("k6/experimental/timers"),yp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),vp=jt(Ys());var kb=jt(Gn());var ru=(E=10,l)=>(0,yp.randomString)(E,l),gp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return vp.query(l,E).map(o=>$s(o)?void 0:o)};var xp=require("k6/crypto"),nu=jt(require("k6/execution")),iu=jt(_p()),Ut={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{small:{size:parseInt(__ENV.ASSET_SMALL_SIZE)||10,quantity:parseInt(__ENV.ASSET_SMALL_QUANTITY)||1},medium:{size:parseInt(__ENV.ASSET_MEDIUM_SIZE)||10*20,quantity:parseInt(__ENV.ASSET_MEDIUM_QUANTITY)||1},large:{size:parseInt(__ENV.ASSET_LARGE_SIZE)||10*100,quantity:parseInt(__ENV.ASSET_LARGE_QUANTITY)||1}},k6:{vus:1,insecureSkipTLSVerify:!0}},bp=Ut.k6;function Pb(){let E=Ut.adminUser,l=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,E),o=(0,iu.times)(bp.vus||1,()=>{let v={login:ru(),password:ru()};l.user.create(v),l.user.enable(v.login);let y=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,v).user.drives(),[m=v.login]=gp("$.value[?(@.driveType === 'personal')].id",y?.body);return{credential:v,home:m}});return{adminCredential:E,userInfos:o}}function Bb({userInfos:E}){let l=[],{home:o,credential:v}=E[nu.default.vu.idInTest-1],w=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,v);for(let[y,m]of Object.entries(Ut.assets))(0,iu.times)(m.quantity,a=>{let p=[nu.default.scenario.iterationInTest,y,a].join("-");w.resource.upload(o,p,(0,xp.randomBytes)(m.size*1e3)),l.push(()=>w.resource.download(o,p))});l.forEach(y=>y())}function Lb({userInfos:E,adminCredential:l}){let o=new bi(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=cc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ms(it))throw it;return it}function $y(r){return dt(r).toLowerCase()}function Jy(r){return dt(r).toUpperCase()}function Ky(r,d,A){if(r=dt(r),r&&(A||d===c))return gu(r);if(!r||!(d=nr(d)))return r;var F=_r(r),U=_r(d),V=xu(F,U),te=bu(F,U)+1;return Zr(F,V,te).join("")}function Vy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.slice(0,wu(r)+1);if(!r||!(d=nr(d)))return r;var F=_r(r),U=bu(F,_r(d))+1;return Zr(F,0,U).join("")}function Yy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.replace(ai,"");if(!r||!(d=nr(d)))return r;var F=_r(r),U=xu(F,_r(d));return Zr(F,U).join("")}function Qy(r,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}r=dt(r);var V=r.length;if(Ln(r)){var te=_r(r);V=te.length}if(A>=V)return r;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):r.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),vs(U)){if(r.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ia(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(r.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function Zy(r){return r=dt(r),r&&Ut.test(r)?r.replace(wt,Th):r}var e_=qn(function(r,d,A){return r+(A?" ":"")+d.toUpperCase()}),gs=fl("toUpperCase");function lc(r,d,A){return r=dt(r),d=A?c:d,d===c?wh(r)?Fh(r):dh(r):r.match(d)||[]}var cc=at(function(r,d){try{return tr(r,c,d)}catch(A){return ms(A)?A:new Ze(A)}}),t_=kr(function(r,d){return cr(d,function(A){A=Dr(A),Ir(r,A,hs(r[A],r))}),r});function r_(r){var d=r==null?0:r.length,A=Xe();return r=d?xt(r,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(r,ee);d=Xe(d),r-=ee;for(var U=Na(F,d);++A0||d<0)?new ut(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-r)),A)},ut.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(r,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=r.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?r.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(r){var d=Vi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",F=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(r,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=Zh,ut.prototype.reverse=ed,ut.prototype.value=td,J.prototype.at=O0,J.prototype.chain=F0,J.prototype.commit=I0,J.prototype.next=P0,J.prototype.plant=L0,J.prototype.reverse=B0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=M0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=k0),J},Jr=Ih();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,ba._=Jr):Bt._=Jr}).call(ni)});var vS={};jt(vS,{default:()=>Gp,options:()=>qp,setup:()=>dS,teardown:()=>mS});module.exports=X_(vS);var ap=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var H_=typeof global=="object"&&global&&global.Object===Object&&global,ko=H_;var $_=typeof self=="object"&&self&&self.Object===Object&&self,J_=ko||$_||Function("return this")(),Ft=J_;var K_=Ft.Symbol,jr=K_;var dc=Object.prototype,V_=dc.hasOwnProperty,Y_=dc.toString,Ai=jr?jr.toStringTag:void 0;function Q_(c){var a=V_.call(c,Ai),n=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=Y_.call(c);return v&&(a?c[Ai]=n:delete c[Ai]),S}var mc=Q_;var Z_=Object.prototype,eg=Z_.toString;function tg(c){return eg.call(c)}var vc=tg;var rg="[object Null]",ng="[object Undefined]",yc=jr?jr.toStringTag:void 0;function ig(c){return c==null?c===void 0?ng:rg:yc&&yc in Object(c)?mc(c):vc(c)}var sr=ig;function og(c){return c!=null&&typeof c=="object"}var yr=og;var ag="[object Symbol]";function sg(c){return typeof c=="symbol"||yr(c)&&sr(c)==ag}var Hn=sg;function ug(c,a){for(var n=-1,v=c==null?0:c.length,S=Array(v);++n0){if(++a>=Mg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Fc=Ug;function zg(c){return function(){return c}}var Ic=zg;var qg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=qg;var Gg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Ic(a),writable:!0})}:Lo,Pc=Gg;var Wg=Fc(Pc),kc=Wg;var Xg=9007199254740991,Hg=/^(?:0|[1-9]\d*)$/;function $g(c,a){var n=typeof c;return a=a??Xg,!!a&&(n=="number"||n!="symbol"&&Hg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=r1}var jo=n1;function i1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=i1;function o1(c,a,n){if(!At(n))return!1;var v=typeof a;return(v=="number"?rn(n)&&Kn(a,n.length):v=="string"&&a in n)?tn(n[a],c):!1}var jc=o1;function a1(c){return Rc(function(a,n){var v=-1,S=n.length,_=S>1?n[S-1]:void 0,y=S>2?n[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&jc(n[0],n[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++v-1}var pf=Tx;function Nx(c,a){var n=this.__data__,v=on(n,c);return v<0?(++this.size,n.push([c,a])):n[v][1]=a,this}var hf=Nx;function ei(c){var a=-1,n=c==null?0:c.length;for(this.clear();++a(0,tp.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var rp=require("k6/http");var Ps=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Ps.URLSearchParams(Object.keys(c).map(n=>[n,String(c[n])])).toString(),Ko=c=>{let a=new URL(c).search,n=new Ps.URLSearchParams(a);return Object.fromEntries(n)};var Vo=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,rp.request)(a,Tr(c.baseUrl,n),v,Sn(_,S))};var ks=require("k6");var ke=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ks.check)(c.val,n,c.tags)};var sp=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var ip=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${ip.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),n=this.getCode(a),v=this.getToken(n);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),n=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!n)&&(0,Yo.fail)(this.logonURL),n}getCode(a){let n=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Qo.default.get(n,{redirects:0}),S=Ht(Ko(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let n=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(n.json(),"access_token",""),tokenType:Ht(n.json(),"token_type",""),idToken:Ht(n.json(),"id_token",""),expiresIn:Ht(n.json(),"expires_in",0)};return(n.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Yo.fail)(this.tokenURL),v}};var Rs={};jt(Rs,{POST__get_roles:()=>jb});var jb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var js={};jt(js,{SEARCH__search_for_resources:()=>Ub});var Ub=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var Us={};jt(Us,{DELETE__delete_resource:()=>Wb,GET__download_resource:()=>qb,MKCOL__create_resource:()=>Gb,MOVE__move_resource:()=>Xb,PROPFIND__get_properties_for_resource:()=>Hb,PUT__upload_resource:()=>zb,REPORT__get_report_for_resources:()=>$b});var zb=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),qb=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),Gb=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),Wb=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),Xb=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),Hb=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),$b=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a);var zs={};jt(zs,{DELETE__delete_resource:()=>Yb,GET__download_resource:()=>Kb,MKCOL__create_resource:()=>Vb,MOVE__move_resource:()=>Qb,PROPFIND__get_properties_for_resource:()=>Zb,PUT__upload_resource:()=>Jb});var Jb=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),Kb=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),Vb=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),Yb=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),Qb=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),Zb=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a);var qs={};jt(qs,{DELETE__delete_tag:()=>tE,POST__create_tag:()=>eE,PROPFIND__get_tags_with_properties:()=>rE});var eE=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),tE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),rE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Gs={};jt(Gs,{DELETE__remove_tag_from_resource:()=>iE,PROPFIND__get_tags_with_properties_for_resource:()=>oE,PUT__add_tag_to_resource:()=>nE});var nE=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),iE=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),oE=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a);var Ws={};jt(Ws,{GET__get_applications:()=>aE});var aE=c=>c("GET","/graph/v1.0/applications");var Xs={};jt(Xs,{DELETE__delete_drive:()=>uE,POST__create_drive:()=>sE});var sE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),uE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Hs={};jt(Hs,{DELETE__remove_tags_from_resource:()=>cE,PUT__add_tags_to_resource:()=>lE});var lE=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),cE=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a}));var $s={};jt($s,{DELETE__delete_group:()=>pE,POST__create_group:()=>fE});var fE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),pE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Js={};jt(Js,{GET__current_user:()=>dE,GET__get_current_user_drives:()=>hE});var hE=c=>c("GET","/graph/v1.0/me/drives"),dE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ks={};jt(Ks,{DELETE__delete_user:()=>vE,POST__add_app_role_to_user:()=>yE,POST__create_user:()=>mE});var mE=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),vE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),yE=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a}));var Vs={};jt(Vs,{DELETE__delete_group:()=>gE,POST__create_group:()=>_E});var _E=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),gE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Ys={};jt(Ys,{DELETE__delete_user:()=>EE,POST__create_user:()=>xE,PUT__enable_user:()=>bE});var xE=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),bE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),EE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Qs={};jt(Qs,{GET__search_for_sharees:()=>wE});var wE=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_share:()=>CE,POST__accept_share:()=>AE,POST__create_share:()=>SE});var SE=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},AE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),CE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Rs}},dav:{...js,files:Us,spaces:zs,systemtags:qs,systemtags_relations:Gs},graph:{v1:{applications:Ws,drives:Xs,extensions:{org_libre_graph:{tags:Hs}},groups:$s,me:Js,users:Ks}},ocs:{v2:{apps:{cloud:{groups:Vs,users:Ys},file_sharing:{v1:{sharees:Qs,shares:Zs}}}}}};var up=Qt(Ii());var Cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Dp=require("k6/http");var tu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Np=Qt(Bs());var Op=Qt(Ii()),DE=Object.defineProperty,It=(c,a)=>{for(var n in a)DE(c,n,{get:a[n],enumerable:!0})},TE={};It(TE,{Adapter:()=>NE,BasicAuth:()=>OE,Kopano:()=>FE});var NE={kopano:"kopano",basicAuth:"basicAuth"},OE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},FE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),n=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+n.expiresIn-5),v})(),token:n}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,n=ea.default.get(a,{redirects:0}),v=Ht(Ko(n.headers.Location),"code");return(n.status!==302||!v)&&(0,Zo.fail)(c),v}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),n={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!n.accessToken||!n.tokenType||!n.idToken||!n.expiresIn)&&(0,Zo.fail)(this.tokenURL),n}},IE={};It(IE,{Client:()=>HE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},PE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},kE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},LE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},BE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,up.create)({version:"1.0",encoding:"UTF-8"}),ME={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},op={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(n).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},RE={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},jE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},UE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=ME[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},zE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},qE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:op[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:op[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:RE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},GE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},WE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=jE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},XE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},HE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new sp.CookieJar}});this.application=new PE(c.platform,n),this.drive=new kE(c.platform,n),this.group=new LE(c.platform,n),this.me=new BE(c.platform,n),this.resource=new UE(c.platform,n),this.role=new zE(c.platform,n),this.search=new qE(c.platform,n),this.share=new GE(c.platform,n),this.tag=new WE(c.platform,n),this.user=new XE(c.platform,n)}},eu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},$E={};It($E,{ItemType:()=>Mw,Permission:()=>Rw,ShareType:()=>Bw,endpoints:()=>jw});var cp={};It(cp,{POST__get_roles:()=>JE});var JE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),fp={};It(fp,{SEARCH__search_for_resources:()=>KE});var KE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),pp={};It(pp,{DELETE__delete_resource:()=>ZE,GET__download_resource:()=>YE,MKCOL__create_resource:()=>QE,MOVE__move_resource:()=>ew,PROPFIND__get_properties_for_resource:()=>tw,PUT__upload_resource:()=>VE,REPORT__get_report_for_resources:()=>rw});var VE=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),YE=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),QE=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),ZE=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),ew=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),tw=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),rw=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a),hp={};It(hp,{DELETE__delete_resource:()=>aw,GET__download_resource:()=>iw,MKCOL__create_resource:()=>ow,MOVE__move_resource:()=>sw,PROPFIND__get_properties_for_resource:()=>uw,PUT__upload_resource:()=>nw});var nw=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),iw=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),ow=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),aw=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),sw=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),uw=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a),dp={};It(dp,{DELETE__delete_tag:()=>cw,POST__create_tag:()=>lw,PROPFIND__get_tags_with_properties:()=>fw});var lw=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),cw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),fw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),mp={};It(mp,{DELETE__remove_tag_from_resource:()=>hw,PROPFIND__get_tags_with_properties_for_resource:()=>dw,PUT__add_tag_to_resource:()=>pw});var pw=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),hw=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),dw=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a),vp={};It(vp,{GET__get_applications:()=>mw});var mw=c=>c("GET","/graph/v1.0/applications"),yp={};It(yp,{DELETE__delete_drive:()=>yw,POST__create_drive:()=>vw});var vw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),yw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),_p={};It(_p,{DELETE__remove_tags_from_resource:()=>gw,PUT__add_tags_to_resource:()=>_w});var _w=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gw=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gp={};It(gp,{DELETE__delete_group:()=>bw,POST__create_group:()=>xw});var xw=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),bw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),xp={};It(xp,{GET__current_user:()=>ww,GET__get_current_user_drives:()=>Ew});var Ew=c=>c("GET","/graph/v1.0/me/drives"),ww=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),bp={};It(bp,{DELETE__delete_user:()=>Aw,POST__add_app_role_to_user:()=>Cw,POST__create_user:()=>Sw});var Sw=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),Aw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Cw=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a})),Ep={};It(Ep,{DELETE__delete_group:()=>Tw,POST__create_group:()=>Dw});var Dw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Tw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),wp={};It(wp,{DELETE__delete_user:()=>Fw,POST__create_user:()=>Nw,PUT__enable_user:()=>Ow});var Nw=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{GET__search_for_sharees:()=>Iw});var Iw=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_share:()=>Lw,POST__accept_share:()=>kw,POST__create_share:()=>Pw});var Pw=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},kw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Lw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Bw={user:0,group:1,publicLink:3,federatedCloudShare:6},Mw={file:"file",folder:"folder"},Rw={read:0,update:2,create:4,delete:8,share:16,all:31},jw={api:{v0:{settings:cp}},dav:{...fp,files:pp,spaces:hp,systemtags:dp,systemtags_relations:mp},graph:{v1:{applications:vp,drives:yp,extensions:{org_libre_graph:{tags:_p}},groups:gp,me:xp,users:bp}},ocs:{v2:{apps:{cloud:{groups:Ep,users:wp},file_sharing:{v1:{sharees:Sp,shares:Ap}}}}}},Uw={};It(Uw,{check:()=>$w,cleanURL:()=>Tp,group:()=>Hw,objectToQueryString:()=>Gw,platformGuard:()=>qw,queryJson:()=>Fp,queryStringToObject:()=>Ww,queryXml:()=>Jw,randomString:()=>zw,requestFactory:()=>Xw});var zw=(c=10,a)=>(0,Cp.randomString)(c,a),qw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Tp=(...c)=>c.join("/").replace(/(?new tu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Ww=c=>{let a=new URL(c).search,n=new tu.URLSearchParams(a);return Object.fromEntries(n)},Xw=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Dp.request)(a,Tp(c.baseUrl,n),v,Sn(_,S))},Hw=(c,a)=>(0,ta.group)(c,()=>a(c)),$w=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ta.check)(c.val,n,c.tags)},Fp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Np.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)},Jw=(c,a)=>{let n=Op.create(a).end({format:"object"});return Fp(c,n)};var Kw=Qt(require("k6/encoding")),Vw=require("k6"),Yw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var Pp=require("k6/http");var kp=Qt(Ii());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},Qw=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},Zw=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},eS=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},tS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,kp.create)({version:"1.0",encoding:"UTF-8"}),rS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Ip={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(n).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},nS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},iS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},oS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=rS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},aS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},sS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Ip[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Ip[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:nS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},uS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},lS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=iS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},cS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},Pi=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new Pp.CookieJar}});this.application=new Qw(c.platform,n),this.drive=new Zw(c.platform,n),this.group=new eS(c.platform,n),this.me=new tS(c.platform,n),this.resource=new oS(c.platform,n),this.role=new aS(c.platform,n),this.search=new sS(c.platform,n),this.share=new uS(c.platform,n),this.tag=new lS(c.platform,n),this.user=new cS(c.platform,n)}};var Bp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var fS=require("k6/http");var pS=require("https://jslib.k6.io/url/1.0.0/index.js"),Mp=require("k6"),Rp=Qt(Bs());var hS=Qt(Ii()),ru=(c=10,a)=>(0,Bp.randomString)(c,a);var jp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Rp.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)};var zp=require("k6/crypto"),nu=Qt(require("k6/execution")),iu=Qt(Up()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:eu[__ENV.PLATFORM]||eu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{small:{size:parseInt(__ENV.ASSET_SMALL_SIZE,10)||10,quantity:parseInt(__ENV.ASSET_SMALL_QUANTITY,10)||1},medium:{size:parseInt(__ENV.ASSET_MEDIUM_SIZE,10)||10*20,quantity:parseInt(__ENV.ASSET_MEDIUM_QUANTITY,10)||1},large:{size:parseInt(__ENV.ASSET_LARGE_SIZE,10)||10*100,quantity:parseInt(__ENV.ASSET_LARGE_QUANTITY,10)||1}},k6:{vus:1,insecureSkipTLSVerify:!0}},qp=wr.k6;function dS(){let c=new Pi({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,iu.times)(qp.vus||1,()=>{let[n,v]=[ru(),ru()];c.user.createUser({userLogin:n,userPassword:v}),c.user.enableUser({userLogin:n});let _=new Pi({...wr,userLogin:n,userPassword:v}).me.getMyDrives(),[y=n]=jp("$.value[?(@.driveType === 'personal')].id",_?.body);return{actorLogin:n,actorPassword:v,actorRoot:y}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function Gp({actorData:c}){let{actorLogin:a,actorPassword:n,actorRoot:v}=c[nu.default.vu.idInTest-1],S=new Pi({...wr,userLogin:a,userPassword:n}),_=[];Object.keys(wr.assets).forEach(y=>{let{quantity:s,size:h}=wr.assets[y];(0,iu.times)(s,i=>{let o=[nu.default.scenario.iterationInTest,y,i].join("-");S.resource.uploadResource({root:v,resourcePath:o,resourceBytes:(0,zp.randomBytes)(h*1e3)}),_.push(()=>S.resource.downloadResource({root:v,resourcePath:o}))})}),_.forEach(y=>{y()})}function mS({adminData:c,actorData:a}){let n=new Pi({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{n.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-060-create-rename-folder.js b/packages/k6-tests/artifacts/koko-060-create-rename-folder.js index 758eb49..a3f7177 100644 --- a/packages/k6-tests/artifacts/koko-060-create-rename-folder.js +++ b/packages/k6-tests/artifacts/koko-060-create-rename-folder.js @@ -1,90 +1,90 @@ -"use strict";var vg=Object.create;var bo=Object.defineProperty;var gg=Object.getOwnPropertyDescriptor;var _g=Object.getOwnPropertyNames;var xg=Object.getPrototypeOf,bg=Object.prototype.hasOwnProperty;var Gs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Eg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},pc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of _g(l))!bg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=gg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?vg(xg(E)):{},pc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),wg=E=>pc(bo({},"__esModule",{value:!0}),E);var Zs=Gs((sp,Qs)=>{(function(E){if(typeof sp=="object"&&typeof Qs<"u")Qs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function xa(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=xa(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ba(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Ea(){var F,j,Z,le,be;return be=S,F=ba(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=Ea(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function wa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=wa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Sa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Sa(F)),!Ae(","))break;we()}while(e<_);return j}function Aa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Da(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ca(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Ta(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Na(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Fa(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Oa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Fa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Ia(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function ka(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Pa(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=ka(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ba(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ca(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Oa(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Ta(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Pa(),be);case"throw":return b.markEnd(Ba(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(Aa(),be);case"while":return b.markEnd(Na(),be);case"with":return b.markEnd(Ia(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Da(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=La,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var j_=Object.create;var Po=Object.defineProperty;var U_=Object.getOwnPropertyDescriptor;var z_=Object.getOwnPropertyNames;var q_=Object.getPrototypeOf,G_=Object.prototype.hasOwnProperty;var Ts=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var n in a)Po(c,n,{get:a[n],enumerable:!0})},pc=(c,a,n,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of z_(a))!G_.call(c,S)&&S!==n&&Po(c,S,{get:()=>a[S],enumerable:!(v=U_(a,S))||v.enumerable});return c};var Qt=(c,a,n)=>(n=c!=null?j_(q_(c)):{},pc(a||!c||!c.__esModule?Po(n,"default",{value:c,enumerable:!0}):n,c)),W_=c=>pc(Po({},"__esModule",{value:!0}),c);var Rs=Ts((rp,Ms)=>{(function(c){if(typeof rp=="object"&&typeof Ms<"u")Ms.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,n;return function v(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function aa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function sa(){var O,j,Z,ce,Ee;return Ee=w,O=aa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=sa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=ua(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function la(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(la(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ya(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function _a(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ba,y.parse=Hi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof eu=="object"?eu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof js=="object"?js.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function n(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,n),S.l=!0,S.exports}return n.m=c,n.c=a,n.d=function(v,S,_){n.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},n.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},n.t=function(v,S){if(1&S&&(v=n(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(n.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)n.d(_,y,function(s){return v[s]}.bind(null,y));return _},n.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return n.d(S,"a",S),S},n.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},n.p="",n(n.s=184)}([function(c,a,n){"use strict";function v(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),v(n(240)),v(n(251)),v(n(175)),v(n(107)),v(n(29)),v(n(73)),v(n(106)),v(n(30)),v(n(252)),v(n(52)),v(n(97)),v(n(253)),v(n(37)),v(n(51)),v(n(173)),v(n(176)),v(n(172)),v(n(108)),v(n(254)),v(n(255)),v(n(256)),v(n(72)),v(n(177)),v(n(105)),v(n(17)),v(n(257)),v(n(12)),v(n(174))},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(212);a.FixedSizeSet=S.FixedSizeSet;var _=n(213);a.ObjectCache=_.ObjectCache;var y=n(214);a.CompareCache=y.CompareCache;var s=n(215);a.Lazy=s.Lazy;var h=n(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(241);a.Cast=v.Cast;var S=n(150);a.Guard=S.Guard;var _=n(242);a.EmptySet=_.EmptySet},function(c,a,n){var v=n(11),S=n(55).f,_=n(21),y=n(25),s=n(80),h=n(119),i=n(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,n){var v=n(11),S=n(81),_=n(14),y=n(58),s=n(86),h=n(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,n){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(n(228));a.base64=S;var _=v(n(146));a.byte=_;var y=v(n(147));a.byteSequence=y;var s=v(n(96));a.codePoint=s;var h=v(n(232));a.json=h;var i=v(n(233));a.list=i;var o=v(n(234));a.map=o;var l=v(n(235));a.namespace=l;var u=v(n(236));a.queue=u;var p=v(n(237));a.set=p;var m=v(n(238));a.stack=m;var f=v(n(239));a.string=f},function(c,a){c.exports=function(n){try{return!!n()}catch{return!0}}},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,n){"use strict";var v=n(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,n){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},function(c,a){var n={}.hasOwnProperty;c.exports=function(v,S){return n.call(v,S)}},function(c,a,n){var v=n(16),S=n(115),_=n(18),y=n(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,n){"use strict";var v=n(24),S=n(130),_=n(49),y=n(43),s=n(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,n){var v=n(90),S=n(25),_=n(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,n){var v=n(16),S=n(15),_=n(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,n){"use strict";var v=n(137).charAt,S=n(43),_=n(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,n){var v=n(11),S=n(203),_=n(19),y=n(21),s=n(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,n){var v=n(41),S=n(35);c.exports=function(_){return v(S(_))}},function(c,a,n){var v=n(11),S=n(21),_=n(14),y=n(80),s=n(117),h=n(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,n){var v=n(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,a,n){var v=n(35);c.exports=function(S){return Object(v(S))}},function(c,a,n){var v=n(16),S=n(8),_=n(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(148),S=n(149),_=n(151),y=n(98),s=n(153),h=n(154),i=n(155),o=n(99),l=n(100),u=n(156),p=n(157),m=n(101),f=n(158),t=n(159),e=n(160),g=n(161),b=n(162),x=n(163),E=n(164),w=n(165),D=n(166),T=n(167),N=n(168),I=n(169),M=n(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,n){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(17),y=n(3),s=n(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(46),y=n(44),s=n(16),h=n(86),i=n(124),o=n(8),l=n(14),u=n(59),p=n(13),m=n(18),f=n(27),t=n(24),e=n(56),g=n(40),b=n(60),x=n(61),E=n(82),w=n(190),D=n(85),T=n(55),N=n(15),I=n(79),M=n(21),k=n(25),G=n(81),$=n(57),Y=n(45),z=n(58),X=n(5),H=n(125),ee=n(126),re=n(62),de=n(43),ve=n(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,n){"use strict";var v=n(4),S=n(16),_=n(11),y=n(14),s=n(13),h=n(15).f,i=n(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,n){n(126)("iterator")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(70),i=n(3),o=n(9),l=n(0),u=n(152),p=n(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,n){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=v(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=v(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,n){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:n)(S)}},function(c,a,n){"use strict";var v=n(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,n){"use strict";n(31),n(32),n(33),n(220),n(64),n(19),n(65),n(20),n(68),n(66),n(92),n(144),n(22),n(94),n(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,n){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(7),h=n(29),i=n(17),o=n(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,n){var v=n(121),S=n(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,a,n){var v=n(15).f,S=n(14),_=n(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,a,n){var v=n(8),S=n(5),_=n(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,n){"use strict";var v=n(4),S=n(122).indexOf,_=n(48),y=n(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(16),S=n(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,n){"use strict";var v=n(25),S=n(18),_=n(8),y=n(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(138),n(20),n(66),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),s=n(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(n(50).BaseWriter);a.ObjectWriter=h},function(c,a,n){"use strict";var v=n(4),S=n(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=v},function(c,a,n){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=n(9),_=n(3),y=n(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,n){"use strict";var v=n(39);c.exports=v.DEFAULT=new v({include:[n(54)],explicit:[n(299),n(300),n(301)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=n(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=n(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=n(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}c.exports=n},function(c,a,n){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,a,n){var v=n(11),S=n(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,a,n){var v=n(44),S=n(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,n){var v=n(121),S=n(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,a,n){var v=n(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,n){var v=n(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,n){var v=n(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,n){"use strict";var v=n(4),S=n(195),_=n(132),y=n(133),s=n(62),h=n(21),i=n(25),o=n(5),l=n(44),u=n(49),p=n(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,n){"use strict";var v=n(4),S=n(13),_=n(59),y=n(83),s=n(26),h=n(24),i=n(134),o=n(5),l=n(63),u=n(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=n(6),h=n(2),i=n(9),o=n(34),l=n(3),u=n(1),p=n(7),m=n(152),f=n(0),t=n(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=n(2),h=n(34),i=n(9),o=n(7),l=n(0),u=n(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),s=n(71),h=n(0),i=n(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(0),_=n(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(1),h=n(99),i=n(73),o=n(17),l=n(173),u=n(30),p=n(52),m=n(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,n){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(17),h=n(51),i=n(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,n){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,n){"use strict";n(179),Object.defineProperty(a,"__esModule",{value:!0});var v=n(262),S=n(110),_=n(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(153);a.AbortController=S.AbortControllerImpl;var _=n(154);a.AbortSignal=_.AbortSignalImpl;var y=n(102);a.AbstractRange=y.AbstractRangeImpl;var s=n(157);a.Attr=s.AttrImpl;var h=n(158);a.CDATASection=h.CDATASectionImpl;var i=n(71);a.CharacterData=i.CharacterDataImpl;var o=n(263),l=n(159);a.Comment=l.CommentImpl;var u=n(171);a.CustomEvent=u.CustomEventImpl;var p=n(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=n(98);a.Document=m.DocumentImpl;var f=n(264),t=n(155);a.DocumentType=t.DocumentTypeImpl;var e=n(6);a.dom=e.dom;var g=n(148);a.DOMImplementation=g.DOMImplementationImpl;var b=n(170);a.DOMTokenList=b.DOMTokenListImpl;var x=n(99);a.Element=x.ElementImpl;var E=n(104);a.Event=E.EventImpl;var w=n(70);a.EventTarget=w.EventTargetImpl;var D=n(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=n(265);a.MutationObserver=T.MutationObserverImpl;var N=n(169);a.MutationRecord=N.MutationRecordImpl;var I=n(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=n(168);a.NodeFilter=M.NodeFilterImpl;var k=n(34);a.Node=k.NodeImpl;var G=n(166);a.NodeIterator=G.NodeIteratorImpl;var $=n(162);a.NodeList=$.NodeListImpl;var Y=n(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=n(266),X=n(267),H=n(268),ee=n(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=n(165);a.Range=re.RangeImpl;var de=n(156);a.ShadowRoot=de.ShadowRootImpl;var ve=n(269),ne=n(270);a.StaticRange=ne.StaticRangeImpl;var Q=n(101);a.Text=Q.TextImpl;var ie=n(103);a.Traverser=ie.TraverserImpl;var le=n(167);a.TreeWalker=le.TreeWalkerImpl;var fe=n(149);a.Window=fe.WindowImpl;var P=n(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,n){"use strict";n(64),n(20),n(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(n(75).BaseReader);a.ObjectReader=y},function(c,a,n){"use strict";var v=n(39);c.exports=new v({explicit:[n(286),n(287),n(288)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,n){var v=n(16),S=n(8),_=n(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,n){var v=n(11),S=n(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,n){var v=n(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,a,n){var v=n(11),S=n(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,n){var v=n(14),S=n(187),_=n(55),y=n(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)v(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,n){var v=n(24),S=n(26),_=n(83),y=function(s){return function(h,i,o){var l,u=v(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,n){var v=n(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,n){var v=n(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,n){var v=n(5);a.f=v},function(c,a,n){var v=n(120),S=n(14),_=n(125),y=n(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},function(c,a,n){var v=n(13),S=n(59),_=n(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,n){var v,S,_=n(11),y=n(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,n){var v=n(5),S=n(60),_=n(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,n){"use strict";var v,S,_,y=n(132),s=n(21),h=n(14),i=n(5),o=n(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,n){var v=n(14),S=n(27),_=n(57),y=n(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,n){var v=n(18),S=n(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,n){"use strict";var v=n(56),S=n(15),_=n(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,n){var v=n(90),S=n(42),_=n(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,n){"use strict";var v=n(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,n){var v=n(47),S=n(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,n){var v=n(4),S=n(27),_=n(61);v({target:"Object",stat:!0,forced:n(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(123),y=n(25),s=n(140),h=n(141),i=n(142),o=n(13),l=n(8),u=n(208),p=n(62),m=n(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,n){var v=n(45),S=n(13),_=n(14),y=n(15).f,s=n(58),h=n(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,a,n){var v=n(18),S=n(205),_=n(26),y=n(87),s=n(206),h=n(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(n,v,S){if(!(n instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return n}},function(c,a,n){"use strict";var v=n(15).f,S=n(60),_=n(210),y=n(87),s=n(142),h=n(141),i=n(88),o=n(211),l=n(16),u=n(140).fastKey,p=n(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,n){"use strict";var v,S=n(4),_=n(55).f,y=n(26),s=n(222),h=n(35),i=n(224),o=n(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,n){"use strict";(function(v){var S=n(229),_=n(230),y=n(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,n){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),S=n(7),_=n(0),y=n(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(1),s=n(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(n(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=n(1),s=n(243),h=n(7),i=n(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(34),s=n(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=n(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(102),i=n(9),o=n(0),l=n(12),u=n(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(103),y=n(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(103),s=n(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=v},function(c,a,n){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(9),y=n(7),s=n(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=n(29),h=n(108),i=n(30),o=n(37),l=n(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(29),h=n(17),i=n(107),o=n(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,n){"use strict";var v=n(4),S=n(41),_=n(24),y=n(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,n){var v=n(4),S=n(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,n){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=n(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(182)]})},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(113)],implicit:[n(289),n(290),n(291),n(292)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(91),S=n(1),_=n(3),y=n(77),s=n(109);function h(u,p){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(91),y=n(1),s=n(217),h=n(2),i=n(3),o=n(0),l=n(109),u=n(7),p=n(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,n){var v=n(11),S=n(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,n){var v=n(46),S=n(82),_=n(85),y=n(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,n){var v=n(16),S=n(15),_=n(18),y=n(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,n){var v=n(46);c.exports=v("document","documentElement")},function(c,a,n){var v=n(24),S=n(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,a,n){"use strict";var v=n(4),S=n(36).every,_=n(48),y=n(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(36).filter,_=n(63),y=n(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(46);c.exports=v("navigator","userAgent")||""},function(c,a,n){"use strict";var v=n(4),S=n(36).find,_=n(130),y=n(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,n){"use strict";var v=n(131).IteratorPrototype,S=n(60),_=n(40),y=n(62),s=n(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,n){var v=n(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,n){"use strict";var v=n(4),S=n(36).map,_=n(63),y=n(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(200).left,_=n(48),y=n(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(127),S=n(27),_=n(41),y=n(26),s=function(h){return function(i,o,l,u){v(o);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,n){"use strict";var v=n(4),S=n(36).some,_=n(48),y=n(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(90),S=n(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,n){var v=n(5),S=n(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,n){var v=n(135),S=n(49),_=n(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,a,n){var v=n(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,n){var v=n(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,n){var v=n(13),S=n(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,n){var v=n(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,a,n){"use strict";var v=n(46),S=n(15),_=n(5),y=n(16),s=_("species");c.exports=function(h){var i=v(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(218);a.MapWriter=v.MapWriter;var S=n(258);a.XMLWriter=S.XMLWriter;var _=n(67);a.ObjectWriter=_.ObjectWriter;var y=n(260);a.JSONWriter=y.JSONWriter;var s=n(261);a.YAMLWriter=s.YAMLWriter},function(c,a,n){"use strict";n(19),n(219),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,n){"use strict";var v=n(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,n){var v=n(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,n){var v=n(13),S=n(42),_=n(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,n){var v=n(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,n){"use strict";n(68);var v=n(25),S=n(8),_=n(5),y=n(93),s=n(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,n){"use strict";var v=n(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,a,n){var v=n(42),S=n(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,n){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=n(96);a.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,n(145).Buffer)},function(c,a,n){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(n,v,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=n[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+n[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+n[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(n,v,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*o-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;n[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;n[S+f]=255&h,f+=t,h/=256,l-=8);n[S+f-t]|=128*e}},function(c,a){var n={}.toString;c.exports=Array.isArray||function(v){return n.call(v)=="[object Array]"}},function(c,a,n){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=v(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(96),_=n(147),y=n(146),s=n(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,n){"use strict";var v=n(245),S=n(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,n){(function(v,S){var _;(function(y){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,n,a,v))===void 0||(v.exports=_)})()}).call(this,n(246)(c),n(78))},function(c,a){c.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(c,a,n){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,n){"use strict";a.decode=a.parse=n(249),a.encode=a.stringify=n(250)},function(c,a,n){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,n){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1),_=n(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,a,n){"use strict";n(89),n(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(2),s=n(50),h=n(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,n){"use strict";var v=n(47),S=n(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(n(50).BaseWriter);a.JSONWriter=h},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(89),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(n(50).BaseWriter);a.YAMLWriter=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),n(110).dom.setFeatures(!0);var v=n(110);a.DOMImplementation=v.DOMImplementation;var S=n(271);a.DOMParser=S.DOMParser;var _=n(274);a.XMLSerializer=_.XMLSerializer},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(180),y=n(111),s=n(7),h=n(0),i=n(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,n){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(2),_=n(69),y=n(95),s=n(9),h=n(7),i=n(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(277);a.XMLReader=v.XMLReader;var S=n(112);a.ObjectReader=S.ObjectReader;var _=n(280);a.JSONReader=_.JSONReader;var y=n(281);a.YAMLReader=y.YAMLReader},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(65),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(180),h=n(111),i=n(7),o=n(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(n(75).BaseReader);a.XMLReader=l},function(c,a,n){var v=n(4),S=n(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,n){"use strict";var v=n(16),S=n(8),_=n(61),y=n(85),s=n(79),h=n(27),i=n(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(n(75).BaseReader);a.JSONReader=y},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=n(75),s=n(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,n){"use strict";var v=n(283);c.exports=v},function(c,a,n){"use strict";var v=n(284),S=n(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=n(10),c.exports.Schema=n(39),c.exports.FAILSAFE_SCHEMA=n(113),c.exports.JSON_SCHEMA=n(182),c.exports.CORE_SCHEMA=n(181),c.exports.DEFAULT_SAFE_SCHEMA=n(54),c.exports.DEFAULT_FULL_SCHEMA=n(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=n(53),c.exports.MINIMAL_SCHEMA=n(113),c.exports.SAFE_SCHEMA=n(54),c.exports.DEFAULT_SCHEMA=n(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,n){"use strict";var v=n(38),S=n(53),_=n(285),y=n(54),s=n(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(38),S=n(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,n){"use strict";var v=n(38),S=n(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,n){"use strict";var v;try{v=n(145).Buffer}catch{}var S=n(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,n){"use strict";var v=n(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,n){"use strict";var v;try{v=n(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=n(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,n){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var gp=Gs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,xa=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,ba=/,? & /,Ea=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,wa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Sa=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,Da=/^(?:0|[1-9]\d*)$/,Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ta=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Na="\\u0300-\\u036f",Fa="\\ufe20-\\ufe2f",Oa="\\u20d0-\\u20ff",Ai=Na+Fa+Oa,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Ia="\\xac\\xb1\\xd7\\xf7",ka="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pa="\\u2000-\\u206f",Ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Ia+ka+Pa+Ba,zt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",La="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=La+"?",bt="["+Ni+"]?",bp="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",Ep="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",iu=bt+At+bp,Sp="(?:"+[rn,F,j].join("|")+")"+iu,Ap="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Dp=RegExp(zt,"g"),Cp=RegExp(tn,"g"),Ra=RegExp(xn+"(?="+xn+")|"+Ap+iu,"g"),Tp=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,wp,Ep,Oi,Sp].join("|"),"g"),Np=RegExp("["+le+_n+Ai+Ni+"]"),Fp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Op=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ip=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var kp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Pp={"&":"&","<":"<",">":">",'"':""","'":"'"},Bp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Lp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Rp=parseFloat,Mp=parseInt,ou=typeof global=="object"&&global&&global.Object===Object&&global,jp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=ou||jp||Function("return this")(),Ma=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=Ma&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,au=nn&&nn.exports===Ma,ja=au&&ou.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||ja&&ja.binding&&ja.binding("util")}catch{}}(),su=nr&&nr.isArrayBuffer,uu=nr&&nr.isDate,lu=nr&&nr.isMap,cu=nr&&nr.isRegExp,fu=nr&&nr.isSet,pu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Up(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ua(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function xu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Kp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Vp=Wa(kp),Yp=Wa(Pp);function Qp(fe){return"\\"+Lp[fe]}function Zp(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Np.test(fe)}function eh(fe){return Fp.test(fe)}function th(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function $a(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function bu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function qh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Mh,br.prototype.delete=jh,br.prototype.get=Uh,br.prototype.has=zh,br.prototype.set=qh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Hd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return nl(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:El(r),!se)return pe?Bd(r,id(te,r)):Pd(r,ku(te,r))}else{if(!ht[Fe])return U?r:{};te=Jd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Yl(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Kl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?xs:_s:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function od(r){var h=Ot(r);return function(A){return Pu(A,r,h)}}function Pu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Bu(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ua,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:Zl(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var ts=ll(),Mu=ll(!0);function gr(r,h){return r&&ts(r,h,Ot)}function rs(r,h){return r&&Mu(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ud(r,h){return r!=null&&ft.call(r,h)}function ld(r,h){return r!=null&&h in pt(r)}function cd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Ku(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):ps(r,U)}}return r}function ls(r,h){return r+$i(Nu()*(h-r+1))}function wd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function cs(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Cs(Al(r,h,Xt),r+"")}function Sd(r){return Iu(In(r))}function Ad(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:jd(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var rl=yh||function(r){return Ft.clearTimeout(r)};function nl(r,h){if(h)return r.slice();var A=r.length,O=Su?Su(A):new r.constructor(A);return r.copy(O),O}function ys(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Fd(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Od(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Id(r){return ri?pt(ri.call(r)):{}}function il(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function ol(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function al(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function pl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Kd(r){return Ye(r)||pn(r)||!!(Cu&&r&&r[Cu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Da.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Rl(r,A)});function Ml(r){var h=$(r);return h.__chain__=!0,h}function a0(r,h){return h(r),r}function po(r,h){return h(r)}var s0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return es(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function u0(){return Ml(this)}function l0(){return new ar(this.value(),this.__chain__)}function c0(){this.__values__===E&&(this.__values__=Ql(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function f0(){return this}function p0(r){for(var h,A=this;A instanceof Yi;){var O=Ol(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function h0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ts],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ts)}function d0(){return el(this.__wrapped__,this.__actions__)}var m0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function y0(r,h,A){var O=Ye(r)?hu:ad;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function v0(r,h){var A=Ye(r)?Lr:Ru;return A(r,Ge(h,3))}var g0=fl(Il),_0=fl(kl);function x0(r,h){return It(ho(r,h),1)}function b0(r,h){return It(ho(r,h),Y)}function E0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function jl(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function Ul(r,h){var A=Ye(r)?zp:Lu;return A(r,Ge(h,3))}var w0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function S0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var A0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),D0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Gu;return A(r,Ge(h,3))}function C0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ju(r,h,A))}var T0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function N0(r,h,A){var O=Ye(r)?za:vu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function F0(r,h,A){var O=Ye(r)?qp:vu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Lu)}function O0(r,h){var A=Ye(r)?Lr:Ru;return A(r,vo(Ge(h,3)))}function I0(r){var h=Ye(r)?Iu:Sd;return h(r)}function k0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?td:Ad;return O(r,h)}function P0(r){var h=Ye(r)?rd:Cd;return h(r)}function B0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:as(r).length}function L0(r,h,A){var O=Ye(r)?qa:Td;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var R0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Ju(r,It(h,1),[])}),mo=vh||function(){return Ft.Date.now()};function M0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function zl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function ql(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Fs=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Fs));O|=x}return Sr(r,O,h,A,U)}),Gl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Gl));O|=x}return Sr(h,O,r,A,U)});function Wl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Wl.placeholder,O}function Xl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,fc=h-yr;return Fe?Pt(fc,V-Nr):fc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&rl(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return rl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var j0=rt(function(r,h){return Bu(r,1,h)}),U0=rt(function(r,h,A){return Bu(r,cr(h)||0,A)});function z0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function q0(r){return ql(2,r)}var G0=Nd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=Uu(function(){return arguments}())?Uu:function(r){return xt(r)&&ft.call(r,"callee")&&!Du.call(r,"callee")},Ye=ve.isArray,iy=su?Vt(su):pd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function oy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=_h||qs,ay=uu?Vt(uu):hd;function sy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function uy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!as(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function ly(r,h){return ai(r,h)}function cy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Is(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function fy(r){return typeof r=="number"&&Tu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function $l(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Kl=lu?Vt(lu):md;function py(r,h){return r===h||os(r,h,Es(h))}function hy(r,h,A){return A=typeof A=="function"?A:E,os(r,h,Es(h),A)}function dy(r){return Vl(r)&&r!=+r}function my(r){if(Qd(r))throw new Ke(v);return zu(r)}function yy(r){return r===null}function vy(r){return r==null}function Vl(r){return typeof r=="number"||xt(r)&&Rt(r)==q}function fi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==hh}var ks=cu?Vt(cu):yd;function gy(r){return $l(r)&&r>=-z&&r<=z}var Yl=fu?Vt(fu):vd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var On=pu?Vt(pu):gd;function _y(r){return r===E}function xy(r){return xt(r)&&Bt(r)==we}function by(r){return xt(r)&&Rt(r)==at}var Ey=uo(ss),wy=uo(function(r,h){return r<=h});function Ql(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):qt(r);if(Qn&&r[Qn])return th(r[Qn]());var h=Bt(r),A=h==M?$a:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function Zl(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=gu(r);var A=Sa.test(r);return A||Aa.test(r)?Mp(r.slice(2),A?2:8):vr.test(r)?H:+r}function ec(r){return _r(r,Wt(r))}function Sy(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Ay=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),tc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Dy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Cy=Ar(es);function Ty(r,h){var A=Cn(r);return h==null?A:ku(A,h)}var Ny=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,xs(r),A),O&&(A=sr(A,n|i|u,Ud));for(var U=h.length;U--;)ps(A,h[U]);return A});function Jy(r,h){return nc(r,vo(Ge(h)))}var $y=Ar(function(r,h){return r==null?{}:bd(r,h)});function nc(r,h){if(r==null)return{};var A=yt(xs(r),function(O){return[O]});return h=Ge(h),$u(r,A,function(O,U){return h(O,U[0])})}function Ky(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Nu();return Pt(r+U*(h-r+Rp("1e-"+((U+"").length-1))),h)}return ls(r,h)}var av=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?ac(h):h)});function ac(r){return Ls(ct(r).toLowerCase())}function sc(r){return r=ct(r),r&&r.replace(Ca,Vp).replace(Cp,"")}function sv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function uv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Yp):r}function lv(r){return r=ct(r),r&&xa.test(r)?r.replace(Pr,"\\$&"):r}var cv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),fv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),pv=cl("toLowerCase");function hv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!ks(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var bv=Nn(function(r,h,A){return r+(A?" ":"")+Ls(h)});function Ev(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function wv(r,h,A){var O=$.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,vl);var U=xo({},h.imports,O.imports,vl),V=Ot(U),te=Ja(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ka((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?wa:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ip+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Ta,Qp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=n(91),h=n(1),i=n(183),o=n(0),l=n(7),u=n(95),p=n(69),m=n(3),f=n(305),t=n(306),e=n(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(n(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,n){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var jp=Ts((ni,ki)=>{(function(){var c,a="4.17.21",n=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,oa=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,aa=/,? & /,sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,la=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ca=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,pa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,ha=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",da="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",va="\\u20d0-\\u20ff",Mi=da+ma+va,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ya="\\xac\\xb1\\xd7\\xf7",_a="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ga="\\u2000-\\u206f",xa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ya+_a+ga+xa,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ba="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ba+"?",Ct="["+zi+"]?",Gp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",Wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",iu=Ct+Ot+Gp,Hp="(?:"+[pn,O,j].join("|")+")"+iu,$p="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Jp=RegExp($t,"g"),Kp=RegExp(fn,"g"),Ea=RegExp(Pn+"(?="+Pn+")|"+$p+iu,"g"),Vp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Xp,Wp,Gi,Hp].join("|"),"g"),Yp=RegExp("["+ce+In+Mi+zi+"]"),Qp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Zp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var th={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},rh={"&":"&","<":"<",">":">",'"':""","'":"'"},nh={"&":"&","<":"<",">":">",""":'"',"'":"'"},ih={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oh=parseFloat,ah=parseInt,ou=typeof global=="object"&&global&&global.Object===Object&&global,sh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=ou||sh||Function("return this")(),wa=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=wa&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,au=hn&&hn.exports===wa,Sa=au&&ou.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),su=lr&&lr.isArrayBuffer,uu=lr&&lr.isDate,lu=lr&&lr.isMap,cu=lr&&lr.isRegExp,fu=lr&&lr.isSet,pu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function uh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Aa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function xu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function yh(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var _h=Na(th),gh=Na(rh);function xh(pe){return"\\"+ih[pe]}function bh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Yp.test(pe)}function Eh(pe){return Qp.test(pe)}function wh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Pa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function bu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function cd(r,d){var A=this.__data__,F=co(A,r);return F<0?(++this.size,A.push([r,d])):A[F][1]=d,this}Or.prototype.clear=ad,Or.prototype.delete=sd,Or.prototype.get=ud,Or.prototype.has=ld,Or.prototype.set=cd;function Fr(r){var d=-1,A=r==null?0:r.length;for(this.clear();++d=d?r:d)),r}function hr(r,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(r,F,U,V):A(r)),te!==c)return te;if(!bt(r))return r;var Te=tt(r);if(Te){if(te=dm(r),!ue)return Jt(r,te)}else{var Ie=qt(r),Be=Ie==B||Ie==L;if(en(r))return nl(r,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:El(r),!ue)return he?nm(r,Cd(te,r)):rm(r,Pu(te,r))}else{if(!yt[Ie])return U?r:{};te=mm(r,Ie,ue)}}V||(V=new gr);var qe=V.get(r);if(qe)return qe;V.set(r,te),Yl(r)?r.forEach(function(Je){te.add(hr(Je,d,A,Je,r,V))}):Kl(r)&&r.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,r,V))});var $e=De?he?os:is:he?Vt:Mt,it=Te?c:$e(r);return cr(it||r,function(Je,st){it&&(st=Je,Je=r[st]),vi(te,st,hr(Je,d,A,st,r,V))}),te}function Dd(r){var d=Mt(r);return function(A){return ku(A,r,d)}}function ku(r,d,A){var F=A.length;if(r==null)return!F;for(r=vt(r);F--;){var U=A[F],V=d[U],te=r[U];if(te===c&&!(U in r)||!V(te))return!1}return!0}function Lu(r,d,A){if(typeof r!="function")throw new fr(S);return wi(function(){r.apply(c,A)},d)}function yi(r,d,A,F){var U=-1,V=$i,te=!0,ue=r.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=Aa,te=!1):d.length>=n&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:Zl(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ua=ll(),Ru=ll(!0);function Ar(r,d){return r&&Ua(r,d,Mt)}function za(r,d){return r&&Ru(r,d,Mt)}function po(r,d){return Xr(d,function(A){return Br(r[A])})}function _n(r,d){d=Qr(d,r);for(var A=0,F=d.length;r!=null&&Ad}function Od(r,d){return r!=null&&mt.call(r,d)}function Fd(r,d){return r!=null&&d in vt(r)}function Id(r,d,A){return r>=zt(d,A)&&r=120&&Te.length>=120)?new vn(te&&Te):c}Te=r[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==r&&no.call(ue,he,1),no.call(r,he,1);return r}function Ku(r,d){for(var A=r?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?no.call(r,U,1):Ya(r,U)}}return r}function Ja(r,d){return r+ao(Nu()*(d-r+1))}function Xd(r,d,A,F){for(var U=-1,V=kt(oo((d-r)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=r,r+=A;return te}function Ka(r,d){var A="";if(!r||d<1||d>z)return A;do d%2&&(A+=r),d=ao(d/2),d&&(r+=r);while(d);return A}function at(r,d){return ps(Al(r,d,Yt),r+"")}function Hd(r){return Iu(Xn(r))}function $d(r,d){var A=Xn(r);return So(A,yn(d,0,A.length))}function xi(r,d,A,F){if(!bt(r))return r;d=Qr(d,r);for(var U=-1,V=d.length,te=V-1,ue=r;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=r[V];te!==null&&!ir(te)&&(A?te<=d:te=n){var De=d?null:sm(r);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?r:dr(r,d,A)}var rl=Rh||function(r){return Bt.clearTimeout(r)};function nl(r,d){if(d)return r.slice();var A=r.length,F=Su?Su(A):new r.constructor(A);return r.copy(F),F}function ts(r){var d=new r.constructor(r.byteLength);return new to(d).set(new to(r)),d}function Qd(r,d){var A=d?ts(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Zd(r){var d=new r.constructor(r.source,cn.exec(r));return d.lastIndex=r.lastIndex,d}function em(r){return mi?vt(mi.call(r)):{}}function il(r,d){var A=d?ts(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function ol(r,d){if(r!==d){var A=r!==c,F=r===null,U=r===r,V=ir(r),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&r>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&r=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return r.index-d.index}function al(r,d,A,F){for(var U=-1,V=r.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=r.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function pl(r){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(r&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(r),Te=V.get(d);if(De&&Te)return De==d&&Te==r;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(r,d),V.set(d,r);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),r.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function ym(r){return tt(r)||bn(r)||!!(Du&&r&&r[Du])}function Lr(r,d){var A=typeof r;return d=d??z,!!d&&(A=="number"||A!="symbol"&&fa.test(r))&&r>-1&&r%1==0&&r0){if(++d>=I)return arguments[0]}else d=0;return r.apply(c,arguments)}}function So(r,d){var A=-1,F=r.length,U=F-1;for(d=d===c?F:d;++A1?r[d-1]:c;return A=typeof A=="function"?(r.pop(),A):c,Ml(r,A)});function Rl(r){var d=J(r);return d.__chain__=!0,d}function T0(r,d){return d(r),r}function Ao(r,d){return d(r)}var N0=kr(function(r){var d=r.length,A=d?r[0]:0,F=this.__wrapped__,U=function(V){return ja(V,r)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function O0(){return Rl(this)}function F0(){return new pr(this.value(),this.__chain__)}function I0(){this.__values__===c&&(this.__values__=Ql(this.value()));var r=this.__index__>=this.__values__.length,d=r?c:this.__values__[this.__index__++];return{done:r,value:d}}function P0(){return this}function k0(r){for(var d,A=this;A instanceof lo;){var F=Fl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=r,d}function L0(){var r=this.__wrapped__;if(r instanceof ut){var d=r;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[hs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(hs)}function B0(){return el(this.__wrapped__,this.__actions__)}var M0=yo(function(r,d,A){mt.call(r,A)?++r[A]:Ir(r,A,1)});function R0(r,d,A){var F=tt(r)?hu:Td;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}function j0(r,d){var A=tt(r)?Xr:Mu;return A(r,Xe(d,3))}var U0=fl(Il),z0=fl(Pl);function q0(r,d){return Rt(Co(r,d),1)}function G0(r,d){return Rt(Co(r,d),Y)}function W0(r,d,A){return A=A===c?1:nt(A),Rt(Co(r,d),A)}function jl(r,d){var A=tt(r)?cr:Vr;return A(r,Xe(d,3))}function Ul(r,d){var A=tt(r)?lh:Bu;return A(r,Xe(d,3))}var X0=yo(function(r,d,A){mt.call(r,A)?r[A].push(d):Ir(r,A,[d])});function H0(r,d,A,F){r=Kt(r)?r:Xn(r),A=A&&!F?nt(A):0;var U=r.length;return A<0&&(A=kt(U+A,0)),Fo(r)?A<=U&&r.indexOf(d,A)>-1:!!U&&kn(r,d,A)>-1}var $0=at(function(r,d,A){var F=-1,U=typeof d=="function",V=Kt(r)?_e(r.length):[];return Vr(r,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),J0=yo(function(r,d,A){Ir(r,A,d)});function Co(r,d){var A=tt(r)?xt:Gu;return A(r,Xe(d,3))}function K0(r,d,A,F){return r==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),$u(r,d,A))}var V0=yo(function(r,d,A){r[A?0:1].push(d)},function(){return[[],[]]});function Y0(r,d,A){var F=tt(r)?Ca:yu,U=arguments.length<3;return F(r,Xe(d,4),A,U,Vr)}function Q0(r,d,A){var F=tt(r)?ch:yu,U=arguments.length<3;return F(r,Xe(d,4),A,U,Bu)}function Z0(r,d){var A=tt(r)?Xr:Mu;return A(r,No(Xe(d,3)))}function ev(r){var d=tt(r)?Iu:Hd;return d(r)}function tv(r,d,A){(A?Wt(r,d,A):d===c)?d=1:d=nt(d);var F=tt(r)?wd:$d;return F(r,d)}function rv(r){var d=tt(r)?Sd:Kd;return d(r)}function nv(r){if(r==null)return 0;if(Kt(r))return Fo(r)?Bn(r):r.length;var d=qt(r);return d==R||d==Re?r.size:Xa(r).length}function iv(r,d,A){var F=tt(r)?Da:Vd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}var ov=at(function(r,d){if(r==null)return[];var A=d.length;return A>1&&Wt(r,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),$u(r,Rt(d,1),[])}),Do=jh||function(){return Bt.Date.now()};function av(r,d){if(typeof d!="function")throw new fr(S);return r=nt(r),function(){if(--r<1)return d.apply(this,arguments)}}function zl(r,d,A){return d=A?c:d,d=r&&d==null?r.length:d,Pr(r,E,c,c,c,c,d)}function ql(r,d){var A;if(typeof d!="function")throw new fr(S);return r=nt(r),function(){return--r>0&&(A=d.apply(this,arguments)),r<=1&&(d=c),A}}var ms=at(function(r,d,A){var F=m;if(A.length){var U=$r(A,Gn(ms));F|=b}return Pr(r,F,d,A,U)}),Gl=at(function(r,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Gl));F|=b}return Pr(d,F,r,A,U)});function Wl(r,d,A){d=A?c:d;var F=Pr(r,e,c,c,c,c,c,d);return F.placeholder=Wl.placeholder,F}function Xl(r,d,A){d=A?c:d;var F=Pr(r,g,c,c,c,c,c,d);return F.placeholder=Xl.placeholder,F}function Hl(r,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof r!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=r.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,fc=d-br;return Ie?zt(fc,V-Rr):fc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&rl(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return rl(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var sv=at(function(r,d){return Lu(r,1,d)}),uv=at(function(r,d,A){return Lu(r,vr(d)||0,A)});function lv(r){return Pr(r,D)}function To(r,d){if(typeof r!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Fr),A}To.Cache=Fr;function No(r){if(typeof r!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!r.call(this);case 1:return!r.call(this,d[0]);case 2:return!r.call(this,d[0],d[1]);case 3:return!r.call(this,d[0],d[1],d[2])}return!r.apply(this,d)}}function cv(r){return ql(2,r)}var fv=Yd(function(r,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=Uu(function(){return arguments}())?Uu:function(r){return St(r)&&mt.call(r,"callee")&&!Cu.call(r,"callee")},tt=_e.isArray,Cv=su?rr(su):kd;function Kt(r){return r!=null&&Oo(r.length)&&!Br(r)}function Dt(r){return St(r)&&Kt(r)}function Dv(r){return r===!0||r===!1||St(r)&&Gt(r)==le}var en=zh||Ds,Tv=uu?rr(uu):Ld;function Nv(r){return St(r)&&r.nodeType===1&&!Si(r)}function Ov(r){if(r==null)return!0;if(Kt(r)&&(tt(r)||typeof r=="string"||typeof r.splice=="function"||en(r)||Wn(r)||bn(r)))return!r.length;var d=qt(r);if(d==R||d==Re)return!r.size;if(Ei(r))return!Xa(r).length;for(var A in r)if(mt.call(r,A))return!1;return!0}function Fv(r,d){return gi(r,d)}function Iv(r,d,A){A=typeof A=="function"?A:c;var F=A?A(r,d):c;return F===c?gi(r,d,c,A):!!F}function ys(r){if(!St(r))return!1;var d=Gt(r);return d==C||d==P||typeof r.message=="string"&&typeof r.name=="string"&&!Si(r)}function Pv(r){return typeof r=="number"&&Tu(r)}function Br(r){if(!bt(r))return!1;var d=Gt(r);return d==B||d==L||d==ie||d==ge}function Jl(r){return typeof r=="number"&&r==nt(r)}function Oo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function bt(r){var d=typeof r;return r!=null&&(d=="object"||d=="function")}function St(r){return r!=null&&typeof r=="object"}var Kl=lu?rr(lu):Md;function kv(r,d){return r===d||Wa(r,d,ss(d))}function Lv(r,d,A){return A=typeof A=="function"?A:c,Wa(r,d,ss(d),A)}function Bv(r){return Vl(r)&&r!=+r}function Mv(r){if(xm(r))throw new Ze(v);return zu(r)}function Rv(r){return r===null}function jv(r){return r==null}function Vl(r){return typeof r=="number"||St(r)&&Gt(r)==q}function Si(r){if(!St(r)||Gt(r)!=ae)return!1;var d=ro(r);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Lh}var _s=cu?rr(cu):Rd;function Uv(r){return Jl(r)&&r>=-z&&r<=z}var Yl=fu?rr(fu):jd;function Fo(r){return typeof r=="string"||!tt(r)&&St(r)&&Gt(r)==je}function ir(r){return typeof r=="symbol"||St(r)&&Gt(r)==ot}var Wn=pu?rr(pu):Ud;function zv(r){return r===c}function qv(r){return St(r)&&qt(r)==Se}function Gv(r){return St(r)&&Gt(r)==ct}var Wv=bo(Ha),Xv=bo(function(r,d){return r<=d});function Ql(r){if(!r)return[];if(Kt(r))return Fo(r)?_r(r):Jt(r);if(fi&&r[fi])return wh(r[fi]());var d=qt(r),A=d==R?Pa:d==Re?Ki:Xn;return A(r)}function Mr(r){if(!r)return r===0?r:0;if(r=vr(r),r===Y||r===-Y){var d=r<0?-1:1;return d*X}return r===r?r:0}function nt(r){var d=Mr(r),A=d%1;return d===d?A?d-A:d:0}function Zl(r){return r?yn(nt(r),0,ee):0}function vr(r){if(typeof r=="number")return r;if(ir(r))return H;if(bt(r)){var d=typeof r.valueOf=="function"?r.valueOf():r;r=bt(d)?d+"":d}if(typeof r!="string")return r===0?r:+r;r=_u(r);var A=la.test(r);return A||ca.test(r)?ah(r.slice(2),A?2:8):Sr.test(r)?H:+r}function ec(r){return Cr(r,Vt(r))}function Hv(r){return r?yn(nt(r),-z,z):r===0?r:0}function dt(r){return r==null?"":nr(r)}var $v=zn(function(r,d){if(Ei(d)||Kt(d)){Cr(d,Mt(d),r);return}for(var A in d)mt.call(d,A)&&vi(r,A,d[A])}),tc=zn(function(r,d){Cr(d,Vt(d),r)}),Io=zn(function(r,d,A,F){Cr(d,Vt(d),r,F)}),Jv=zn(function(r,d,A,F){Cr(d,Mt(d),r,F)}),Kv=kr(ja);function Vv(r,d){var A=Un(r);return d==null?A:Pu(A,d)}var Yv=at(function(r,d){r=vt(r);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(r,os(r),A),F&&(A=hr(A,i|o|l,um));for(var U=d.length;U--;)Ya(A,d[U]);return A});function my(r,d){return nc(r,No(Xe(d)))}var vy=kr(function(r,d){return r==null?{}:Gd(r,d)});function nc(r,d){if(r==null)return{};var A=xt(os(r),function(F){return[F]});return d=Xe(d),Ju(r,A,function(F,U){return d(F,U[0])})}function yy(r,d,A){d=Qr(d,r);var F=-1,U=d.length;for(U||(U=1,r=c);++Fd){var F=r;r=d,d=F}if(A||r%1||d%1){var U=Nu();return zt(r+U*(d-r+oh("1e-"+((U+"").length-1))),d)}return Ja(r,d)}var Ty=qn(function(r,d,A){return d=d.toLowerCase(),r+(A?ac(d):d)});function ac(r){return bs(dt(r).toLowerCase())}function sc(r){return r=dt(r),r&&r.replace(pa,_h).replace(Kp,"")}function Ny(r,d,A){r=dt(r),d=nr(d);var F=r.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&r.slice(A,U)==d}function Oy(r){return r=dt(r),r&&ii.test(r)?r.replace(ft,gh):r}function Fy(r){return r=dt(r),r&&oa.test(r)?r.replace(Gr,"\\$&"):r}var Iy=qn(function(r,d,A){return r+(A?"-":"")+d.toLowerCase()}),Py=qn(function(r,d,A){return r+(A?" ":"")+d.toLowerCase()}),ky=cl("toLowerCase");function Ly(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;if(!d||F>=d)return r;var U=(d-F)/2;return xo(ao(U),A)+r+xo(oo(U),A)}function By(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;return d&&F>>0,A?(r=dt(r),r&&(typeof d=="string"||d!=null&&!_s(d))&&(d=nr(d),!d&&Ln(r))?Zr(_r(r),0,A):r.split(d,A)):[]}var Gy=qn(function(r,d,A){return r+(A?" ":"")+bs(d)});function Wy(r,d,A){return r=dt(r),A=A==null?0:yn(nt(A),0,r.length),d=nr(d),r.slice(A,A+d.length)==d}function Xy(r,d,A){var F=J.templateSettings;A&&Wt(r,d,A)&&(d=c),r=dt(r),d=Io({},d,F,yl);var U=Io({},d.imports,F.imports,yl),V=Mt(U),te=Ia(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=ka((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?ua:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eh+"]")+` +`;r.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=r.slice(De,ar).replace(ha,xh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=lc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Is(et))throw et;return et}function Sv(r){return ct(r).toLowerCase()}function Av(r){return ct(r).toUpperCase()}function Dv(r,h,A){if(r=ct(r),r&&(A||h===E))return gu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=_u(O,U),te=xu(O,U)+1;return Wr(O,V,te).join("")}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Eu(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=xu(O,hr(h))+1;return Wr(O,0,U).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=_u(O,hr(h));return Wr(O,U).join("")}function Nv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),ks(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ka(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Fv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,oh):r}var Ov=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ls=cl("toUpperCase");function uc(r,h,A){return r=ct(r),h=A?E:h,h===E?eh(r)?uh(r):Xp(r):r.match(h)||[]}var lc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Is(A)?A:new Ke(A)}}),Iv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Fs(r[A],r))}),r});function kv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Ha(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Fh,it.prototype.reverse=Oh,it.prototype.value=Ih,$.prototype.at=s0,$.prototype.chain=u0,$.prototype.commit=l0,$.prototype.next=c0,$.prototype.plant=p0,$.prototype.reverse=h0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=d0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=f0),$},jr=lh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,Ma._=jr):Ft._=jr}).call(Wn)});var Lb={};Eg(Lb,{default:()=>Pb,options:()=>xp,setup:()=>kb,teardown:()=>Bb});module.exports=wg(Lb);var vb=Ut(require("k6/encoding")),gb=require("k6"),_b=Ut(require("k6/http"));var Sg=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Sg;var Ag=typeof self=="object"&&self&&self.Object===Object&&self,Dg=Eo||Ag||Function("return this")(),Dt=Dg;var Cg=Dt.Symbol,Fr=Cg;var hc=Object.prototype,Tg=hc.hasOwnProperty,Ng=hc.toString,pi=Fr?Fr.toStringTag:void 0;function Fg(E){var l=Tg.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Ng.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var dc=Fg;var Og=Object.prototype,Ig=Og.toString;function kg(E){return Ig.call(E)}var mc=kg;var Pg="[object Null]",Bg="[object Undefined]",yc=Fr?Fr.toStringTag:void 0;function Lg(E){return E==null?E===void 0?Bg:Pg:yc&&yc in Object(E)?dc(E):mc(E)}var tr=Lg;function Rg(E){return E!=null&&typeof E=="object"}var fr=Rg;var Mg="[object Symbol]";function jg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Mg}var kn=jg;function Ug(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=m_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Fc=g_;function __(E){return function(){return E}}var Oc=__;var x_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=x_;var b_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Oc(l),writable:!0})}:wo,Ic=b_;var E_=Fc(Ic),kc=E_;var w_=9007199254740991,S_=/^(?:0|[1-9]\d*)$/;function A_(E,l){var o=typeof E;return l=l??w_,!!l&&(o=="number"||o!="symbol"&&S_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=P_}var Co=B_;function L_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=L_;function R_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var jc=R_;function M_(E){return Mc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&jc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var pf=ax;function sx(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var hf=sx;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ip=E=>new Ys(new URL(E||"").search).object();var ap=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),op.default.request(v,np(E,w),y,Po(a,m))};var up=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),mb=Ut(Zs());var yb=Ut(Gn()),lp=(E=10,l)=>(0,up.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var cp=Ut(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${cp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=Ut(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:lp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(ip(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var pp=require("k6"),tu=require("k6"),ru=require("k6"),mn=require("k6"),hp=Ut(Gn()),dp=require("k6"),ya=require("k6"),xi=Ut(Gn()),va=require("k6"),yn=require("k6"),nu=Ut(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var xb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,pp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,tu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,tu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,ru.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,ru.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,hp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,dp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Db=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=ap(E,w,{jar:new fp.CookieJar}),m=new pa(y);this.application=new xb(l,m),this.drive=new bb(l,m),this.group=new Eb(l,m),this.resource=new wb(l,m),this.role=new Sb(l,m),this.search=new Ab(l,m),this.share=new Db(m),this.tag=new Cb(l,m),this.user=new Tb(l,m)}};var Nb=Ut(require("k6/http"));var Fb=require("https://jslib.k6.io/url/1.0.0/index.js"),Ob=require("k6/experimental/timers"),mp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yp=Ut(Zs());var Ib=Ut(Gn());var ga=(E=10,l)=>(0,mp.randomString)(E,l),vp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return yp.query(l,E).map(o=>Vs(o)?void 0:o)};var _p=Ut(require("k6/execution")),_a=Ut(gp()),Lt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},folder:{rootCount:parseInt(__ENV.FOLDER_ROOT_COUNT)||5,childCount:parseInt(__ENV.FOLDER_CHILD_COUNT)||5},k6:{vus:1,insecureSkipTLSVerify:!0}},xp=Lt.k6;function kb(){let E=Lt.adminUser,l=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,E),o=(0,_a.times)(xp.vus||1,()=>{let v={login:ga(),password:ga()};l.user.create(v),l.user.enable(v.login);let y=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v).user.drives(),[m=v.login]=vp("$.value[?(@.driveType === 'personal')].id",y?.body);return{credential:v,home:m}});return{adminCredential:E,userInfos:o}}function Pb({userInfos:E}){let{home:l,credential:o}=E[_p.default.vu.idInTest-1],v=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,o);(0,_a.times)(Lt.folder.rootCount,()=>{(0,_a.times)(Lt.folder.childCount,()=>ga()).reduce((y,m)=>{let a=[...y,m].join("/");return v.resource.create(l,a),y.push(`rename-${m}`),v.resource.move(l,a,y.join("/")),y},[])})}function Bb({userInfos:E,adminCredential:l}){let o=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=lc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ys(it))throw it;return it}function Hy(r){return dt(r).toLowerCase()}function $y(r){return dt(r).toUpperCase()}function Jy(r,d,A){if(r=dt(r),r&&(A||d===c))return _u(r);if(!r||!(d=nr(d)))return r;var F=_r(r),U=_r(d),V=gu(F,U),te=xu(F,U)+1;return Zr(F,V,te).join("")}function Ky(r,d,A){if(r=dt(r),r&&(A||d===c))return r.slice(0,Eu(r)+1);if(!r||!(d=nr(d)))return r;var F=_r(r),U=xu(F,_r(d))+1;return Zr(F,0,U).join("")}function Vy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.replace(ai,"");if(!r||!(d=nr(d)))return r;var F=_r(r),U=gu(F,_r(d));return Zr(F,U).join("")}function Yy(r,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}r=dt(r);var V=r.length;if(Ln(r)){var te=_r(r);V=te.length}if(A>=V)return r;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):r.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),_s(U)){if(r.slice(ue).search(U)){var De,Te=he;for(U.global||(U=ka(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(r.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function Qy(r){return r=dt(r),r&&Ut.test(r)?r.replace(wt,Dh):r}var Zy=qn(function(r,d,A){return r+(A?" ":"")+d.toUpperCase()}),bs=cl("toUpperCase");function uc(r,d,A){return r=dt(r),d=A?c:d,d===c?Eh(r)?Oh(r):hh(r):r.match(d)||[]}var lc=at(function(r,d){try{return tr(r,c,d)}catch(A){return ys(A)?A:new Ze(A)}}),e_=kr(function(r,d){return cr(d,function(A){A=Dr(A),Ir(r,A,ms(r[A],r))}),r});function t_(r){var d=r==null?0:r.length,A=Xe();return r=d?xt(r,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(r,ee);d=Xe(d),r-=ee;for(var U=Fa(F,d);++A0||d<0)?new ut(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-r)),A)},ut.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(r,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=r.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?r.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(r){var d=Vi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",F=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(r,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=Qh,ut.prototype.reverse=Zh,ut.prototype.value=ed,J.prototype.at=N0,J.prototype.chain=O0,J.prototype.commit=F0,J.prototype.next=I0,J.prototype.plant=k0,J.prototype.reverse=L0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=B0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=P0),J},Jr=Fh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,wa._=Jr):Bt._=Jr}).call(ni)});var mS={};jt(mS,{default:()=>qp,options:()=>zp,setup:()=>hS,teardown:()=>dS});module.exports=W_(mS);var op=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var X_=typeof global=="object"&&global&&global.Object===Object&&global,ko=X_;var H_=typeof self=="object"&&self&&self.Object===Object&&self,$_=ko||H_||Function("return this")(),Ft=$_;var J_=Ft.Symbol,jr=J_;var hc=Object.prototype,K_=hc.hasOwnProperty,V_=hc.toString,Ai=jr?jr.toStringTag:void 0;function Y_(c){var a=K_.call(c,Ai),n=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=V_.call(c);return v&&(a?c[Ai]=n:delete c[Ai]),S}var dc=Y_;var Q_=Object.prototype,Z_=Q_.toString;function eg(c){return Z_.call(c)}var mc=eg;var tg="[object Null]",rg="[object Undefined]",vc=jr?jr.toStringTag:void 0;function ng(c){return c==null?c===void 0?rg:tg:vc&&vc in Object(c)?dc(c):mc(c)}var sr=ng;function ig(c){return c!=null&&typeof c=="object"}var yr=ig;var og="[object Symbol]";function ag(c){return typeof c=="symbol"||yr(c)&&sr(c)==og}var Hn=ag;function sg(c,a){for(var n=-1,v=c==null?0:c.length,S=Array(v);++n0){if(++a>=Bg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Oc=jg;function Ug(c){return function(){return c}}var Fc=Ug;var zg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=zg;var qg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Fc(a),writable:!0})}:Lo,Ic=qg;var Gg=Oc(Ic),Pc=Gg;var Wg=9007199254740991,Xg=/^(?:0|[1-9]\d*)$/;function Hg(c,a){var n=typeof c;return a=a??Wg,!!a&&(n=="number"||n!="symbol"&&Xg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=t1}var jo=r1;function n1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=n1;function i1(c,a,n){if(!At(n))return!1;var v=typeof a;return(v=="number"?rn(n)&&Kn(a,n.length):v=="string"&&a in n)?tn(n[a],c):!1}var Rc=i1;function o1(c){return Mc(function(a,n){var v=-1,S=n.length,_=S>1?n[S-1]:void 0,y=S>2?n[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&Rc(n[0],n[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++v-1}var ff=Dx;function Tx(c,a){var n=this.__data__,v=on(n,c);return v<0?(++this.size,n.push([c,a])):n[v][1]=a,this}var pf=Tx;function ei(c){var a=-1,n=c==null?0:c.length;for(this.clear();++a(0,ep.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var tp=require("k6/http");var Ls=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Ls.URLSearchParams(Object.keys(c).map(n=>[n,String(c[n])])).toString(),Ko=c=>{let a=new URL(c).search,n=new Ls.URLSearchParams(a);return Object.fromEntries(n)};var Vo=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,tp.request)(a,Tr(c.baseUrl,n),v,Sn(_,S))};var Bs=require("k6");var ke=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,Bs.check)(c.val,n,c.tags)};var ap=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var np=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${np.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),n=this.getCode(a),v=this.getToken(n);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),n=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!n)&&(0,Yo.fail)(this.logonURL),n}getCode(a){let n=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Qo.default.get(n,{redirects:0}),S=Ht(Ko(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let n=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(n.json(),"access_token",""),tokenType:Ht(n.json(),"token_type",""),idToken:Ht(n.json(),"id_token",""),expiresIn:Ht(n.json(),"expires_in",0)};return(n.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Yo.fail)(this.tokenURL),v}};var Us={};jt(Us,{POST__get_roles:()=>Rb});var Rb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var zs={};jt(zs,{SEARCH__search_for_resources:()=>jb});var jb=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var qs={};jt(qs,{DELETE__delete_resource:()=>Gb,GET__download_resource:()=>zb,MKCOL__create_resource:()=>qb,MOVE__move_resource:()=>Wb,PROPFIND__get_properties_for_resource:()=>Xb,PUT__upload_resource:()=>Ub,REPORT__get_report_for_resources:()=>Hb});var Ub=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),zb=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),qb=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),Gb=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),Wb=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),Xb=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),Hb=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a);var Gs={};jt(Gs,{DELETE__delete_resource:()=>Vb,GET__download_resource:()=>Jb,MKCOL__create_resource:()=>Kb,MOVE__move_resource:()=>Yb,PROPFIND__get_properties_for_resource:()=>Qb,PUT__upload_resource:()=>$b});var $b=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),Jb=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),Kb=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),Vb=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),Yb=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),Qb=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a);var Ws={};jt(Ws,{DELETE__delete_tag:()=>eE,POST__create_tag:()=>Zb,PROPFIND__get_tags_with_properties:()=>tE});var Zb=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),eE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),tE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Xs={};jt(Xs,{DELETE__remove_tag_from_resource:()=>nE,PROPFIND__get_tags_with_properties_for_resource:()=>iE,PUT__add_tag_to_resource:()=>rE});var rE=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),nE=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),iE=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a);var Hs={};jt(Hs,{GET__get_applications:()=>oE});var oE=c=>c("GET","/graph/v1.0/applications");var $s={};jt($s,{DELETE__delete_drive:()=>sE,POST__create_drive:()=>aE});var aE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),sE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Js={};jt(Js,{DELETE__remove_tags_from_resource:()=>lE,PUT__add_tags_to_resource:()=>uE});var uE=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),lE=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a}));var Ks={};jt(Ks,{DELETE__delete_group:()=>fE,POST__create_group:()=>cE});var cE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),fE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Vs={};jt(Vs,{GET__current_user:()=>hE,GET__get_current_user_drives:()=>pE});var pE=c=>c("GET","/graph/v1.0/me/drives"),hE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ys={};jt(Ys,{DELETE__delete_user:()=>mE,POST__add_app_role_to_user:()=>vE,POST__create_user:()=>dE});var dE=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),mE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),vE=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a}));var Qs={};jt(Qs,{DELETE__delete_group:()=>_E,POST__create_group:()=>yE});var yE=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),_E=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_user:()=>bE,POST__create_user:()=>gE,PUT__enable_user:()=>xE});var gE=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),xE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),bE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{GET__search_for_sharees:()=>EE});var EE=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{DELETE__delete_share:()=>AE,POST__accept_share:()=>SE,POST__create_share:()=>wE});var wE=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},SE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),AE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Us}},dav:{...zs,files:qs,spaces:Gs,systemtags:Ws,systemtags_relations:Xs},graph:{v1:{applications:Hs,drives:$s,extensions:{org_libre_graph:{tags:Js}},groups:Ks,me:Vs,users:Ys}},ocs:{v2:{apps:{cloud:{groups:Qs,users:Zs},file_sharing:{v1:{sharees:eu,shares:tu}}}}}};var sp=Qt(Ii());var Ap=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Cp=require("k6/http");var nu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Tp=Qt(Rs());var Np=Qt(Ii()),CE=Object.defineProperty,It=(c,a)=>{for(var n in a)CE(c,n,{get:a[n],enumerable:!0})},DE={};It(DE,{Adapter:()=>TE,BasicAuth:()=>NE,Kopano:()=>OE});var TE={kopano:"kopano",basicAuth:"basicAuth"},NE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${op.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},OE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),n=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+n.expiresIn-5),v})(),token:n}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,n=ea.default.get(a,{redirects:0}),v=Ht(Ko(n.headers.Location),"code");return(n.status!==302||!v)&&(0,Zo.fail)(c),v}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),n={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!n.accessToken||!n.tokenType||!n.idToken||!n.expiresIn)&&(0,Zo.fail)(this.tokenURL),n}},FE={};It(FE,{Client:()=>XE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},IE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},PE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},kE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},LE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,sp.create)({version:"1.0",encoding:"UTF-8"}),BE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},ip={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(n).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},ME={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},up={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},RE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return up[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},jE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=BE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},UE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},zE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:ip[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ip[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ME[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},qE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},GE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:up[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=RE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},WE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},XE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new ap.CookieJar}});this.application=new IE(c.platform,n),this.drive=new PE(c.platform,n),this.group=new kE(c.platform,n),this.me=new LE(c.platform,n),this.resource=new jE(c.platform,n),this.role=new UE(c.platform,n),this.search=new zE(c.platform,n),this.share=new qE(c.platform,n),this.tag=new GE(c.platform,n),this.user=new WE(c.platform,n)}},ru={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},HE={};It(HE,{ItemType:()=>Bw,Permission:()=>Mw,ShareType:()=>Lw,endpoints:()=>Rw});var lp={};It(lp,{POST__get_roles:()=>$E});var $E=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),cp={};It(cp,{SEARCH__search_for_resources:()=>JE});var JE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),fp={};It(fp,{DELETE__delete_resource:()=>QE,GET__download_resource:()=>VE,MKCOL__create_resource:()=>YE,MOVE__move_resource:()=>ZE,PROPFIND__get_properties_for_resource:()=>ew,PUT__upload_resource:()=>KE,REPORT__get_report_for_resources:()=>tw});var KE=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),VE=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),YE=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),QE=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),ZE=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),ew=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),tw=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a),pp={};It(pp,{DELETE__delete_resource:()=>ow,GET__download_resource:()=>nw,MKCOL__create_resource:()=>iw,MOVE__move_resource:()=>aw,PROPFIND__get_properties_for_resource:()=>sw,PUT__upload_resource:()=>rw});var rw=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),nw=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),iw=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),ow=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),aw=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),sw=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a),hp={};It(hp,{DELETE__delete_tag:()=>lw,POST__create_tag:()=>uw,PROPFIND__get_tags_with_properties:()=>cw});var uw=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),lw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),cw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),dp={};It(dp,{DELETE__remove_tag_from_resource:()=>pw,PROPFIND__get_tags_with_properties_for_resource:()=>hw,PUT__add_tag_to_resource:()=>fw});var fw=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),pw=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),hw=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a),mp={};It(mp,{GET__get_applications:()=>dw});var dw=c=>c("GET","/graph/v1.0/applications"),vp={};It(vp,{DELETE__delete_drive:()=>vw,POST__create_drive:()=>mw});var mw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),vw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),yp={};It(yp,{DELETE__remove_tags_from_resource:()=>_w,PUT__add_tags_to_resource:()=>yw});var yw=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),_w=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),_p={};It(_p,{DELETE__delete_group:()=>xw,POST__create_group:()=>gw});var gw=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),xw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),gp={};It(gp,{GET__current_user:()=>Ew,GET__get_current_user_drives:()=>bw});var bw=c=>c("GET","/graph/v1.0/me/drives"),Ew=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),xp={};It(xp,{DELETE__delete_user:()=>Sw,POST__add_app_role_to_user:()=>Aw,POST__create_user:()=>ww});var ww=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),Sw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Aw=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a})),bp={};It(bp,{DELETE__delete_group:()=>Dw,POST__create_group:()=>Cw});var Cw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Dw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ep={};It(Ep,{DELETE__delete_user:()=>Ow,POST__create_user:()=>Tw,PUT__enable_user:()=>Nw});var Tw=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Nw=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),wp={};It(wp,{GET__search_for_sharees:()=>Fw});var Fw=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{DELETE__delete_share:()=>kw,POST__accept_share:()=>Pw,POST__create_share:()=>Iw});var Iw=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},Pw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),kw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Lw={user:0,group:1,publicLink:3,federatedCloudShare:6},Bw={file:"file",folder:"folder"},Mw={read:0,update:2,create:4,delete:8,share:16,all:31},Rw={api:{v0:{settings:lp}},dav:{...cp,files:fp,spaces:pp,systemtags:hp,systemtags_relations:dp},graph:{v1:{applications:mp,drives:vp,extensions:{org_libre_graph:{tags:yp}},groups:_p,me:gp,users:xp}},ocs:{v2:{apps:{cloud:{groups:bp,users:Ep},file_sharing:{v1:{sharees:wp,shares:Sp}}}}}},jw={};It(jw,{check:()=>Hw,cleanURL:()=>Dp,group:()=>Xw,objectToQueryString:()=>qw,platformGuard:()=>zw,queryJson:()=>Op,queryStringToObject:()=>Gw,queryXml:()=>$w,randomString:()=>Uw,requestFactory:()=>Ww});var Uw=(c=10,a)=>(0,Ap.randomString)(c,a),zw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Dp=(...c)=>c.join("/").replace(/(?new nu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Gw=c=>{let a=new URL(c).search,n=new nu.URLSearchParams(a);return Object.fromEntries(n)},Ww=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Cp.request)(a,Dp(c.baseUrl,n),v,Sn(_,S))},Xw=(c,a)=>(0,ta.group)(c,()=>a(c)),Hw=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ta.check)(c.val,n,c.tags)},Op=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Tp.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)},$w=(c,a)=>{let n=Np.create(a).end({format:"object"});return Op(c,n)};var Jw=Qt(require("k6/encoding")),Kw=require("k6"),Vw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var Ip=require("k6/http");var Pp=Qt(Ii());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},Yw=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},Qw=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},Zw=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},eS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Pp.create)({version:"1.0",encoding:"UTF-8"}),tS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Fp={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(n).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},rS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},kp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},nS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return kp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},iS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=tS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},oS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},aS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Fp[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Fp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:rS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},sS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},uS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:kp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=nS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},lS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},Pi=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new Ip.CookieJar}});this.application=new Yw(c.platform,n),this.drive=new Qw(c.platform,n),this.group=new Zw(c.platform,n),this.me=new eS(c.platform,n),this.resource=new iS(c.platform,n),this.role=new oS(c.platform,n),this.search=new aS(c.platform,n),this.share=new sS(c.platform,n),this.tag=new uS(c.platform,n),this.user=new lS(c.platform,n)}};var Lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var cS=require("k6/http");var fS=require("https://jslib.k6.io/url/1.0.0/index.js"),Bp=require("k6"),Mp=Qt(Rs());var pS=Qt(Ii()),na=(c=10,a)=>(0,Lp.randomString)(c,a);var Rp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Mp.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)};var Up=Qt(require("k6/execution")),ia=Qt(jp()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:ru[__ENV.PLATFORM]||ru.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},folder:{rootCount:parseInt(__ENV.FOLDER_ROOT_COUNT,10)||5,childCount:parseInt(__ENV.FOLDER_CHILD_COUNT,10)||5},k6:{vus:1,insecureSkipTLSVerify:!0}},zp=wr.k6;function hS(){let c=new Pi({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,ia.times)(zp.vus||1,()=>{let[n,v]=[na(),na()];c.user.createUser({userLogin:n,userPassword:v}),c.user.enableUser({userLogin:n});let _=new Pi({...wr,userLogin:n,userPassword:v}).me.getMyDrives(),[y=n]=Rp("$.value[?(@.driveType === 'personal')].id",_?.body);return{actorLogin:n,actorPassword:v,actorRoot:y}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function qp({actorData:c}){let{actorLogin:a,actorPassword:n,actorRoot:v}=c[Up.default.vu.idInTest-1],S=new Pi({...wr,userLogin:a,userPassword:n});(0,ia.times)(wr.folder.rootCount,()=>{(0,ia.times)(wr.folder.childCount,()=>na()).reduce((y,s)=>{let h=[...y,s].join("/");return S.resource.createResource({root:v,resourcePath:h}),y.push(`rename-${s}`),S.resource.moveResource({root:v,fromResourcePath:h,toResourcePath:y.join("/")}),y},[])})}function dS({adminData:c,actorData:a}){let n=new Pi({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{n.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-070-user-group-search-and-share.js b/packages/k6-tests/artifacts/koko-070-user-group-search-and-share.js index 6816e11..6fca4b8 100644 --- a/packages/k6-tests/artifacts/koko-070-user-group-search-and-share.js +++ b/packages/k6-tests/artifacts/koko-070-user-group-search-and-share.js @@ -1,90 +1,90 @@ -"use strict";var wg=Object.create;var Do=Object.defineProperty;var Sg=Object.getOwnPropertyDescriptor;var Ag=Object.getOwnPropertyNames;var Dg=Object.getPrototypeOf,Cg=Object.prototype.hasOwnProperty;var Hs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Tg=(E,l)=>{for(var o in l)Do(E,o,{get:l[o],enumerable:!0})},mc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Ag(l))!Cg.call(E,w)&&w!==o&&Do(E,w,{get:()=>l[w],enumerable:!(v=Sg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?wg(Dg(E)):{},mc(l||!E||!E.__esModule?Do(o,"default",{value:E,enumerable:!0}):o,E)),Ng=E=>mc(Do({},"__esModule",{value:!0}),E);var ru=Hs((cp,tu)=>{(function(E){if(typeof cp=="object"&&typeof tu<"u")tu.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,m,y){function a(i,u){if(!m[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=m[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,m,y)}return m[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function k(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function $(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function q(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,$(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),$(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if($(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&k(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(k(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function z(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!$(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:k(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&k(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&k(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if($(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],$(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if($(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!q(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?P():F===40||F===41||F===59?D():F===39||F===34?z():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function $e(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?$e():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?$e():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function ze(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new ze(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function qe(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Qn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Jn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Kn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Kn();if(Ae("["))return gt();if(Ae("{"))return Jn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Li();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function Je(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),Je()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Br(){var F,j,Z;return Z=S,Te("new"),F=Vn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function wa(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Br():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Vn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Br():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Ti(){var F,j,Z=S;return F=wa(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!qe()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Lr(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Ti():Ae("++")||Ae("--")?(Z=S,F=we(),j=Lr(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Lr(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Lr(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Ti(),j}function Ni(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function Sa(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Lr(),le=S,be=Ni(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Lr(),Ie=[At,le,Qe];(be=Ni(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Lr(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Aa(){var F,j,Z,le,be;return be=S,F=Sa(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=Aa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function Da(){for(var F=[],j;e<_&&!(Ae("}")||(j=nn(),typeof j>"u"));)F.push(j);return F}function tn(){var F,j;return j=S,xe("{"),F=Da(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ca(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Yn(F){var j=[];do{if(j.push(Ca(F)),!Ae(","))break;we()}while(e<_);return j}function Ta(){var F;return Te("var"),F=Yn(),We(),b.createVariableDeclaration(F,"var")}function Na(F){var j,Z;return Z=S,Te(F),j=Yn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Fa(){return xe(";"),b.createEmptyStatement()}function xn(){var F=St();return We(),b.createExpressionStatement(F)}function Oa(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=qt(),je("else")?(we(),Z=qt()):Z=null,b.createIfStatement(F,j,Z)}function bn(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=qt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ia(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=qt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Pa(){var F,j,Z;return Z=S,F=we(),j=Yn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function ka(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Pa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=qt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Fi(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):qe()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Oi(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):qe()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ii(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):qe()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Ba(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=qt(),b.createWithStatement(F,j)}function La(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=qt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ra(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=La(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ma(){var F;return Te("throw"),qe()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Pi(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=tn(),b.markEnd(b.createCatchClause(F,j),Z)}function ki(){var F,j=[],Z=null;return Te("try"),F=tn(),je("catch")&&j.push(Pi()),je("finally")&&(we(),Z=tn()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Bi(){return Te("debugger"),We(),b.createDebuggerStatement()}function qt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return tn();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Fa(),be);case"(":return b.markEnd(xn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Oi(),be);case"continue":return b.markEnd(Fi(),be);case"debugger":return b.markEnd(Bi(),be);case"do":return b.markEnd(bn(),be);case"for":return b.markEnd(ka(),be);case"function":return b.markEnd(rn(),be);case"if":return b.markEnd(Oa(),be);case"return":return b.markEnd(Ii(),be);case"switch":return b.markEnd(Ra(),be);case"throw":return b.markEnd(Ma(),be);case"try":return b.markEnd(ki(),be);case"var":return b.markEnd(Ta(),be);case"while":return b.markEnd(Ia(),be);case"with":return b.markEnd(Ba(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=qt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Qn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=nn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=nn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Zn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function rn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Zn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Qn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Li(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Zn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Qn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function nn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Na(S.value);case"function":return rn();default:return qt()}if(S.type!==a.EOF)return qt()}function Ri(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=nn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=nn(),!(typeof F>"u"));)j.push(F);return j}function Mi(){var F,j;return Q(),at(),j=S,t=!1,F=Ri(),b.markEnd(b.createProgram(F),j)}function En(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}En(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function ji(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Mi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(En(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ja,y.parse=ji,y.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,m){(function(y){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var $,Y,q,X,H,ee,re={},he,me,ne,Q;;){if(q=c[c.length-1],this.defaultActions[q]?X=this.defaultActions[q]:(($===null||typeof $>"u")&&($=G()),X=g[q]&&g[q][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[q])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var ug=Object.create;var jo=Object.defineProperty;var lg=Object.getOwnPropertyDescriptor;var cg=Object.getOwnPropertyNames;var fg=Object.getPrototypeOf,pg=Object.prototype.hasOwnProperty;var Is=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports),jt=(l,i)=>{for(var t in i)jo(l,t,{get:i[t],enumerable:!0})},yc=(l,i,t,m)=>{if(i&&typeof i=="object"||typeof i=="function")for(let S of cg(i))!pg.call(l,S)&&S!==t&&jo(l,S,{get:()=>i[S],enumerable:!(m=lg(i,S))||m.enumerable});return l};var Zt=(l,i,t)=>(t=l!=null?ug(fg(l)):{},yc(i||!l||!l.__esModule?jo(t,"default",{value:l,enumerable:!0}):t,l)),hg=l=>yc(jo({},"__esModule",{value:!0}),l);var qs=Is((sp,zs)=>{(function(l){if(typeof sp=="object"&&typeof zs<"u")zs.exports=l();else if(typeof define=="function"&&define.amd)define([],l);else{var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i=this,i.jsonpath=l()}})(function(){var l,i,t;return function m(S,y,_){function s(a,c){if(!y[a]){if(!S[a]){var u=typeof require=="function"&&require;if(!c&&u)return u(a,!0);if(h)return h(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var v=y[a]={exports:{}};S[a][0].call(v.exports,function(f){var r=S[a][1][f];return s(r||f)},v,v.exports,m,S,y,_)}return y[a].exports}for(var h=typeof require=="function"&&require,o=0;o<_.length;o++)s(_[o]);return s}({"./aesprim":[function(m,S,y){(function(_,s){"use strict";typeof l=="function"&&l.amd?l(["exports"],s):s(typeof y<"u"?y:_.esprima={})})(this,function(_){"use strict";var s,h,o,a,c,u,p,v,f,r,e,g,b,x,E,w,D,T;s={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},h={},h[s.BooleanLiteral]="Boolean",h[s.EOF]="",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],a={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function R(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(r&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Me(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return o.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?M():C():I(O)?M():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}v={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===a.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:a.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:a.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?a.LogicalExpression:a.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:a.BlockStatement,body:O}},createBreakStatement:function(O){return{type:a.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:a.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:a.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:a.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:a.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:a.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:a.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:a.EmptyStatement}},createExpressionStatement:function(O){return{type:a.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:a.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:a.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:a.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:a.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:a.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:a.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:a.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:a.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:a.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:a.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:a.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:a.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:a.Program,body:O}},createProperty:function(O,j,Z){return{type:a.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:a.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:a.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:a.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:a.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:a.ThisExpression}},createThrowStatement:function(O){return{type:a.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:a.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:a.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:a.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:a.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:a.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:a.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:a.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===a.Identifier||O.type===a.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(tr()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=r,Ee=w,ce=pi(),j&&r&&ee(O[0].name)&&se(j,u.StrictParamName),r=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(r&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Ar()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=tr(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=tr(),E.markEnd(E.createProperty("init",j,ce),Le)}function ui(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===a.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?c.Data:j.kind==="get"?c.Get:c.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===c.Data?r&&Ee===c.Data?se({},u.StrictDuplicateProperty):Ee!==c.Data&&se({},u.AccessorDataProperty):Ee===c.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function li(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return li();if(Ce("["))return Et();if(Ce("{"))return ui();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)r&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Ki();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ca(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=$r(),ce=w,Ee=qi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=$r(),Le=[Ot,ce,rt];(Ee=qi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=$r(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function fa(){var O,j,Z,ce,Ee;return Ee=w,O=ca(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=tr(),D.allowIn=j,be(":"),ce=tr(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function tr(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=fa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),r&&j.type===a.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=tr(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=tr(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function pn(){var O,j;return j=w,be("{"),O=pa(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Ar(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function ha(O){var j=null,Z,ce;return ce=w,Z=Ar(),r&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=tr()):Ce("=")&&(Se(),j=tr()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function fi(O){var j=[];do{if(j.push(ha(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=Jt(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Gi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Ar(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Wi(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Ar(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function Xi(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ba(){var O,j;return r&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=Jt(),E.createWithStatement(O,j)}function Ea(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function hi(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Yi(){var O,j;return Q(),ct(),j=w,r=!1,O=Vi(),E.markEnd(E.createProgram(O),j)}function Bn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Bn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Qi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=v,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Yi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Bn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}_.version="1.2.2",_.tokenize=Aa,_.parse=Qi,_.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in a)a.hasOwnProperty(O)&&(j[O]=a[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(m,S,y){(function(_){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,v,f,r,e,g,b){r.ast||(r.ast=o,o.initialize());var x=g.length-1;switch(e){case 1:return r.ast.set({expression:{type:"root",value:g[x]}}),r.ast.unshift(),r.ast.yield();break;case 2:return r.ast.set({expression:{type:"root",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 3:return r.ast.unshift(),r.ast.yield();break;case 4:return r.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 5:break;case 6:break;case 7:r.ast.set({operation:"member"}),r.ast.push();break;case 8:r.ast.set({operation:"subscript"}),r.ast.push();break;case 9:r.ast.set({scope:"child"});break;case 10:r.ast.set({scope:"descendant"});break;case 11:break;case 12:r.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:r.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:r.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:r.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:r.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:r.ast.set({scope:"child"});break;case 20:r.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?r.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},r.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},r.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},r.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},r.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},r.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},r.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,v){if(v.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var v=this,f=[0],r=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,r.length=r.length-le,e.length=e.length-le}function G(){var le;return le=v.lexer.lex()||T,typeof le!="number"&&(le=v.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+$);switch(X[0]){case 1:c.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),$=null,Y?($=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof m<"u"&&(m.parser=a,m.Parser=a.Parser,m.parse=function(){return a.parse.apply(a,arguments)},m.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),y.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return m.parser.parse(i)},typeof w<"u"&&v.main===w&&m.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,m){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,m){var y=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,m){var y=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=y.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=y.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=y.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(k){k.path=_.path.concat(k.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],k=function(G,$){s(G)?(G.forEach(function(Y,q){R.length>=T||C(q,Y,S)&&R.push({path:$.concat(q),value:Y})}),G.forEach(function(Y,q){R.length>=T||_&&k(Y,$.concat(q))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,m){var y=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return y.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path"),y.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){y.ok(f instanceof Object,"obj needs to be an object"),y.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(y.ok(f instanceof Object,"obj needs to be an object"),y.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){y.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(y.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,m){var y=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=y,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,m){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?y(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=y(p===0?0:p||(i>0?0:u-1)),n=y(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function y(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,m){var y=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),r.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=r[r.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],r,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),r=r.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),r.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},a=function(){var u={EOF:1,parseError:function(v,f){if(this.yy.parser)this.yy.parser.parseError(v,f);else throw new Error(v)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var v=p.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var v=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),v=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+v+"^"},test_match:function(p,v){var f,r,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),r=p[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,v,f,r;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gv[0].length)){if(v=f,r=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(p=this.test_match(v,e[r]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,f,r,e){var g=e;switch(r){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=a;function c(){this.yy={}}return c.prototype=h,h.Parser=c,new c}();typeof m<"u"&&typeof y<"u"&&(y.parser=s,y.Parser=s.Parser,y.parse=function(){return s.parse.apply(s,arguments)},y.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),_.exit(1));var a=m("fs").readFileSync(m("path").normalize(o[1]),"utf8");return y.parser.parse(a)},typeof S<"u"&&m.main===S&&y.main(_.argv.slice(1)))}).call(this,m("_process"))},{_process:14,fs:12,path:13}],2:[function(m,S,y){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(m,S,y){var _=m("./dict"),s=m("fs"),h={lex:{macros:{esc:"\\\\",int:_.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[_.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[_.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[_.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(m.resolve("../include/module.js")),h.actionInclude=s.readFileSync(m.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(m,S,y){var _=m("./aesprim"),s=m("./slice"),h=m("static-eval"),o=m("underscore").uniq,a=function(){return this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},a.prototype.keys=Object.keys,a.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},a.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},a.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":r(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":r(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":r(function(){return!0}),"subscript-descendant-wildcard":r(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=m(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(R){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=_.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=_.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$..value")}},a.prototype._fns["subscript-child-string_literal"]=a.prototype._fns["member-child-identifier"],a.prototype._fns["member-descendant-numeric_literal"]=a.prototype._fns["subscript-descendant-string_literal"]=a.prototype._fns["member-descendant-identifier"];function c(x,E,w){var D=m("./index"),T=_.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),R=D.nodes(x.value,I);return R.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),R}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function v(x){return function(E,w,D,T){var N=E.value,I=E.path,R=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){R.length>=T||D(z,Y,w)&&R.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){R.length>=T||D(Y,G[Y],w)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function r(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),o(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=a},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(m,S,y){var _=m("assert"),s=m("./dict"),h=m("./parser"),o=m("./handlers"),a=function(){this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.parser=new h,this.handlers=new o},a.prototype.parse=function(p){return _.ok(c(p),"we need a path"),this.parser.parse(p)},a.prototype.parent=function(p,v){_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path");var f=this.nodes(p,v)[0],r=f.path.pop();return this.value(p,f.path)},a.prototype.apply=function(p,v,f){_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path"),_.equal(typeof f,"function","fn needs to be function");var r=this.nodes(p,v).sort(function(e,g){return g.path.length-e.path.length});return r.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),r},a.prototype.value=function(p,v,f){if(_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path"),arguments.length>=3){var r=this.nodes(p,v).shift();if(!r)return this._vivify(p,v,f);var e=r.path.slice(-1).shift(),g=this.parent(p,this.stringify(r.path));g[e]=f}return this.query(p,this.stringify(v),1).shift()},a.prototype._vivify=function(p,v,f){var r=this;_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path");var e=this.parser.parse(v).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=r.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=r.value(p,b)),w[E]=x};return g(e,f),this.query(p,v)[0]},a.prototype.query=function(p,v,f){_.ok(p instanceof Object,"obj needs to be an object"),_.ok(c(v),"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.value});return r},a.prototype.paths=function(p,v,f){_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.path});return r},a.prototype.nodes=function(p,v,f){if(_.ok(p instanceof Object,"obj needs to be an object"),_.ok(v,"we need a path"),f===0)return[];var r=this.parser.parse(v),e=this.handlers,g=[{path:["$"],value:p}],b=[];return r.length&&r[0].expression.type=="root"&&r.shift(),r.length?(r.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==r.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},a.prototype.stringify=function(p){_.ok(p,"we need a path");var v="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(r){if(r.expression.type!="root"){var e=[r.scope,r.operation].join("-"),g=f[e],b;if(r.expression.type=="string_literal"?b=JSON.stringify(r.expression.value):b=r.expression.value,!g)throw new Error("couldn't find template "+e);v+=g.replace(/{{value}}/,b)}}),v},a.prototype._normalize=function(p){if(_.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,r){if(!(f=="$"&&r===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),v}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function c(p){return Object.prototype.toString.call(p)=="[object String]"}a.Handlers=o,a.Parser=h;var u=new a;u.JSONPath=a,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(m,S,y){var _=m("./grammar"),s=m("../generated/parser"),h=function(){var o=new s.Parser,a=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),a.apply(o,arguments)},o};h.grammar=_,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(m,S,y){S.exports=function(s,h,o,a){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof a=="string")throw new Error("step cannot be a string");var c=s.length;if(a===0)throw new Error("step cannot be zero");if(a=a?_(a):1,h=h<0?c+h:h,o=o<0?c+o:o,h=_(h===0?0:h||(a>0?0:c-1)),o=_(o===0?0:o||(a>0?c:-1)),h=a>0?Math.max(0,h):Math.min(c,h),o=a>0?Math.min(o,c):Math.max(-1,o),a>0&&o<=h)return[];if(a<0&&h<=o)return[];for(var u=[],p=h;p!=o&&!(a<0&&p<=o||a>0&&p>=o);p+=a)u.push(s[p]);return u};function _(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(m,S,y){var _=m("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,o=S.exports=v;o.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,R=N.indexOf(` `+I);if(R>=0){var k=N.indexOf(` -`,R+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(n.AssertionError,Error);function i(b,S){return y.isUndefined(S)?""+S:y.isNumber(S)&&!isFinite(S)||y.isFunction(S)||y.isRegExp(S)?S.toString():S}function u(b,S){return y.isString(b)?b.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;y.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,m){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,m){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,m){(function(y,a){var p=/%[sdj%]/g;m.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=P)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&m._extend(ue,ie),k(ue.showHidden)&&(ue.showHidden=!1),k(ue.depth)&&(ue.depth=2),k(ue.colors)&&(ue.colors=!1),k(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}m.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==m.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var P=t(Q,ie);if(P)return P;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),q(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(q(ie))return e(ie)}var M="",z=!1,W=["{","}"];if(b(ie)&&(z=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),q(ie)&&(M=" "+e(ie)),D.length===0&&(!z||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return z?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,z)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,P){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` -`).map(function(z){return" "+z}).join(` -`).substr(2):B=` -`+B.split(` -`).map(function(z){return" "+z}).join(` -`))):B=Q.stylize("[Circular]","special")),k(L)){if(D&&P.match(/^\d+$/))return B;L=JSON.stringify(""+P),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,P=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?ue[0]+(ie===""?"":ie+` +`,R+1);N=N.substring(k+1)}this.stack=N}}},_.inherits(o.AssertionError,Error);function a(E,w){return _.isUndefined(w)?""+w:_.isNumber(w)&&!isFinite(w)||_.isFunction(w)||_.isRegExp(w)?w.toString():w}function c(E,w){return _.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!f(E[R],w[R]))return!1;return!0}o.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",o.strictEqual)},o.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",o.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;_.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}o.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(m,S,y){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var o=function(){};o.prototype=h.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(m,S,y){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(m,S,y){(function(_,s){var h=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&y._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}y.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=c.styles[ie];return le?"\x1B["+c.colors[le][0]+"m"+Q+"\x1B["+c.colors[le][1]+"m":Q}function p(Q,ie){return Q}function v(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=r(Q,ie);if(P)return P;var C=Object.keys(ie),B=v(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";M=" [Function"+ae+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,M,W)}function r(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` +`).map(function(q){return" "+q}).join(` +`).substr(2):L=` +`+L.split(` +`).map(function(q){return" "+q}).join(` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}m.isArray=b;function S(Q){return typeof Q=="boolean"}m.isBoolean=S;function C(Q){return Q===null}m.isNull=C;function T(Q){return Q==null}m.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}m.isNumber=N;function I(Q){return typeof Q=="string"}m.isString=I;function R(Q){return typeof Q=="symbol"}m.isSymbol=R;function k(Q){return Q===void 0}m.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}m.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}m.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}m.isDate=Y;function q(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}m.isError=q;function X(Q){return typeof Q=="function"}m.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}m.isPrimitive=H,m.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}m.log=function(){console.log("%s - %s",me(),m.format.apply(m,arguments))},m.inherits=v("inherits"),m._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,m){},{}],13:[function(v,w,m){(function(y){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}m.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:y.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},m.normalize=function(u){var s=m.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},m.isAbsolute=function(u){return u.charAt(0)==="/"},m.join=function(){var u=Array.prototype.slice.call(arguments,0);return m.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},m.relative=function(u,s){u=m.resolve(u).substr(1),s=m.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}m.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},m.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof xi=="object"&&typeof nu=="object"?nu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof xi=="object"?xi.xmlbuilder2=l():E.xmlbuilder2=l()})(xi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,m){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:m})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var m=Object.create(null);if(o.r(m),Object.defineProperty(m,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var y in v)o.d(m,y,function(a){return v[a]}.bind(null,y));return m},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var m in w)l.hasOwnProperty(m)||(l[m]=w[m])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var m=o(213);l.ObjectCache=m.ObjectCache;var y=o(214);l.CompareCache=y.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var m=o(242);l.EmptySet=m.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,m=o(21),y=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&m(c,"sham",!0),y(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),m=o(14),y=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||y;E.exports=function(s){return m(n,s)||(a&&m(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),m=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();l.dom=m.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var m=v(o(146));l.byte=m;var y=v(o(147));l.byteSequence=y;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(q,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(q,X)},function(q,X){function H(){this.constructor=q}v(q,X),q.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var m=function(q){function X(H,ee){ee===void 0&&(ee="");var re=q.call(this,ee)||this;return re.name=H,re}return w(X,q),X}(Error);l.DOMException=m;var y=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DOMStringSizeError",H)||this}return w(X,q),X}(m);l.DOMStringSizeError=y;var a=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,q),X}(m);l.WrongDocumentError=a;var p=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoDataAllowedError",H)||this}return w(X,q),X}(m);l.NoDataAllowedError=p;var n=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,q),X}(m);l.NoModificationAllowedError=n;var i=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,q),X}(m);l.NotSupportedError=i;var u=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InUseAttributeError",H)||this}return w(X,q),X}(m);l.InUseAttributeError=u;var s=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,q),X}(m);l.InvalidStateError=s;var f=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,q),X}(m);l.InvalidModificationError=f;var d=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,q),X}(m);l.NamespaceError=d;var c=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,q),X}(m);l.InvalidAccessError=c;var t=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"ValidationError",H)||this}return w(X,q),X}(m);l.ValidationError=t;var e=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TypeMismatchError",H)||this}return w(X,q),X}(m);l.TypeMismatchError=e;var g=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,q),X}(m);l.SecurityError=g;var x=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,q),X}(m);l.NetworkError=x;var _=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,q),X}(m);l.AbortError=_;var b=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,q),X}(m);l.URLMismatchError=b;var S=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,q),X}(m);l.QuotaExceededError=S;var C=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,q),X}(m);l.TimeoutError=C;var T=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,q),X}(m);l.InvalidNodeTypeError=T;var N=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,q),X}(m);l.DataCloneError=N;var I=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,q),X}(m);l.NotImplementedError=I;var R=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,q),X}(m);l.HierarchyRequestError=R;var k=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,q),X}(m);l.NotFoundError=k;var G=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,q),X}(m);l.IndexSizeError=G;var $=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,q),X}(m);l.SyntaxError=$;var Y=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,q),X}(m);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],m=["scalar","sequence","mapping"];E.exports=function(y,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),m.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(E,l,o){(function(v){var w=function(m){return m&&m.Math==Math&&m};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,m){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:m})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),m=o(18),y=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(m(p),n=y(n,!0),m(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),m=o(2);function y(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:y(e,e,x);b&&_&&!_(b);)b=y(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=y(e,g,_);S&&b&&!b(S);)S=y(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:y(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=y(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=y(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case m.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case m.NodeType.ProcessingInstruction:case m.NodeType.Comment:break;case m.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case m.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{k&&!k.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case m.NodeType.DocumentFragment:case m.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case m.NodeType.Element:case m.NodeType.Text:case m.NodeType.ProcessingInstruction:case m.NodeType.CData:case m.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{$&&!$.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case m.NodeType.DocumentType:case m.NodeType.Text:case m.NodeType.ProcessingInstruction:case m.NodeType.CData:case m.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),q=Y.next();!q.done;q=Y.next())if(!e(q.value))return!1}catch(X){C={error:X}}finally{try{q&&!q.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),m=o(49),y=o(43),a=o(88),p=y.set,n=y.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),m.Arguments=m.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),m=o(202);v||w(Object.prototype,"toString",m,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),m=o(40);E.exports=v?function(y,a,p){return w.f(y,a,m(1,p))}:function(y,a,p){return y[a]=p,y}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),m=o(88),y=w.set,a=w.getterFor("String Iterator");m(String,"String",function(p){y(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),m=o(19),y=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=m.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{y(f,p,i)}catch{f[p]=i}if(f[n]||y(f,n,u),w[u]){for(var d in m)if(f[d]!==m[d])try{y(f,d,m[d])}catch{f[d]=m[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(m){return v(w(m))}},function(E,l,o){var v=o(11),w=o(21),m=o(14),y=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||m(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:y(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(m){return m>0?w(v(m),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),m=o(14),y=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(m(a,n))return a[n];i||(i={});var u=[][n],s=!!m(i,"ACCESSORS")&&i.ACCESSORS,f=m(i,0)?i[0]:p,d=m(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?y(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),m=o(151),y=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new m.XMLDocumentImpl},l.create_document=function(){return new y.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(k,G,$,Y){return n.DocumentTypeImpl._create(k,G,$,Y)},l.create_element=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlUnknownElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_documentFragment=function(k){return u.DocumentFragmentImpl._create(k)},l.create_shadowRoot=function(k,G){return s.ShadowRootImpl._create(k,G)},l.create_attr=function(k,G){return f.AttrImpl._create(k,G)},l.create_text=function(k,G){return d.TextImpl._create(k,G)},l.create_cdataSection=function(k,G){return c.CDATASectionImpl._create(k,G)},l.create_comment=function(k,G){return t.CommentImpl._create(k,G)},l.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},l.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},l.create_nodeList=function(k){return x.NodeListImpl._create(k)},l.create_nodeListStatic=function(k,G){return _.NodeListStaticImpl._create(k,G)},l.create_namedNodeMap=function(k){return b.NamedNodeMapImpl._create(k)},l.create_range=function(k,G){return S.RangeImpl._create(k,G)},l.create_nodeIterator=function(k,G,$){return C.NodeIteratorImpl._create(k,G,$)},l.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(k,G,$,Y,q,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,q,X,H,ee,re)},l.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(17),y=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&m.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=m.tree_getFollowingNode(f._root,d);if(c!==null&&m.tree_isDescendantOf(f._root,c,!0)&&!m.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=m.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=m.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(y.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(m.tree_rootNode(f))}}function u(f,d,c,t,e){if(y.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),m=o(46),y=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),k=o(25),G=o(81),$=o(57),Y=o(45),q=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,P=w.Symbol,D=m("JSON","stringify"),L=T.f,B=N.f,M=S.f,z=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,$e=function(_e,xe){var Te=W[_e]=x(P.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof P},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!ze.call(Te,je)||at(_e,je,Te[je])}),_e},ze=function(_e){var xe=e(_e,!0),Te=z.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},qe=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=q(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),$e(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),k(P,"withoutSetter",function(_e){return $e(q(_e),_e)}),I.f=ze,N.f=at,T.f=qe,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return $e(X(_e),_e)},a&&(B(P.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),y||k(ce,"propertyIsEnumerable",ze,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:P}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=P(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:qe}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=P();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),m=o(11),y=o(14),a=o(13),p=o(15).f,n=o(119),i=m.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(y(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),m=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,k=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},m=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(z){k={error:z}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var P=v(T._children),D=P.next();!D.done;D=P.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(z){$={error:z}}finally{try{D&&!D.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(z){q={error:z}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(q)throw q.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,k;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=f.tree_index(N);try{for(var Y=v(y.dom.rangeList),q=Y.next();!q.done;q=Y.next()){var X=q.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{q&&!q.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,m([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);y.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(y.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){k={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){$={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var ce=C._previousSibling,P=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),y.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),y.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),y.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),y.dom.features.steps&&e.dom_runRemovingSteps(C,T),y.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(B,C),y.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(y.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var z=(q=void 0,v(M._registeredObserverList)),W=z.next();!W.done;W=z.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){q={error:de}}finally{try{W&&!W.done&&(X=z.return)&&X.call(z)}finally{if(q)throw q.error}}M=f.tree_getNextAncestorNode(T,M,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,P)),y.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,k,G,$,Y,q,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){k={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){$={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),P=ce.next();!P.done;P=ce.next()){var D;if((D=P.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){q={error:oe}}finally{try{P&&!P.done&&(X=ce.return)&&X.call(ce)}finally{if(q)throw q.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var z=[];C._parent!==null&&(z.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,z,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),k=[];C&&C._nodeType===p.NodeType.DocumentFragment?k=Array.from(C._children):C!==null&&k.push(C);try{for(var G=v(R),$=G.next();!$.done;$=G.next())S($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,m){var y,a="";for(y=0;y0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,m){var y=[][w];return!!y&&v(function(){y.call(null,m||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){x={error:k}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),y=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=m.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=m.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var k=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=y.length;e--;)delete d.prototype[y[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:m(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(m){return v(m,w)}},function(E,l,o){var v=o(15).f,w=o(14),m=o(5)("toStringTag");E.exports=function(y,a,p){y&&!w(y=p?y:y.prototype,m)&&v(y,m,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),m=o(129),y=w("species");E.exports=function(a){return m>=51||!v(function(){var p=[];return(p.constructor={})[y]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,m=o(48),y=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=m("indexOf"),i=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,m=Function.prototype,y=m.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in m)&&w(m,"name",{configurable:!0,get:function(){try{return y.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),m=o(8),y=o(136),a=RegExp.prototype,p=a.toString,n=m(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?y.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),m=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=y.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=m(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&y.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?y.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?y.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?y.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?y.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(m,y){m===null?this._nullItems[y]=!0:(this._items[m]||(this._items[m]={}),this._items[m][y]=!0)},w.prototype.has=function(m,y){return m===null?this._nullItems[y]===!0:!!this._items[m]&&this._items[m][y]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),m=o(3),y=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(y.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=m.Guard.isEventListener(i)?i:{handleEvent:i},y.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=y.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},m=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},m}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var m=o(183);l.builder=m.builder,l.create=m.create,l.fragment=m.fragment,l.convert=m.convert;var y=o(309);l.createCB=y.createCB,l.fragmentCB=y.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,m=w&&!v.call({1:2},1);l.f=m?function(y){var a=w(this,y);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(m,y){try{w(v,m,y)}catch{v[m]=y}return y}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(m,y){return w[m]||(w[m]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(m){return v(m,w)}},function(E,l,o){var v=o(47),w=Math.max,m=Math.min;E.exports=function(y,a){var p=v(y);return p<0?w(p+a,0):m(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,m,y){if(v(w),m===void 0)return w;switch(y){case 0:return function(){return w.call(m)};case 1:return function(a){return w.call(m,a)};case 2:return function(a,p){return w.call(m,a,p)};case 3:return function(a,p,n){return w.call(m,a,p,n)}}return function(){return w.apply(m,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),m=o(132),y=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,k=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",$=!1,Y=g.prototype,q=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&q||k(S),H=x=="Array"&&Y.entries||q;if(H&&(N=m(H.call(new g)),d!==Object.prototype&&N.next&&(u||m(N)===d||(y?y(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&q&&q.name!=="values"&&($=!0,X=function(){return q.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:k("values"),keys:C?X:k("keys"),entries:k("entries")},T)for(R in I)(c||$||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||$},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),m=o(59),y=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=y(g,T),I=y(x===void 0?T:x,T);if(m(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!m(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var q=[];;){var X=i(R,k);if(X===null||(q.push(X),!$))break;String(X[0])===""&&(R.lastIndex=n(k,y(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=k.slice(re,ne)+P,re=ne+me.length)}return ee+k.slice(re)}];function C(T,N,I,R,k,G){var $=I+T.length,Y=R.length,q=c;return k!==void 0&&(k=m(k),q=d),e.call(G,q,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var m=new w;for(var y in this._items)m._items[y]=this._items[y].slice(0);return m._nullItems=this._nullItems.slice(0),m},w.prototype.get=function(m,y){var a=y===null?this._nullItems:this._items[y]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(q){G={error:q}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},m=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){z=ge;break}if(z!==null)if(p.Guard.isNode(z.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(z.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",k);for(oe=0;oe0&&(q=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=q.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,m([void 0],X)));if(!_(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,k),I._type=ee}}}function _(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=m(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=y(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=m(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=m(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",y.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function m(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(m.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),m}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),m=o(12),y=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),y=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,y.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}m.dom.features.customElements&&y.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),m.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(3),y=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&m.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(7);function a(n){var i=y.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=m(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,m(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),m=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},l.sanitizeInput=function(y,a){if(y==null)return y;if(a===void 0)return y+"";var p="";y+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=y.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=m.isString(a)?a:a(y.charAt(n),n,y)}else p+=m.isString(a)?a:a(y.charAt(n),n,y)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var m=o(154);l.AbortSignal=m.AbortSignalImpl;var y=o(102);l.AbstractRange=y.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var k=o(34);l.Node=k.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var $=o(162);l.NodeList=$.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var q=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var P=o(151);l.XMLDocument=P.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),y=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return m.isFunction(i)?f=this.parse(n,i.apply(this)):m.isArray(i)||m.isSet(i)?m.forEachArray(i,function(d){return f=u.parse(n,d)},this):m.isMap(i)||m.isObject(i)?m.forEachObject(i,function(d,c){if(m.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((m.isArray(c)||m.isSet(c))&&m.isEmpty(c))){if((m.isMap(c)||m.isObject(c))&&m.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(m.isArray(c)||m.isSet(c))m.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(m.isMap(c)||m.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(m.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else m.isArray(c)||m.isSet(c)?m.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):m.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else m.isArray(c)||m.isSet(c)?m.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else m.isArray(c)||m.isSet(c)?m.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=m.isMap(c)||m.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(m.isArray(c)||m.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());m.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),m=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(m("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),m=v.document,y=w(m)&&w(m.createElement);E.exports=function(a){return y?m.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(m){return w.call(m)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),m=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=m},function(E,l,o){var v=o(14),w=o(187),m=o(55),y=o(15);E.exports=function(a,p){for(var n=w(p),i=y.f,u=m.f,s=0;su;)v(i,n=p[u++])&&(~m(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),m=o(83),y=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=m(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:y(!0),indexOf:y(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,m=function(i,u){var s=a[y(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},y=m.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=m.data={},p=m.NATIVE="N",n=m.POLYFILL="P";E.exports=m},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),m=o(125),y=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||y(p,a,{value:m.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),m=o(5)("species");E.exports=function(y,a){var p;return w(y)&&(typeof(p=y.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[m])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,m=o(11),y=o(193),a=m.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),m=o(15),y=v("unscopables"),a=Array.prototype;a[y]==null&&m.f(a,y,{configurable:!0,value:w(null)}),E.exports=function(p){a[y][p]=!0}},function(E,l,o){"use strict";var v,w,m,y=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(m=[].keys())?(w=y(y(m)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),m=o(57),y=o(196),a=m("IE_PROTO"),p=Object.prototype;E.exports=y?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m,y=!1,a={};try{(m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),y=a instanceof Array}catch{}return function(p,n){return v(p),w(n),y?m.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),m=o(40);E.exports=function(y,a,p){var n=v(a);n in y?w.f(y,n,m(0,p)):y[n]=p}},function(E,l,o){var v=o(90),w=o(42),m=o(5)("toStringTag"),y=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),m))=="string"?n:y?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),m="";return w.global&&(m+="g"),w.ignoreCase&&(m+="i"),w.multiline&&(m+="m"),w.dotAll&&(m+="s"),w.unicode&&(m+="u"),w.sticky&&(m+="y"),m}},function(E,l,o){var v=o(47),w=o(35),m=function(y){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?y?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?y?u.charAt(s):n:y?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:m(!1),charAt:m(!0)}},function(E,l,o){var v=o(4),w=o(27),m=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){m(1)})},{keys:function(y){return m(w(y))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),m=o(123),y=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var q=S[Y];y(S,Y,Y=="add"?function(X){return q.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:q.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:function(X,H){return q.call(this,X===0?0:X,H),this})};if(m(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(m(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,k=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),$=!x&&u(function(){for(var Y=new b,q=5;q--;)Y[_](q,q);return!Y.has(-0)});G||((C=t(function(Y,q){n(Y,C,c);var X=d(new b,Y,C);return q!=null&&p(q,X[_],X,g),X})).prototype=S,S.constructor=C),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),m=o(14),y=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){y(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!m(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!m(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!m(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),m=o(26),y=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=y(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=m(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),m=o(210),y=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,k,G=b(T),$=C(T,N);return $?$.value=I:(G.last=$={index:k=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),u?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},C=function(T,N){var I,R=b(T),k=s(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return m(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),m(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),m=o(55).f,y=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=m(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=y(c.length),g=t===void 0?e:s(y(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),m=o(230),y=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(P,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|P}function c(P,D){if(n.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var L=P.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(P).length;default:if(B)return ie(P).length;D=(""+D).toLowerCase(),B=!0}}function t(P,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return k(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),B=!0}}function e(P,D,L){var B=P[D];P[D]=P[L],P[L]=B}function g(P,D,L,B,M){if(P.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:P.length-1),L<0&&(L=P.length+L),L>=P.length){if(M)return-1;L=P.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(P,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,D,L):Uint8Array.prototype.lastIndexOf.call(P,D,L):x(P,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(P,D,L,B,M){var z,W=1,oe=P.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(P.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,$e){return W===1?tt[$e]:tt.readUInt16BE($e*W)}if(M){var Se=-1;for(z=L;zoe&&(L=oe-de),z=L;z>=0;z--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var z=D.length;if(z%2!=0)throw new TypeError("Invalid hex string");B>z/2&&(B=z/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,P.length-L),P,L,B)}function I(P,D,L){return D===0&&L===P.length?w.fromByteArray(P):w.fromByteArray(P.slice(D,L))}function R(P,D,L){L=Math.min(P.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(z=P[M+1]))==128&&(de=(31&ge)<<6|63&z)>127&&(Se=de);break;case 3:z=P[M+1],W=P[M+2],(192&z)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&z)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:z=P[M+1],W=P[M+2],oe=P[M+3],(192&z)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&z)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var $e="",we=0;we0&&(P=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(P+=" ... ")),""},n.prototype.compare=function(P,D,L,B,M){if(!n.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=P?P.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>P.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===P)return 0;for(var z=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(z,W),de=this.slice(B,M),ge=P.slice(D,L),Se=0;SeM)&&(L=M),P.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var z=!1;;)switch(B){case"hex":return _(this,P,D,L);case"utf8":case"utf-8":return b(this,P,D,L);case"ascii":return S(this,P,D,L);case"latin1":case"binary":return C(this,P,D,L);case"base64":return T(this,P,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,D,L);default:if(z)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),z=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,D,L){var B="";L=Math.min(P.length,L);for(var M=D;MB)&&(L=B);for(var M="",z=D;zL)throw new RangeError("Trying to access beyond buffer length")}function X(P,D,L,B,M,z){if(!n.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||DP.length)throw new RangeError("Index out of range")}function H(P,D,L,B){D<0&&(D=65535+D+1);for(var M=0,z=Math.min(P.length-L,2);M>>8*(B?M:1-M)}function ee(P,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,z=Math.min(P.length-L,4);M>>8*(B?M:3-M)&255}function re(P,D,L,B,M,z){if(L+B>P.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(P,D,L,B,M){return M||re(P,0,L,4),m.write(P,D,L,B,23,4),L+4}function me(P,D,L,B,M){return M||re(P,0,L,8),m.write(P,D,L,B,52,8),L+8}n.prototype.slice=function(P,D){var L,B=this.length;if((P=~~P)<0?(P+=B)<0&&(P=0):P>B&&(P=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[P+--D]*M;return B},n.prototype.readUInt8=function(P,D){return D||q(P,1,this.length),this[P]},n.prototype.readUInt16LE=function(P,D){return D||q(P,2,this.length),this[P]|this[P+1]<<8},n.prototype.readUInt16BE=function(P,D){return D||q(P,2,this.length),this[P]<<8|this[P+1]},n.prototype.readUInt32LE=function(P,D){return D||q(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},n.prototype.readUInt32BE=function(P,D){return D||q(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},n.prototype.readIntLE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=this[P],M=1,z=0;++z=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=D,M=1,z=this[P+--B];B>0&&(M*=256);)z+=this[P+--B]*M;return z>=(M*=128)&&(z-=Math.pow(2,8*D)),z},n.prototype.readInt8=function(P,D){return D||q(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},n.prototype.readInt16LE=function(P,D){D||q(P,2,this.length);var L=this[P]|this[P+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(P,D){D||q(P,2,this.length);var L=this[P+1]|this[P]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(P,D){return D||q(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},n.prototype.readInt32BE=function(P,D){return D||q(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},n.prototype.readFloatLE=function(P,D){return D||q(P,4,this.length),m.read(this,P,!0,23,4)},n.prototype.readFloatBE=function(P,D){return D||q(P,4,this.length),m.read(this,P,!1,23,4)},n.prototype.readDoubleLE=function(P,D){return D||q(P,8,this.length),m.read(this,P,!0,52,8)},n.prototype.readDoubleBE=function(P,D){return D||q(P,8,this.length),m.read(this,P,!1,52,8)},n.prototype.writeUIntLE=function(P,D,L,B){P=+P,D|=0,L|=0,B||X(this,P,D,L,Math.pow(2,8*L)-1,0);var M=1,z=0;for(this[D]=255&P;++z=0&&(z*=256);)this[D+M]=P/z&255;return D+L},n.prototype.writeUInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[D]=255&P,D+1},n.prototype.writeUInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeUInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeUInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=P>>>24,this[D+2]=P>>>16,this[D+1]=P>>>8,this[D]=255&P):ee(this,P,D,!0),D+4},n.prototype.writeUInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeIntLE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=0,W=1,oe=0;for(this[D]=255&P;++z>0)-oe&255;return D+L},n.prototype.writeIntBE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=L-1,W=1,oe=0;for(this[D+z]=255&P;--z>=0&&(W*=256);)P<0&&oe===0&&this[D+z+1]!==0&&(oe=1),this[D+z]=(P/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[D]=255&P,D+1},n.prototype.writeInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8,this[D+2]=P>>>16,this[D+3]=P>>>24):ee(this,P,D,!0),D+4},n.prototype.writeInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeFloatLE=function(P,D,L){return he(this,P,D,!0,L)},n.prototype.writeFloatBE=function(P,D,L){return he(this,P,D,!1,L)},n.prototype.writeDoubleLE=function(P,D,L){return me(this,P,D,!0,L)},n.prototype.writeDoubleBE=function(P,D,L){return me(this,P,D,!1,L)},n.prototype.copy=function(P,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=P.length&&(D=P.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),P.length-D=0;--M)P[M+D]=this[M+L];else if(z<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,P||(P=0),typeof P=="number")for(z=D;z55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&z.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&z.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&z.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&z.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;z.push(L)}else if(L<2048){if((D-=2)<0)break;z.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;z.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;z.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return z}function ue(P){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(P))}function ce(P,D,L,B){for(var M=0;M=D.length||M>=P.length);++M)D[M+L]=P[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(m,y){var a=typeof Symbol=="function"&&m[Symbol.iterator];if(!a)return m;var p,n,i=a.call(m),u=[];try{for(;(y===void 0||y-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var m=[],y=0;y=65&&a<=90&&(m[y]=a+32)}},l.byteUppercase=function(m){for(var y=0;y=97&&a<=122&&(m[y]=a-32)}},l.byteCaseInsensitiveMatch=function(m,y){if(m.length!==y.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(m,y){for(var a=0;;){if(a>=m.length)return!1;if(a>=y.length)return!0;if(m[a]!==y[a])return!1;a++}},l.byteLessThan=function(m,y){for(var a=0;;){if(a>=m.length)return!1;if(a>=y.length)return!0;var p=m[a],n=y[a];if(pn)return!1;a++}},l.isomorphicDecode=function(m){return String.fromCodePoint.apply(String,w(m))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),m=o(0),y=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return m.namespace_validate(n),m.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=m.create_xmlDocument(),f=null;return i&&(f=m.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=m.create_document();i._type="html",i._contentType="text/html",i.appendChild(m.create_documentType(i,"html","",""));var u=m.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=m.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=m.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=m.create_text(i,n);f.appendChild(d)}var c=m.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,y.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(70),y=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new y.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(m.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function m(){}return m.isNode=function(y){return!!y&&y._nodeType!==void 0},m.isDocumentNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.Document},m.isDocumentTypeNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.DocumentType},m.isDocumentFragmentNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},m.isAttrNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.Attribute},m.isCharacterDataNode=function(y){if(!m.isNode(y))return!1;var a=y._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},m.isTextNode=function(y){return m.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},m.isExclusiveTextNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.Text},m.isCDATASectionNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.CData},m.isCommentNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.Comment},m.isProcessingInstructionNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},m.isElementNode=function(y){return m.isNode(y)&&y._nodeType===v.NodeType.Element},m.isCustomElementNode=function(y){return m.isElementNode(y)&&y._customElementState==="custom"},m.isShadowRoot=function(y){return!!y&&y.host!==void 0},m.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},m.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(m.isTextNode(y)||m.isElementNode(y))},m.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&m.isElementNode(y)},m.isWindow=function(y){return!!y&&y.navigator!==void 0},m.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},m.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},m.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&m.isRegisteredObserver(y)},m}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(y,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(y,a)},function(y,a){function p(){this.constructor=y}v(y,a),y.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var m=function(y){function a(){return y.call(this)||this}return w(a,y),a}(o(98).DocumentImpl);l.XMLDocumentImpl=m},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,z=M&&B[M],W=0;if(z)return z.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var z=typeof Symbol=="function"&&B[Symbol.iterator];if(!z)return B;var W,oe,de=z.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(z=de.return)&&z.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var m,y=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){m!==void 0&&m.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var z,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return y.isNumber(B)?N(B):y.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",z=B,W=1;W<=4;W++)M=(z%256).toString()+M,W!==4&&(M="."+M),z=Math.floor(z/256);return M}function I(B){for(var M="",z=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(z=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),z!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,z,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var $e=/[\u0009\u000A\u000D]/g;$e.test(B)&&e("Input string contains tab or newline characters."),B=B.replace($e,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=z===void 0||z==="replacement"||z==="UTF-16BE"||z==="UTF-16LE"?"UTF-8":z,K="",ze=!1,qe=!1,Ne=!1,ae=new y.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),ze&&(K="%40"+K),ze=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ze&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||qe)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(qe=!0),ae.c()==="]"&&(qe=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),$(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&q(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))$(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!k(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&q(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=y.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function k(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function q(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&q(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var z=L(y.utf8Decode(ue(B)));if(z===null||t.test(z))return e("Invalid domain."),null;var W=re(z);return W===null||y.isNumber(W)?W:z}function ee(B,M){M===void 0&&(M={value:!1});var z=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),z=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),z=8),B===""?0:(z===10?/^[0-9]+$/:z===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,z):null}function re(B){var M,z,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(qe=ee(tt,de))===null)return B;Se.push(qe)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(z=Be.return)&&z.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var $e=0;$e255&&(e("Invalid IP v4 address."),$e=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),ze=K.next();!ze.done;ze=K.next()){var qe;we+=(qe=ze.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{ze&&!ze.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,z=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new y.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;z[W]=256*z[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;z[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var $e=W-oe;for(W=7;W!==0&&$e>0;)M=w([z[oe+$e-1],z[W]],2),z[W]=M[0],z[oe+$e-1]=M[1],W--,$e--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return z}function me(B){var M,z;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},z=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)z[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);z[W]=ge,W++,oe+=2}else z[W]=de,W++}return z.subarray(0,W)}function ue(B){return ie(y.utf8Encode(B))}function ce(B,M){var z,W;if(!M.test(B))return B;var oe=y.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){z={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(z)throw z.error}}return de}function P(B){var M,z,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(z=Se.return)&&z.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var $e=v(de),we=$e.next();!we.done;we=$e.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),ze=K!==-1?at.slice(0,K):at,qe=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var z=n.domainToASCII(B);return z===""?(e("Invalid domain name."),null):z}l.setValidationErrorCallback=function(B){m=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,z){var W=R(B,M,z);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.username=oe},l.setThePassword=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.password=oe},l.isSingleDotPathSegment=k,l.isDoubleDotPathSegment=G,l.shorten=$,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=q,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,z){return z===void 0&&(z=!1),C(B,z)===C(M,z)},l.urlEncodedStringParser=function(B){return P(y.utf8Encode(B))},l.urlEncodedParser=P,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var z,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(y.utf8Encode(Se[0])),Le=Se[1];Le=D(y.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){z={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var z=R(M.path[0]);return z===null?a.OpaqueOrigin:B(z);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var z=n.domainToUnicode(B);return z===""&&e("Invalid domain name."),z},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function m(){this._signal=v.create_abortSignal()}return Object.defineProperty(m.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),m.prototype.abort=function(){v.abort_signalAbort(this._signal)},m}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(70),y=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){y.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(m.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),y=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(1),y=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(1),y=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!m.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!m.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=m(i.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var $=_;$._parent!==null&&!i.tree_isAncestorOf(S,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=i.tree_index($)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=m(I),q=Y.next();!q.done;q=Y.next()){var X;(X=q.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{q&&!q.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=m(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){y.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=m(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(103),y=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,y.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(m.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),y=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===m.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==m.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===m.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===m.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=m.FilterResult.Accept;;){for(;s!==m.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===m.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===m.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(y.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),m=function(){function y(){}return y.prototype.acceptNode=function(a){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();l.NodeFilterImpl=m,w.idl_defineConst(m.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(m.prototype,"FILTER_REJECT",2),w.idl_defineConst(m.prototype,"FILTER_SKIP",3),w.idl_defineConst(m.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(m.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(m.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(m.prototype,"SHOW_TEXT",4),w.idl_defineConst(m.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(m.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(m.prototype,"SHOW_ENTITY",32),w.idl_defineConst(m.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(m.prototype,"SHOW_COMMENT",128),w.idl_defineConst(m.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(m.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(m.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(m.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(m,y,a,p,n,i,u,s,f){this._type=m,this._target=y,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(m,y,a,p,n,i,u,s,f){return new w(m,y,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(9),y=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&m<=122||m>=65&&m<=90||m===58||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(w===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(m>=55296&&m<=56319&&w=56320&&y<=57343&&(w++,(m=1024*(m-55296)+y-56320+65536)>=65536&&m<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,m=0;m=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(m===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(m===0||y!==58){if(y>=55296&&y<=56319&&m=56320&&a<=57343&&(m++,(y=1024*(y-55296)+a-56320+65536)>=65536&&y<=983039))continue}return!1}if(w||m===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&m<=55295||m>=57344&&m<=65533)){if(m>=55296&&m<=56319&&w=56320&&y<=57343&&(w++,(m=1024*(m-55296)+y-56320+65536)>=65536&&m<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&m<=122||m>=65&&m<=90||m>=39&&m<=59||m===32||m===13||m===10||m>=35&&m<=37||m===33||m===61||m===63||m===64||m===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function m(y,a){var p=y[0],n=y[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(3),y=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),m.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(m.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(m.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(m.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=m.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):m.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):m.Guard.isCommentNode(f)?a.create_comment(d,f._data):m.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):m.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(m.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var k=s(R.value,d,!0);i.mutation_append(k,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(m.Guard.isDocumentTypeNode(f)&&m.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(m.Guard.isElementNode(f)&&m.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(m.Guard.isAttrNode(f)&&m.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(m.Guard.isProcessingInstructionNode(f)&&m.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(m.Guard.isCharacterDataNode(f)&&m.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(m.Guard.isElementNode(f)&&m.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch($){c={error:$}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch($){e={error:$}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!s(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===y.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==y.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(3),y=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&m.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=m.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=m.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&m.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=m.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=m.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return m.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return m.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new y.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),m=o(24),y=o(48),a=[].join,p=w!=Object,n=y("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(m(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),m=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?m(p):m(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(y,a){var p=typeof Symbol=="function"&&y[Symbol.iterator];if(!p)return y;var n,i,u=p.call(y),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),m=function(){function y(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&y.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},y.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},y.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},y.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},y.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},y.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},y.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);y.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},y.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}y.isArray=E;function w(Q){return typeof Q=="boolean"}y.isBoolean=w;function D(Q){return Q===null}y.isNull=D;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function k(Q){return Q===void 0}y.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}y.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=m("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",ve(),y.format.apply(y,arguments))},y.inherits=m("inherits"),y._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,m("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(m,S,y){},{}],13:[function(m,S,y){(function(_){function s(c,u){for(var p=0,v=c.length-1;v>=0;v--){var f=c[v];f==="."?c.splice(v,1):f===".."?(c.splice(v,1),p++):p&&(c.splice(v,1),p--)}if(u)for(;p--;p)c.unshift("..");return c}y.resolve=function(){for(var c="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var v=p>=0?arguments[p]:_.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;c=v+"/"+c,u=v.charAt(0)==="/"}return c=s(o(c.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+c||"."},y.normalize=function(c){var u=y.isAbsolute(c),p=a(c,-1)==="/";return c=s(o(c.split("/"),function(v){return!!v}),!u).join("/"),!c&&!u&&(c="."),c&&p&&(c+="/"),(u?"/":"")+c},y.isAbsolute=function(c){return c.charAt(0)==="/"},y.join=function(){var c=Array.prototype.slice.call(arguments,0);return y.normalize(o(c,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},y.relative=function(c,u){c=y.resolve(c).substr(1),u=y.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var v=p(c.split("/")),f=p(u.split("/")),r=Math.min(v.length,f.length),e=r,g=0;g=1;--r)if(u=c.charCodeAt(r),u===47){if(!f){v=r;break}}else f=!1;return v===-1?p?"/":".":p&&v===1?"/":c.slice(0,v)};function h(c){typeof c!="string"&&(c=c+"");var u=0,p=-1,v=!0,f;for(f=c.length-1;f>=0;--f)if(c.charCodeAt(f)===47){if(!v){u=f+1;break}}else p===-1&&(v=!1,p=f+1);return p===-1?"":c.slice(u,p)}y.basename=function(c,u){var p=h(c);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},y.extname=function(c){typeof c!="string"&&(c=c+"");for(var u=-1,p=0,v=-1,f=!0,r=0,e=c.length-1;e>=0;--e){var g=c.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}v===-1&&(f=!1,v=e+1),g===46?u===-1?u=e:r!==1&&(r=1):u!==-1&&(r=-1)}return u===-1||v===-1||r===0||r===1&&u===v-1&&u===p+1?"":c.slice(u,v)};function o(c,u){if(c.filter)return c.filter(u);for(var p=[],v=0;v1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:o}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:o;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:o;if(u.type==="CallExpression"){var T=c(u.callee);if(T===o||typeof T!="function")return o;var N=u.callee.object?c(u.callee.object):o;N===o&&(N=null);for(var I=[],r=0,e=u.arguments.length;r{(function(l,i){typeof Li=="object"&&typeof Gs=="object"?Gs.exports=i():typeof define=="function"&&define.amd?define([],i):typeof Li=="object"?Li.xmlbuilder2=i():l.xmlbuilder2=i()})(Li,function(){return function(l){var i={};function t(m){if(i[m])return i[m].exports;var S=i[m]={i:m,l:!1,exports:{}};return l[m].call(S.exports,S,S.exports,t),S.l=!0,S.exports}return t.m=l,t.c=i,t.d=function(m,S,y){t.o(m,S)||Object.defineProperty(m,S,{enumerable:!0,get:y})},t.r=function(m){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},t.t=function(m,S){if(1&S&&(m=t(m)),8&S||4&S&&typeof m=="object"&&m&&m.__esModule)return m;var y=Object.create(null);if(t.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:m}),2&S&&typeof m!="string")for(var _ in m)t.d(y,_,function(s){return m[s]}.bind(null,_));return y},t.n=function(m){var S=m&&m.__esModule?function(){return m.default}:function(){return m};return t.d(S,"a",S),S},t.o=function(m,S){return Object.prototype.hasOwnProperty.call(m,S)},t.p="",t(t.s=184)}([function(l,i,t){"use strict";function m(S){for(var y in S)i.hasOwnProperty(y)||(i[y]=S[y])}Object.defineProperty(i,"__esModule",{value:!0}),m(t(240)),m(t(251)),m(t(175)),m(t(107)),m(t(29)),m(t(73)),m(t(106)),m(t(30)),m(t(252)),m(t(52)),m(t(97)),m(t(253)),m(t(37)),m(t(51)),m(t(173)),m(t(176)),m(t(172)),m(t(108)),m(t(254)),m(t(255)),m(t(256)),m(t(72)),m(t(177)),m(t(105)),m(t(17)),m(t(257)),m(t(12)),m(t(174))},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(212);i.FixedSizeSet=S.FixedSizeSet;var y=t(213);i.ObjectCache=y.ObjectCache;var _=t(214);i.CompareCache=_.CompareCache;var s=t(215);i.Lazy=s.Lazy;var h=t(216);function o(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function a(e){var g,b;if(c(e))return e;if(p(e)){var x=[];try{for(var E=m(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(a(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=a(N)}return x}return e}function c(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function v(e){return e instanceof Set}function f(e){return e instanceof Map}function r(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}i.StringWalker=h.StringWalker,i.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},i.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.Before=0]="Before",m[m.Equal=1]="Equal",m[m.After=2]="After"}(i.BoundaryPosition||(i.BoundaryPosition={})),function(m){m[m.None=0]="None",m[m.Capturing=1]="Capturing",m[m.AtTarget=2]="AtTarget",m[m.Bubbling=3]="Bubbling"}(i.EventPhase||(i.EventPhase={})),function(m){m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=3]="Text",m[m.CData=4]="CData",m[m.EntityReference=5]="EntityReference",m[m.Entity=6]="Entity",m[m.ProcessingInstruction=7]="ProcessingInstruction",m[m.Comment=8]="Comment",m[m.Document=9]="Document",m[m.DocumentType=10]="DocumentType",m[m.DocumentFragment=11]="DocumentFragment",m[m.Notation=12]="Notation"}(i.NodeType||(i.NodeType={})),function(m){m[m.Disconnected=1]="Disconnected",m[m.Preceding=2]="Preceding",m[m.Following=4]="Following",m[m.Contains=8]="Contains",m[m.ContainedBy=16]="ContainedBy",m[m.ImplementationSpecific=32]="ImplementationSpecific"}(i.Position||(i.Position={})),function(m){m[m.Accept=1]="Accept",m[m.Reject=2]="Reject",m[m.Skip=3]="Skip"}(i.FilterResult||(i.FilterResult={})),function(m){m[m.All=4294967295]="All",m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=4]="Text",m[m.CDataSection=8]="CDataSection",m[m.EntityReference=16]="EntityReference",m[m.Entity=32]="Entity",m[m.ProcessingInstruction=64]="ProcessingInstruction",m[m.Comment=128]="Comment",m[m.Document=256]="Document",m[m.DocumentType=512]="DocumentType",m[m.DocumentFragment=1024]="DocumentFragment",m[m.Notation=2048]="Notation"}(i.WhatToShow||(i.WhatToShow={})),function(m){m[m.StartToStart=0]="StartToStart",m[m.StartToEnd=1]="StartToEnd",m[m.EndToEnd=2]="EndToEnd",m[m.EndToStart=3]="EndToStart"}(i.HowToCompare||(i.HowToCompare={}))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(241);i.Cast=m.Cast;var S=t(150);i.Guard=S.Guard;var y=t(242);i.EmptySet=y.EmptySet},function(l,i,t){var m=t(11),S=t(55).f,y=t(21),_=t(25),s=t(80),h=t(119),o=t(123);l.exports=function(a,c){var u,p,v,f,r,e=a.target,g=a.global,b=a.stat;if(u=g?m:b?m[e]||s(e,{}):(m[e]||{}).prototype)for(p in c){if(f=c[p],v=a.noTargetGet?(r=S(u,p))&&r.value:u[p],!o(g?p:e+(b?".":"#")+p,a.forced)&&v!==void 0){if(typeof f==typeof v)continue;h(f,v)}(a.sham||v&&v.sham)&&y(f,"sham",!0),_(u,p,f,a)}}},function(l,i,t){var m=t(11),S=t(81),y=t(14),_=t(58),s=t(86),h=t(124),o=S("wks"),a=m.Symbol,c=h?a:a&&a.withoutSetter||_;l.exports=function(u){return y(o,u)||(s&&y(a,u)?o[u]=a[u]:o[u]=c("Symbol."+u)),o[u]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(29),y=function(){function _(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new m.CompareCache,this._rangeList=new m.FixedSizeSet}return _.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),m.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(_.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(_,"instance",{get:function(){return _._instance||(_._instance=new _),_._instance},enumerable:!0,configurable:!0}),_}();i.dom=y.instance},function(l,i,t){"use strict";var m=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var g in r)Object.hasOwnProperty.call(r,g)&&(e[g]=r[g]);return e.default=r,e};Object.defineProperty(i,"__esModule",{value:!0});var S=m(t(228));i.base64=S;var y=m(t(146));i.byte=y;var _=m(t(147));i.byteSequence=_;var s=m(t(96));i.codePoint=s;var h=m(t(232));i.json=h;var o=m(t(233));i.list=o;var a=m(t(234));i.map=a;var c=m(t(235));i.namespace=c;var u=m(t(236));i.queue=u;var p=m(t(237));i.set=p;var v=m(t(238));i.stack=v;var f=m(t(239));i.string=f},function(l,i){l.exports=function(t){try{return!!t()}catch{return!0}}},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(z,X){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}m(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(i,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);i.DOMException=y;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(y);i.DOMStringSizeError=_;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(y);i.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(y);i.NoDataAllowedError=h;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(y);i.NoModificationAllowedError=o;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(y);i.NotSupportedError=a;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(y);i.InUseAttributeError=c;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(y);i.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(y);i.InvalidModificationError=p;var v=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(y);i.NamespaceError=v;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(y);i.InvalidAccessError=f;var r=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(y);i.ValidationError=r;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(y);i.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(y);i.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(y);i.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(y);i.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(y);i.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(y);i.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(y);i.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(y);i.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(y);i.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(y);i.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(y);i.HierarchyRequestError=R;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(y);i.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(y);i.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(y);i.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(y);i.InvalidCharacterError=Y},function(l,i,t){"use strict";var m=t(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];l.exports=function(_,s){var h,o;if(s=s||{},Object.keys(s).forEach(function(a){if(S.indexOf(a)===-1)throw new m('Unknown option "'+a+'" is met in definition of "'+_+'" YAML type.')}),this.tag=_,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,o={},h!==null&&Object.keys(h).forEach(function(a){h[a].forEach(function(c){o[String(c)]=a})}),o),y.indexOf(this.kind)===-1)throw new m('Unknown kind "'+this.kind+'" is specified for "'+_+'" YAML type.')}},function(l,i,t){(function(m){var S=function(y){return y&&y.Math==Math&&y};l.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof m=="object"&&m)||Function("return this")()}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.idl_defineConst=function(m,S,y){Object.defineProperty(m,S,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(l,i){l.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},function(l,i){var t={}.hasOwnProperty;l.exports=function(m,S){return t.call(m,S)}},function(l,i,t){var m=t(16),S=t(115),y=t(18),_=t(56),s=Object.defineProperty;i.f=m?s:function(h,o,a){if(y(h),o=_(o,!0),y(a),S)try{return s(h,o,a)}catch{}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(h[o]=a.value),h}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),y=t(2);function _(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:_(e,e,b);E&&x&&!x(E);)E=_(e,E,b);return E}function o(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=_(e,g,x);w&&E&&!E(w);)w=_(e,w,x);return w}function a(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:_(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=_(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=_(e,w,b),D}}},E):s()}function c(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e,g){if(g===void 0&&(g=!1),g){var b=v(e,!1);return S.Guard.isShadowRoot(b)?v(b._host,!0):b}return e._parent?v(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function r(e){for(var g=v(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=o(g,x)}return-1}i.tree_getFirstDescendantNode=h,i.tree_getNextDescendantNode=o,i.tree_getDescendantNodes=a,i.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=a(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},i.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},i.tree_getFirstAncestorNode=c,i.tree_getNextAncestorNode=u,i.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=c(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},i.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=c(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=c(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var R=b[--D];if(R!==x[--T])break;N=R}return N},i.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},i.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},i.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=m(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=R.return)&&x.call(R)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=m(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=m(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},i.tree_nodeLength=p,i.tree_isEmpty=function(e){return p(e)===0},i.tree_rootNode=v,i.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=o(e,E,b,x)}return!1},i.tree_isAncestorOf=f,i.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=v(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},i.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},i.tree_isPreceding=function(e,g){var b=r(e),x=r(g);return b!==-1&&x!==-1&&v(e)===v(g)&&xb},i.tree_isParentOf=function(e,g){return e._parent===g},i.tree_isChildOf=function(e,g){return g._parent===e},i.tree_previousSibling=function(e){return e._previousSibling},i.tree_nextSibling=function(e){return e._nextSibling},i.tree_firstChild=function(e){return e._firstChild},i.tree_lastChild=function(e){return e._lastChild},i.tree_treePosition=r,i.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},i.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=v(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S))throw TypeError(String(S)+" is not an object");return S}},function(l,i,t){"use strict";var m=t(24),S=t(130),y=t(49),_=t(43),s=t(88),h=_.set,o=_.getterFor("Array Iterator");l.exports=s(Array,"Array",function(a,c){h(this,{type:"Array Iterator",target:m(a),index:0,kind:c})},function(){var a=o(this),c=a.target,u=a.kind,p=a.index++;return!c||p>=c.length?(a.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:c[p],done:!1}:{value:[p,c[p]],done:!1}},"values"),y.Arguments=y.Array,S("keys"),S("values"),S("entries")},function(l,i,t){var m=t(90),S=t(25),y=t(202);m||S(Object.prototype,"toString",y,{unsafe:!0})},function(l,i,t){var m=t(16),S=t(15),y=t(40);l.exports=m?function(_,s,h){return S.f(_,s,y(1,h))}:function(_,s,h){return _[s]=h,_}},function(l,i,t){"use strict";var m=t(137).charAt,S=t(43),y=t(88),_=S.set,s=S.getterFor("String Iterator");y(String,"String",function(h){_(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,o=s(this),a=o.string,c=o.index;return c>=a.length?{value:void 0,done:!0}:(h=m(a,c),o.index+=h.length,{value:h,done:!1})})},function(l,i,t){var m=t(11),S=t(203),y=t(19),_=t(21),s=t(5),h=s("iterator"),o=s("toStringTag"),a=y.values;for(var c in S){var u=m[c],p=u&&u.prototype;if(p){if(p[h]!==a)try{_(p,h,a)}catch{p[h]=a}if(p[o]||_(p,o,c),S[c]){for(var v in y)if(p[v]!==y[v])try{_(p,v,y[v])}catch{p[v]=y[v]}}}}},function(l,i,t){var m=t(41),S=t(35);l.exports=function(y){return m(S(y))}},function(l,i,t){var m=t(11),S=t(21),y=t(14),_=t(80),s=t(117),h=t(43),o=h.get,a=h.enforce,c=String(String).split("String");(l.exports=function(u,p,v,f){var r=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof v=="function"&&(typeof p!="string"||y(v,"name")||S(v,"name",p),a(v).source=c.join(typeof p=="string"?p:"")),u!==m?(r?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=v:S(u,p,v)):e?u[p]=v:_(p,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&o(this).source||s(this)})},function(l,i,t){var m=t(47),S=Math.min;l.exports=function(y){return y>0?S(m(y),9007199254740991):0}},function(l,i,t){var m=t(35);l.exports=function(S){return Object(m(S))}},function(l,i,t){var m=t(16),S=t(8),y=t(14),_=Object.defineProperty,s={},h=function(o){throw o};l.exports=function(o,a){if(y(s,o))return s[o];a||(a={});var c=[][o],u=!!y(a,"ACCESSORS")&&a.ACCESSORS,p=y(a,0)?a[0]:h,v=y(a,1)?a[1]:void 0;return s[o]=!!c&&!S(function(){if(u&&!m)return!0;var f={length:-1};u?_(f,1,{enumerable:!0,get:h}):f[1]=1,c.call(f,p,v)})}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(148),S=t(149),y=t(151),_=t(98),s=t(153),h=t(154),o=t(155),a=t(99),c=t(100),u=t(156),p=t(157),v=t(101),f=t(158),r=t(159),e=t(160),g=t(161),b=t(162),x=t(163),E=t(164),w=t(165),D=t(166),T=t(167),N=t(168),I=t(169),R=t(170);i.create_domImplementation=function(k){return m.DOMImplementationImpl._create(k)},i.create_window=function(){return S.WindowImpl._create()},i.create_xmlDocument=function(){return new y.XMLDocumentImpl},i.create_document=function(){return new _.DocumentImpl},i.create_abortController=function(){return new s.AbortControllerImpl},i.create_abortSignal=function(){return h.AbortSignalImpl._create()},i.create_documentType=function(k,G,$,Y){return o.DocumentTypeImpl._create(k,G,$,Y)},i.create_element=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlUnknownElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_documentFragment=function(k){return c.DocumentFragmentImpl._create(k)},i.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},i.create_attr=function(k,G){return p.AttrImpl._create(k,G)},i.create_text=function(k,G){return v.TextImpl._create(k,G)},i.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},i.create_comment=function(k,G){return r.CommentImpl._create(k,G)},i.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},i.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},i.create_nodeList=function(k){return b.NodeListImpl._create(k)},i.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},i.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},i.create_range=function(k,G){return w.RangeImpl._create(k,G)},i.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},i.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},i.create_nodeFilter=function(){return N.NodeFilterImpl._create()},i.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},i.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(l,i,t){"use strict";var m=this&&this.__values||function(p){var v=typeof Symbol=="function"&&Symbol.iterator,f=v&&p[v],r=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&r>=p.length&&(p=void 0),{value:p&&p[r++],done:!p}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(17),_=t(3),s=t(72),h=new Map;function o(p,v){if(v!==p._root&&y.tree_isAncestorOf(p._reference,v,!0)){if(p._pointerBeforeReference)for(;;){var f=y.tree_getFollowingNode(p._root,v);if(f!==null&&y.tree_isDescendantOf(p._root,f,!0)&&!y.tree_isDescendantOf(v,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(v._previousSibling===null)v._parent!==null&&(p._reference=v._parent);else{for(var r=v._previousSibling,e=y.tree_getFirstDescendantNode(v._previousSibling,!0,!1);e!==null;)e!==null&&(r=e),e=y.tree_getNextDescendantNode(v._previousSibling,e,!0,!1);p._reference=r}}}function a(p,v,f,r,e){if(_.Guard.isSlot(p)&&v==="name"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_assignSlotablesForATree(y.tree_rootNode(p))}}function c(p,v,f,r,e){if(_.Guard.isSlotable(p)&&v==="slot"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,v,f,r){v==="id"&&r===null&&(p._uniqueIdentifier=f||void 0)}i.dom_runRemovingSteps=function(p,v){},i.dom_runCloningSteps=function(p,v,f,r){},i.dom_runAdoptingSteps=function(p,v){},i.dom_runAttributeChangeSteps=function(p,v,f,r,e){var g,b;S.dom.features.slots&&(c.call(p,p,v,f,r,e),a.call(p,p,v,f,r,e)),u.call(p,p,v,r,e);try{for(var x=m(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,v,f,r,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},i.dom_runInsertionSteps=function(p){},i.dom_runNodeIteratorPreRemovingSteps=function(p,v){o.call(p,p,v)},i.dom_hasSupportedTokens=function(p){return h.has(p)},i.dom_getSupportedTokens=function(p){return h.get(p)||new Set},i.dom_runEventConstructingSteps=function(p){},i.dom_runChildTextContentChangeSteps=function(p){}},function(l,i,t){"use strict";var m=t(4),S=t(11),y=t(46),_=t(44),s=t(16),h=t(86),o=t(124),a=t(8),c=t(14),u=t(59),p=t(13),v=t(18),f=t(27),r=t(24),e=t(56),g=t(40),b=t(60),x=t(61),E=t(82),w=t(190),D=t(85),T=t(55),N=t(15),I=t(79),R=t(21),k=t(25),G=t(81),$=t(57),Y=t(45),z=t(58),X=t(5),H=t(125),ee=t(126),re=t(62),de=t(43),ve=t(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=y("JSON","stringify"),B=T.f,L=N.f,M=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Me=S.QObject,je=!Me||!Me.prototype||!Me.prototype.findChild,ot=s&&a(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=o?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),v(xe);var Ce=e(be,!0);return v(Ne),c(W,Ce)?(Ne.enumerable?(c(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(c(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){v(xe);var Ne=r(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&c(W,be)&&!c(ae,be))&&(!(Ne||!c(this,be)||!c(W,be)||c(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=r(xe),Ce=e(be,!0);if(Ne!==fe||!c(W,Ce)||c(ae,Ce)){var ze=B(Ne,Ce);return!ze||!c(W,Ce)||c(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=M(r(xe)),Ne=[];return ve(be,function(Ce){c(W,Ce)||c(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=M(be?ae:r(xe)),Ce=[];return ve(Ne,function(ze){!c(W,ze)||be&&!c(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),c(this,ne)&&c(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),_||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),m({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),m({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(c(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(c(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),m({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),m({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),m({target:"Object",stat:!0,forced:a(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&m({target:"JSON",stat:!0,forced:!h||a(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(l,i,t){"use strict";var m=t(4),S=t(16),y=t(11),_=t(14),s=t(13),h=t(15).f,o=t(119),a=y.Symbol;if(S&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var c={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new a(e):e===void 0?a():a(e);return e===""&&(c[g]=!0),g};o(u,a);var p=u.prototype=a.prototype;p.constructor=u;var v=p.toString,f=String(a("test"))=="Symbol(test)",r=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=v.call(e);if(_(c,e))return"";var b=f?g.slice(7,-1):g.replace(r,"$1");return b===""?void 0:b}}),m({global:!0,forced:!0},{Symbol:u})}},function(l,i,t){t(126)("iterator")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(f,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,r)},function(f,r){function e(){this.constructor=f}m(f,r),f.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}),y=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),s=t(2),h=t(70),o=t(3),a=t(9),c=t(0),u=t(152),p=t(12),v=function(f){function r(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(r,f),Object.defineProperty(r.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=c.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||_.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeName",{get:function(){return o.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:o.Guard.isAttrNode(this)?this._qualifiedName:o.Guard.isExclusiveTextNode(this)?"#text":o.Guard.isCDATASectionNode(this)?"#cdata-section":o.Guard.isProcessingInstructionNode(this)?this._target:o.Guard.isCommentNode(this)?"#comment":o.Guard.isDocumentNode(this)?"#document":o.Guard.isDocumentTypeNode(this)?this._name:o.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isConnected",{get:function(){return o.Guard.isElementNode(this)&&c.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),r.prototype.getRootNode=function(e){return c.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(r.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parentElement",{get:function(){return this._parent&&o.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),r.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(r.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textContent",{get:function(){return o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.text_descendantTextContent(this):o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.node_stringReplaceAll(e,this):o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,c.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),r.prototype.normalize=function(){for(var e,g,b,x,E=[],w=c.tree_getFirstDescendantNode(this,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=c.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});for(var D=0;DR;R++)if((r||R in T)&&(w=N(E=T[R],R,D),a)){if(c)G[R]=w;else if(w)switch(a){case 3:return!0;case 5:return E;case 6:return R;case 2:h.call(G,E)}else if(v)return!1}return f?-1:p||v?v:G}};l.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6)}},function(l,i,t){"use strict";var m=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,R,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=m(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=m(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=m(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var R,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&_.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=m(_.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){R={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);_.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&r.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var ve=m(_.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(_.dom.features.steps)try{for(var Q=m(v.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;o.Guard.isDocumentNode(T)&&o.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),_.dom.features.slots&&o.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),_.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(T))&&o.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),_.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return o.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),_.dom.features.steps&&e.dom_runRemovingSteps(D,T),_.dom.features.customElements&&o.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)_.dom.features.steps&&e.dom_runRemovingSteps(L,D),_.dom.features.customElements&&o.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(_.dom.features.mutationObservers)for(var M=p.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,m(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=p.tree_getNextAncestorNode(T,M,!0)}_.dom.features.mutationObservers&&(N||r.observer_queueTreeMutationRecord(T,[],[D],fe,P)),_.dom.features.steps&&o.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}i.mutation_ensurePreInsertionValidity=b,i.mutation_preInsert=x,i.mutation_insert=E,i.mutation_append=function(D,T){return x(D,T,null)},i.mutation_replace=function(D,T,N){var I,R,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=m(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=m(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=m(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=m(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var M=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),_.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(N,W,q,M,L),D},i.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var R=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=m(R),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),_.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(T,k,R,null,null)},i.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},i.mutation_remove=w},function(l,i,t){"use strict";function m(S){return S==null}l.exports.isNothing=m,l.exports.isObject=function(S){return typeof S=="object"&&S!==null},l.exports.toArray=function(S){return Array.isArray(S)?S:m(S)?[]:[S]},l.exports.repeat=function(S,y){var _,s="";for(_=0;_0?m:t)(S)}},function(l,i,t){"use strict";var m=t(8);l.exports=function(S,y){var _=[][S];return!!_&&m(function(){_.call(null,y||function(){throw 1},1)})}},function(l,i){l.exports={}},function(l,i,t){"use strict";t(31),t(32),t(33),t(220),t(64),t(19),t(65),t(20),t(68),t(66),t(92),t(144),t(22),t(94),t(23);var m=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},y=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,v,f,r,e){var g,b;try{for(var x=m(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,v,f,r,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,v){var f,r;try{for(var e=m(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,v)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(r=e.return)&&r.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,v){if(v&&!a.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(v&&(!a.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,v){if(v&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(v&&(!a.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,v){if(v&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,v,f,r,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=m(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=v.get(N.prefix,I),I===o.namespace.XMLNS){if(N.value===o.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in r)||r[N.localName]!==N.value)&&v.has(N.localName,N.value))continue;if(g&&N.value===o.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||v.hasPrefix(N.prefix)&&!v.has(N.prefix,I)?this._generatePrefix(I,v,f):N.prefix,E.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!a.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,v){var f,r,e=[],g=v?{}:void 0;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(v){if(v&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(v&&g&&(g[E.localName]=!0),v&&(E.localName.indexOf(":")!==-1||!a.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,v,f){var r,e,g=null;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===o.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===o.namespace.XML||(N===""&&(N=null),v.has(T,N)))continue;v.set(T,N),f[T]=N||""}}}catch(I){r={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},u.prototype._generatePrefix=function(p,v,f){var r="ns"+f.value.toString();return f.value++,v.set(r,p),r},u.prototype._serializeAttributeValue=function(p,v){if(v&&p!==null&&!a.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();i.BaseWriter=c},function(l,i,t){"use strict";var m=this&&this.__values||function(v){var f=typeof Symbol=="function"&&Symbol.iterator,r=f&&v[f],e=0;if(r)return r.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&e>=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),_=t(3),s=t(7),h=t(29),o=t(17),a=t(97);function c(){var v=y.dom.window;v._mutationObserverMicrotaskQueued||(v._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var v,f,r,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(R){var k=s.list.clone(R._recordQueue);s.list.empty(R._recordQueue);for(var G=0;G"+f+"<\/script>"},v=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,r;v=m?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(m):((r=o("iframe")).style.display="none",h.appendChild(r),r.src="javascript:",(f=r.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=_.length;e--;)delete v.prototype[_[e]];return v()};s[c]=!0,l.exports=Object.create||function(f,r){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[c]=f):e=v(),r===void 0?e:y(e,r)}},function(l,i,t){var m=t(121),S=t(84);l.exports=Object.keys||function(y){return m(y,S)}},function(l,i,t){var m=t(15).f,S=t(14),y=t(5)("toStringTag");l.exports=function(_,s,h){_&&!S(_=h?_:_.prototype,y)&&m(_,y,{configurable:!0,value:s})}},function(l,i,t){var m=t(8),S=t(5),y=t(129),_=S("species");l.exports=function(s){return y>=51||!m(function(){var h=[];return(h.constructor={})[_]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(l,i,t){"use strict";var m=t(4),S=t(122).indexOf,y=t(48),_=t(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,o=y("indexOf"),a=_("indexOf",{ACCESSORS:!0,1:0});m({target:"Array",proto:!0,forced:h||!o||!a},{indexOf:function(c){return h?s.apply(this,arguments)||0:S(this,c,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(16),S=t(15).f,y=Function.prototype,_=y.toString,s=/^\s*function ([^ (]*)/;m&&!("name"in y)&&S(y,"name",{configurable:!0,get:function(){try{return _.call(this).match(s)[1]}catch{return""}}})},function(l,i,t){"use strict";var m=t(25),S=t(18),y=t(8),_=t(136),s=RegExp.prototype,h=s.toString,o=y(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),a=h.name!="toString";(o||a)&&m(RegExp.prototype,"toString",function(){var c=S(this),u=String(c.source),p=c.flags;return"/"+u+"/"+String(p===void 0&&c instanceof RegExp&&!("flags"in s)?_.call(c):p)},{unsafe:!0})},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(138),t(20),t(66),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),y=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),s=t(2),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=_.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(c,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},a.prototype._process=function(c,u){var p,v,f,r,e,g,b;if(c.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=y(c),x=b.next();!x.done;x=b.next()){var E=x.value;u[v+(r++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?v+(r++).toString():v]=c;return r},a.prototype.beginElement=function(c){var u,p,v=[];if(this._currentList.length===0)this._currentList.push(((u={})[c]=v,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,c)?f[c].length!==0&&_.isArray(f[c][0])?f[c].push(v):f[c]=[f[c],v]:this._currentList.push(((p={})[c]=v,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=v:this._listRegister.push(v),this._currentList=v},a.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},a.prototype.attribute=function(c,u){var p,v;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[c]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][c]=u:this._currentList.push({"@":(v={},v[c]=u,v)})}},a.prototype.comment=function(c){if(this._currentList.length===0)this._currentList.push({"!":c});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?_.isArray(u["!"])?u["!"].push(c):u["!"]=[u["!"],c]:this._currentList.push({"!":c})}},a.prototype.text=function(c){if(this._currentList.length===0)this._currentList.push({"#":c});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?_.isArray(u["#"])?u["#"].push(c):u["#"]=[u["#"],c]:this._currentList.push({"#":c})}},a.prototype.instruction=function(c,u){var p=u===""?c:c+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var v=this._currentList[this._currentList.length-1];this._isInstructionNode(v)?_.isArray(v["?"])?v["?"].push(p):v["?"]=[v["?"],p]:this._currentList.push({"?":p})}},a.prototype.cdata=function(c){if(this._currentList.length===0)this._currentList.push({$:c});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?_.isArray(u.$)?u.$.push(c):u.$=[u.$,c]:this._currentList.push({$:c})}},a.prototype._isAttrNode=function(c){return"@"in c},a.prototype._isTextNode=function(c){return"#"in c},a.prototype._isCommentNode=function(c){return"!"in c},a.prototype._isInstructionNode=function(c){return"?"in c},a.prototype._isCDATANode=function(c){return"$"in c},a.prototype._isElementNode=function(c,u){return u in c},a.prototype._getAttrKey=function(){return this._builderOptions.convert.att},a.prototype._getNodeKey=function(c){switch(c){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},a}(t(50).BaseWriter);i.ObjectWriter=h},function(l,i,t){"use strict";var m=t(4),S=t(93);m({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(y,_){y===null?this._nullItems[_]=!0:(this._items[y]||(this._items[y]={}),this._items[y][_]=!0)},S.prototype.has=function(y,_){return y===null?this._nullItems[_]===!0:!!this._items[y]&&this._items[y][_]===!0},S}();i.LocalNameSet=m},function(l,i,t){"use strict";var m=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v};Object.defineProperty(i,"__esModule",{value:!0});var S=t(9),y=t(3),_=t(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(o,a,c){c===void 0&&(c={passive:!1,once:!1,capture:!1});var u,p=m(_.eventTarget_flattenMore(c),3),v=p[0],f=p[1],r=p[2];a&&(u=y.Guard.isEventListener(a)?a:{handleEvent:a},_.eventTarget_addEventListener(this,{type:o,callback:u,capture:v,passive:f,once:r,removed:!1}))},h.prototype.removeEventListener=function(o,a,c){c===void 0&&(c={capture:!1});var u=_.eventTarget_flatten(c);if(a)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,r){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(r===void 0||r-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},y=this&&this.__spread||function(){for(var f=[],r=0;r",amp:"&",quot:'"',apos:"'"},y}();i.BaseReader=S},function(l,i,t){"use strict";var m=t(39);l.exports=m.DEFAULT=new m({include:[t(54)],explicit:[t(299),t(300),t(301)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(185);i.XMLBuilderImpl=m.XMLBuilderImpl;var S=t(304);i.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var y=t(183);i.builder=y.builder,i.create=y.create,i.fragment=y.fragment,i.convert=y.convert;var _=t(309);i.createCB=_.createCB,i.fragmentCB=_.fragmentCB},function(l,i){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}l.exports=t},function(l,i,t){"use strict";var m={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,y=S&&!m.call({1:2},1);i.f=y?function(_){var s=S(this,_);return!!s&&s.enumerable}:m},function(l,i,t){var m=t(11),S=t(21);l.exports=function(y,_){try{S(m,y,_)}catch{m[y]=_}return _}},function(l,i,t){var m=t(44),S=t(118);(l.exports=function(y,_){return S[y]||(S[y]=_!==void 0?_:{})})("versions",[]).push({version:"3.6.5",mode:m?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(l,i,t){var m=t(121),S=t(84).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(y){return m(y,S)}},function(l,i,t){var m=t(47),S=Math.max,y=Math.min;l.exports=function(_,s){var h=m(_);return h<0?S(h+s,0):y(h,s)}},function(l,i){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(l,i){i.f=Object.getOwnPropertySymbols},function(l,i,t){var m=t(8);l.exports=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())})},function(l,i,t){var m=t(127);l.exports=function(S,y,_){if(m(S),y===void 0)return S;switch(_){case 0:return function(){return S.call(y)};case 1:return function(s){return S.call(y,s)};case 2:return function(s,h){return S.call(y,s,h)};case 3:return function(s,h,o){return S.call(y,s,h,o)}}return function(){return S.apply(y,arguments)}}},function(l,i,t){"use strict";var m=t(4),S=t(195),y=t(132),_=t(133),s=t(62),h=t(21),o=t(25),a=t(5),c=t(44),u=t(49),p=t(131),v=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,r=a("iterator"),e=function(){return this};l.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,R,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[r]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),v!==Object.prototype&&N.next&&(c||y(N)===v||(_?_(N,v):typeof N[r]!="function"&&h(N,r,e)),s(N,G,!0,!0),c&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),c&&!T||Y[r]===X||h(Y,r,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(R in I)(f||$||!(R in Y))&&o(Y,R,I[R]);else m({target:b,proto:!0,forced:f||$},I);return I}},function(l,i,t){"use strict";var m=t(4),S=t(13),y=t(59),_=t(83),s=t(26),h=t(24),o=t(134),a=t(5),c=t(63),u=t(28),p=c("slice"),v=u("slice",{ACCESSORS:!0,0:0,1:2}),f=a("species"),r=[].slice,e=Math.max;m({target:"Array",proto:!0,forced:!p||!v},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=_(g,T),I=_(b===void 0?T:b,T);if(y(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!y(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return r.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),a&&(v=g.lastIndex),r=s.call(b?f:g,D),b?r?(r.input=r.input.slice(w),r[0]=r[0].slice(w),r.index=g.lastIndex,g.lastIndex+=r[0].length):g.lastIndex=0:a&&r&&(g.lastIndex=g.global?r.index+r[0].length:v),u&&r&&r.length>1&&h.call(r[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;m("replace",2,function(r,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),R=T?.[r];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=a(R,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(R.lastIndex=o(k,_(R.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,R,k,G){var $=I+T.length,Y=R.length,z=f;return k!==void 0&&(k=y(k),z=v),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?R[de-1]===void 0?H.charAt(1):R[de-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var y=new S;for(var _ in this._items)y._items[_]=this._items[_].slice(0);return y._nullItems=this._nullItems.slice(0),y},S.prototype.get=function(y,_){var s=_===null?this._nullItems:this._items[_]||null;if(s===null)return null;for(var h=null,o=0;o=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!x(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,R,N,k),I._type=ee}}}function x(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(i,"__esModule",{value:!0});var s=t(6),h=t(2),o=t(9),a=t(34),c=t(3),u=t(1),p=t(7),v=t(152),f=t(0),r=t(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return v.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=y(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(c.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new o.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new o.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new o.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),c.Guard.isDocumentNode(x)||c.Guard.isShadowRoot(x))throw new o.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(c.Guard.isDocumentNode(x))throw new o.NotSupportedError;if(c.Guard.isShadowRoot(x))throw new o.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new o.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=_(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var s=t(2),h=t(34),o=t(9),a=t(7),c=t(0),u=t(12),p=function(v){function f(){var r=v.call(this)||this;return r._children=new Set,r._namespace=null,r._namespacePrefix=null,r._localName="",r._customElementState="undefined",r._customElementDefinition=null,r._is=null,r._shadowRoot=null,r._attributeList=c.create_namedNodeMap(r),r._attributeChangeSteps=[],r._name="",r._assignedSlot=null,r}return S(f,v),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return c.element_getAnAttributeValue(this,"id")},set:function(r){c.element_setAnAttributeValue(this,"id",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return c.element_getAnAttributeValue(this,"class")},set:function(r){c.element_setAnAttributeValue(this,"class",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var r=c.element_getAnAttributeByName("class",this);return r===null&&(r=c.create_attr(this._nodeDocument,"class")),c.create_domTokenList(this,r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return c.element_getAnAttributeValue(this,"slot")},set:function(r){c.element_setAnAttributeValue(this,"slot",r)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var r,e,g=[];try{for(var b=y(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},f.prototype.getAttribute=function(r){var e=c.element_getAnAttributeByName(r,this);return e?e._value:null},f.prototype.getAttributeNS=function(r,e){var g=c.element_getAnAttributeByNamespaceAndLocalName(r,e,this);return g?g._value:null},f.prototype.setAttribute=function(r,e){if(!c.xml_isName(r))throw new o.InvalidCharacterError;this._namespace===a.namespace.HTML&&this._nodeDocument._type==="html"&&(r=r.toLowerCase());for(var g=null,b=0;b=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),s=t(71),h=t(0),o=t(12),a=function(c){function u(p){p===void 0&&(p="");var v=c.call(this,p)||this;return v._name="",v._assignedSlot=null,v}return S(u,c),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,v,f="";try{for(var r=y(h.text_contiguousTextNodes(this,!0)),e=r.next();!e.done;e=r.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(v=r.return)&&v.call(r)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,v){v===void 0&&(v="");var f=new u(v);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);i.TextImpl=a,o.idl_defineConst(a.prototype,"_nodeType",_.NodeType.Text)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();i.AbstractRangeImpl=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function y(_){this._activeFlag=!1,this._root=_,this._whatToShow=m.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();i.TraverserImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(0),y=t(12),_=function(){function s(h,o){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=m.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,o&&(this._bubbles=o.bubbles||!1,this._cancelable=o.cancelable||!1,this._composedFlag=o.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],o=this._path;if(o.length===0)return h;var a=this._currentTarget;if(a===null)throw new Error("Event currentTarget is null.");h.push(a);for(var c=0,u=0,p=o.length-1;p>=0;){if(o[p].rootOfClosedTree&&u++,o[p].invocationTarget===a){c=p;break}o[p].slotInClosedTree&&u--,p--}var v=u,f=u;for(p=c-1;p>=0;)o[p].rootOfClosedTree&&v++,v<=f&&h.unshift(o[p].invocationTarget),o[p].slotInClosedTree&&--v0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),_=t(3),s=t(1),h=t(99),o=t(73),a=t(17),c=t(173),u=t(30),p=t(52),v=t(37);i.document_elementInterface=function(f,r){return h.ElementImpl},i.document_internalCreateElementNS=function(f,r,e,g){var b=m(c.namespace_validateAndExtract(r,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},i.document_adopt=function(f,r){var e,g;if(f._nodeDocument!==r||f._parent!==null){var b=f._nodeDocument;if(f._parent&&v.mutation_remove(f,f._parent),r!==b)for(var x=a.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=r,_.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=r}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}y.dom.features.customElements&&_.Guard.isElementNode(x)&&x._customElementState==="custom"&&o.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,r]),y.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=a.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(l,i,t){"use strict";var m=this&&this.__values||function(a){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&a[c],p=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&p>=a.length&&(a=void 0),{value:a&&a[p++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(3),_=t(9),s=t(17),h=t(51),o=t(30);i.characterData_replaceData=function(a,c,u,p){var v,f,r=s.tree_nodeLength(a);if(c>r)throw new _.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+r+", Node is "+a.nodeName+".");c+u>r&&(u=r-c),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",a,null,null,a._data,[],[],null,null);var e=a._data.substring(0,c)+p+a._data.substring(c+u);a._data=e;try{for(var g=m(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===a&&x._start[1]>c&&x._start[1]<=c+u&&(x._start[1]=c),x._end[0]===a&&x._end[1]>c&&x._end[1]<=c+u&&(x._end[1]=c),x._start[0]===a&&x._start[1]>c+u&&(x._start[1]+=p.length-u),x._end[0]===a&&x._end[1]>c+u&&(x._end[1]+=p.length-u)}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}S.dom.features.steps&&y.Guard.isTextNode(a)&&a._parent!==null&&o.dom_runChildTextContentChangeSteps(a._parent)},i.characterData_substringData=function(a,c,u){var p=s.tree_nodeLength(a);if(c>p)throw new _.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+p+", Node is "+a.nodeName+".");return c+u>p?a._data.substr(c):a._data.substr(c,u)}},function(l,i,t){"use strict";var m=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var o=[],a=0;a=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(7);function s(o){var a=_.string.splitAStringOnASCIIWhitespace(o);return new Set(a)}function h(o){return S(o).join(" ")}i.orderedSet_parse=s,i.orderedSet_serialize=h,i.orderedSet_sanitize=function(o){return h(s(o))},i.orderedSet_contains=function(o,a,c){var u,p,v,f;try{for(var r=y(a),e=r.next();!e.done;e=r.next()){var g=e.value,b=!1;try{for(var x=(v=void 0,y(o)),E=x.next();!E.done;E=x.next()){var w=E.value;if(c){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){v={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(v)throw v.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=r.return)&&p.call(r)}finally{if(u)throw u.error}}return!0}},function(l,i,t){"use strict";t(179),Object.defineProperty(i,"__esModule",{value:!0});var m=t(262),S=t(110),y=t(1);S.dom.setFeatures(!1),i.createDocument=function(){var _=new m.DOMImplementation().createDocument(null,"root",null);return _.documentElement&&_.removeChild(_.documentElement),_},i.sanitizeInput=function(_,s){if(_==null)return _;if(s===void 0)return _+"";var h="";_+="";for(var o=0;o<_.length;o++){var a=_.charCodeAt(o);if(a===9||a===10||a===13||a>=32&&a<=55295||a>=57344&&a<=65533)h+=_.charAt(o);else if(a>=55296&&a<=56319&&o<_.length-1){var c=_.charCodeAt(o+1);c>=56320&&c<=57343?(a=1024*(a-55296)+c-56320+65536,h+=String.fromCodePoint(a),o++):h+=y.isString(s)?s:s(_.charAt(o),o,_)}else h+=y.isString(s)?s:s(_.charAt(o),o,_)}return h}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(153);i.AbortController=S.AbortControllerImpl;var y=t(154);i.AbortSignal=y.AbortSignalImpl;var _=t(102);i.AbstractRange=_.AbstractRangeImpl;var s=t(157);i.Attr=s.AttrImpl;var h=t(158);i.CDATASection=h.CDATASectionImpl;var o=t(71);i.CharacterData=o.CharacterDataImpl;var a=t(263),c=t(159);i.Comment=c.CommentImpl;var u=t(171);i.CustomEvent=u.CustomEventImpl;var p=t(100);i.DocumentFragment=p.DocumentFragmentImpl;var v=t(98);i.Document=v.DocumentImpl;var f=t(264),r=t(155);i.DocumentType=r.DocumentTypeImpl;var e=t(6);i.dom=e.dom;var g=t(148);i.DOMImplementation=g.DOMImplementationImpl;var b=t(170);i.DOMTokenList=b.DOMTokenListImpl;var x=t(99);i.Element=x.ElementImpl;var E=t(104);i.Event=E.EventImpl;var w=t(70);i.EventTarget=w.EventTargetImpl;var D=t(161);i.HTMLCollection=D.HTMLCollectionImpl;var T=t(265);i.MutationObserver=T.MutationObserverImpl;var N=t(169);i.MutationRecord=N.MutationRecordImpl;var I=t(164);i.NamedNodeMap=I.NamedNodeMapImpl;var R=t(168);i.NodeFilter=R.NodeFilterImpl;var k=t(34);i.Node=k.NodeImpl;var G=t(166);i.NodeIterator=G.NodeIteratorImpl;var $=t(162);i.NodeList=$.NodeListImpl;var Y=t(163);i.NodeListStatic=Y.NodeListStaticImpl;var z=t(266),X=t(267),H=t(268),ee=t(160);i.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=t(165);i.Range=re.RangeImpl;var de=t(156);i.ShadowRoot=de.ShadowRootImpl;var ve=t(269),ne=t(270);i.StaticRange=ne.StaticRangeImpl;var Q=t(101);i.Text=Q.TextImpl;var ie=t(103);i.Traverser=ie.TraverserImpl;var le=t(167);i.TreeWalker=le.TreeWalkerImpl;var fe=t(149);i.Window=fe.WindowImpl;var P=t(151);i.XMLDocument=P.XMLDocumentImpl,m.applyMixin(x.ElementImpl,a.ChildNodeImpl),m.applyMixin(o.CharacterDataImpl,a.ChildNodeImpl),m.applyMixin(r.DocumentTypeImpl,a.ChildNodeImpl),m.applyMixin(v.DocumentImpl,f.DocumentOrShadowRootImpl),m.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),m.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(o.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(v.DocumentImpl,X.NonElementParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),m.applyMixin(v.DocumentImpl,H.ParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),m.applyMixin(x.ElementImpl,H.ParentNodeImpl),m.applyMixin(Q.TextImpl,ve.SlotableImpl),m.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.EOF=0]="EOF",m[m.Declaration=1]="Declaration",m[m.DocType=2]="DocType",m[m.Element=3]="Element",m[m.Text=4]="Text",m[m.CDATA=5]="CDATA",m[m.PI=6]="PI",m[m.Comment=7]="Comment",m[m.ClosingTag=8]="ClosingTag"}(i.TokenType||(i.TokenType={}))},function(l,i,t){"use strict";t(64),t(20),t(66);var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(1),_=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){var c=this,u=this._builderOptions,p=null;return y.isFunction(a)?p=this.parse(o,a.apply(this)):y.isArray(a)||y.isSet(a)?y.forEachArray(a,function(v){return p=c.parse(o,v)},this):y.isMap(a)||y.isObject(a)?y.forEachObject(a,function(v,f){if(y.isFunction(f)&&(f=f.apply(c)),u.ignoreConverters||v.indexOf(u.convert.att)!==0)if(u.ignoreConverters||v.indexOf(u.convert.text)!==0)if(u.ignoreConverters||v.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||v.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||v.indexOf(u.convert.ins)!==0){if(!((y.isArray(f)||y.isSet(f))&&y.isEmpty(f))){if((y.isMap(f)||y.isObject(f))&&y.isEmpty(f))p=c.element(o,void 0,c.sanitize(v))||p;else if(u.keepNullNodes||f!=null)if(y.isArray(f)||y.isSet(f))y.forEachArray(f,function(x){var E={};E[v]=x,p=c.parse(o,E)},c);else if(y.isMap(f)||y.isObject(f))(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.parse(r,f));else if(f!=null&&f!==""){var r;(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.text(r,c._decodeText(c.sanitize(f))))}else p=c.element(o,void 0,c.sanitize(v))||p}}else if(y.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=c.instruction(o,c.sanitize(g),c.sanitize(b))||p}else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=c.instruction(o,c.sanitize(w),c.sanitize(D))||p},c):y.forEachObject(f,function(x,E){return p=c.instruction(o,c.sanitize(x),c.sanitize(E))||p},c);else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(x){return p=c.comment(o,c.sanitize(x))||p},c):p=c.comment(o,c.sanitize(f))||p;else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(x){return p=c.cdata(o,c.sanitize(x))||p},c):p=c.cdata(o,c.sanitize(f))||p;else p=y.isMap(f)||y.isObject(f)?c.parse(o,f):c.text(o,c._decodeText(c.sanitize(f)))||p;else if(v===u.convert.att){if(y.isArray(f)||y.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+o._debugInfo());y.forEachObject(f,function(x,E){p=c.attribute(o,void 0,c.sanitize(x),c._decodeAttributeValue(c.sanitize(E)))||p})}else p=c.attribute(o,void 0,c.sanitize(v.substr(u.convert.att.length)),c._decodeAttributeValue(c.sanitize(f)))||p},this):(u.keepNullNodes||a!=null)&&(p=this.text(o,this._decodeText(this.sanitize(a)))||p),p||o},h}(t(75).BaseReader);i.ObjectReader=_},function(l,i,t){"use strict";var m=t(39);l.exports=new m({explicit:[t(286),t(287),t(288)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};i.BaseCBWriter=m},function(l,i,t){var m=t(16),S=t(8),y=t(116);l.exports=!m&&!S(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(l,i,t){var m=t(11),S=t(13),y=m.document,_=S(y)&&S(y.createElement);l.exports=function(s){return _?y.createElement(s):{}}},function(l,i,t){var m=t(118),S=Function.toString;typeof m.inspectSource!="function"&&(m.inspectSource=function(y){return S.call(y)}),l.exports=m.inspectSource},function(l,i,t){var m=t(11),S=t(80),y=m["__core-js_shared__"]||S("__core-js_shared__",{});l.exports=y},function(l,i,t){var m=t(14),S=t(187),y=t(55),_=t(15);l.exports=function(s,h){for(var o=S(h),a=_.f,c=y.f,u=0;uc;)m(a,o=h[c++])&&(~y(u,o)||u.push(o));return u}},function(l,i,t){var m=t(24),S=t(26),y=t(83),_=function(s){return function(h,o,a){var c,u=m(h),p=S(u.length),v=y(a,p);if(s&&o!=o){for(;p>v;)if((c=u[v++])!=c)return!0}else for(;p>v;v++)if((s||v in u)&&u[v]===o)return s||v||0;return!s&&-1}};l.exports={includes:_(!0),indexOf:_(!1)}},function(l,i,t){var m=t(8),S=/#|\.prototype\./,y=function(a,c){var u=s[_(a)];return u==o||u!=h&&(typeof c=="function"?m(c):!!c)},_=y.normalize=function(a){return String(a).replace(S,".").toLowerCase()},s=y.data={},h=y.NATIVE="N",o=y.POLYFILL="P";l.exports=y},function(l,i,t){var m=t(86);l.exports=m&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(l,i,t){var m=t(5);i.f=m},function(l,i,t){var m=t(120),S=t(14),y=t(125),_=t(15).f;l.exports=function(s){var h=m.Symbol||(m.Symbol={});S(h,s)||_(h,s,{value:y.f(s)})}},function(l,i){l.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},function(l,i,t){var m=t(13),S=t(59),y=t(5)("species");l.exports=function(_,s){var h;return S(_)&&(typeof(h=_.constructor)!="function"||h!==Array&&!S(h.prototype)?m(h)&&(h=h[y])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(l,i,t){var m,S,y=t(11),_=t(193),s=y.process,h=s&&s.versions,o=h&&h.v8;o?S=(m=o.split("."))[0]+m[1]:_&&(!(m=_.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=_.match(/Chrome\/(\d+)/))&&(S=m[1]),l.exports=S&&+S},function(l,i,t){var m=t(5),S=t(60),y=t(15),_=m("unscopables"),s=Array.prototype;s[_]==null&&y.f(s,_,{configurable:!0,value:S(null)}),l.exports=function(h){s[_][h]=!0}},function(l,i,t){"use strict";var m,S,y,_=t(132),s=t(21),h=t(14),o=t(5),a=t(44),c=o("iterator"),u=!1;[].keys&&("next"in(y=[].keys())?(S=_(_(y)))!==Object.prototype&&(m=S):u=!0),m==null&&(m={}),a||h(m,c)||s(m,c,function(){return this}),l.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:u}},function(l,i,t){var m=t(14),S=t(27),y=t(57),_=t(196),s=y("IE_PROTO"),h=Object.prototype;l.exports=_?Object.getPrototypeOf:function(o){return o=S(o),m(o,s)?o[s]:typeof o.constructor=="function"&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?h:null}},function(l,i,t){var m=t(18),S=t(197);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,_=!1,s={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),_=s instanceof Array}catch{}return function(h,o){return m(h),S(o),_?y.call(h,o):h.__proto__=o,h}}():void 0)},function(l,i,t){"use strict";var m=t(56),S=t(15),y=t(40);l.exports=function(_,s,h){var o=m(s);o in _?S.f(_,o,y(0,h)):_[o]=h}},function(l,i,t){var m=t(90),S=t(42),y=t(5)("toStringTag"),_=S(function(){return arguments}())=="Arguments";l.exports=m?S:function(s){var h,o,a;return s===void 0?"Undefined":s===null?"Null":typeof(o=function(c,u){try{return c[u]}catch{}}(h=Object(s),y))=="string"?o:_?S(h):(a=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},function(l,i,t){"use strict";var m=t(18);l.exports=function(){var S=m(this),y="";return S.global&&(y+="g"),S.ignoreCase&&(y+="i"),S.multiline&&(y+="m"),S.dotAll&&(y+="s"),S.unicode&&(y+="u"),S.sticky&&(y+="y"),y}},function(l,i,t){var m=t(47),S=t(35),y=function(_){return function(s,h){var o,a,c=String(S(s)),u=m(h),p=c.length;return u<0||u>=p?_?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===p||(a=c.charCodeAt(u+1))<56320||a>57343?_?c.charAt(u):o:_?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};l.exports={codeAt:y(!1),charAt:y(!0)}},function(l,i,t){var m=t(4),S=t(27),y=t(61);m({target:"Object",stat:!0,forced:t(8)(function(){y(1)})},{keys:function(_){return y(S(_))}})},function(l,i,t){"use strict";var m=t(4),S=t(11),y=t(123),_=t(25),s=t(140),h=t(141),o=t(142),a=t(13),c=t(8),u=t(208),p=t(62),v=t(209);l.exports=function(f,r,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];_(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!a(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(f,typeof E!="function"||!(b||w.forEach&&!c(function(){new E().entries().next()}))))D=e.getConstructor(r,f,g,x),s.REQUIRED=!0;else if(y(f,!0)){var I=new D,R=I[x](b?{}:-0,1)!=I,k=c(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&c(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=r(function(Y,z){o(Y,D,f);var X=v(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,m({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(l,i,t){var m=t(45),S=t(13),y=t(14),_=t(15).f,s=t(58),h=t(204),o=s("meta"),a=0,c=Object.isExtensible||function(){return!0},u=function(v){_(v,o,{value:{objectID:"O"+ ++a,weakData:{}}})},p=l.exports={REQUIRED:!1,fastKey:function(v,f){if(!S(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!y(v,o)){if(!c(v))return"F";if(!f)return"E";u(v)}return v[o].objectID},getWeakData:function(v,f){if(!y(v,o)){if(!c(v))return!0;if(!f)return!1;u(v)}return v[o].weakData},onFreeze:function(v){return h&&p.REQUIRED&&c(v)&&!y(v,o)&&u(v),v}};m[o]=!0},function(l,i,t){var m=t(18),S=t(205),y=t(26),_=t(87),s=t(206),h=t(207),o=function(a,c){this.stopped=a,this.result=c};(l.exports=function(a,c,u,p,v){var f,r,e,g,b,x,E,w=_(c,u,p?2:1);if(v)f=a;else{if(typeof(r=s(a))!="function")throw TypeError("Target is not iterable");if(S(r)){for(e=0,g=y(a.length);g>e;e++)if((b=p?w(m(E=a[e])[0],E[1]):w(a[e]))&&b instanceof o)return b;return new o(!1)}f=r.call(a)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof o)return b;return new o(!1)}).stop=function(a){return new o(!0,a)}},function(l,i){l.exports=function(t,m,S){if(!(t instanceof m))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return t}},function(l,i,t){"use strict";var m=t(15).f,S=t(60),y=t(210),_=t(87),s=t(142),h=t(141),o=t(88),a=t(211),c=t(16),u=t(140).fastKey,p=t(43),v=p.set,f=p.getterFor;l.exports={getConstructor:function(r,e,g,b){var x=r(function(T,N){s(T,x,e),v(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),c||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var R,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),c?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,R=E(T),k=u(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,c?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),c?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),R=_(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),y(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),c&&m(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(r,e,g){var b=e+" Iterator",x=f(e),E=f(b);o(r,e,function(w,D){v(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),a(e)}}},function(l,i,t){"use strict";var m,S=t(4),y=t(55).f,_=t(26),s=t(222),h=t(35),o=t(224),a=t(44),c="".endsWith,u=Math.min,p=o("endsWith");S({target:"String",proto:!0,forced:!!(a||p||(m=y(String.prototype,"endsWith"),!m||m.writable))&&!p},{endsWith:function(v){var f=String(h(this));s(v);var r=arguments.length>1?arguments[1]:void 0,e=_(f.length),g=r===void 0?e:u(_(r),e),b=String(v);return c?c.call(f,b,g):f.slice(g-b.length,g)===b}})},function(l,i,t){"use strict";(function(m){var S=t(229),y=t(230),_=t(231);function s(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(o.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function r(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return R(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,M){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=M?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(M)return-1;B=P.length-1}else if(B<0){if(!M)return-1;B=0}if(typeof C=="string"&&(C=o.from(C,L)),o.isBuffer(C))return C.length===0?-1:b(P,C,B,L,M);if(typeof C=="number")return C&=255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,M);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,M){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(M){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Me=!0,je=0;jeM&&(L=M):L=M;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function R(P,C,B){B=Math.min(P.length,B);for(var L=[],M=C;M239?4:ge>223?3:ge>191?2:1;if(M+Me<=B)switch(Me){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[M+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[M+1],W=P[M+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[M+1],W=P[M+2],ae=P[M+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Me=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),M+=Me}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},o.prototype.compare=function(P,C,B,L,M){if(!o.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),M===void 0&&(M=this.length),C<0||B>P.length||L<0||M>this.length)throw new RangeError("out of range index");if(L>=M&&C>=B)return 0;if(L>=M)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(M>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,M),ge=P.slice(C,B),Ae=0;AeM)&&(B=M),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var M=C;ML)&&(B=L);for(var M="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,M,q){if(!o.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>M||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var M=0,q=Math.min(P.length-B,2);M>>8*(L?M:1-M)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var M=0,q=Math.min(P.length-B,4);M>>8*(L?M:3-M)&255}function re(P,C,B,L,M,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,M){return M||re(P,0,B,4),y.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,M){return M||re(P,0,B,8),y.write(P,C,B,L,52,8),B+8}o.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(M*=256);)L+=this[P+--C]*M;return L},o.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},o.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},o.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},o.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},o.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},o.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],M=1,q=0;++q=(M*=128)&&(L-=Math.pow(2,8*C)),L},o.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,M=1,q=this[P+--L];L>0&&(M*=256);)q+=this[P+--L]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*C)),q},o.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},o.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},o.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},o.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),y.read(this,P,!0,23,4)},o.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),y.read(this,P,!1,23,4)},o.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),y.read(this,P,!0,52,8)},o.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),y.read(this,P,!1,52,8)},o.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var M=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+M]=P/q&255;return C+B},o.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},o.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},o.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},o.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},o.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},o.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},o.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},o.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},o.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},o.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},o.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--M)P[M+C]=this[M+B];else if(q<1e3||!o.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!M){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}M=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),M=B;continue}B=65536+(M-55296<<10|B-56320)}else M&&(C-=3)>-1&&q.push(239,191,189);if(M=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var M=0;M=C.length||M>=P.length);++M)C[M+B]=P[M];return M}}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isASCIIByte=function(m){return m>=0&&m<=127}},function(l,i,t){"use strict";var m=this&&this.__read||function(y,_){var s=typeof Symbol=="function"&&y[Symbol.iterator];if(!s)return y;var h,o,a=s.call(y),c=[];try{for(;(_===void 0||_-- >0)&&!(h=a.next()).done;)c.push(h.value)}catch(u){o={error:u}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return c},S=this&&this.__spread||function(){for(var y=[],_=0;_=65&&s<=90&&(y[_]=s+32)}},i.byteUppercase=function(y){for(var _=0;_=97&&s<=122&&(y[_]=s-32)}},i.byteCaseInsensitiveMatch=function(y,_){if(y.length!==_.length)return!1;for(var s=0;s=65&&h<=90&&(h+=32),o>=65&&o<=90&&(o+=32),h!==o)return!1}return!0},i.startsWith=function(y,_){for(var s=0;;){if(s>=y.length)return!1;if(s>=_.length)return!0;if(y[s]!==_[s])return!1;s++}},i.byteLessThan=function(y,_){for(var s=0;;){if(s>=y.length)return!1;if(s>=_.length)return!0;var h=y[s],o=_[s];if(ho)return!1;s++}},i.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,S(y))}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(6),S=t(7),y=t(0),_=t(12),s=function(){function h(o){this._associatedDocument=o||m.dom.window.document}return h.prototype.createDocumentType=function(o,a,c){return y.namespace_validate(o),y.create_documentType(this._associatedDocument,o,a,c)},h.prototype.createDocument=function(o,a,c){c===void 0&&(c=null);var u=y.create_xmlDocument(),p=null;return a&&(p=y.document_internalCreateElementNS(u,o,a)),c&&u.appendChild(c),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,o===S.namespace.HTML?u._contentType="application/xhtml+xml":o===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(o){var a=y.create_document();a._type="html",a._contentType="text/html",a.appendChild(y.create_documentType(a,"html","",""));var c=y.element_createAnElement(a,"html",S.namespace.HTML);a.appendChild(c);var u=y.element_createAnElement(a,"head",S.namespace.HTML);if(c.appendChild(u),o!==void 0){var p=y.element_createAnElement(a,"title",S.namespace.HTML);u.appendChild(p);var v=y.create_text(a,o);p.appendChild(v)}var f=y.element_createAnElement(a,"body",S.namespace.HTML);return c.appendChild(f),a._origin=this._associatedDocument._origin,a},h.prototype.hasFeature=function(){return!0},h._create=function(o){return new h(o)},h}();i.DOMImplementationImpl=s,_.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(70),_=t(1),s=t(0),h=function(o){function a(){var c=o.call(this)||this;return c._signalSlots=new Set,c._mutationObserverMicrotaskQueued=!1,c._mutationObservers=new Set,c._iteratorList=new _.FixedSizeSet,c._associatedDocument=s.create_document(),c}return S(a,o),Object.defineProperty(a.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),a._create=function(){return new a},a}(y.EventTargetImpl);i.WindowImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function y(){}return y.isNode=function(_){return!!_&&_._nodeType!==void 0},y.isDocumentNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.Document},y.isDocumentTypeNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.DocumentType},y.isDocumentFragmentNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.DocumentFragment},y.isAttrNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.Attribute},y.isCharacterDataNode=function(_){if(!y.isNode(_))return!1;var s=_._nodeType;return s===m.NodeType.Text||s===m.NodeType.ProcessingInstruction||s===m.NodeType.Comment||s===m.NodeType.CData},y.isTextNode=function(_){return y.isNode(_)&&(_._nodeType===m.NodeType.Text||_._nodeType===m.NodeType.CData)},y.isExclusiveTextNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.Text},y.isCDATASectionNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.CData},y.isCommentNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.Comment},y.isProcessingInstructionNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.ProcessingInstruction},y.isElementNode=function(_){return y.isNode(_)&&_._nodeType===m.NodeType.Element},y.isCustomElementNode=function(_){return y.isElementNode(_)&&_._customElementState==="custom"},y.isShadowRoot=function(_){return!!_&&_.host!==void 0},y.isMouseEvent=function(_){return!!_&&_.screenX!==void 0&&_.screenY!=null},y.isSlotable=function(_){return!!_&&_._name!==void 0&&_._assignedSlot!==void 0&&(y.isTextNode(_)||y.isElementNode(_))},y.isSlot=function(_){return!!_&&_._name!==void 0&&_._assignedNodes!==void 0&&y.isElementNode(_)},y.isWindow=function(_){return!!_&&_.navigator!==void 0},y.isEventListener=function(_){return!!_&&_.handleEvent!==void 0},y.isRegisteredObserver=function(_){return!!_&&_.observer!==void 0&&_.options!==void 0},y.isTransientRegisteredObserver=function(_){return!!_&&_.source!==void 0&&y.isRegisteredObserver(_)},y}();i.Guard=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(_,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(_,s)},function(_,s){function h(){this.constructor=_}m(_,s),_.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var y=function(_){function s(){return _.call(this)||this}return S(s,_),s}(t(98).DocumentImpl);i.XMLDocumentImpl=y},function(l,i,t){"use strict";var m=this&&this.__values||function(L){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&L[M],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,M){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(i,"__esModule",{value:!0});var y,_=t(1),s=t(243),h=t(7),o=t(244),a={ftp:21,file:null,http:80,https:443,ws:80,wss:443},c=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,r=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){y!==void 0&&y.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in a}function x(L){return b(L.scheme)}function E(L){return a[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,M){var q,W;M===void 0&&(M=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=m(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),M||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return _.isNumber(L)?N(L):_.isArray(L)?"["+I(L)+"]":L}function N(L){for(var M="",q=L,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(L){for(var M="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Me=!1,je=0;je<8;je++)Me&&L[je]===0||(Me&&(Me=!1),q!==je?(M+=L[je].toString(16),je!==7&&(M+=":")):(M+=je===0?"::":":",Me=!0));return M}function R(L,M,q,W,ae){var me,ge,Ae,Me;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;M===void 0&&(M=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new _.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&M!==null&&M.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=M.scheme,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):M.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,se.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,m(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,v);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(se.c()){case"":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=h.list.clone(M.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(M===null||M.scheme!=="file"||X(se.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),c)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=_.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,m(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Me=Et.return)&&Me.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var M=L.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(L){var M=L.path;M.length!==0&&(L.scheme==="file"&&M.length===1&&Y(M[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,M){if(M===void 0&&(M=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(M)return ve(L);var q=B(_.utf8Decode(le(L)));if(q===null||r.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||_.isNumber(W)?W:q}function ee(L,M){M===void 0&&(M={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(M.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(M.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var M,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Me=m(ge),je=Me.next();!je.done;je=Me.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){M={error:Fe}}finally{try{je&&!je.done&&(q=Me.return)&&q.call(Me)}finally{if(M)throw M.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=m(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var M,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new _.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Me=0;me.c()!=="";){var je=null;if(Me>0){if(!(me.c()==="."&&Me<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Me!==2&&Me!==4||W++}if(Me!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)M=S([q[ae+Ye-1],q[W]],2),q[W]=M[0],q[ae+Ye-1]=M[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=m(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,c)}catch(ge){M={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var M=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||M(L[ae+1])&&M(L[ae+2])){var ge=parseInt(_.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(_.utf8Encode(L))}function fe(L,M){var q,W;if(!M.test(L))return L;var ae=_.utf8Encode(L),me="";try{for(var ge=m(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Me){q={error:Me}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var M,q,W,ae,me=[],ge=[];try{for(var Ae=m(L),Me=Ae.next();!Me.done;Me=Ae.next()){var je=Me.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){M={error:be}}finally{try{Me&&!Me.done&&(q=Ae.return)&&q.call(Ae)}finally{if(M)throw M.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=m(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){M={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function B(L,M){M===void 0&&(M=!1);var q=o.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}i.setValidationErrorCallback=function(L){y=L},i.newURL=g,i.isSpecialScheme=b,i.isSpecial=x,i.defaultPort=E,i.includesCredentials=w,i.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},i.urlSerializer=D,i.hostSerializer=T,i.iPv4Serializer=N,i.iPv6Serializer=I,i.urlParser=function(L,M,q){var W=R(L,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},i.basicURLParser=R,i.setTheUsername=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},i.setThePassword=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},i.isSingleDotPathSegment=k,i.isDoubleDotPathSegment=G,i.shorten=$,i.isNormalizedWindowsDriveLetter=Y,i.isWindowsDriveLetter=z,i.startsWithAWindowsDriveLetter=X,i.hostParser=H,i.iPv4NumberParser=ee,i.iPv4Parser=re,i.iPv6Parser=de,i.opaqueHostParser=ve,i.resolveABlobURL=ne,i.percentEncode=Q,i.percentDecode=ie,i.stringPercentDecode=le,i.utf8PercentEncode=fe,i.hostEquals=function(L,M){return L===M},i.urlEquals=function(L,M,q){return q===void 0&&(q=!1),D(L,q)===D(M,q)},i.urlEncodedStringParser=function(L){return P(_.utf8Encode(L))},i.urlEncodedParser=P,i.urlEncodedByteSerializer=C,i.urlEncodedSerializer=function(L,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=m(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Me=C(_.utf8Encode(Ae[0])),je=Ae[1];je=C(_.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Me+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},i.origin=function L(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return s.OpaqueOrigin}},i.domainToASCII=B,i.domainToUnicode=function(L,M){M===void 0&&(M=!1);var q=o.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},i.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var M=L[0]+"://"+T(L[1]);return L[2]!==null&&(M+=":"+L[2].toString()),M}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(0),S=function(){function y(){this._signal=m.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){m.abort_signalAbort(this._signal)},y}();i.AbortControllerImpl=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(70),_=t(0),s=function(h){function o(){var a=h.call(this)||this;return a._abortedFlag=!1,a._abortAlgorithms=new Set,a}return S(o,h),Object.defineProperty(o.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onabort",{get:function(){return _.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(a){_.event_setterEventHandlerIDLAttribute(this,"onabort",a)},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(y.EventTargetImpl);i.AbortSignalImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(2),_=t(34),s=t(12),h=function(o){function a(c,u,p){var v=o.call(this)||this;return v._name="",v._publicId="",v._systemId="",v._name=c,v._publicId=u,v._systemId=p,v}return S(a,o),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),a.prototype.before=function(){for(var c=[],u=0;u=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(1),_=t(0),s=function(){function h(o){return this._live=!0,this._filter=null,this._length=0,this._root=o,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(o){if(o<0||o>this.length-1)return null;if(o=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(1),_=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(o){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var o=0;return{next:function(){return o===this.length?{done:!0,value:null}:{done:!1,value:o++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator]();return{next:function(){return o.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator](),a=0;return{next:function(){var c=o.next();return c.done?{done:!0,value:null}:{done:!1,value:[a++,c.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,o){var a,c;o===void 0&&(o=S.dom.window);var u=0;try{for(var p=m(this._items),v=p.next();!v.done;v=p.next()){var f=v.value;h.call(o,f,u++,this)}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}},s.prototype.get=function(h,o,a){if(!y.isString(o))return Reflect.get(h,o,a);var c=Number(o);return isNaN(c)?Reflect.get(h,o,a):h._items[c]||void 0},s.prototype.set=function(h,o,a,c){if(!y.isString(o))return Reflect.set(h,o,a,c);var u=Number(o);return isNaN(u)?Reflect.set(h,o,a,c):u>=0&&u=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),s=t(2),h=t(102),o=t(9),a=t(0),c=t(12),u=t(3),p=function(v){function f(){var r=v.call(this)||this,e=_.dom.window._associatedDocument;return r._start=[e,0],r._end=[e,0],_.dom.rangeList.add(r),r}return S(f,v),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var r=this._start[0];!a.tree_isAncestorOf(this._end[0],r,!0);){if(r._parent===null)throw new Error("Parent node is null.");r=r._parent}return r},enumerable:!0,configurable:!0}),f.prototype.setStart=function(r,e){a.range_setTheStart(this,r,e)},f.prototype.setEnd=function(r,e){a.range_setTheEnd(this,r,e)},f.prototype.setStartBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r))},f.prototype.setStartAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r)+1)},f.prototype.setEndBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r))},f.prototype.setEndAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r)+1)},f.prototype.collapse=function(r){r?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(r){a.range_select(r,this)},f.prototype.selectNodeContents=function(r){if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;var e=a.tree_nodeLength(r);this._start=[r,0],this._end=[r,e]},f.prototype.compareBoundaryPoints=function(r,e){if(r!==s.HowToCompare.StartToStart&&r!==s.HowToCompare.StartToEnd&&r!==s.HowToCompare.EndToEnd&&r!==s.HowToCompare.EndToStart)throw new o.NotSupportedError;if(a.range_root(this)!==a.range_root(e))throw new o.WrongDocumentError;var g,b;switch(r){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new o.NotSupportedError}var x=a.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var r,e,g,b;if(!a.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))a.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var R=y(a.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&a.range_isContained(G,this)||I.push(X)}}catch(H){r={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(r)throw r.error}}if(a.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!a.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=a.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&a.characterData_replaceData(x,E,a.tree_nodeLength(x)-E,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&a.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&a.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return a.range_extract(this)},f.prototype.cloneContents=function(){return a.range_cloneTheContents(this)},f.prototype.insertNode=function(r){return a.range_insert(r,this)},f.prototype.surroundContents=function(r){var e,g;try{for(var b=y(a.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new o.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(r)||u.Guard.isDocumentTypeNode(r)||u.Guard.isDocumentFragmentNode(r))throw new o.InvalidNodeTypeError;var w=a.range_extract(this);r._children.size!==0&&a.mutation_replaceAll(null,r),a.range_insert(r,this),a.mutation_append(w,r),a.range_select(r,this)},f.prototype.cloneRange=function(){return a.create_range(this._start,this._end)},f.prototype.detach=function(){_.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&a.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))throw new o.WrongDocumentError;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:a.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(r){if(a.tree_rootNode(r)!==a.range_root(this))return!1;var e=r._parent;if(e===null)return!0;var g=a.tree_index(r);return a.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&a.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var r,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=y(a.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(r,e){var g=new f;return r&&(g._start=r),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);i.RangeImpl=p,c.idl_defineConst(p.prototype,"START_TO_START",0),c.idl_defineConst(p.prototype,"START_TO_END",1),c.idl_defineConst(p.prototype,"END_TO_END",2),c.idl_defineConst(p.prototype,"END_TO_START",3)},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(103),_=t(0),s=function(h){function o(a,c,u){var p=h.call(this,a)||this;return p._iteratorCollection=void 0,p._reference=c,p._pointerBeforeReference=u,_.nodeIterator_iteratorList().add(p),p}return S(o,h),Object.defineProperty(o.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),o.prototype.nextNode=function(){return _.nodeIterator_traverse(this,!0)},o.prototype.previousNode=function(){return _.nodeIterator_traverse(this,!1)},o.prototype.detach=function(){_.nodeIterator_iteratorList().delete(this)},o._create=function(a,c,u){return new o(a,c,u)},o}(y.TraverserImpl);i.NodeIteratorImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(2),_=t(103),s=t(0),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._current=u,p}return S(a,o),Object.defineProperty(a.prototype,"currentNode",{get:function(){return this._current},set:function(c){this._current=c},enumerable:!0,configurable:!0}),a.prototype.parentNode=function(){for(var c=this._current;c!==null&&c!==this._root;)if((c=c._parent)!==null&&s.traversal_filter(this,c)===y.FilterResult.Accept)return this._current=c,c;return null},a.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},a.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},a.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},a.prototype.previousNode=function(){for(var c=this._current;c!==this._root;){for(var u=c._previousSibling;u;){c=u;for(var p=s.traversal_filter(this,c);p!==y.FilterResult.Reject&&c._lastChild;)c=c._lastChild,p=s.traversal_filter(this,c);if(p===y.FilterResult.Accept)return this._current=c,c;u=c._previousSibling}if(c===this._root||c._parent===null)return null;if(c=c._parent,s.traversal_filter(this,c)===y.FilterResult.Accept)return this._current=c,c}return null},a.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},a.prototype.nextNode=function(){for(var c=this._current,u=y.FilterResult.Accept;;){for(;u!==y.FilterResult.Reject&&c._firstChild;)if(c=c._firstChild,(u=s.traversal_filter(this,c))===y.FilterResult.Accept)return this._current=c,c;for(var p=null,v=c;v!==null;){if(v===this._root)return null;if((p=v._nextSibling)!==null){c=p;break}v=v._parent}if((u=s.traversal_filter(this,c))===y.FilterResult.Accept)return this._current=c,c}},a._create=function(c,u){return new a(c,u)},a}(_.TraverserImpl);i.TreeWalkerImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(12),y=function(){function _(){}return _.prototype.acceptNode=function(s){return m.FilterResult.Accept},_._create=function(){return new _},_.FILTER_ACCEPT=1,_.FILTER_REJECT=2,_.FILTER_SKIP=3,_.SHOW_ALL=4294967295,_.SHOW_ELEMENT=1,_.SHOW_ATTRIBUTE=2,_.SHOW_TEXT=4,_.SHOW_CDATA_SECTION=8,_.SHOW_ENTITY_REFERENCE=16,_.SHOW_ENTITY=32,_.SHOW_PROCESSING_INSTRUCTION=64,_.SHOW_COMMENT=128,_.SHOW_DOCUMENT=256,_.SHOW_DOCUMENT_TYPE=512,_.SHOW_DOCUMENT_FRAGMENT=1024,_.SHOW_NOTATION=2048,_}();i.NodeFilterImpl=y,S.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(y.prototype,"FILTER_REJECT",2),S.idl_defineConst(y.prototype,"FILTER_SKIP",3),S.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(y.prototype,"SHOW_TEXT",4),S.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(y.prototype,"SHOW_ENTITY",32),S.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(y.prototype,"SHOW_COMMENT",128),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(y,_,s,h,o,a,c,u,p){this._type=y,this._target=_,this._addedNodes=s,this._removedNodes=h,this._previousSibling=o,this._nextSibling=a,this._attributeName=c,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(y,_,s,h,o,a,c,u,p){return new S(y,_,s,h,o,a,c,u,p)},S}();i.MutationRecordImpl=m},function(l,i,t){"use strict";var m=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(9),_=t(7),s=t(0),h=function(){function o(a,c){this._element=a,this._attribute=c,this._tokenSet=new Set;var u=c._localName,p=s.element_getAnAttributeValue(a,u),v=this;this._element._attributeChangeSteps.push(function(f,r,e,g,b){r===v._attribute._localName&&b===null&&(g?v._tokenSet=s.orderedSet_parse(g):v._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(a,u,p,p,null)}return Object.defineProperty(o.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),o.prototype.item=function(a){var c,u,p=0;try{for(var v=m(this._tokenSet),f=v.next();!f.done;f=v.next()){var r=f.value;if(p===a)return r;p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}return null},o.prototype.contains=function(a){return this._tokenSet.has(a)},o.prototype.add=function(){for(var a,c,u=[],p=0;p=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(S===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&S=56320&&_<=57343&&(S++,(y=1024*(y-55296)+_-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},i.xml_isQName=function(m){for(var S=!1,y=0;y=97&&_<=122||_>=65&&_<=90||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(y===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(y===0||_!==58){if(_>=55296&&_<=56319&&y=56320&&s<=57343&&(y++,(_=1024*(_-55296)+s-56320+65536)>=65536&&_<=983039))continue}return!1}if(S||y===m.length-1)return!1;S=!0}}return!0},i.xml_isLegalChar=function(m){for(var S=0;S=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&S=56320&&_<=57343&&(S++,(y=1024*(y-55296)+_-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},i.xml_isPubidChar=function(m){for(var S=0;S=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(17);i.boundaryPoint_position=function y(_,s){var h=_[0],o=_[1],a=s[0],c=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(a),"Boundary points must share the same root node."),h===a)return o===c?m.BoundaryPosition.Equal:o=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(3),_=t(7),s=t(29),h=t(108),o=t(30),a=t(37),c=t(52);i.node_stringReplaceAll=function(u,p){var v=null;u!==""&&(v=s.create_text(p._nodeDocument,u)),a.mutation_replaceAll(v,p)},i.node_clone=function u(p,v,f){var r,e,g,b,x;if(v===void 0&&(v=null),f===void 0&&(f=!1),v===null&&(v=p._nodeDocument),y.Guard.isElementNode(p)){x=c.element_createAnElement(v,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=m(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,v);c.element_append(D,x)}}catch(G){r={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(r)throw r.error}}}else if(y.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(y.Guard.isDocumentTypeNode(p))x=s.create_documentType(v,p._name,p._publicId,p._systemId);else if(y.Guard.isAttrNode(p)){var N=s.create_attr(v,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=y.Guard.isExclusiveTextNode(p)?s.create_text(v,p._data):y.Guard.isCDATASectionNode(p)?s.create_cdataSection(v,p._data):y.Guard.isCommentNode(p)?s.create_comment(v,p._data):y.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(v,p._target,p._data):y.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(v):Object.create(p);if(y.Guard.isDocumentNode(x)?(x._nodeDocument=x,v=x):x._nodeDocument=v,S.dom.features.steps&&o.dom_runCloningSteps(x,p,v,f),f)try{for(var I=m(p._children),R=I.next();!R.done;R=I.next()){var k=u(R.value,v,!0);a.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},i.node_equals=function u(p,v){var f,r,e,g;if(p._nodeType!==v._nodeType)return!1;if(y.Guard.isDocumentTypeNode(p)&&y.Guard.isDocumentTypeNode(v)){if(p._name!==v._name||p._publicId!==v._publicId||p._systemId!==v._systemId)return!1}else if(y.Guard.isElementNode(p)&&y.Guard.isElementNode(v)){if(p._namespace!==v._namespace||p._namespacePrefix!==v._namespacePrefix||p._localName!==v._localName||p._attributeList.length!==v._attributeList.length)return!1}else if(y.Guard.isAttrNode(p)&&y.Guard.isAttrNode(v)){if(p._namespace!==v._namespace||p._localName!==v._localName||p._value!==v._value)return!1}else if(y.Guard.isProcessingInstructionNode(p)&&y.Guard.isProcessingInstructionNode(v)){if(p._target!==v._target||p._data!==v._data)return!1}else if(y.Guard.isCharacterDataNode(p)&&y.Guard.isCharacterDataNode(v)&&p._data!==v._data)return!1;if(y.Guard.isElementNode(p)&&y.Guard.isElementNode(v)){var b={};try{for(var x=m(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(r=x.return)&&r.call(x)}finally{if(f)throw f.error}}try{for(var w=m(v._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==v._children.size)return!1;for(var I=p._children[Symbol.iterator](),R=v._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},i.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(v){return v._namespace===_.namespace.HTML&&v._qualifiedName===u.toLowerCase()||v._namespace!==_.namespace.HTML&&v._qualifiedName===u}):s.create_htmlCollection(p,function(v){return v._qualifiedName===u})},i.node_listOfElementsWithNamespace=function(u,p,v){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(v):u==="*"?s.create_htmlCollection(v,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(v,function(f){return f._namespace===u}):s.create_htmlCollection(v,function(f){return f._localName===p&&f._namespace===u})},i.node_listOfElementsWithClassNames=function(u,p){var v=h.orderedSet_parse(u);if(v.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(r){var e=r.classList;return h.orderedSet_contains(e._tokenSet,v,f)})},i.node_locateANamespacePrefix=function u(p,v){if(p._namespace===v&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(3),_=t(9),s=t(29),h=t(17),o=t(107),a=t(37);i.text_contiguousTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&y.Guard.isTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=y.Guard.isTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=y.Guard.isTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_contiguousExclusiveTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&y.Guard.isExclusiveTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=y.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=y.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_descendantTextContent=function(c){for(var u="",p=h.tree_getFirstDescendantNode(c,!1,!1,function(v){return y.Guard.isTextNode(v)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(c,p,!1,!1,function(v){return y.Guard.isTextNode(v)});return u},i.text_split=function(c,u){var p,v,f=c._data.length;if(u>f)throw new _.IndexSizeError;var r=f-u,e=o.characterData_substringData(c,u,r),g=s.create_text(c._nodeDocument,e),b=c._parent;if(b!==null){a.mutation_insert(g,b,c._nextSibling);try{for(var x=m(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===c&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===c&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(c);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(v=x.return)&&v.call(x)}finally{if(p)throw p.error}}}return o.characterData_replaceData(c,u,r,""),g}},function(l,i,t){"use strict";var m=t(4),S=t(41),y=t(24),_=t(48),s=[].join,h=S!=Object,o=_("join",",");m({target:"Array",proto:!0,forced:h||!o},{join:function(a){return s.call(y(this),a===void 0?",":a)}})},function(l,i,t){var m=t(4),S=t(83),y=String.fromCharCode,_=String.fromCodePoint;m({target:"String",stat:!0,forced:!!_&&_.length!=1},{fromCodePoint:function(s){for(var h,o=[],a=arguments.length,c=0;a>c;){if(h=+arguments[c++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");o.push(h<65536?y(h):y(55296+((h-=65536)>>10),h%1024+56320))}return o.join("")}})},function(l,i,t){"use strict";var m=this&&this.__read||function(_,s){var h=typeof Symbol=="function"&&_[Symbol.iterator];if(!h)return _;var o,a,c=h.call(_),u=[];try{for(;(s===void 0||s-- >0)&&!(o=c.next()).done;)u.push(o.value)}catch(p){a={error:p}}finally{try{o&&!o.done&&(h=c.return)&&h.call(c)}finally{if(a)throw a.error}}return u};Object.defineProperty(i,"__esModule",{value:!0});var S=t(111),y=function(){function _(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return _.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&_.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},_.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?_.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},_.prototype.declaration=function(){for(var s="",h="",o="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:o};var a=m(this.attribute(),2),c=a[0],u=a[1];c==="version"?s=u:c==="encoding"?h=u:c==="standalone"?o=u:this.throwError("Invalid attribute name: "+c)}this.throwError("Missing declaration end symbol `?>`")},_.prototype.doctype=function(){var s="",h="";this.skipSpace();var o=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:o,pubId:s,sysId:h}},_.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},_.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},_.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},_.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},_.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var o=this.attribute();h.push(o)}this.throwError("Missing opening element tag end symbol `>`")},_.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},_.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},_.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);_.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},_.prototype.eof=function(){return this._index>=this._length},_.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var o=0;othis._length&&(this._index=this._length)},_.prototype.skipSpace=function(){for(;!this.eof()&&_.isSpace(this._str[this._index]);)this._index++},_.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},_.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var o=this._index;this._indexthis._index){u=o.index;break}throw this.err={line:a,col:this._index-c,index:this._index,str:this._str.substring(c,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},y}();l.XMLStringLexer=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),m=o(3),y=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new y.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=m.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(91),y=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),m.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(y.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(i.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=b.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var q=b.parentNode;if(q===null)throw new Error("Parent node is null."+this._debugInfo());q.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),m=v.WeakMap;E.exports=typeof m=="function"&&/native code/.test(w(m))},function(E,l,o){var v=o(46),w=o(82),m=o(85),y=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(y(a)),n=m.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),m=o(18),y=o(61);E.exports=v?Object.defineProperties:function(a,p){m(a);for(var n,i=y(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,m={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return y&&m.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return y.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,m=o(48),y=o(28),a=m("every"),p=y("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,m=o(63),y=o(28),a=m("filter"),p=y("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,m=o(130),y=o(28),a=!0,p=y("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),m("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),m=o(40),y=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:m(1,u)}),y(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,m=o(63),y=o(28),a=m("map"),p=y("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,m=o(48),y=o(28),a=m("reduce"),p=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),m=o(41),y=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=m(f),c=y(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,m=o(48),y=o(28),a=m("some"),p=y("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),m=v("iterator"),y=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||y[m]===a)}},function(E,l,o){var v=o(135),w=o(49),m=o(5)("iterator");E.exports=function(y){if(y!=null)return y[m]||y["@@iterator"]||w[v(y)]}},function(E,l,o){var v=o(18);E.exports=function(w,m,y,a){try{return a?m(v(y)[0],y[1]):m(y)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var m=0,y={next:function(){return{done:!!m++}},return:function(){w=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(m,y,a){var p,n;return w&&typeof(p=y.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(m,n),m}},function(E,l,o){var v=o(25);E.exports=function(w,m,y){for(var a in m)v(w,a,m[a],y);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),m=o(5),y=o(16),a=m("species");E.exports=function(p){var n=v(p),i=w.f;y&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(y,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[n++],done:!y}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=function(){function y(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return y.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},y.prototype.delete=function(a){return this._items.delete(a)},y.prototype.has=function(a){return this._items.has(a)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},y.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},y.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();l.FixedSizeSet=m},function(E,l,o){"use strict";var v=this&&this.__generator||function(y,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[n++],done:!y}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=function(){function y(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return y.prototype.get=function(a){return this._items.get(a)},y.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},y.prototype.delete=function(a){return this._items.delete(a)},y.prototype.has=function(a){return this._items.has(a)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},y.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},y.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();l.ObjectCache=m},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(m){m===void 0&&(m=1e3),this._items=new Map,this._limit=m}return w.prototype.check=function(m,y){if(this._items.get(m)===y)return!0;if(this._items.get(y)===m)return!1;var a=Math.random()<.5;if(a?this._items.set(m,y):this._items.set(y,m),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(m){this._initialized=!1,this._value=void 0,this._initFunc=m}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(m){this._pointer=0,this._chars=Array.from(m),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var m=this._chars[this._pointer].codePointAt(0);this._codePoint=m!==void 0?m:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(m){m!==this._pointer&&(this._pointer=m,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var m=o(67);l.ObjectWriter=m.ObjectWriter;var y=o(260);l.JSONWriter=y.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),y=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=m.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=m.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new y.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(m.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!y(g))return!1;var x=g[d];return x!==void 0?!!x:m(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(m,y){return RegExp(m,y)}l.UNSUPPORTED_Y=v(function(){var m=w("a","y");return m.lastIndex=2,m.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var m=w("^r","gy");return m.lastIndex=2,m.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),m=o(5)("match");E.exports=function(y){var a;return v(y)&&((a=y[m])!==void 0?!!a:w(y)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var m=/./;try{"/./"[w](m)}catch{try{return m[v]=!1,"/./"[w](m)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),m=o(5),y=o(93),a=o(21),p=m("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=m("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=m(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,k,G){return I.exec===y?x&&!G?{done:!0,value:b.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,m,y){return m+(y?v(w,m).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(m,y){var a=m.exec;if(typeof a=="function"){var p=a.call(m,y);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(m)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(m,y)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(m){return v.from(m).toString("base64")},l.forgivingBase64Decode=function(m){return m===""?"":((m=m.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(m.endsWith("==")?m=m.substr(0,m.length-2):m.endsWith("=")&&(m=m.substr(0,m.length-1))),m.length%4==1?null:/[0-9A-Za-z+/]/.test(m)?v.from(m,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new m(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],m=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=y.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,m,y){var a,p,n=8*y-m-1,i=(1<>1,s=-7,f=w?y-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=m;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,m),a-=u}return(c?-1:1)*p*Math.pow(2,a-m)},l.write=function(o,v,w,m,y,a){var p,n,i,u=8*a-y-1,s=(1<>1,d=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=m?0:a-1,t=m?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,y),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,y),p=0));y>=8;o[w+c]=255&n,c+=t,n/=256,y-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(y){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&y[a],n=0;if(p)return p.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&n>=y.length&&(y=void 0),{value:y&&y[n++],done:!y}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function m(y){var a,p;if(y===null||w.isString(y)||w.isNumber(y))return y;if(w.isArray(y)){var n=new Array;try{for(var i=v(y),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(m(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(y)){n=new Map;for(var f in y)if(y.hasOwnProperty(f)){var d=y[f];n.set(f,m(d))}return n}return y}l.parseJSONFromBytes=function(y){var a=w.utf8Decode(y);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(y){var a=JSON.stringify.call(void 0,y);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(y){return m(JSON.parse.call(void 0,y))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=m},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,m(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=y(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=y(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=y(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,y(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=y(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,m([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},y=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),m=o(147),y=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(y.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return m.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},_.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},_}();i.XMLStringLexer=y},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(182)]})},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(113)],implicit:[t(289),t(290),t(291),t(292)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(91),S=t(1),y=t(3),_=t(77),s=t(109);function h(u,p){var v=a(u===void 0||o(u)?u:m.DefaultBuilderOptions),f=o(u)?p:u,r=s.createDocument();c(r,v);var e=new _.XMLBuilderImpl(r);return f!==void 0&&e.ele(f),e}function o(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!m.XMLBuilderOptionKeys.has(p))return!1;return!0}function a(u){u===void 0&&(u={});var p=S.applyDefaults(u,m.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function c(u,p,v){var f=u;f._xmlBuilderOptions=p,f._isFragment=v}i.builder=function(u,p){var v=a(o(u)?u:m.DefaultBuilderOptions),f=y.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var r=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(91),_=t(1),s=t(217),h=t(2),o=t(3),a=t(0),c=t(109),u=t(7),p=t(276),v=function(){function f(r){this._domNode=r}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(r){return this._options=_.applyDefaults(_.applyDefaults(this._options,r,!0),y.DefaultBuilderOptions),this},f.prototype.ele=function(r,e,g){var b,x,E,w,D,T;if(_.isObject(r))return new p.ObjectReader(this._options).parse(this,r);if(r!==null&&/^\s*0&&(r===void 0&&(r=e.slice(b+1)),e=e.slice(0,b)),r===void 0)r=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(r!==null&&r[0]==="@"){var x=r.slice(1);if((r=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[r,e]},f.prototype._updateNamespace=function(r){var e,g,b,x,E=this._domNode;if(o.Guard.isElementNode(E)&&r!==null&&E.namespaceURI!==r){var w=m(a.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=a.create_element(this._doc,T,r,D);try{for(var I=S(E.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=m(a.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),o.Guard.isElementNode(ee)){var re=m(a.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var r=this.node;if(o.Guard.isDocumentNode(r))return r;var e=r.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(r){var e=this.node,g=e.parentNode;r=r||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+r+">, parent: <"+b+">":"node: <"+r+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var r=this._doc;if(r._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return r._xmlBuilderOptions},set:function(r){this._doc._xmlBuilderOptions=r},enumerable:!0,configurable:!0}),f}();i.XMLBuilderImpl=v},function(l,i,t){var m=t(11),S=t(117),y=m.WeakMap;l.exports=typeof y=="function"&&/native code/.test(S(y))},function(l,i,t){var m=t(46),S=t(82),y=t(85),_=t(18);l.exports=m("Reflect","ownKeys")||function(s){var h=S.f(_(s)),o=y.f;return o?h.concat(o(s)):h}},function(l,i,t){var m=t(16),S=t(15),y=t(18),_=t(61);l.exports=m?Object.defineProperties:function(s,h){y(s);for(var o,a=_(h),c=a.length,u=0;c>u;)S.f(s,o=a[u++],h[o]);return s}},function(l,i,t){var m=t(46);l.exports=m("document","documentElement")},function(l,i,t){var m=t(24),S=t(82).f,y={}.toString,_=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];l.exports.f=function(s){return _&&y.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return _.slice()}}(s):S(m(s))}},function(l,i,t){"use strict";var m=t(4),S=t(36).every,y=t(48),_=t(28),s=y("every"),h=_("every");m({target:"Array",proto:!0,forced:!s||!h},{every:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(36).filter,y=t(63),_=t(28),s=y("filter"),h=_("filter");m({target:"Array",proto:!0,forced:!s||!h},{filter:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(46);l.exports=m("navigator","userAgent")||""},function(l,i,t){"use strict";var m=t(4),S=t(36).find,y=t(130),_=t(28),s=!0,h=_("find");"find"in[]&&Array(1).find(function(){s=!1}),m({target:"Array",proto:!0,forced:s||!h},{find:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(l,i,t){"use strict";var m=t(131).IteratorPrototype,S=t(60),y=t(40),_=t(62),s=t(49),h=function(){return this};l.exports=function(o,a,c){var u=a+" Iterator";return o.prototype=S(m,{next:y(1,c)}),_(o,u,!1,!0),s[u]=h,o}},function(l,i,t){var m=t(8);l.exports=!m(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(l,i,t){"use strict";var m=t(4),S=t(36).map,y=t(63),_=t(28),s=y("map"),h=_("map");m({target:"Array",proto:!0,forced:!s||!h},{map:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(200).left,y=t(48),_=t(28),s=y("reduce"),h=_("reduce",{1:0});m({target:"Array",proto:!0,forced:!s||!h},{reduce:function(o){return S(this,o,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(127),S=t(27),y=t(41),_=t(26),s=function(h){return function(o,a,c,u){m(a);var p=S(o),v=y(p),f=_(p.length),r=h?f-1:0,e=h?-1:1;if(c<2)for(;;){if(r in v){u=v[r],r+=e;break}if(r+=e,h?r<0:f<=r)throw TypeError("Reduce of empty array with no initial value")}for(;h?r>=0:f>r;r+=e)r in v&&(u=a(u,v[r],r,p));return u}};l.exports={left:s(!1),right:s(!0)}},function(l,i,t){"use strict";var m=t(4),S=t(36).some,y=t(48),_=t(28),s=y("some"),h=_("some");m({target:"Array",proto:!0,forced:!s||!h},{some:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(90),S=t(135);l.exports=m?{}.toString:function(){return"[object "+S(this)+"]"}},function(l,i){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(l,i,t){var m=t(5),S=t(49),y=m("iterator"),_=Array.prototype;l.exports=function(s){return s!==void 0&&(S.Array===s||_[y]===s)}},function(l,i,t){var m=t(135),S=t(49),y=t(5)("iterator");l.exports=function(_){if(_!=null)return _[y]||_["@@iterator"]||S[m(_)]}},function(l,i,t){var m=t(18);l.exports=function(S,y,_,s){try{return s?y(m(_)[0],_[1]):y(_)}catch(o){var h=S.return;throw h!==void 0&&m(h.call(S)),o}}},function(l,i,t){var m=t(5)("iterator"),S=!1;try{var y=0,_={next:function(){return{done:!!y++}},return:function(){S=!0}};_[m]=function(){return this},Array.from(_,function(){throw 2})}catch{}l.exports=function(s,h){if(!h&&!S)return!1;var o=!1;try{var a={};a[m]=function(){return{next:function(){return{done:o=!0}}}},s(a)}catch{}return o}},function(l,i,t){var m=t(13),S=t(133);l.exports=function(y,_,s){var h,o;return S&&typeof(h=_.constructor)=="function"&&h!==s&&m(o=h.prototype)&&o!==s.prototype&&S(y,o),y}},function(l,i,t){var m=t(25);l.exports=function(S,y,_){for(var s in y)m(S,s,y[s],_);return S}},function(l,i,t){"use strict";var m=t(46),S=t(15),y=t(5),_=t(16),s=y("species");l.exports=function(h){var o=m(h),a=S.f;_&&o&&!o[s]&&a(o,s,{configurable:!0,get:function(){return this}})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(_,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=_.length&&(_=void 0),{value:_&&_[o++],done:!_}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=function(){function _(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return _.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},_.prototype.delete=function(s){return this._items.delete(s)},_.prototype.has=function(s){return this._items.has(s)},_.prototype.clear=function(){this._items.clear()},Object.defineProperty(_.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),_.prototype.forEach=function(s,h){var o=this;this._items.forEach(function(a){return s.call(h,a,a,o)})},_.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},_.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},_.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},_.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),_}();i.FixedSizeSet=y},function(l,i,t){"use strict";var m=this&&this.__generator||function(_,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=_.length&&(_=void 0),{value:_&&_[o++],done:!_}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=function(){function _(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return _.prototype.get=function(s){return this._items.get(s)},_.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var o=this._items.keys().next();o.done||this._items.delete(o.value)}},_.prototype.delete=function(s){return this._items.delete(s)},_.prototype.has=function(s){return this._items.has(s)},_.prototype.clear=function(){this._items.clear()},Object.defineProperty(_.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),_.prototype.forEach=function(s,h){this._items.forEach(function(o,a){return s.call(h,a,o)})},_.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},_.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},_.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},_.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),_}();i.ObjectCache=y},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return S.prototype.check=function(y,_){if(this._items.get(y)===_)return!0;if(this._items.get(_)===y)return!1;var s=Math.random()<.5;if(s?this._items.set(y,_):this._items.set(_,y),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();i.CompareCache=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();i.Lazy=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();i.StringWalker=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(218);i.MapWriter=m.MapWriter;var S=t(258);i.XMLWriter=S.XMLWriter;var y=t(67);i.ObjectWriter=y.ObjectWriter;var _=t(260);i.JSONWriter=_.JSONWriter;var s=t(261);i.YAMLWriter=s.YAMLWriter},function(l,i,t){"use strict";t(19),t(219),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(1),_=t(67),s=function(h){function o(a,c){var u=h.call(this,a)||this;return u._writerOptions=y.applyDefaults(c,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(o,h),o.prototype.serialize=function(a){var c=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new _.ObjectWriter(this._builderOptions,c).serialize(a);return this._convertObject(u)},o.prototype._convertObject=function(a){if(y.isArray(a)){for(var c=0;c=51||!S(function(){var g=[];return g[v]=!1,g.concat()[0]!==g}),r=c("concat"),e=function(g){if(!_(g))return!1;var b=g[v];return b!==void 0?!!b:y(g)};m({target:"Array",proto:!0,forced:!f||!r},{concat:function(g){var b,x,E,w,D,T=s(this),N=a(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");o(N,I++,D)}return N.length=I,N}})},function(l,i,t){"use strict";var m=t(8);function S(y,_){return RegExp(y,_)}i.UNSUPPORTED_Y=m(function(){var y=S("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),i.BROKEN_CARET=m(function(){var y=S("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(l,i,t){var m=t(223);l.exports=function(S){if(m(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(l,i,t){var m=t(13),S=t(42),y=t(5)("match");l.exports=function(_){var s;return m(_)&&((s=_[y])!==void 0?!!s:S(_)=="RegExp")}},function(l,i,t){var m=t(5)("match");l.exports=function(S){var y=/./;try{"/./"[S](y)}catch{try{return y[m]=!1,"/./"[S](y)}catch{}}return!1}},function(l,i,t){"use strict";t(68);var m=t(25),S=t(8),y=t(5),_=t(93),s=t(21),h=y("species"),o=!S(function(){var v=/./;return v.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(v,"$")!=="7"}),a="a".replace(/./,"$0")==="$0",c=y("replace"),u=!!/./[c]&&/./[c]("a","$0")==="",p=!S(function(){var v=/(?:)/,f=v.exec;v.exec=function(){return f.apply(this,arguments)};var r="ab".split(v);return r.length!==2||r[0]!=="a"||r[1]!=="b"});l.exports=function(v,f,r,e){var g=y(v),b=!S(function(){var N={};return N[g]=function(){return 7},""[v](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return v==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||v==="replace"&&(!o||!a||u)||v==="split"&&!p){var E=/./[g],w=r(g,""[v],function(N,I,R,k,G){return I.exec===_?b&&!G?{done:!0,value:E.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:a,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];m(String.prototype,v,D),m(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(l,i,t){"use strict";var m=t(137).charAt;l.exports=function(S,y,_){return y+(_?m(S,y).length:1)}},function(l,i,t){var m=t(42),S=t(93);l.exports=function(y,_){var s=y.exec;if(typeof s=="function"){var h=s.call(y,_);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(m(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(y,_)}},function(l,i,t){"use strict";(function(m){Object.defineProperty(i,"__esModule",{value:!0});var S=t(96);i.forgivingBase64Encode=function(y){return m.from(y).toString("base64")},i.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?m.from(y,"base64").toString("utf8"):null)}}).call(this,t(145).Buffer)},function(l,i,t){"use strict";i.byteLength=function(c){var u=o(c),p=u[0],v=u[1];return 3*(p+v)/4-v},i.toByteArray=function(c){var u,p,v=o(c),f=v[0],r=v[1],e=new y(function(x,E,w){return 3*(E+w)/4-w}(0,f,r)),g=0,b=r>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return r===2&&(u=S[c.charCodeAt(p)]<<2|S[c.charCodeAt(p+1)]>>4,e[g++]=255&u),r===1&&(u=S[c.charCodeAt(p)]<<10|S[c.charCodeAt(p+1)]<<4|S[c.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},i.fromByteArray=function(c){for(var u,p=c.length,v=p%3,f=[],r=0,e=p-v;re?e:r+16383));return v===1?(u=c[p-1],f.push(m[u>>2]+m[u<<4&63]+"==")):v===2&&(u=(c[p-2]<<8)+c[p-1],f.push(m[u>>10]+m[u>>4&63]+m[u<<2&63]+"=")),f.join("")};for(var m=[],S=[],y=typeof Uint8Array<"u"?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=_.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function a(c,u,p){for(var v,f,r=[],e=u;e>18&63]+m[f>>12&63]+m[f>>6&63]+m[63&f]);return r.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(l,i){i.read=function(t,m,S,y,_){var s,h,o=8*_-y-1,a=(1<>1,u=-7,p=S?_-1:0,v=S?-1:1,f=t[m+p];for(p+=v,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+t[m+p],p+=v,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=y;u>0;h=256*h+t[m+p],p+=v,u-=8);if(s===0)s=1-c;else{if(s===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,y),s-=c}return(f?-1:1)*h*Math.pow(2,s-y)},i.write=function(t,m,S,y,_,s){var h,o,a,c=8*s-_-1,u=(1<>1,v=_===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=y?0:s-1,r=y?1:-1,e=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(o=isNaN(m)?1:0,h=u):(h=Math.floor(Math.log(m)/Math.LN2),m*(a=Math.pow(2,-h))<1&&(h--,a*=2),(m+=h+p>=1?v/a:v*Math.pow(2,1-p))*a>=2&&(h++,a/=2),h+p>=u?(o=0,h=u):h+p>=1?(o=(m*a-1)*Math.pow(2,_),h+=p):(o=m*Math.pow(2,p-1)*Math.pow(2,_),h=0));_>=8;t[S+f]=255&o,f+=r,o/=256,_-=8);for(h=h<<_|o,c+=_;c>0;t[S+f]=255&h,f+=r,h/=256,c-=8);t[S+f-r]|=128*e}},function(l,i){var t={}.toString;l.exports=Array.isArray||function(m){return t.call(m)=="[object Array]"}},function(l,i,t){"use strict";var m=this&&this.__values||function(_){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&_[s],o=0;if(h)return h.call(_);if(_&&typeof _.length=="number")return{next:function(){return _&&o>=_.length&&(_=void 0),{value:_&&_[o++],done:!_}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function y(_){var s,h;if(_===null||S.isString(_)||S.isNumber(_))return _;if(S.isArray(_)){var o=new Array;try{for(var a=m(_),c=a.next();!c.done;c=a.next()){var u=c.value;o.push(y(u))}}catch(f){s={error:f}}finally{try{c&&!c.done&&(h=a.return)&&h.call(a)}finally{if(s)throw s.error}}return o}if(S.isObject(_)){o=new Map;for(var p in _)if(_.hasOwnProperty(p)){var v=_[p];o.set(p,y(v))}return o}return _}i.parseJSONFromBytes=function(_){var s=S.utf8Decode(_);return JSON.parse.call(void 0,s)},i.serializeJSONToBytes=function(_){var s=JSON.stringify.call(void 0,_);return S.utf8Encode(s)},i.parseJSONIntoInfraValues=function(_){return y(JSON.parse.call(void 0,_))},i.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},y=this&&this.__spread||function(){for(var h=[],o=0;o=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(1);i.append=function(h,o){h.push(o)},i.extend=function(h,o){h.push.apply(h,y(o))},i.prepend=function(h,o){h.unshift(o)},i.replace=function(h,o,a){var c,u,p=0;try{for(var v=_(h),f=v.next();!f.done;f=v.next()){var r=f.value;if(s.isFunction(o))o.call(null,r)&&(h[p]=a);else if(r===o)return void(h[p]=a);p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}},i.insert=function(h,o,a){h.splice(a,0,o)},i.remove=function(h,o){for(var a=h.length;a--;){var c=h[a];if(s.isFunction(o))o.call(null,c)&&h.splice(a,1);else if(c===o)return void h.splice(a,1)}},i.empty=function(h){h.length=0},i.contains=function(h,o){var a,c;try{for(var u=_(h),p=u.next();!p.done;p=u.next()){var v=p.value;if(s.isFunction(o)){if(o.call(null,v))return!0}else if(v===o)return!0}}catch(f){a={error:f}}finally{try{p&&!p.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}return!1},i.size=function(h,o){var a,c;if(o===void 0)return h.length;var u=0;try{for(var p=_(h),v=p.next();!v.done;v=p.next()){var f=v.value;o.call(null,f)&&u++}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}return u},i.isEmpty=function(h){return h.length===0},i.forEach=function(h,o){var a,c,u,p,v,f;return m(this,function(r){switch(r.label){case 0:return o!==void 0?[3,2]:[5,_(h)];case 1:return r.sent(),[3,9];case 2:r.trys.push([2,7,8,9]),a=_(h),c=a.next(),r.label=3;case 3:return c.done?[3,6]:(u=c.value,o.call(null,u)?[4,u]:[3,5]);case 4:r.sent(),r.label=5;case 5:return c=a.next(),[3,3];case 6:return[3,9];case 7:return p=r.sent(),v={error:p},[3,9];case 8:try{c&&!c.done&&(f=a.return)&&f.call(a)}finally{if(v)throw v.error}return[7];case 9:return[2]}})},i.clone=function(h){return new(Array.bind.apply(Array,y([void 0],h)))},i.sortInAscendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?-1:1})},i.sortInDescendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?1:-1})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},_=this&&this.__spread||function(){for(var h=[],o=0;o0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},_=this&&this.__spread||function(){for(var o=[],a=0;a=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(96),y=t(147),_=t(146),s=t(1);function h(f,r){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,r,e){if(!s.isArray(r))return p(f,Array.from(r),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},i.asciiCaseInsensitiveMatch=function(f,r){return c(f)===c(r)},i.asciiEncode=function(f){return console.assert(a(f),"asciiEncode requires an ASCII string."),o(f)},i.asciiDecode=function(f){var r,e;try{for(var g=m(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(_.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){r={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(r)throw r.error}}return y.isomorphicDecode(f)},i.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},i.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=m.length&&(m=void 0),{value:m&&m[p++],done:!m}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(m,y){y._abortedFlag||y._abortAlgorithms.add(m)},l.abort_remove=function(m,y){y._abortAlgorithms.delete(m)},l.abort_signalAbort=function(m){var y,a;if(!m._abortedFlag){m._abortedFlag=!0;try{for(var p=v(m._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(m)}catch(i){y={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(y)throw y.error}}m._abortAlgorithms.clear(),w.event_fireAnEvent("abort",m)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function m(){}return m.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},m}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function m(){}return Object.defineProperty(m.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),m.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},m.prototype.clear=function(){},m.prototype.delete=function(y){return!1},m.prototype.forEach=function(y,a){},m.prototype.has=function(y){return!1},m.prototype[Symbol.iterator]=function(){return new w},m.prototype.entries=function(){return new w},m.prototype.keys=function(){return new w},m.prototype.values=function(){return new w},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),m}();l.EmptySet=v;var w=function(){function m(){}return m.prototype[Symbol.iterator]=function(){return this},m.prototype.next=function(){return{done:!0,value:null}},m}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function m(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof m?_.format():m.prototype.format.call(_)},l.Url=m;var y=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof m)return _;var C=new m;return C.parse(_,b,S),C}m.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var k=y.exec(I);if(k){var G=(k=k[0]).toLowerCase();this.protocol=G,I=I.substr(k.length)}if(S||k||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=I.substr(0,2)==="//";!$||k&&t[k]||(I=I.substr(2),this.slashes=!0)}if(!t[k]&&($||k&&!e[k])){for(var Y,q,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),P=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),P.unshift(D[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),ce++):ce&&(ne.splice(P,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},m.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var m;(function(y){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function _(N){return e(N,function(I){var R="";return I>65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var k=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;k+=36)N=d(N/35);return d(k+36*N/(N+38))}function C(N){var I,R,k,G,$,Y,q,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&t("not-basic"),he.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=q<=ie?1:q>=ie+26?26:q-ie));q+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-$,I=he.length+1,$==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,k,G,$,Y,q,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,$=72,Y=0;Y=I&&red((n-R)/(me=k+1))&&t("overflow"),R+=(q-I)*me,I=q,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),$=S(R,me,k==G),R=0,++k}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(m=function(){return p}.call(l,o,l,v))===void 0||(v.exports=m)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(m,y){return Object.prototype.hasOwnProperty.call(m,y)}E.exports=function(m,y,a,p){y=y||"&",a=a||"=";var n={};if(typeof m!="string"||m.length===0)return n;var i=/\+/g;m=m.split(y);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=m.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(m){return Object.prototype.toString.call(m)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?m(y(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?m(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function m(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=y.length&&(y=void 0),{value:y&&y[n++],done:!y}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function m(y){return w.isBoolean(y)?y:y.capture||!1}l.eventTarget_flatten=m,l.eventTarget_flattenMore=function(y){var a=m(y),p=!1,n=!1;return w.isBoolean(y)||(p=y.once||!1,n=y.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(y,a){if(a.callback!==null){for(var p=0;p=y.length&&(y=void 0),{value:y&&y[n++],done:!y}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),m=o(29);l.parentNode_convertNodesIntoANode=function(y,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},m=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var P=v(X._children),D=P.next();!D.done;D=P.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=$;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,$,i.tree_nodeLength(G)-$),d.mutation_append(B,k),s.characterData_replaceData(G,$,i.tree_nodeLength(G)-$,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,k);var M=_(n.create_range([G,$],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var z=v(ce),W=z.next();!W.done;W=z.next()){var oe=W.value;d.mutation_append(oe,k)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=z.return)&&R.call(z)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,q),d.mutation_append(B,k),s.characterData_replaceData(Y,0,q,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,k),M=_(n.create_range([he,0],[Y,q])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],k}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==y.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==y.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,k,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var $=S._startNode,Y=S._startOffset,q=S._endNode,X=S._endOffset;$===q&&p.Guard.isCharacterDataNode($)&&((D=f.node_clone($))._data=s.characterData_substringData($,Y,X-Y),d.mutation_append(D,G));for(var H=$;!i.tree_isAncestorOf(q,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(q,$,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf($,q,!0))for(var ne=m(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),P=ce.next();!P.done;P=ce.next())if(g(z=P.value,S)){if(p.Guard.isDocumentTypeNode(z))throw new a.HierarchyRequestError;ue.push(z)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone($))._data=s.characterData_substringData($,Y,i.tree_nodeLength($)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([$,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var z=M.value,D=f.node_clone(z);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=B.return)&&k.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(q))._data=s.characterData_substringData(q,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[q,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var k=v(S._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===S._startOffset){I=$;break}R++}}catch(q){C={error:q}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,m){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(m,y){for(var a=y?m._current._firstChild:m._current._lastChild;a!==null;){var p=w.traversal_filter(m,a);if(p===v.FilterResult.Accept)return m._current=a,a;if(p===v.FilterResult.Skip){var n=y?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=y?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===m._root||u===m._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(m,y){var a=m._current;if(a===m._root)return null;for(;;){for(var p=y?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(m,a);if(n===v.FilterResult.Accept)return m._current=a,a;p=y?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=y?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===m._root||w.traversal_filter(m,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),y=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=m.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(m){var y=String(w(this)),a="",p=v(m);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(y+=y))1&p&&(a+=y);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),m=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new y.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=m(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),m=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new y.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=m(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var m=o(274);l.XMLSerializer=m.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),m=function(){function y(){}return y.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),m=o(3),y=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;y.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;y.list.remove(T._registeredObserverList,function(N){return m.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;y.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function m(){}return Object.defineProperty(m.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),m}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),m=function(){function y(){}return y.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},y}();l.NonElementParentNodeImpl=m},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),m=o(0),y=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return m.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(180),y=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new m.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==y.TokenType.EOF;){switch(_.type){case y.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case y.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case y.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case y.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var R=_,k=v(p.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!p.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),q={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),q[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),P=ce.next();!P.done;P=ce.next()){var D=v(P.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=q[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{P&&!P.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case y.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),m=o(69),y=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new y.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var k=s.prefix,G=null;if(k===null&&R===N||(G=C.get(k,R)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):k!==null?(k in T&&(k=this._generatePrefix(R,C,c)),C.set(k,R),x+=_+=k+":"+s.localName,x+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var $=R===p.namespace.HTML;if($&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):$||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!($&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{q&&!q.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new m.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var m=o(280);l.JSONReader=m.JSONReader;var y=o(281);l.YAMLReader=y.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),m=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var k=C;S=this.cdata(S,this.sanitize(k.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var $=C;S=this.instruction(S,this.sanitize($.target),this.sanitize($.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var q=C,X=this.sanitize(q.name),H=m(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,y(q.attributes)),me=he.next();!me.done;me=he.next()){var ne=m(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=m(i.namespace_extractQName(Q),2),ce=ue[0],P=ue[1];ce==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,y(q.attributes)),B=L.next();!B.done;B=L.next()){var M=m(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var z=m(i.namespace_extractQName(Q),2),W=(ce=z[0],P=z[1],null);ce==="xmlns"||ce===null&&P==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}q.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),m=o(61),y=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||m(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=y.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?m(_).concat(e(_)):m(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(112),y=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new m.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=y},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var m=o(112),y=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new m.ObjectReader(this._builderOptions).parse(u,f)},i}(y.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function m(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=m("scan"),E.exports.parse=m("parse"),E.exports.compose=m("compose"),E.exports.addConstructor=m("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),m=o(285),y=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new m(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function k(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,z,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),z=parseInt(M[1],10),W=parseInt(M[2],10),z!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&k(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,z;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],z=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(z)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=z}};function $(D,L,B,M){var z,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,z=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentze)&&(Q(K,ze,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(q(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>ze&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=ze+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");qe=Ne=K.position}else c(Te)?($(K,qe,Ne,!0),re(K,H(K,!1,ze)),qe=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var ze,qe,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),ze=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===ze&&R(K,"name of an alias node must contain at least one character"),qe=K.input.slice(ze,K.position),K.anchorMap.hasOwnProperty(qe)||R(K,'unidentified alias "'+qe+'"'),K.result=K.anchorMap[qe],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,ze,qe){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||qe&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=ze){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&($(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return $(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):$e===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,z,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(z=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),z=D.input.charCodeAt(D.position),!(D.lineIndent>0||z!==37));){for(oe=!0,z=D.input.charCodeAt(++D.position),L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");z!==0;){for(;t(z);)z=D.input.charCodeAt(++D.position);if(z===35){do z=D.input.charCodeAt(++D.position);while(z!==0&&!c(z));break}if(c(z))break;for(L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}z!==0&&X(D),p.call(G,B)?G[B](D,B,M):k(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&k(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>y/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;iy/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",m)+a+u+n+` -`+v.repeat(" ",m+this.position-p+a.length)+"^"},w.prototype.toString=function(m){var y,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),m||(y=this.getSnippet())&&(a+=`: -`+y),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var m=w.length;return m===1&&w==="~"||m===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var m=w.length;return m===4&&(w==="true"||w==="True"||w==="TRUE")||m===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function m(a){return 48<=a&&a<=55}function y(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),m=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!m.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),y.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),m=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(w.exec(y)!==null||m.exec(y)!==null)},construct:function(y){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(y))===null&&(a=m.exec(y)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),m=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var a,p,n=0,i=y.length,u=m;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(y){var a,p,n=y.replace(/[\r\n=]/g,""),i=n.length,u=m,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var a,p,n="",i=0,u=y.length,s=m;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+y[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,m=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var a,p,n,i,u,s=[],f=y;for(a=0,p=f.length;a3||m[m.length-a.length-1]!=="/"))},construct:function(w){var m=w,y=/\/([gim]*)$/.exec(w),a="";return m[0]==="/"&&(y&&(a=y[1]),m=m.slice(1,m.length-a.length-1)),new RegExp(m,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var m="/"+w.source+"/";return w.global&&(m+="g"),w.multiline&&(m+="m"),w.ignoreCase&&(m+="i"),m}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(m){if(m===null)return!1;try{var y="("+m+")",a=v.parse(y,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(m){var y,a="("+m+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),y=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(y[0]+1,y[1]-1)):new Function(n,"return "+a.slice(y[0],y[1]))},predicate:function(m){return Object.prototype.toString.call(m)==="[object Function]"},represent:function(m){return m.toString()}})},function(E,l,o){var v;v=function(){return function(w){var m={};function y(a){if(m[a])return m[a].exports;var p=m[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,y),p.loaded=!0,p.exports}return y.m=w,y.c=m,y.p="",y(0)}([function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(1),p=y(3),n=y(8),i=y(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}m.parse=u,m.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},m.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},m.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=y(2);m.Syntax=s.Syntax,m.version="4.0.1"},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();m.CommentHandler=p},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,m,y){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(m,"__esModule",{value:!0});var n=y(4),i=y(5),u=y(6),s=y(7),f=y(8),d=y(13),c=y(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);m.JSXParser=e},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};m.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&y.NonAsciiIdentifierStart.test(m.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&y.NonAsciiIdentifierPart.test(m.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};m.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};m.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};m.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};m.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};m.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};m.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};m.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};m.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};m.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};m.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};m.JSXText=g},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};m.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};m.ArrayPattern=n;var i=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!1};m.ArrowFunctionExpression=i;var u=function(ye,Oe,Je){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=Je};m.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};m.AssignmentPattern=s;var f=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!0};m.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,Je){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};m.AsyncFunctionDeclaration=d;var c=function(ye,Oe,Je){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};m.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};m.AwaitExpression=t;var e=function(ye,Oe,Je){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=Je};m.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};m.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};m.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};m.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};m.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};m.ClassBody=S;var C=function(ye,Oe,Je){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=Je};m.ClassDeclaration=C;var T=function(ye,Oe,Je){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=Je};m.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};m.ComputedMemberExpression=N;var I=function(ye,Oe,Je){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=Je};m.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};m.ContinueStatement=R;var k=function(){this.type=a.Syntax.DebuggerStatement};m.DebuggerStatement=k;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};m.Directive=G;var $=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};m.DoWhileStatement=$;var Y=function(){this.type=a.Syntax.EmptyStatement};m.EmptyStatement=Y;var q=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};m.ExportAllDeclaration=q;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};m.ExportDefaultDeclaration=X;var H=function(ye,Oe,Je){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=Je};m.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};m.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};m.ExpressionStatement=re;var he=function(ye,Oe,Je){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=Je,this.each=!1};m.ForInStatement=he;var me=function(ye,Oe,Je){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=Je};m.ForOfStatement=me;var ne=function(ye,Oe,Je,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=Je,this.body=Nt};m.ForStatement=ne;var Q=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};m.FunctionDeclaration=Q;var ie=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};m.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};m.Identifier=ue;var ce=function(ye,Oe,Je){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=Je};m.IfStatement=ce;var P=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};m.ImportDeclaration=P;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};m.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};m.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};m.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};m.LabeledStatement=M;var z=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};m.Literal=z;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};m.MetaProperty=W;var oe=function(ye,Oe,Je,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=Je,this.kind=Nt,this.static=kr};m.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};m.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};m.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};m.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};m.ObjectPattern=Be;var Le=function(ye,Oe,Je,Nt,kr,Br){this.type=a.Syntax.Property,this.key=Oe,this.computed=Je,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Br};m.Property=Le;var tt=function(ye,Oe,Je,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:Je,flags:Nt}};m.RegexLiteral=tt;var $e=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};m.RestElement=$e;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};m.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};m.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};m.SequenceExpression=K;var ze=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};m.SpreadElement=ze;var qe=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};m.StaticMemberExpression=qe;var Ne=function(){this.type=a.Syntax.Super};m.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};m.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};m.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};m.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};m.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};m.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};m.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};m.ThrowStatement=Me;var We=function(ye,Oe,Je){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=Je};m.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};m.UnaryExpression=Ve;var gt=function(ye,Oe,Je){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=Je};m.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};m.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};m.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};m.WhileStatement=kt;var Jn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};m.WithStatement=Jn;var Kn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};m.YieldExpression=Kn},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(9),p=y(10),n=y(11),i=y(7),u=y(12),s=y(2),f=y(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,k))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var k=_.pop();R>1;){var G=_.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,k=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,q)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(k),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();m.Parser=d},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.assert=function(y,a){if(!y)throw new Error("ASSERT: "+a)}},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var y=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();m.ErrorHandler=y},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(9),p=y(4),n=y(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();m.Scanner=s},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.TokenName={},m.TokenName[1]="Boolean",m.TokenName[2]="",m.TokenName[3]="Identifier",m.TokenName[4]="Keyword",m.TokenName[5]="Null",m.TokenName[6]="Numeric",m.TokenName[7]="Punctuator",m.TokenName[8]="String",m.TokenName[9]="RegularExpression",m.TokenName[10]="Template"},function(w,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,m,y){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var a=y(10),p=y(12),n=y(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&k[Q+1]!==" "}return he||me?$>9&&g(k)?5:me?4:3:ie&&!q(k)?1:2}function _(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var q=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-q),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(x(G,H,k.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,k.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],P=me[2];he=P[0]===" ",Q+=ce+(ie||he||P===""?"":` -`)+C(P,re),ie=he}return Q}(G,X),q));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`)},i.stripLeadingAndTrailingASCIIWhitespace=u,i.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},i.collectASequenceOfCodePoints=p,i.skipASCIIWhitespace=v,i.strictlySplit=function f(r,e){if(!s.isArray(r))return f(Array.from(r),e);var g={position:0},b=[],x=p(function(E){return e!==E},r,g);for(b.push(x);g.position=y.length&&(y=void 0),{value:y&&y[h++],done:!y}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(97);i.abort_add=function(y,_){_._abortedFlag||_._abortAlgorithms.add(y)},i.abort_remove=function(y,_){_._abortAlgorithms.delete(y)},i.abort_signalAbort=function(y){var _,s;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var h=m(y._abortAlgorithms),o=h.next();!o.done;o=h.next())o.value.call(y)}catch(a){_={error:a}}finally{try{o&&!o.done&&(s=h.return)&&s.call(h)}finally{if(_)throw _.error}}y._abortAlgorithms.clear(),S.event_fireAnEvent("abort",y)}}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(150),S=function(){function y(){}return y.asNode=function(_){if(m.Guard.isNode(_))return _;throw new Error("Invalid object. Node expected.")},y}();i.Cast=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(_){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(_){return!1},y.prototype.forEach=function(_,s){},y.prototype.has=function(_){return!1},y.prototype[Symbol.iterator]=function(){return new S},y.prototype.entries=function(){return new S},y.prototype.keys=function(){return new S},y.prototype.values=function(){return new S},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();i.EmptySet=m;var S=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.SchemeStart=0]="SchemeStart",m[m.Scheme=1]="Scheme",m[m.NoScheme=2]="NoScheme",m[m.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",m[m.PathOrAuthority=4]="PathOrAuthority",m[m.Relative=5]="Relative",m[m.RelativeSlash=6]="RelativeSlash",m[m.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",m[m.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",m[m.Authority=9]="Authority",m[m.Host=10]="Host",m[m.Hostname=11]="Hostname",m[m.Port=12]="Port",m[m.File=13]="File",m[m.FileSlash=14]="FileSlash",m[m.FileHost=15]="FileHost",m[m.PathStart=16]="PathStart",m[m.Path=17]="Path",m[m.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",m[m.Query=19]="Query",m[m.Fragment=20]="Fragment"}(i.ParserState||(i.ParserState={})),i.OpaqueOrigin=["","",null,null]},function(l,i,t){"use strict";var m=t(245),S=t(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=b,i.resolve=function(x,E){return b(x,!1,!0).resolve(E)},i.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},i.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof y?x.format():y.prototype.format.call(x)},i.Url=y;var _=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),a=["'"].concat(o),c=["%","/","?",";","#"].concat(a),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},r={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=t(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof y)return x;var D=new y;return D.parse(x,E,w),D}y.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(v);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=m.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=a.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},y.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(l,i,t){(function(m,S){var y;(function(_){i&&i.nodeType,m&&m.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,o=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,f=String.fromCharCode;function r(N){throw new RangeError(p[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var R="";return I>65535&&(R+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,R){var k=0;for(N=R?v(N/700):N>>1,N+=v(N/I);N>455;k+=36)N=v(N/35);return v(k+36*N/(N+38))}function D(N){var I,R,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&r("not-basic"),de.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=ve&&r("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>v((o-ne)/Y))&&r("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>v(o/(ee=36-H))&&r("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),v(ne/I)>o-Q&&r("overflow"),Q+=v(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,R,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,R=0,$=72,Y=0;Y=I&&rev((o-R)/(ve=k+1))&&r("overflow"),R+=(z-I)*ve,I=z,Y=0;Yo&&r("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=v(Q/ne);ie.push(f(E(X,0))),$=w(R,ve,k==G),R=0,++k}++R,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return c.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return a.test(I)?D(I.slice(4).toLowerCase()):I})}},(y=function(){return h}.call(i,t,i,m))===void 0||(m.exports=y)})()}).call(this,t(246)(l),t(78))},function(l,i){l.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(l,i,t){"use strict";l.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},function(l,i,t){"use strict";i.decode=i.parse=t(249),i.encode=i.stringify=t(250)},function(l,i,t){"use strict";function m(y,_){return Object.prototype.hasOwnProperty.call(y,_)}l.exports=function(y,_,s,h){_=_||"&",s=s||"=";var o={};if(typeof y!="string"||y.length===0)return o;var a=/\+/g;y=y.split(_);var c=1e3;h&&typeof h.maxKeys=="number"&&(c=h.maxKeys);var u=y.length;c>0&&u>c&&(u=c);for(var p=0;p=0?(v=g.substr(0,b),f=g.substr(b+1)):(v=g,f=""),r=decodeURIComponent(v),e=decodeURIComponent(f),m(o,r)?S(o[r])?o[r].push(e):o[r]=[o[r],e]:o[r]=e}return o};var S=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(l,i,t){"use strict";var m=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};l.exports=function(s,h,o,a){return h=h||"&",o=o||"=",s===null&&(s=void 0),typeof s=="object"?y(_(s),function(c){var u=encodeURIComponent(m(c))+o;return S(s[c])?y(s[c],function(p){return u+encodeURIComponent(m(p))}).join(h):u+encodeURIComponent(m(s[c]))}).join(h):a?encodeURIComponent(m(a))+o+encodeURIComponent(m(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function y(s,h){if(s.map)return s.map(h);for(var o=[],a=0;a=_.length&&(_=void 0),{value:_&&_[o++],done:!_}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function y(_){return S.isBoolean(_)?_:_.capture||!1}i.eventTarget_flatten=y,i.eventTarget_flattenMore=function(_){var s=y(_),h=!1,o=!1;return S.isBoolean(_)||(h=_.once||!1,o=_.passive||!1),[s,o,h]},i.eventTarget_addEventListener=function(_,s){if(s.callback!==null){for(var h=0;h<_._eventListenerList.length;h++){var o=_._eventListenerList[h];if(o.type===s.type&&o.callback.handleEvent===s.callback.handleEvent&&o.capture===s.capture)return}_._eventListenerList.push(s)}},i.eventTarget_removeEventListener=function(_,s,h){s.removed=!0,_._eventListenerList.splice(h,1)},i.eventTarget_removeAllEventListeners=function(_){var s,h;try{for(var o=m(_._eventListenerList),a=o.next();!a.done;a=o.next())a.value.removed=!0}catch(c){s={error:c}}finally{try{a&&!a.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}_._eventListenerList.length=0}},function(l,i,t){"use strict";var m=this&&this.__values||function(_){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&_[s],o=0;if(h)return h.call(_);if(_&&typeof _.length=="number")return{next:function(){return _&&o>=_.length&&(_=void 0),{value:_&&_[o++],done:!_}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1),y=t(29);i.parentNode_convertNodesIntoANode=function(_,s){for(var h,o,a=null,c=0;c<_.length;c++){var u=_[c];if(S.isString(u)){var p=y.create_text(s,u);_[c]=p}}if(_.length===1)a=_[0];else{var v=a=y.create_documentFragment(s);try{for(var f=m(_),r=f.next();!r.done;r=f.next())u=r.value,v.appendChild(u)}catch(e){h={error:e}}finally{try{r&&!r.done&&(o=f.return)&&o.call(f)}finally{if(h)throw h.error}}}return a}},function(l,i,t){"use strict";var m=this&&this.__values||function(E){var w=typeof Symbol=="function"&&Symbol.iterator,D=w&&E[w],T=0;if(D)return D.call(E);if(E&&typeof E.length=="number")return{next:function(){return E&&T>=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),R=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=m(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(a.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!a.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+a.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,a.tree_nodeLength(G)-$),v.mutation_append(L,k),u.characterData_replaceData(G,$,a.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);v.mutation_append(L,k);var M=x(o.create_range([G,$],[H,a.tree_nodeLength(H)]));v.mutation_append(M,L)}try{for(var q=m(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;v.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),v.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),v.mutation_append(L,k),M=x(o.create_range([de,0],[Y,z])),v.mutation_append(M,L)),E._start=[ie,le],E._end=[ie,le],k}i.range_collapsed=r,i.range_root=e,i.range_isContained=g,i.range_isPartiallyContained=b,i.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._end)!==_.BoundaryPosition.After||(E._end=T),E._start=T},i.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._start)!==_.BoundaryPosition.Before||(E._start=T),E._end=T},i.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=a.tree_index(E);w._start=[D,T],w._end=[D,T+1]},i.range_extract=x,i.range_cloneTheContents=function E(w){var D,T,N,I,R,k,G=o.create_documentFragment(w._startNode._nodeDocument);if(r(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),v.mutation_append(C,G));for(var H=$;!a.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!a.tree_isAncestorOf(z,$,!0))try{for(var re=m(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!a.tree_isAncestorOf($,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=m(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,a.tree_nodeLength($)-Y),v.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);v.mutation_append(C,G);var B=E(o.create_range([$,Y],[ee,a.tree_nodeLength(ee)]));v.mutation_append(B,C)}try{for(var L=m(le),M=L.next();!M.done;M=L.next()){var q=M.value,C=p.node_clone(q);v.mutation_append(C,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=L.return)&&k.call(L)}finally{if(R)throw R.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),v.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(o.create_range([ve,0],[z,X])),v.mutation_append(B,C)),G},i.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var R=0;try{for(var k=m(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===w._startOffset){I=$;break}R++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}v.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&v.mutation_remove(E,E._parent);var Y=I===null?a.tree_nodeLength(N):a.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=a.tree_nodeLength(E):Y++,v.mutation_preInsert(E,N,I),r(w)&&(w._end=[N,Y])},i.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w},i.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(9);i.selectors_scopeMatchASelectorsString=function(S,y){throw new m.NotSupportedError}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(105);i.treeWalker_traverseChildren=function(y,_){for(var s=_?y._current._firstChild:y._current._lastChild;s!==null;){var h=S.traversal_filter(y,s);if(h===m.FilterResult.Accept)return y._current=s,s;if(h===m.FilterResult.Skip){var o=_?s._firstChild:s._lastChild;if(o!==null){s=o;continue}}for(;s!==null;){var a=_?s._nextSibling:s._previousSibling;if(a!==null){s=a;break}var c=s._parent;if(c===null||c===y._root||c===y._current)return null;s=c}}return null},i.treeWalker_traverseSiblings=function(y,_){var s=y._current;if(s===y._root)return null;for(;;){for(var h=_?s._nextSibling:s._previousSibling;h!==null;){s=h;var o=S.traversal_filter(y,s);if(o===m.FilterResult.Accept)return y._current=s,s;h=_?s._firstChild:s._lastChild,o!==m.FilterResult.Reject&&h!==null||(h=_?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===y._root||S.traversal_filter(y,s)===m.FilterResult.Accept)return null}}},function(l,i,t){"use strict";t(89),t(74);var m,S=this&&this.__extends||(m=function(a,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)p.hasOwnProperty(v)&&(u[v]=p[v])})(a,c)},function(a,c){function u(){this.constructor=a}m(a,c),a.prototype=c===null?Object.create(c):(u.prototype=c.prototype,new u)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(1),_=t(2),s=t(50),h=t(3),o=function(a){function c(u,p){var v=a.call(this,u)||this;return v._indentation={},v._lengthToLastNewline=0,v._writerOptions=y.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),v}return S(c,a),c.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==_.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},c.prototype.declaration=function(u,p,v){this._beginLine(),this._refs.markup+='",this._endLine()},c.prototype.docType=function(u,p,v){this._beginLine(),this._refs.markup+=p&&v?"':p?"':v?"':"",this._endLine()},c.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},c.prototype.openTagEnd=function(u,p,v){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!v){for(var f=!0,r=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,r=!1;break}g++}e.data!==""&&(r=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=r}(v||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=v?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},c.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},c.prototype.attribute=function(u,p){var v=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+v.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+v):this._refs.markup+=" "+v},c.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},c.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},c.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},c.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},c.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},c}(s.BaseWriter);i.XMLWriter=o},function(l,i,t){"use strict";var m=t(47),S=t(35);l.exports="".repeat||function(y){var _=String(S(this)),s="",h=m(y);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(_+=_))1&h&&(s+=_);return s}},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),y=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new _.ObjectWriter(this._builderOptions,u).serialize(c);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},a.prototype._convertObject=function(c,u,p){var v,f,r=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(c);if(s.isArray(c)){e+="[";var b=c.length,x=0;try{for(var E=y(c),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(c.indent):""},a.prototype._endLine=function(c,u){return c.prettyPrint?c.newline:""},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a.prototype._isLeafNode=function(c){return this._descendantCount(c)<=1},a.prototype._descendantCount=function(c,u){var p=this;return u===void 0&&(u=0),s.isArray(c)?s.forEachArray(c,function(v){return u+=p._descendantCount(v,u)},this):s.isObject(c)?s.forEachObject(c,function(v,f){return u+=p._descendantCount(f,u)},this):u++,u},a}(t(50).BaseWriter);i.JSONWriter=h},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(89),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),y=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new _.ObjectWriter(this._builderOptions,u).serialize(c),v=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return v.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(v=v.slice(0,-this._writerOptions.newline.length)),v},a.prototype._convertObject=function(c,u,p,v){var f,r,e=this;v===void 0&&(v=!1);var g="";if(s.isArray(c))try{for(var b=y(c),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}else s.forEachObject(c,function(w,D){v?(g+=e._key(w),v=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},a.prototype._beginLine=function(c,u,p){p===void 0&&(p=!1);var v=c.offset+u+1,f=new Array(v).join(c.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},a.prototype._endLine=function(c){return c.newline},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a}(t(50).BaseWriter);i.YAMLWriter=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),t(110).dom.setFeatures(!0);var m=t(110);i.DOMImplementation=m.DOMImplementation;var S=t(271);i.DOMParser=S.DOMParser;var y=t(274);i.XMLSerializer=y.XMLSerializer},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),y=function(){function _(){}return _.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),y=t(3),_=t(7),s=function(){function h(o){this._nodeList=[],this._recordQueue=[],this._callback=o;var a=S.dom.window;_.set.append(a._mutationObservers,this)}return h.prototype.observe=function(o,a){var c,u;if((a=a||{childList:!1,subtree:!1}).attributeOldValue===void 0&&a.attributeFilter===void 0||a.attributes!==void 0||(a.attributes=!0),a.characterDataOldValue!==void 0&&a.characterData===void 0&&(a.characterData=!0),!a.childList&&!a.attributes&&!a.characterData)throw new TypeError;if(a.attributeOldValue&&!a.attributes)throw new TypeError;if(a.attributeFilter!==void 0&&!a.attributes)throw new TypeError;if(a.characterDataOldValue&&!a.characterData)throw new TypeError;var p=!1,v=a,f=function(b){var x,E;if(b.observer===r){p=!0;try{for(var w=(x=void 0,m(r._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;_.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=v}},r=this;try{for(var e=m(o._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){c={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(c)throw c.error}}p||(o._registeredObserverList.push({observer:this,options:a}),this._nodeList.push(o))},h.prototype.disconnect=function(){var o,a,c=this;try{for(var u=m(this._nodeList),p=u.next();!p.done;p=u.next()){var v=p.value;_.list.remove(v._registeredObserverList,function(f){return f.observer===c})}}catch(f){o={error:f}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var o=this._recordQueue;return this._recordQueue=[],o},h}();i.MutationObserverImpl=s},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var _=m.Cast.asNode(this)._previousSibling;_;){if(m.Guard.isElementNode(_))return _;_=_._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var _=m.Cast.asNode(this)._nextSibling;_;){if(m.Guard.isElementNode(_))return _;_=_._nextSibling}return null},enumerable:!0,configurable:!0}),y}();i.NonDocumentTypeChildNodeImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),y=function(){function _(){}return _.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(m.Cast.asNode(this),!1,!1,function(o){return m.Guard.isElementNode(o)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(m.Cast.asNode(this),h,!1,!1,function(o){return m.Guard.isElementNode(o)})}return null},_}();i.NonElementParentNodeImpl=y},function(l,i,t){"use strict";var m=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,o=h&&s[h],a=0;if(o)return o.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),y=t(0),_=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return y.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,o,a=0;try{for(var c=m(S.Cast.asNode(this)._children),u=c.next();!u.done;u=c.next()){var p=u.value;S.Guard.isElementNode(p)&&a++}}catch(v){h={error:v}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(h)throw h.error}}return a},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],o=0;o0)&&!(v=r.next()).done;)e.push(v.value)}catch(g){f={error:g}}finally{try{v&&!v.done&&(p=r.return)&&p.call(r)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(180),_=t(111),s=t(7),h=t(0),o=t(69),a=function(){function c(){}return c.prototype.parse=function(u){for(var p,v,f,r,e=new y.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==_.TokenType.EOF;){switch(x.type){case _.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case _.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case _.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case _.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case _.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case _.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case _.TokenType.Element:var R=x,k=m(h.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=m(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=m(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(M){p={error:M}}finally{try{H&&!H.done&&(v=X.return)&&v.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);b.appendChild(ie);var le=new o.LocalNameSet;try{for(var fe=(f=void 0,S(R.attributes)),P=fe.next();!P.done;P=fe.next()){var C=m(P.value,2),B=(re=C[0],de=C[1],m(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(M){f={error:M}}finally{try{P&&!P.done&&(r=fe.return)&&r.call(fe)}finally{if(f)throw f.error}}R.selfClosing||(b=ie);break;case _.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},c.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c}();i.XMLParserImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(275);i.XMLSerializer=m.XMLSerializerImpl},function(l,i,t){"use strict";var m=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(2),y=t(69),_=t(95),s=t(9),h=t(7),o=t(0),a=function(){function c(){}return c.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},c.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var v=new _.NamespacePrefixMap;v.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,v,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},c.prototype._serializeNodeNS=function(u,p,v,f,r){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,v,f,r);case S.NodeType.Document:return this._serializeDocumentNS(u,p,v,f,r);case S.NodeType.Comment:return this._serializeComment(u,r);case S.NodeType.Text:return this._serializeText(u,r);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,v,f,r);case S.NodeType.DocumentType:return this._serializeDocumentType(u,r);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,r);case S.NodeType.CData:return this._serializeCData(u,r);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeElementNS=function(u,p,v,f,r){var e,g;if(r&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=v.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,R=u.namespaceURI;if(I===R)N!==null&&(w=!0),b+=x=R===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&R===N||(G=D.get(k,R)),k==="xmlns"){if(r)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(R,D,f)),D.set(k,R),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,r)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(w=!0,I=R,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(R,r)+'"'):(I=R,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,r);var $=R===h.namespace.HTML;if($&&u.childNodes.length===0&&c._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=m(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,r)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},c.prototype._serializeDocumentNS=function(u,p,v,f,r){var e,g;if(r&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeComment=function(u,p){if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},c.prototype._serializeText=function(u,p){if(p&&!o.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var v="",f=0;f"?">":r}return v},c.prototype._serializeDocumentFragmentNS=function(u,p,v,f,r){var e,g,b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeDocumentType=function(u,p){if(p&&!o.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!o.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},c.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},c.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},c.prototype._serializeAttributesNS=function(u,p,v,f,r,e){var g,b,x="",E=e?new y.LocalNameSet:void 0;try{for(var w=m(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(r||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&r||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,v):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!o.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},c.prototype._recordNamespaceInformation=function(u,p,v){var f,r,e=null;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),v[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(r=g.return)&&r.call(g)}finally{if(f)throw f.error}}return e},c.prototype._generatePrefix=function(u,p,v){var f="ns"+v.value;return v.value++,p.set(f,u),f},c.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!o.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var v="",f=0;f"?">":r}return v},c.prototype._serializeElement=function(u,p){var v,f;if(p&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var r=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",r=!0),g+=">",r)return g;try{for(var b=m(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){v={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(v)throw v.error}}return g+=""},c.prototype._serializeDocument=function(u,p){var v,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeDocumentFragment=function(u,p){var v,f,r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeAttributes=function(u,p){var v,f,r="",e=p?{}:void 0;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!o.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}return r},c._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),c}();i.XMLSerializerImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(277);i.XMLReader=m.XMLReader;var S=t(112);i.ObjectReader=S.ObjectReader;var y=t(280);i.JSONReader=y.JSONReader;var _=t(281);i.YAMLReader=_.YAMLReader},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(65),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var r in f)f.hasOwnProperty(r)&&(v[r]=f[r])})(u,p)},function(u,p){function v(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}),y=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},_=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(180),h=t(111),o=t(7),a=t(0),c=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(v,f){for(var r,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=v,w=v,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var R=D;w=this.docType(w,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=y(a.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(r=void 0,_(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=y(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=y(a.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){r={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(r)throw r.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===v.node&&(E=C);try{for(var B=(g=void 0,_(z.attributes)),L=B.next();!L.done;L=B.next()){var M=y(L.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(a.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=o.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(t(75).BaseReader);i.XMLReader=c},function(l,i,t){var m=t(4),S=t(279);m({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(l,i,t){"use strict";var m=t(16),S=t(8),y=t(61),_=t(85),s=t(79),h=t(27),o=t(41),a=Object.assign,c=Object.defineProperty;l.exports=!a||S(function(){if(m&&a({b:1},a(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},v=Symbol();return u[v]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),a({},u)[v]!=7||y(a({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var v=h(u),f=arguments.length,r=1,e=_.f,g=s.f;f>r;)for(var b,x=o(arguments[r++]),E=e?y(x).concat(e(x)):y(x),w=E.length,D=0;w>D;)b=E[D++],m&&!g.call(x,b)||(v[b]=x[b]);return v}:a},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(112),_=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){return new y.ObjectReader(this._builderOptions).parse(o,JSON.parse(a))},h}(t(75).BaseReader);i.JSONReader=_},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var y=t(112),_=t(75),s=t(282),h=function(o){function a(){return o!==null&&o.apply(this,arguments)||this}return S(a,o),a.prototype._parse=function(c,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(c,p)},a}(_.BaseReader);i.YAMLReader=h},function(l,i,t){"use strict";var m=t(283);l.exports=m},function(l,i,t){"use strict";var m=t(284),S=t(303);function y(_){return function(){throw new Error("Function "+_+" is deprecated and cannot be used.")}}l.exports.Type=t(10),l.exports.Schema=t(39),l.exports.FAILSAFE_SCHEMA=t(113),l.exports.JSON_SCHEMA=t(182),l.exports.CORE_SCHEMA=t(181),l.exports.DEFAULT_SAFE_SCHEMA=t(54),l.exports.DEFAULT_FULL_SCHEMA=t(76),l.exports.load=m.load,l.exports.loadAll=m.loadAll,l.exports.safeLoad=m.safeLoad,l.exports.safeLoadAll=m.safeLoadAll,l.exports.dump=S.dump,l.exports.safeDump=S.safeDump,l.exports.YAMLException=t(53),l.exports.MINIMAL_SCHEMA=t(113),l.exports.SAFE_SCHEMA=t(54),l.exports.DEFAULT_SCHEMA=t(76),l.exports.scan=y("scan"),l.exports.parse=y("parse"),l.exports.compose=y("compose"),l.exports.addConstructor=y("addConstructor")},function(l,i,t){"use strict";var m=t(38),S=t(53),y=t(285),_=t(54),s=t(76),h=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=/[\x85\u2028\u2029]/,c=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function v(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function r(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new y(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function R(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var M,q,W;C.version!==null&&R(C,"duplication of %YAML directive"),L.length!==1&&R(C,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&R(C,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var M,q;L.length!==2&&R(C,"TAG directive accepts exactly two arguments"),M=L[0],q=L[1],u.test(M)||R(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,M)&&R(C,'there is a previously declared suffix for "'+M+'" tag handle'),p.test(q)||R(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[M]=q}};function $(C,B,L,M){var q,W,ae,me;if(B1&&(C.result+=m.repeat(` +`,B-1))}function de(C,B){var L,M,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),M=C.input.charCodeAt(C.position);M!==0&&M===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),M=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),M=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&M!==0)R(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?R(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(r(xe)){do xe=K.input.charCodeAt(++K.position);while(r(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:R(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else R(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&R(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||R(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||R(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),r(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&R(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Me.kind+'", not "'+C.kind+'"'),Me.resolve(C.result)?(C.result=Me.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):R(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):R(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,M,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(M=[],(L=C.input.slice(B,C.position)).length<1&&R(C,"directive name must not be less than one character in length");q!==0;){for(;r(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);M.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,M):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&R(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&a.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>_/2-1){s=" ... ",h+=5;break}for(o="",a=this.position;a_/2-1){o=" ... ",a-=5;break}return c=this.buffer.slice(h,a),m.repeat(" ",y)+s+c+o+` +`+m.repeat(" ",y+this.position-h+s.length)+"^"},S.prototype.toString=function(y){var _,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),y||(_=this.getSnippet())&&(s+=`: +`+_),s},l.exports=S},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var y=S.length;return y===1&&S==="~"||y===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var y=S.length;return y===4&&(S==="true"||S==="True"||S==="TRUE")||y===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(38),S=t(10);function y(s){return 48<=s&&s<=55}function _(s){return 48<=s&&s<=57}l.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,o,a=s.length,c=0,u=!1;if(!a)return!1;if((h=s[c])!=="-"&&h!=="+"||(h=s[++c]),h==="0"){if(c+1===a)return!0;if((h=s[++c])==="b"){for(c++;c=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(l,i,t){"use strict";var m=t(38),S=t(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),_=/^[-+]?[0-9]+e/;l.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!y.test(s)||s[s.length-1]==="_")},construct:function(s){var h,o,a,c;return o=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,c=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){c.unshift(parseFloat(u,10))}),h=0,a=1,c.forEach(function(u){h+=u*a,a*=60}),o*h):o*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||m.isNegativeZero(s))},represent:function(s,h){var o;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(m.isNegativeZero(s))return"-0.0";return o=s.toString(10),_.test(o)?o.replace("e",".e"):o},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");l.exports=new m("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(_){return _!==null&&(S.exec(_)!==null||y.exec(_)!==null)},construct:function(_){var s,h,o,a,c,u,p,v,f=0,r=null;if((s=S.exec(_))===null&&(s=y.exec(_)),s===null)throw new Error("Date resolve error");if(h=+s[1],o=+s[2]-1,a=+s[3],!s[4])return new Date(Date.UTC(h,o,a));if(c=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(r=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(r=-r)),v=new Date(Date.UTC(h,o,a,c,u,p,f)),r&&v.setTime(v.getTime()-r),v},instanceOf:Date,represent:function(_){return _.toISOString()}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(l,i,t){"use strict";var m;try{m=t(145).Buffer}catch{}var S=t(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;l.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(_){if(_===null)return!1;var s,h,o=0,a=_.length,c=y;for(h=0;h64)){if(s<0)return!1;o+=6}return o%8==0},construct:function(_){var s,h,o=_.replace(/[\r\n=]/g,""),a=o.length,c=y,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|c.indexOf(o.charAt(s));return(h=a%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),m?m.from?m.from(p):new m(p):p},predicate:function(_){return m&&m.isBuffer(_)},represent:function(_){var s,h,o="",a=0,c=_.length,u=y;for(s=0;s>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]),a=(a<<8)+_[s];return(h=c%3)===0?(o+=u[a>>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]):h===2?(o+=u[a>>10&63],o+=u[a>>4&63],o+=u[a<<2&63],o+=u[64]):h===1&&(o+=u[a>>2&63],o+=u[a<<4&63],o+=u[64],o+=u[64]),o}})},function(l,i,t){"use strict";var m=t(10),S=Object.prototype.hasOwnProperty,y=Object.prototype.toString;l.exports=new m("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(_){if(_===null)return!0;var s,h,o,a,c,u=[],p=_;for(s=0,h=p.length;s3||y[y.length-s.length-1]!=="/"))},construct:function(S){var y=S,_=/\/([gim]*)$/.exec(S),s="";return y[0]==="/"&&(_&&(s=_[1]),y=y.slice(1,y.length-s.length-1)),new RegExp(y,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var y="/"+S.source+"/";return S.global&&(y+="g"),S.multiline&&(y+="m"),S.ignoreCase&&(y+="i"),y}})},function(l,i,t){"use strict";var m;try{m=t(302)}catch{typeof window<"u"&&(m=window.esprima)}var S=t(10);l.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var _="("+y+")",s=m.parse(_,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var _,s="("+y+")",h=m.parse(s,{range:!0}),o=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(a){o.push(a.name)}),_=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(o,s.slice(_[0]+1,_[1]-1)):new Function(o,"return "+s.slice(_[0],_[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(l,i,t){var m;m=function(){return function(S){var y={};function _(s){if(y[s])return y[s].exports;var h=y[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,_),h.loaded=!0,h.exports}return _.m=S,_.c=y,_.p="",_(0)}([function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(1),h=_(3),o=_(8),a=_(15);function c(p,v,f){var r=null,e=function(T,N){f&&f(T,N),r&&r.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(v){b=typeof v.comment=="boolean"&&v.comment;var x=typeof v.attachComment=="boolean"&&v.attachComment;(b||x)&&((r=new s.CommentHandler).attach=x,v.comment=!0,g=e)}var E,w=!1;v&&typeof v.sourceType=="string"&&(w=v.sourceType==="module"),E=v&&typeof v.jsx=="boolean"&&v.jsx?new h.JSXParser(p,v,g):new o.Parser(p,v,g);var D=w?E.parseModule():E.parseScript();return b&&r&&(D.comments=r.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}y.parse=c,y.parseModule=function(p,v,f){var r=v||{};return r.sourceType="module",c(p,r,f)},y.parseScript=function(p,v,f){var r=v||{};return r.sourceType="script",c(p,r,f)},y.tokenize=function(p,v,f){var r,e=new a.Tokenizer(p,v);r=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),r.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(r.errors=e.errors()),r};var u=_(2);y.Syntax=u.Syntax,y.version="4.0.1"},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(2),h=function(){function o(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return o.prototype.insertInnerComments=function(a,c){if(a.type===s.Syntax.BlockStatement&&a.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var v=this.leading[p];c.end.offset>=v.start&&(u.unshift(v.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(a.innerComments=u)}},o.prototype.findTrailingComments=function(a){var c=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=a.end.offset&&c.unshift(p.comment)}return this.trailing.length=0,c}var v=this.stack[this.stack.length-1];if(v&&v.node.trailingComments){var f=v.node.trailingComments[0];f&&f.range[0]>=a.end.offset&&(c=v.node.trailingComments,delete v.node.trailingComments)}return c},o.prototype.findLeadingComments=function(a){for(var c,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=a.start.offset;)c=f.node,this.stack.pop();if(c){for(var p=(c.leadingComments?c.leadingComments.length:0)-1;p>=0;--p){var v=c.leadingComments[p];v.range[1]<=a.start.offset&&(u.unshift(v),c.leadingComments.splice(p,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=a.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},o.prototype.visitNode=function(a,c){if(!(a.type===s.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,c);var u=this.findTrailingComments(c),p=this.findLeadingComments(c);p.length>0&&(a.leadingComments=p),u.length>0&&(a.trailingComments=u),this.stack.push({node:a,start:c.start.offset})}},o.prototype.visitComment=function(a,c){var u=a.type[0]==="L"?"Line":"Block",p={type:u,value:a.value};if(a.range&&(p.range=a.range),a.loc&&(p.loc=a.loc),this.comments.push(p),this.attach){var v={comment:{type:u,value:a.value,range:[c.start.offset,c.end.offset]},start:c.start.offset};a.loc&&(v.comment.loc=a.loc),a.type=u,this.leading.push(v),this.trailing.push(v)}},o.prototype.visit=function(a,c){a.type==="LineComment"||a.type==="BlockComment"?this.visitComment(a,c):this.attach&&this.visitNode(a,c)},o}();y.CommentHandler=h},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,y,_){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(y,"__esModule",{value:!0});var o=_(4),a=_(5),c=_(6),u=_(7),p=_(8),v=_(13),f=_(14);function r(g){var b;switch(g.type){case c.JSXSyntax.JSXIdentifier:b=g.name;break;case c.JSXSyntax.JSXNamespacedName:var x=g;b=r(x.namespace)+":"+r(x.name);break;case c.JSXSyntax.JSXMemberExpression:var E=g;b=r(E.object)+"."+r(E.property)}return b}v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||o.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!o.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!o.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var R=E.substr(1,E.length-2);T&&R.length>1?E=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?E=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!f.XHTMLEntities[R]||(E=f.XHTMLEntities[R])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==w;)D+=R==="&"?this.scanXHTMLEntity(w):R;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,o.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new a.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new a.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new a.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new a.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new a.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new a.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new a.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new a.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);y.JSXParser=e},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var _={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&_.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&_.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};y.JSXClosingElement=h;var o=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};y.JSXElement=o;var a=function(){this.type=s.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=a;var c=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};y.JSXExpressionContainer=c;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};y.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};y.JSXMemberExpression=p;var v=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};y.JSXAttribute=v;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};y.JSXNamespacedName=f;var r=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};y.JSXOpeningElement=r;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};y.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};y.JSXText=g},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=h;var o=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=o;var a=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};y.ArrowFunctionExpression=a;var c=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};y.AssignmentExpression=c;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};y.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};y.AsyncArrowFunctionExpression=p;var v=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=v;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=f;var r=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=r;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};y.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};y.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};y.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};y.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};y.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};y.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};y.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};y.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};y.ConditionalExpression=I;var R=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var k=function(){this.type=s.Syntax.DebuggerStatement};y.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};y.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};y.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};y.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};y.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};y.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};y.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};y.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};y.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};y.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};y.ImportSpecifier=L;var M=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};y.LabeledStatement=M;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};y.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};y.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,Xr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=Xr};y.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};y.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Ae;var Me=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Me;var je=function(ye,Pe,Qe,Lt,Xr,Hr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=Xr,this.shorthand=Hr};y.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};y.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};y.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};y.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};y.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};y.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};y.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};y.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};y.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};y.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};y.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};y.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};y.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};y.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};y.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};y.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};y.WhileStatement=Ut;var ui=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};y.WithStatement=ui;var li=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};y.YieldExpression=li},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(9),h=_(10),o=_(11),a=_(7),c=_(12),u=_(2),p=_(13),v=function(){function f(r,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new c.Scanner(r,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(r){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||r===">>>="||r==="&="||r==="^="||r==="|="},f.prototype.isolateCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var r,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),r=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(null,g));break;case 10:r=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,r=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":r=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":r=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:r=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?r=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?r=this.finalize(b,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?r=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),r=this.finalize(b,new a.ThisExpression)):r=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:r=this.throwUnexpectedToken(this.nextToken())}return r},f.prototype.parseSpreadElement=function(){var r=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(r,new a.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var r=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(r,new a.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(r){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=r.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&r.firstRestricted&&this.tolerateUnexpectedToken(r.firstRestricted,r.message),this.context.strict&&r.stricted&&this.tolerateUnexpectedToken(r.stricted,r.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var r=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(r,new a.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var r,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,o.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);r=this.finalize(e,new a.Literal(g.value,b));break;case 3:case 1:case 5:case 4:r=this.finalize(e,new a.Identifier(g.value));break;case 7:g.value==="["?(r=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):r=this.throwUnexpectedToken(g);break;default:r=this.throwUnexpectedToken(g)}return r},f.prototype.isPropertyKey=function(r,e){return r.type===u.Syntax.Identifier&&r.name===e||r.type===u.Syntax.Literal&&r.value===e},f.prototype.parseObjectProperty=function(r){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new a.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&R)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&R)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&R)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(r.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),r.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new a.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new a.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new a.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var r=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(r,new a.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var r=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(r,new a.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(r){switch(r.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:r.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(r.argument);break;case u.Syntax.ArrayExpression:r.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))r=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[r],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(r);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(r.type===u.Syntax.Identifier&&r.name==="yield"&&(b=!0,r={type:"ArrowParameterPlaceHolder",params:[r],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),r.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[r,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new a.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=D.length-1;e=D[R];for(var k=x.pop();R>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[R-1],e=this.finalize(I,new a.BinaryExpression(N,D[R-2],e)),R-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var r=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(r),new a.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(r,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(r,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(r,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(r,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=r.async,E=this.reinterpretAsCoverFormalsList(r);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),r=x?this.finalize(I,new a.AsyncArrowFunctionExpression(E.params,R,G)):this.finalize(I,new a.ArrowFunctionExpression(E.params,R,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&r.type===u.Syntax.Identifier){var $=r;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(r):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(this.startNode(e),new a.AssignmentExpression(Y,r,z)),this.context.firstCoverInitializedNameError=null}}return r},f.prototype.parseExpression=function(){var r=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(r),new a.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var r;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),r=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),r=this.parseImportDeclaration();break;case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"function":r=this.parseFunctionDeclaration();break;case"class":r=this.parseClassDeclaration();break;case"let":r=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:r=this.parseStatement()}else r=this.parseStatement();return r},f.prototype.parseBlock=function(){var r=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(r,new a.BlockStatement(e))},f.prototype.parseLexicalBinding=function(r,e){var g=this.createNode(),b=this.parsePattern([],r);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(o.Messages.StrictVarName);var x=null;return r==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new a.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(r,e){for(var g=[this.parseLexicalBinding(r,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(r,e));return g},f.prototype.isLexicalDeclaration=function(){var r=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(r),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(r){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,r);return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(r,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(r,e);return this.finalize(g,new a.RestElement(b))},f.prototype.parseArrayPattern=function(r,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(r,e));break}b.push(this.parsePatternWithDefault(r,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new a.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(r,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new a.Identifier(D.value));if(this.match("=")){r.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new a.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(r,e)):(r.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(r,e);return this.finalize(x,new a.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(r,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(r,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new a.ObjectPattern(b))},f.prototype.parsePattern=function(r,e){var g;return this.match("[")?g=this.parseArrayPattern(r,e):this.match("{")?g=this.parseObjectPattern(r,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),r.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(r,e){var g=this.lookahead,b=this.parsePattern(r,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new a.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(r){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||r!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new a.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(r){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(o.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||r.inFor||this.expect("="),this.finalize(e,new a.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(r){var e={inFor:r.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var r=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(r,new a.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var r=this.createNode();return this.expect(";"),this.finalize(r,new a.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var r=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var r,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new a.IfStatement(b,r,g))},f.prototype.parseDoWhileStatement=function(){var r=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(r,new a.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var r,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,r=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new a.WhileStatement(g,r))},f.prototype.parseForStatement=function(){var r,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new a.VariableDeclaration(N,R)))):(b=this.finalize(b,new a.Identifier(R)),this.nextToken(),r=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new a.SequenceExpression(G))}this.expect(";")}}if(r===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return r===void 0?this.finalize(D,new a.ForStatement(b,x,E,g)):w?this.finalize(D,new a.ForInStatement(r,e,g)):this.finalize(D,new a.ForOfStatement(r,e,g))},f.prototype.parseContinueStatement=function(){var r=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(r,new a.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var r=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(r,new a.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var r=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var r,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseStatement()),this.finalize(e,new a.WithStatement(g,r))},f.prototype.parseSwitchCase=function(){var r,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),r=null):(this.expectKeyword("case"),r=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new a.SwitchCase(r,g))},f.prototype.parseSwitchStatement=function(){var r=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(o.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(r,new a.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var r,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(o.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,o.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,o.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],r=new a.LabeledStatement(b,E)}else this.consumeSemicolon(),r=new a.ExpressionStatement(g);return this.finalize(e,r)},f.prototype.parseThrowStatement=function(){var r=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var r=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(o.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(o.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var r=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:r=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:r=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return r},f.prototype.parseYieldExpression=function(){var r=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(r,new a.YieldExpression(e,g))},f.prototype.parseClassElement=function(r){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,o.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&R&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,o.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,o.Messages.ConstructorSpecialMethod),r.value?this.throwUnexpectedToken(e,o.Messages.DuplicateConstructor):r.value=!0,b="constructor")),this.finalize(g,new a.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var r=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():r.push(this.parseClassElement(e));return this.expect("}"),r},f.prototype.parseClassBody=function(){var r=this.createNode(),e=this.parseClassElementList();return this.finalize(r,new a.ClassBody(e))},f.prototype.parseClassDeclaration=function(r){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=r&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new a.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var r=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(r,new a.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Module(e))},f.prototype.parseScript=function(){for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Script(e))},f.prototype.parseModuleSpecifier=function(){var r=this.createNode();this.lookahead.type!==8&&this.throwError(o.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(r,new a.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var r,e,g=this.createNode();return this.lookahead.type===3?(e=r=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=r=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new a.ImportSpecifier(e,r))},f.prototype.parseNamedImports=function(){this.expect("{");for(var r=[];!this.match("}");)r.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),r},f.prototype.parseImportDefaultSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName();return this.finalize(r,new a.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var r=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(r,new a.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var r,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)r=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),r=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new a.ImportDeclaration(g,r))},f.prototype.parseExportSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(r,new a.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var r,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);r=this.finalize(e,new a.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),r=this.finalize(e,new a.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),r=this.finalize(e,new a.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),r=this.finalize(e,new a.ExportNamedDeclaration(null,E,w))}return r},f}();y.Parser=v},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(_,s){if(!_)throw new Error("ASSERT: "+s)}},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var _=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,o){var a=new Error(h);try{throw a}catch(c){Object.create&&Object.defineProperty&&(a=Object.create(c),Object.defineProperty(a,"column",{value:o}))}return a},s.prototype.createError=function(h,o,a,c){var u="Line "+o+": "+c,p=this.constructError(u,a);return p.index=h,p.lineNumber=o,p.description=c,p},s.prototype.throwError=function(h,o,a,c){throw this.createError(h,o,a,c)},s.prototype.tolerateError=function(h,o,a,c){var u=this.createError(h,o,a,c);if(!this.tolerant)throw u;this.recordError(u)},s}();y.ErrorHandler=_},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(9),h=_(4),o=_(11);function a(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function c(p){return"01234567".indexOf(p)}var u=function(){function p(v,f){this.source=v,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=v.length,this.index=0,this.lineNumber=v.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(v){this.index=v.index,this.lineNumber=v.lineNumber,this.lineStart=v.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(v){return v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.tolerateUnexpectedToken=function(v){v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.skipSingleLineComment=function(v){var f,r,e=[];for(this.trackComment&&(e=[],f=this.index-v,r={start:{line:this.lineNumber,column:this.index-this.lineStart-v},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+v,this.index-1],range:[f,this.index-1],loc:r};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+v,this.index],range:[f,this.index],loc:r},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var v,f,r=[];for(this.trackComment&&(r=[],v=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:f};r.push(g)}return r}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:f},r.push(g)),this.tolerateUnexpectedToken(),r},p.prototype.scanComments=function(){var v;this.trackComment&&(v=[]);for(var f=this.index===0;!this.eof();){var r=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(r))++this.index;else if(h.Character.isLineTerminator(r))++this.index,r===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(r===47)if((r=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(v=v.concat(e)),f=!0}else{if(r!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(v=v.concat(e))}else if(f&&r===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(v=v.concat(e))}else{if(r!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(v=v.concat(e))}}return v},p.prototype.isFutureReservedWord=function(v){switch(v){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(v){return v==="eval"||v==="arguments"},p.prototype.isKeyword=function(v){switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try"||v==="let";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}},p.prototype.codePointAt=function(v){var f=this.source.charCodeAt(v);if(f>=55296&&f<=56319){var r=this.source.charCodeAt(v+1);r>=56320&&r<=57343&&(f=1024*(f-55296)+r-56320+65536)}return f},p.prototype.scanHexEscape=function(v){for(var f=v==="u"?4:2,r=0,e=0;e1114111||v!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var v=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=v,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=v,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(v,this.index)},p.prototype.getComplexIdentifier=function(){var v,f=this.codePointAt(this.index),r=h.Character.fromCodePoint(f);for(this.index+=r.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierStart(v.charCodeAt(0))||this.throwUnexpectedToken(),r=v);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)r+=v=h.Character.fromCodePoint(f),this.index+=v.length,f===92&&(r=r.substr(0,r.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierPart(v.charCodeAt(0))||this.throwUnexpectedToken(),r+=v);return r},p.prototype.octalToDecimal=function(v){var f=v!=="0",r=c(v);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,r=8*r+c(this.source[this.index++]),"0123".indexOf(v)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+c(this.source[this.index++]))),{code:r,octal:f}},p.prototype.scanIdentifier=function(){var v,f=this.index,r=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((v=r.length===1?3:this.isKeyword(r)?4:r==="null"?5:r==="true"||r==="false"?1:3)!=3&&f+r.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=e}return{type:v,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var v=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===v&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanHexLiteral=function(v){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanBinaryLiteral=function(v){for(var f,r="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)r+=this.source[this.index++];return r.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanOctalLiteral=function(v,f){var r="",e=!1;for(h.Character.isOctalDigit(v.charCodeAt(0))?(e=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return e||r.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var v=this.index+1;v=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(o.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(r)}catch{this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(v,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var v=this.source[this.index];s.assert(v==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],r=!1,e=!1;!this.eof();)if(f+=v=this.source[this.index++],v==="\\")v=this.source[this.index++],h.Character.isLineTerminator(v.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f+=v;else if(h.Character.isLineTerminator(v.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(r)v==="]"&&(r=!1);else{if(v==="/"){e=!0;break}v==="["&&(r=!0)}return e||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var v="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())v+=f;else if((f=this.source[this.index])==="u"){++this.index;var r=this.index,e=this.scanHexEscape("u");if(e!==null)for(v+=e;r=55296&&v<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();y.Scanner=u},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,y,_){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=_(10),h=_(12),o=_(13),a=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],v=p!==null;switch(p){case"this":case"]":v=!1;break;case")":var f=this.values[this.paren-1];v=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(v=!1,this.values[this.curly-3]==="function")v=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if(this.values[this.curly-4]==="function"){var r;v=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return v},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),c=function(){function u(p,v){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!v&&typeof v.tolerant=="boolean"&&v.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!v&&typeof v.comment=="boolean"&&v.comment,this.trackRange=!!v&&typeof v.range=="boolean"&&v.range,this.trackLoc=!!v&&typeof v.loc=="boolean"&&v.loc,this.buffer=[],this.reader=new a}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var v=0;v0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!r(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&a.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=c(1024*(re-55296)+de-56320+65536),Q++):(ve=o[re],ne+=!ve&&r(re)?ee[Q]:ve||c(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` `;return $+(Y&&(k[k.length-2]===` `||k===` `)?"+":Y?"":"-")+` -`}function S(k){return k[k.length-1]===` -`?k.slice(0,-1):k}function C(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,q=/ [^ ]/g,X=0,H=0,ee=0,re="";$=q.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` `+k.slice(X,Y),X=Y+1),H=ee;return re+=` `,k.length-X>G&&H>X?re+=k.slice(X,H)+` -`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,q,X,H,ee,re;for(X=0,H=(q=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,q,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=a.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(q=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(he&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,ue){var ce,P,D,L,B,M,z="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,P=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",z+=M+=ne.dump));ne.tag=W,ne.dump=z||"{}"}(k,G,k.dump,q),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var ue,ce,P,D,L,B="",M=ne.tag,z=Object.keys(ie);for(ue=0,ce=z.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var me=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,ue){var ce,P,D="",L=ne.tag;for(ce=0,P=ie.length;ce "+k.dump)}return!0}function I(k,G){var $,Y,q=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(k){return this.emit("error",k),this}try{for(var N=m(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){S={error:k}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var $=S.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(k=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),C+=$+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var q=G===u.namespace.HTML;q&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):q||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,k,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=y(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=m(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){S={error:H}}finally{try{k&&!k.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=m(b.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{q&&!q.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,k,G=I?new f.LocalNameSet:void 0;try{for(var $=m(b.attributes),Y=$.next();!Y.done;Y=$.next()){var q=Y.value;if(I||N||q.namespaceURI!==null){if(I&&G&&G.has(q.namespaceURI,q.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(q.namespaceURI,q.localName);var X=q.namespaceURI,H=null;if(X!==null)if(H=S.get(q.prefix,X),X===u.namespace.XMLNS){if(q.value===u.namespace.XML||q.prefix===null&&N||q.prefix!==null&&(!(q.localName in T)||T[q.localName]!==q.value)&&S.has(q.localName,q.value))continue;if(I&&q.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&q.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));q.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=q.prefix===null||S.hasPrefix(q.prefix)&&!S.has(q.prefix,X)?this._generatePrefix(X,S,C):q.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(q.localName.indexOf(":")!==-1||!i.xml_isName(q.localName)||q.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}else this._push(this._writer.attribute(q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=m(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var q=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(q,X)))continue;S.set(q,X),C[q]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var k=C[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=m},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(y,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(y,a)},function(y,a){function p(){this.constructor=y}v(y,a),y.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var m=function(y){function a(p){var n=y.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,y),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=m},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(y,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(y,a)},function(y,a){function p(){this.constructor=y}v(y,a),y.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var m=function(y){function a(p){var n=y.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,y),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=m},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,m=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")m(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var wp=Hs((Hn,Ci)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",m="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,q=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",P="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",z="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",$e="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Jn=RegExp(st.source),Kn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Br=/[\\^$.*+?()[\]{}|]/g,wa=RegExp(Br.source),Vn=/^\s+/,Ti=/\s/,Lr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ni=/\{\n\/\* \[wrapped with (.+)\] \*/,Sa=/,? & /,Aa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,Da=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,tn=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Ca=/^0b[01]+$/i,Yn=/^\[object .+?Constructor\]$/,Ta=/^0o[0-7]+$/i,Na=/^(?:0|[1-9]\d*)$/,Fa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,Oa=/['\n\r\u2028\u2029\\]/g,bn="\\ud800-\\udfff",Ia="\\u0300-\\u036f",Pa="\\ufe20-\\ufe2f",ka="\\u20d0-\\u20ff",Fi=Ia+Pa+ka,Oi="\\u2700-\\u27bf",Ii="a-z\\xdf-\\xf6\\xf8-\\xff",Ba="\\xac\\xb1\\xd7\\xf7",La="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ra="\\u2000-\\u206f",Ma=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pi="A-Z\\xc0-\\xd6\\xd8-\\xde",ki="\\ufe0e\\ufe0f",Bi=Ba+La+Ra+Ma,qt="['\u2019]",Qn="["+bn+"]",Zn="["+Bi+"]",rn="["+Fi+"]",Li="\\d+",nn="["+Oi+"]",Ri="["+Ii+"]",Mi="[^"+bn+Bi+Li+Oi+Ii+Pi+"]",En="\\ud83c[\\udffb-\\udfff]",ja="(?:"+rn+"|"+En+")",ji="[^"+bn+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Pi+"]",le="\\u200d",be="(?:"+Ri+"|"+Mi+")",Ie="(?:"+Z+"|"+Mi+")",Qe="(?:"+qt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+qt+"(?:D|LL|M|RE|S|T|VE))?",At=ja+"?",bt="["+ki+"]?",Cp="(?:"+le+"(?:"+[ji,F,j].join("|")+")"+bt+At+")*",Tp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Np="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",su=bt+At+Cp,Fp="(?:"+[nn,F,j].join("|")+")"+su,Op="(?:"+[ji+rn+"?",rn,F,j,Qn].join("|")+")",Ip=RegExp(qt,"g"),Pp=RegExp(rn,"g"),Ua=RegExp(En+"(?="+En+")|"+Op+su,"g"),kp=RegExp([Z+"?"+Ri+"+"+Qe+"(?="+[Zn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Zn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Np,Tp,Li,Fp].join("|"),"g"),Bp=RegExp("["+le+bn+Fi+ki+"]"),Lp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mp=-1,dt={};dt[qe]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[ze]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[z]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[ze]=ht[ue]=ht[ce]=ht[qe]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[z]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var jp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Up={"&":"&","<":"<",">":">",'"':""","'":"'"},qp={"&":"&","<":"<",">":">",""":'"',"'":"'"},zp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Gp=parseFloat,Wp=parseInt,uu=typeof global=="object"&&global&&global.Object===Object&&global,Xp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=uu||Xp||Function("return this")(),qa=typeof Hn=="object"&&Hn&&!Hn.nodeType&&Hn,on=qa&&typeof Ci=="object"&&Ci&&!Ci.nodeType&&Ci,lu=on&&on.exports===qa,za=lu&&uu.process,nr=function(){try{var fe=on&&on.require&&on.require("util").types;return fe||za&&za.binding&&za.binding("util")}catch{}}(),cu=nr&&nr.isArrayBuffer,fu=nr&&nr.isDate,pu=nr&&nr.isMap,hu=nr&&nr.isRegExp,du=nr&&nr.isSet,mu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Hp(fe,Ee,ve,ke){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ga(fe,Ee,ve){for(var ke=-1,Ke=fe==null?0:fe.length;++ke-1;);return ve}function wu(fe,Ee){for(var ve=fe.length;ve--&&wn(Ee,fe[ve],0)>-1;);return ve}function th(fe,Ee){for(var ve=fe.length,ke=0;ve--;)fe[ve]===Ee&&++ke;return ke}var rh=$a(jp),nh=$a(Up);function ih(fe){return"\\"+zp[fe]}function oh(fe,Ee){return fe==null?E:fe[Ee]}function Sn(fe){return Bp.test(fe)}function ah(fe){return Lp.test(fe)}function sh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ya(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(ke,Ke){ve[++Ee]=[Ke,ke]}),ve}function Su(fe,Ee){return function(ve){return fe(Ee(ve))}}function jr(fe,Ee){for(var ve=-1,ke=fe.length,Ke=0,lt=[];++ve-1}function Jh(r,h){var A=this.__data__,O=no(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Wh,br.prototype.delete=Xh,br.prototype.get=Hh,br.prototype.has=$h,br.prototype.set=Jh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Qd(r),!se)return zt(r,te)}else{var Fe=Lt(r),Pe=Fe==L||Fe==B;if(Hr(r))return al(r,se);if(Fe==oe||Fe==ne||Pe&&!U){if(te=pe||Pe?{}:Al(r),!se)return pe?qd(r,cd(te,r)):Ud(r,Lu(te,r))}else{if(!ht[Fe])return U?r:{};te=Zd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),ec(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Ql(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?ws:Es:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ai(te,nt,sr(He,h,A,nt,r,V))}),te}function fd(r){var h=Ot(r);return function(A){return Ru(A,r,h)}}function Ru(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Mu(r,h,A){if(typeof r!="function")throw new or(w);return hi(function(){r.apply(E,A)},h)}function si(r,h,A,O){var U=-1,V=Ui,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ga,te=!1):h.length>=o&&(V=ei,te=!1,h=new un(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:rc(O);A0&&A(se)?h>1?Pt(se,h-1,A,O,U):Mr(U,se):O||(U[U.length]=se)}return U}var is=pl(),qu=pl(!0);function gr(r,h){return r&&is(r,h,Ot)}function os(r,h){return r&&qu(r,h,Ot)}function oo(r,h){return Rr(h,function(A){return Cr(r[A])})}function cn(r,h){h=Wr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function dd(r,h){return r!=null&&ft.call(r,h)}function md(r,h){return r!=null&&h in pt(r)}function yd(r,h,A){return r>=Bt(h,A)&&r=120&&Ce.length>=120)?new un(te&&Ce):E}Ce=r[0];var Fe=-1,Pe=se[0];e:for(;++Fe-1;)se!==r&&Vi.call(se,pe,1),Vi.call(r,pe,1);return r}function Qu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Vi.call(r,U,1):ms(r,U)}}return r}function ps(r,h){return r+Zi(Iu()*(h-r+1))}function Nd(r,h,A,O){for(var U=-1,V=Tt(Qi((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function hs(r,h){var A="";if(!r||h<1||h>q)return A;do h%2&&(A+=r),h=Zi(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Fs(Tl(r,h,Xt),r+"")}function Fd(r){return Bu(kn(r))}function Od(r,h){var A=kn(r);return vo(A,ln(h,0,A.length))}function ci(r,h,A,O){if(!vt(r))return r;h=Wr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Xd(r);if(De)return zi(De);te=!1,U=ei,pe=new un}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var ol=Eh||function(r){return Ft.clearTimeout(r)};function al(r,h){if(h)return r.slice();var A=r.length,O=Cu?Cu(A):new r.constructor(A);return r.copy(O),O}function _s(r){var h=new r.constructor(r.byteLength);return new Ji(h).set(new Ji(r)),h}function Ld(r,h){var A=h?_s(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Rd(r){var h=new r.constructor(r.source,tn.exec(r));return h.lastIndex=r.lastIndex,h}function Md(r){return oi?pt(oi.call(r)):{}}function sl(r,h){var A=h?_s(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function ul(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ll(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function ml(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&mo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,Pe=!0,Ue=A&f?new un:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Lr,`{ -/* [wrapped with `+h+`] */ -`)}function tm(r){return Ye(r)||hn(r)||!!(Fu&&r&&r[Fu])}function Dr(r,h){var A=typeof r;return h=h??q,!!h&&(A=="number"||A!="symbol"&&Na.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function vo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ul(r,A)});function ql(r){var h=J(r);return h.__chain__=!0,h}function p0(r,h){return h(r),r}function go(r,h){return h(r)}var h0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return ns(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:go,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function d0(){return ql(this)}function m0(){return new ar(this.value(),this.__chain__)}function y0(){this.__values__===E&&(this.__values__=tc(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function v0(){return this}function g0(r){for(var h,A=this;A instanceof ro;){var O=kl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function _0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:go,args:[Os],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Os)}function x0(){return nl(this.__wrapped__,this.__actions__)}var b0=lo(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function E0(r,h,A){var O=Ye(r)?yu:pd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function w0(r,h){var A=Ye(r)?Rr:Uu;return A(r,Ge(h,3))}var S0=dl(Bl),A0=dl(Ll);function D0(r,h){return Pt(_o(r,h),1)}function C0(r,h){return Pt(_o(r,h),Y)}function T0(r,h,A){return A=A===E?1:Ze(A),Pt(_o(r,h),A)}function zl(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function Gl(r,h){var A=Ye(r)?$p:ju;return A(r,Ge(h,3))}var N0=lo(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function F0(r,h,A,O){r=Gt(r)?r:kn(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),So(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&wn(r,h,A)>-1}var O0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):ui(te,h,A)}),V}),I0=lo(function(r,h,A){wr(r,A,h)});function _o(r,h){var A=Ye(r)?yt:Hu;return A(r,Ge(h,3))}function P0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Vu(r,h,A))}var k0=lo(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function B0(r,h,A){var O=Ye(r)?Wa:xu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function L0(r,h,A){var O=Ye(r)?Jp:xu,U=arguments.length<3;return O(r,Ge(h,4),A,U,ju)}function R0(r,h){var A=Ye(r)?Rr:Uu;return A(r,Eo(Ge(h,3)))}function M0(r){var h=Ye(r)?Bu:Fd;return h(r)}function j0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?sd:Od;return O(r,h)}function U0(r){var h=Ye(r)?ud:Pd;return h(r)}function q0(r){if(r==null)return 0;if(Gt(r))return So(r)?An(r):r.length;var h=Lt(r);return h==M||h==Be?r.size:ls(r).length}function z0(r,h,A){var O=Ye(r)?Xa:kd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var G0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Vu(r,Pt(h,1),[])}),xo=wh||function(){return Ft.Date.now()};function W0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Wl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Xl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ps=rt(function(r,h,A){var O=d;if(A.length){var U=jr(A,In(Ps));O|=x}return Sr(r,O,h,A,U)}),Hl=rt(function(r,h,A){var O=d|c;if(A.length){var U=jr(A,In(Hl));O|=x}return Sr(h,O,r,A,U)});function $l(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=$l.placeholder,O}function Jl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Jl.placeholder,O}function Kl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,Pe=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,Pe="trailing"in A?!!A.trailing:Pe);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=hi(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,dc=h-yr;return Fe?Bt(dc,V-Nr):dc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=xo();if(He(wt))return ot(wt);se=hi(nt,et(wt))}function ot(wt){return se=E,Pe&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&ol(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(xo())}function er(){var wt=xo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return ol(se),se=hi(nt,h),Ue(pe)}return se===E&&(se=hi(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var X0=rt(function(r,h){return Mu(r,1,h)}),H0=rt(function(r,h,A){return Mu(r,cr(h)||0,A)});function $0(r){return Sr(r,C)}function bo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(bo.Cache||Er),A}bo.Cache=Er;function Eo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function J0(r){return Xl(2,r)}var K0=Bd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(Pt(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Bt(O.length,A);++U=h}),hn=Gu(function(){return arguments}())?Gu:function(r){return xt(r)&&ft.call(r,"callee")&&!Nu.call(r,"callee")},Ye=ve.isArray,cy=cu?Vt(cu):gd;function Gt(r){return r!=null&&wo(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function fy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Hr=Ah||Xs,py=fu?Vt(fu):_d;function hy(r){return xt(r)&&r.nodeType===1&&!di(r)}function dy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Hr(r)||Pn(r)||hn(r)))return!r.length;var h=Lt(r);if(h==M||h==Be)return!r.size;if(pi(r))return!ls(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function my(r,h){return li(r,h)}function yy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?li(r,h,E,A):!!O}function Bs(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==P||typeof r.message=="string"&&typeof r.name=="string"&&!di(r)}function vy(r){return typeof r=="number"&&Ou(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Yl(r){return typeof r=="number"&&r==Ze(r)}function wo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=q}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Ql=pu?Vt(pu):bd;function gy(r,h){return r===h||us(r,h,As(h))}function _y(r,h,A){return A=typeof A=="function"?A:E,us(r,h,As(h),A)}function xy(r){return Zl(r)&&r!=+r}function by(r){if(im(r))throw new Ke(v);return Wu(r)}function Ey(r){return r===null}function wy(r){return r==null}function Zl(r){return typeof r=="number"||xt(r)&&Rt(r)==z}function di(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Ki(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Xi.call(A)==_h}var Ls=hu?Vt(hu):Ed;function Sy(r){return Yl(r)&&r>=-q&&r<=q}var ec=du?Vt(du):wd;function So(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var Pn=mu?Vt(mu):Sd;function Ay(r){return r===E}function Dy(r){return xt(r)&&Lt(r)==we}function Cy(r){return xt(r)&&Rt(r)==at}var Ty=ho(cs),Ny=ho(function(r,h){return r<=h});function tc(r){if(!r)return[];if(Gt(r))return So(r)?hr(r):zt(r);if(ti&&r[ti])return sh(r[ti]());var h=Lt(r),A=h==M?Ya:h==Be?zi:kn;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function rc(r){return r?ln(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=bu(r);var A=Ca.test(r);return A||Ta.test(r)?Wp(r.slice(2),A?2:8):vr.test(r)?H:+r}function nc(r){return _r(r,Wt(r))}function Fy(r){return r?ln(Ze(r),-q,q):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Oy=Fn(function(r,h){if(pi(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ai(r,A,h[A])}),ic=Fn(function(r,h){_r(h,Wt(h),r)}),Ao=Fn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Iy=Fn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Py=Ar(ns);function ky(r,h){var A=Nn(r);return h==null?A:Lu(A,h)}var By=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,ws(r),A),O&&(A=sr(A,n|i|u,Hd));for(var U=h.length;U--;)ms(A,h[U]);return A});function Zy(r,h){return ac(r,Eo(Ge(h)))}var ev=Ar(function(r,h){return r==null?{}:Cd(r,h)});function ac(r,h){if(r==null)return{};var A=yt(ws(r),function(O){return[O]});return h=Ge(h),Yu(r,A,function(O,U){return h(O,U[0])})}function tv(r,h,A){h=Wr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Iu();return Bt(r+U*(h-r+Gp("1e-"+((U+"").length-1))),h)}return ps(r,h)}var pv=On(function(r,h,A){return h=h.toLowerCase(),r+(A?lc(h):h)});function lc(r){return js(ct(r).toLowerCase())}function cc(r){return r=ct(r),r&&r.replace(Fa,rh).replace(Pp,"")}function hv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:ln(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function dv(r){return r=ct(r),r&&Jn.test(r)?r.replace(st,nh):r}function mv(r){return r=ct(r),r&&wa.test(r)?r.replace(Br,"\\$&"):r}var yv=On(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),vv=On(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),gv=hl("toLowerCase");function _v(r,h,A){r=ct(r),h=Ze(h);var O=h?An(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return po(Zi(U),A)+r+po(Qi(U),A)}function xv(r,h,A){r=ct(r),h=Ze(h);var O=h?An(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Ls(h))&&(h=Yt(h),!h&&Sn(r))?Xr(hr(r),0,A):r.split(h,A)):[]}var Cv=On(function(r,h,A){return r+(A?" ":"")+js(h)});function Tv(r,h,A){return r=ct(r),A=A==null?0:ln(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Nv(r,h,A){var O=J.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=Ao({},h,O,xl);var U=Ao({},h.imports,O.imports,xl),V=Ot(U),te=Va(U,V),se,pe,De=0,Ce=h.interpolate||xn,Fe="__p += '",Pe=Qa((h.escape||xn).source+"|"+Ce.source+"|"+(Ce===Oe?Da:xn).source+"|"+(h.evaluate||xn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mp+"]")+` -`;r.replace(Pe,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Oa,ih),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,M,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,L&&(M+=v(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",M=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=M,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(i,"__esModule",{value:!0});var s=t(91),h=t(1),o=t(183),a=t(0),c=t(7),u=t(95),p=t(69),v=t(3),f=t(305),r=t(306),e=t(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new r.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",c.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=o.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!a.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=o.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=o.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!a.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!a.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=o.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&a.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),D=G===c.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,R!==null&&R!==c.namespace.XML&&(k=R||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===c.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=_(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(v.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var R=y(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=R.return)&&D.call(R)}finally{if(w)throw w.error}}try{for(var Y=y(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else v.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):v.Guard.isCommentNode(E)?this.com(E.data):v.Guard.isCDATASectionNode(E)?this.dat(E.data):v.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var R,k,G=I?new p.LocalNameSet:void 0;try{for(var $=y(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===c.namespace.XMLNS){if(z.value===c.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===c.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!a.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!a.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var R=y(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===c.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===c.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var R in T){var k=D[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':o?"':a?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,o){return o?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,o,a){return a?" />":o?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,o){var a=h+'="'+o+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+a.length>this._writerOptions.width?(a=this._beginLine()+this._indent(1)+a,this._lineLength=a.length,a):(this._lineLength+=1+a.length," "+a)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(t(114).BaseCBWriter);i.XMLCBWriter=y},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(_,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(_,s)},function(_,s){function h(){this.constructor=_}m(_,s),_.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var y=function(_){function s(h){var o=_.call(this,h)||this;return o._hasChildren=[],o._additionalLevel=0,o}return S(s,_),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,o){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(o?h+" "+o:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,o){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(o)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var o=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,o+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),o},s.prototype.openTagEnd=function(h,o,a){if(o){var c=this._sep()+"]";return this._additionalLevel--,c+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var o=this._beginLine()+"]";return this._additionalLevel--,o+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.JSONCBWriter=y},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(_,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(_,s)},function(_,s){function h(){this.constructor=_}m(_,s),_.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var y=function(_){function s(h){var o=_.call(this,h)||this;if(o._rootWritten=!1,o._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return o}return S(s,_),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,o){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(o?h+" "+o:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,o){this._additionalLevel++;var a=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(o);return this._additionalLevel--,a},s.prototype.openTagBegin=function(h){var o=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,o+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,o,a){return o?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,o){if(h+this._additionalLevel<=0)return"";var a=this._writerOptions.indent.repeat(h+this._additionalLevel);return!o&&this._rootWritten?a.substr(0,a.length-2)+"-"+a.substr(-1,1):a},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.YAMLCBWriter=y},function(l,i,t){"use strict";var m,S=typeof Reflect=="object"?Reflect:null,y=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};m=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var _=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}l.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function o(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function c(e,g,b,x){var E,w,D,T;if(o(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=a(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function v(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=r(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return v(this,e,!0)},s.prototype.rawListeners=function(e){return v(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(77);i.createCB=function(S){return new m.XMLBuilderCBImpl(S)},i.fragmentCB=function(S){return new m.XMLBuilderCBImpl(S,!0)}}])})});var uh=Is((ai,Ui)=>{(function(){var l,i="4.17.21",t=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",y="Invalid `variable` option passed into `_.template`",_="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",o=1,a=2,c=4,u=1,p=2,v=1,f=2,r=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",v],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Me="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ui=RegExp(ft.source),li=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hr=/[\\^$.*+?()[\]{}|]/g,la=RegExp(Hr.source),ci=/^\s+/,zi=/\s/,$r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qi=/\{\n\/\* \[wrapped with (.+)\] \*/,ca=/,? & /,fa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tr=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,pa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pn=/\w*$/,Ar=/^[-+]0x[0-9a-f]+$/i,ha=/^0b[01]+$/i,fi=/^\[object .+?Constructor\]$/,da=/^0o[0-7]+$/i,ma=/^(?:0|[1-9]\d*)$/,va=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kn=/($^)/,ya=/['\n\r\u2028\u2029\\]/g,Ln="\\ud800-\\udfff",_a="\\u0300-\\u036f",ga="\\ufe20-\\ufe2f",xa="\\u20d0-\\u20ff",Gi=_a+ga+xa,Wi="\\u2700-\\u27bf",Xi="a-z\\xdf-\\xf6\\xf8-\\xff",ba="\\xac\\xb1\\xd7\\xf7",Ea="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wa="\\u2000-\\u206f",Sa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Hi="A-Z\\xc0-\\xd6\\xd8-\\xde",$i="\\ufe0e\\ufe0f",Ji=ba+Ea+wa+Sa,Jt="['\u2019]",pi="["+Ln+"]",hi="["+Ji+"]",hn="["+Gi+"]",Ki="\\d+",dn="["+Wi+"]",Vi="["+Xi+"]",Yi="[^"+Ln+Ji+Ki+Wi+Xi+Hi+"]",Bn="\\ud83c[\\udffb-\\udfff]",Aa="(?:"+hn+"|"+Bn+")",Qi="[^"+Ln+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Hi+"]",ce="\\u200d",Ee="(?:"+Vi+"|"+Yi+")",Le="(?:"+Z+"|"+Yi+")",rt="(?:"+Jt+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+Jt+"(?:D|LL|M|RE|S|T|VE))?",Ot=Aa+"?",Ct="["+$i+"]?",ph="(?:"+ce+"(?:"+[Qi,O,j].join("|")+")"+Ct+Ot+")*",hh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",dh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",lu=Ct+Ot+ph,mh="(?:"+[dn,O,j].join("|")+")"+lu,vh="(?:"+[Qi+hn+"?",hn,O,j,pi].join("|")+")",yh=RegExp(Jt,"g"),_h=RegExp(hn,"g"),Ca=RegExp(Bn+"(?="+Bn+")|"+vh+lu,"g"),gh=RegExp([Z+"?"+Vi+"+"+rt+"(?="+[hi,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[hi,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,dh,hh,Ki,mh].join("|"),"g"),xh=RegExp("["+ce+Ln+Gi+$i+"]"),bh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Eh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],wh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[M]=_t[q]=_t[ae]=_t[Ae]=_t[Me]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[M]=yt[q]=yt[ae]=yt[Ae]=yt[Me]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var Sh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ah={"&":"&","<":"<",">":">",'"':""","'":"'"},Ch={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Th=parseFloat,Nh=parseInt,cu=typeof global=="object"&&global&&global.Object===Object&&global,Oh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=cu||Oh||Function("return this")(),Da=typeof ai=="object"&&ai&&!ai.nodeType&&ai,mn=Da&&typeof Ui=="object"&&Ui&&!Ui.nodeType&&Ui,fu=mn&&mn.exports===Da,Ta=fu&&cu.process,fr=function(){try{var pe=mn&&mn.require&&mn.require("util").types;return pe||Ta&&Ta.binding&&Ta.binding("util")}catch{}}(),pu=fr&&fr.isArrayBuffer,hu=fr&&fr.isDate,du=fr&&fr.isMap,mu=fr&&fr.isRegExp,vu=fr&&fr.isSet,yu=fr&&fr.isTypedArray;function rr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function Fh(pe,we,_e,Re){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Na(pe,we,_e){for(var Re=-1,Ze=pe==null?0:pe.length;++Re-1;);return _e}function Au(pe,we){for(var _e=pe.length;_e--&&Rn(we,pe[_e],0)>-1;);return _e}function Uh(pe,we){for(var _e=pe.length,Re=0;_e--;)pe[_e]===we&&++Re;return Re}var zh=Pa(Sh),qh=Pa(Ah);function Gh(pe){return"\\"+Dh[pe]}function Wh(pe,we){return pe==null?l:pe[we]}function Mn(pe){return xh.test(pe)}function Xh(pe){return bh.test(pe)}function Hh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Ra(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Re,Ze){_e[++we]=[Ze,Re]}),_e}function Cu(pe,we){return function(_e){return pe(we(_e))}}function Vr(pe,we){for(var _e=-1,Re=pe.length,Ze=0,ht=[];++_e-1}function Pd(n,d){var A=this.__data__,F=yo(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Ir.prototype.clear=Nd,Ir.prototype.delete=Od,Ir.prototype.get=Fd,Ir.prototype.has=Id,Ir.prototype.set=Pd;function Pr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function mr(n,d,A,F,U,V){var te,ue=d&o,he=d&a,De=d&c;if(A&&(te=U?A(n,F,U,V):A(n)),te!==l)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=Rm(n),!ue)return Kt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(nn(n))return ul(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Dl(n),!ue)return he?Cm(n,Kd(te,n)):Am(n,Mu(te,n))}else{if(!yt[Ie])return U?n:{};te=Mm(n,Ie,ue)}}V||(V=new br);var qe=V.get(n);if(qe)return qe;V.set(n,te),rc(n)?n.forEach(function(Je){te.add(mr(Je,d,A,Je,n,V))}):ec(n)&&n.forEach(function(Je,st){te.set(st,mr(Je,d,A,st,n,V))});var $e=De?he?ls:us:he?Yt:Rt,it=Te?l:$e(n);return pr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),xi(te,st,mr(Je,d,A,st,n,V))}),te}function Vd(n){var d=Rt(n);return function(A){return ju(A,n,d)}}function ju(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===l&&!(U in n)||!V(te))return!1}return!0}function Uu(n,d,A){if(typeof n!="function")throw new hr(S);return Di(function(){n.apply(l,A)},d)}function bi(n,d,A,F){var U=-1,V=Zi,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,nr(A))),F?(V=Na,te=!1):d.length>=t&&(V=di,te=!1,d=new _n(d));e:for(;++UU?0:U+A),F=F===l||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:ic(F);A0&&A(ue)?d>1?Mt(ue,d-1,A,F,U):Kr(U,ue):F||(U[U.length]=ue)}return U}var Wa=dl(),Gu=dl(!0);function Cr(n,d){return n&&Wa(n,d,Rt)}function Xa(n,d){return n&&Gu(n,d,Rt)}function go(n,d){return Jr(d,function(A){return Mr(n[A])})}function xn(n,d){d=tn(d,n);for(var A=0,F=d.length;n!=null&&Ad}function Zd(n,d){return n!=null&&mt.call(n,d)}function em(n,d){return n!=null&&d in vt(n)}function tm(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new _n(te&&Te):l}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&lo.call(ue,he,1),lo.call(n,he,1);return n}function el(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Rr(U)?lo.call(n,U,1):ts(n,U)}}return n}function Qa(n,d){return n+po(ku()*(d-n+1))}function dm(n,d,A,F){for(var U=-1,V=kt(fo((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function Za(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=po(d/2),d&&(n+=n);while(d);return A}function at(n,d){return vs(Ol(n,d,Qt),n+"")}function mm(n){return Ru(Jn(n))}function vm(n,d){var A=Jn(n);return Oo(A,gn(d,0,A.length))}function Si(n,d,A,F){if(!bt(n))return n;d=tn(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!or(te)&&(A?te<=d:te=t){var De=d?null:Om(n);if(De)return to(De);te=!1,U=di,he=new _n}else he=d?[]:ue;e:for(;++F=F?n:vr(n,d,A)}var sl=sd||function(n){return Bt.clearTimeout(n)};function ul(n,d){if(d)return n.slice();var A=n.length,F=Nu?Nu(A):new n.constructor(A);return n.copy(F),F}function os(n){var d=new n.constructor(n.byteLength);return new so(d).set(new so(n)),d}function bm(n,d){var A=d?os(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function Em(n){var d=new n.constructor(n.source,pn.exec(n));return d.lastIndex=n.lastIndex,d}function wm(n){return gi?vt(gi.call(n)):{}}function ll(n,d){var A=d?os(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function cl(n,d){if(n!==d){var A=n!==l,F=n===null,U=n===n,V=or(n),te=d!==l,ue=d===null,he=d===d,De=or(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function fl(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:l,te=U>2?A[2]:l;for(V=n.length>3&&typeof V=="function"?(U--,V):l,te&&Xt(A[0],A[1],te)&&(V=U<3?l:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:l}}function yl(n){return Br(function(d){var A=d.length,F=A,U=dr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new hr(S);if(U&&!te&&To(V)=="wrapper")var te=new dr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new _n:l;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace($r,`{ +/* [wrapped with `+d+`] */ +`)}function Um(n){return tt(n)||wn(n)||!!(Iu&&n&&n[Iu])}function Rr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&ma.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(l,arguments)}}function Oo(n,d){var A=-1,F=n.length,U=F-1;for(d=d===l?F:d;++A1?n[d-1]:l;return A=typeof A=="function"?(n.pop(),A):l,ql(n,A)});function Gl(n){var d=J(n);return d.__chain__=!0,d}function Y0(n,d){return d(n),n}function Fo(n,d){return d(n)}var Q0=Br(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return Ga(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Rr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Fo,args:[U],thisArg:l}),new dr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(l),V}))});function Z0(){return Gl(this)}function ev(){return new dr(this.value(),this.__chain__)}function tv(){this.__values__===l&&(this.__values__=nc(this.value()));var n=this.__index__>=this.__values__.length,d=n?l:this.__values__[this.__index__++];return{done:n,value:d}}function rv(){return this}function nv(n){for(var d,A=this;A instanceof vo;){var F=Bl(A);F.__index__=0,F.__values__=l,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function iv(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Fo,args:[ys],thisArg:l}),new dr(d,this.__chain__)}return this.thru(ys)}function ov(){return ol(this.__wrapped__,this.__actions__)}var av=wo(function(n,d,A){mt.call(n,A)?++n[A]:kr(n,A,1)});function sv(n,d,A){var F=tt(n)?_u:Yd;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}function uv(n,d){var A=tt(n)?Jr:qu;return A(n,Xe(d,3))}var lv=vl(Rl),cv=vl(Ml);function fv(n,d){return Mt(Io(n,d),1)}function pv(n,d){return Mt(Io(n,d),Y)}function hv(n,d,A){return A=A===l?1:nt(A),Mt(Io(n,d),A)}function Wl(n,d){var A=tt(n)?pr:Zr;return A(n,Xe(d,3))}function Xl(n,d){var A=tt(n)?Ih:zu;return A(n,Xe(d,3))}var dv=wo(function(n,d,A){mt.call(n,A)?n[A].push(d):kr(n,A,[d])});function mv(n,d,A,F){n=Vt(n)?n:Jn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Ro(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&Rn(n,d,A)>-1}var vv=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Vt(n)?_e(n.length):[];return Zr(n,function(te){V[++F]=U?rr(d,te,A):Ei(te,d,A)}),V}),yv=wo(function(n,d,A){kr(n,A,d)});function Io(n,d){var A=tt(n)?xt:Ju;return A(n,Xe(d,3))}function _v(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?l:A,tt(A)||(A=A==null?[]:[A]),Qu(n,d,A))}var gv=wo(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function xv(n,d,A){var F=tt(n)?Oa:Eu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Zr)}function bv(n,d,A){var F=tt(n)?Ph:Eu,U=arguments.length<3;return F(n,Xe(d,4),A,U,zu)}function Ev(n,d){var A=tt(n)?Jr:qu;return A(n,Lo(Xe(d,3)))}function wv(n){var d=tt(n)?Ru:mm;return d(n)}function Sv(n,d,A){(A?Xt(n,d,A):d===l)?d=1:d=nt(d);var F=tt(n)?Hd:vm;return F(n,d)}function Av(n){var d=tt(n)?$d:_m;return d(n)}function Cv(n){if(n==null)return 0;if(Vt(n))return Ro(n)?jn(n):n.length;var d=qt(n);return d==M||d==Me?n.size:Ka(n).length}function Dv(n,d,A){var F=tt(n)?Fa:gm;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}var Tv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Xt(n,d[0],d[1])?d=[]:A>2&&Xt(d[0],d[1],d[2])&&(d=[d[0]]),Qu(n,Mt(d,1),[])}),Po=ud||function(){return Bt.Date.now()};function Nv(n,d){if(typeof d!="function")throw new hr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Hl(n,d,A){return d=A?l:d,d=n&&d==null?n.length:d,Lr(n,E,l,l,l,l,d)}function $l(n,d){var A;if(typeof d!="function")throw new hr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=l),A}}var gs=at(function(n,d,A){var F=v;if(A.length){var U=Vr(A,Hn(gs));F|=b}return Lr(n,F,d,A,U)}),Jl=at(function(n,d,A){var F=v|f;if(A.length){var U=Vr(A,Hn(Jl));F|=b}return Lr(d,F,n,A,U)});function Kl(n,d,A){d=A?l:d;var F=Lr(n,e,l,l,l,l,l,d);return F.placeholder=Kl.placeholder,F}function Vl(n,d,A){d=A?l:d;var F=Lr(n,g,l,l,l,l,l,d);return F.placeholder=Vl.placeholder,F}function Yl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new hr(S);d=_r(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(_r(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var wr=F,Ur=U;return F=U=l,De=Tt,te=n.apply(Ur,wr),te}function $e(Tt){return De=Tt,ue=Di(st,d),Te?qe(Tt):te}function it(Tt){var wr=Tt-he,Ur=Tt-De,vc=d-wr;return Ie?zt(vc,V-Ur):vc}function Je(Tt){var wr=Tt-he,Ur=Tt-De;return he===l||wr>=d||wr<0||Ie&&Ur>=V}function st(){var Tt=Po();if(Je(Tt))return lt(Tt);ue=Di(st,it(Tt))}function lt(Tt){return ue=l,Be&&F?qe(Tt):(F=U=l,te)}function ar(){ue!==l&&sl(ue),De=0,F=he=U=ue=l}function Ht(){return ue===l?te:lt(Po())}function sr(){var Tt=Po(),wr=Je(Tt);if(F=arguments,U=this,he=Tt,wr){if(ue===l)return $e(he);if(Ie)return sl(ue),ue=Di(st,d),qe(he)}return ue===l&&(ue=Di(st,d)),te}return sr.cancel=ar,sr.flush=Ht,sr}var Ov=at(function(n,d){return Uu(n,1,d)}),Fv=at(function(n,d,A){return Uu(n,_r(d)||0,A)});function Iv(n){return Lr(n,D)}function ko(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new hr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(ko.Cache||Pr),A}ko.Cache=Pr;function Lo(n){if(typeof n!="function")throw new hr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function Pv(n){return $l(2,n)}var kv=xm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],nr(Xe())):xt(Mt(d,1),nr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),wn=Xu(function(){return arguments}())?Xu:function(n){return St(n)&&mt.call(n,"callee")&&!Fu.call(n,"callee")},tt=_e.isArray,Kv=pu?nr(pu):nm;function Vt(n){return n!=null&&Bo(n.length)&&!Mr(n)}function Dt(n){return St(n)&&Vt(n)}function Vv(n){return n===!0||n===!1||St(n)&&Wt(n)==le}var nn=cd||Fs,Yv=hu?nr(hu):im;function Qv(n){return St(n)&&n.nodeType===1&&!Ti(n)}function Zv(n){if(n==null)return!0;if(Vt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||nn(n)||$n(n)||wn(n)))return!n.length;var d=qt(n);if(d==M||d==Me)return!n.size;if(Ci(n))return!Ka(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function ey(n,d){return wi(n,d)}function ty(n,d,A){A=typeof A=="function"?A:l;var F=A?A(n,d):l;return F===l?wi(n,d,l,A):!!F}function bs(n){if(!St(n))return!1;var d=Wt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ti(n)}function ry(n){return typeof n=="number"&&Pu(n)}function Mr(n){if(!bt(n))return!1;var d=Wt(n);return d==B||d==L||d==ie||d==ge}function Zl(n){return typeof n=="number"&&n==nt(n)}function Bo(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var ec=du?nr(du):am;function ny(n,d){return n===d||Ja(n,d,fs(d))}function iy(n,d,A){return A=typeof A=="function"?A:l,Ja(n,d,fs(d),A)}function oy(n){return tc(n)&&n!=+n}function ay(n){if(Gm(n))throw new Ze(m);return Hu(n)}function sy(n){return n===null}function uy(n){return n==null}function tc(n){return typeof n=="number"||St(n)&&Wt(n)==q}function Ti(n){if(!St(n)||Wt(n)!=ae)return!1;var d=uo(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&io.call(A)==id}var Es=mu?nr(mu):sm;function ly(n){return Zl(n)&&n>=-z&&n<=z}var rc=vu?nr(vu):um;function Ro(n){return typeof n=="string"||!tt(n)&&St(n)&&Wt(n)==je}function or(n){return typeof n=="symbol"||St(n)&&Wt(n)==ot}var $n=yu?nr(yu):lm;function cy(n){return n===l}function fy(n){return St(n)&&qt(n)==Se}function py(n){return St(n)&&Wt(n)==ct}var hy=Do(Va),dy=Do(function(n,d){return n<=d});function nc(n){if(!n)return[];if(Vt(n))return Ro(n)?xr(n):Kt(n);if(mi&&n[mi])return Hh(n[mi]());var d=qt(n),A=d==M?Ra:d==Me?to:Jn;return A(n)}function jr(n){if(!n)return n===0?n:0;if(n=_r(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=jr(n),A=d%1;return d===d?A?d-A:d:0}function ic(n){return n?gn(nt(n),0,ee):0}function _r(n){if(typeof n=="number")return n;if(or(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=wu(n);var A=ha.test(n);return A||da.test(n)?Nh(n.slice(2),A?2:8):Ar.test(n)?H:+n}function oc(n){return Dr(n,Yt(n))}function my(n){return n?gn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":ir(n)}var vy=Wn(function(n,d){if(Ci(d)||Vt(d)){Dr(d,Rt(d),n);return}for(var A in d)mt.call(d,A)&&xi(n,A,d[A])}),ac=Wn(function(n,d){Dr(d,Yt(d),n)}),Mo=Wn(function(n,d,A,F){Dr(d,Yt(d),n,F)}),yy=Wn(function(n,d,A,F){Dr(d,Rt(d),n,F)}),_y=Br(Ga);function gy(n,d){var A=Gn(n);return d==null?A:Mu(A,d)}var xy=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:l;for(U&&Xt(d[0],d[1],U)&&(F=1);++A1),V}),Dr(n,ls(n),A),F&&(A=mr(A,o|a|c,Fm));for(var U=d.length;U--;)ts(A,d[U]);return A});function My(n,d){return uc(n,Lo(Xe(d)))}var jy=Br(function(n,d){return n==null?{}:pm(n,d)});function uc(n,d){if(n==null)return{};var A=xt(ls(n),function(F){return[F]});return d=Xe(d),Zu(n,A,function(F,U){return d(F,U[0])})}function Uy(n,d,A){d=tn(d,n);var F=-1,U=d.length;for(U||(U=1,n=l);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=ku();return zt(n+U*(d-n+Th("1e-"+((U+"").length-1))),d)}return Qa(n,d)}var Yy=Xn(function(n,d,A){return d=d.toLowerCase(),n+(A?fc(d):d)});function fc(n){return As(dt(n).toLowerCase())}function pc(n){return n=dt(n),n&&n.replace(va,zh).replace(_h,"")}function Qy(n,d,A){n=dt(n),d=ir(d);var F=n.length;A=A===l?F:gn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function Zy(n){return n=dt(n),n&&ui.test(n)?n.replace(ft,qh):n}function e_(n){return n=dt(n),n&&la.test(n)?n.replace(Hr,"\\$&"):n}var t_=Xn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),r_=Xn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),n_=ml("toLowerCase");function i_(n,d,A){n=dt(n),d=nt(d);var F=d?jn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return Co(po(U),A)+n+Co(fo(U),A)}function o_(n,d,A){n=dt(n),d=nt(d);var F=d?jn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!Es(d))&&(d=ir(d),!d&&Mn(n))?rn(xr(n),0,A):n.split(d,A)):[]}var p_=Xn(function(n,d,A){return n+(A?" ":"")+As(d)});function h_(n,d,A){return n=dt(n),A=A==null?0:gn(nt(A),0,n.length),d=ir(d),n.slice(A,A+d.length)==d}function d_(n,d,A){var F=J.templateSettings;A&&Xt(n,d,A)&&(d=l),n=dt(n),d=Mo({},d,F,El);var U=Mo({},d.imports,F.imports,El),V=Rt(U),te=Ba(U,V),ue,he,De=0,Te=d.interpolate||kn,Ie="__p += '",Be=Ma((d.escape||kn).source+"|"+Te.source+"|"+(Te===Pe?pa:kn).source+"|"+(d.evaluate||kn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++wh+"]")+` +`;n.replace(Be,function(Je,st,lt,ar,Ht,sr){return lt||(lt=ar),Ie+=n.slice(De,sr).replace(ya,Gh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Ht&&(he=!0,Ie+=`'; +`+Ht+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=sr+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(m);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(tr.test($e))throw new Ze(y);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=pc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Bs(et))throw et;return et}function Fv(r){return ct(r).toLowerCase()}function Ov(r){return ct(r).toUpperCase()}function Iv(r,h,A){if(r=ct(r),r&&(A||h===E))return bu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=Eu(O,U),te=wu(O,U)+1;return Xr(O,V,te).join("")}function Pv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Au(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=wu(O,hr(h))+1;return Xr(O,0,U).join("")}function kv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Vn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=Eu(O,hr(h));return Xr(O,U).join("")}function Bv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(Sn(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-An(O);if(se<1)return O;var pe=te?Xr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Ls(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Qa(U.source,ct(tn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var Pe=pe.lastIndexOf(U);Pe>-1&&(pe=pe.slice(0,Pe))}return pe+O}function Lv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,fh):r}var Rv=On(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),js=hl("toUpperCase");function fc(r,h,A){return r=ct(r),h=A?E:h,h===E?ah(r)?dh(r):Yp(r):r.match(h)||[]}var pc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Bs(A)?A:new Ke(A)}}),Mv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Ps(r[A],r))}),r});function jv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uq)return[];var A=ee,O=Bt(r,ee);h=Ge(h),r-=ee;for(var U=Ka(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=J[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&(J.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply(J,Mr([nt],se));return O&&Pe?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var Pe=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!Pe,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:go,args:[Fe],thisArg:E}),new ar(He,Pe)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Gi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=J[h];if(A){var O=A.name+"";ft.call(Tn,O)||(Tn[O]=[]),Tn[O].push({name:h,func:A})}}),Tn[co(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Lh,it.prototype.reverse=Rh,it.prototype.value=Mh,J.prototype.at=h0,J.prototype.chain=d0,J.prototype.commit=m0,J.prototype.next=y0,J.prototype.plant=g0,J.prototype.reverse=_0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=x0,J.prototype.first=J.prototype.head,ti&&(J.prototype[ti]=v0),J},Ur=mh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=Ur,define(function(){return Ur})):on?((on.exports=Ur)._=Ur,qa._=Ur):Ft._=Ur}).call(Hn)});var qb={};Tg(qb,{default:()=>jb,options:()=>Dp,setup:()=>Mb,teardown:()=>Ub});module.exports=Ng(qb);var wb=Ut(require("k6/encoding")),Sb=require("k6"),Ab=Ut(require("k6/http"));var Fg=typeof global=="object"&&global&&global.Object===Object&&global,Co=Fg;var Og=typeof self=="object"&&self&&self.Object===Object&&self,Ig=Co||Og||Function("return this")(),Dt=Ig;var Pg=Dt.Symbol,Fr=Pg;var yc=Object.prototype,kg=yc.hasOwnProperty,Bg=yc.toString,mi=Fr?Fr.toStringTag:void 0;function Lg(E){var l=kg.call(E,mi),o=E[mi];try{E[mi]=void 0;var v=!0}catch{}var w=Bg.call(E);return v&&(l?E[mi]=o:delete E[mi]),w}var vc=Lg;var Rg=Object.prototype,Mg=Rg.toString;function jg(E){return Mg.call(E)}var gc=jg;var Ug="[object Null]",qg="[object Undefined]",_c=Fr?Fr.toStringTag:void 0;function zg(E){return E==null?E===void 0?qg:Ug:_c&&_c in Object(E)?vc(E):gc(E)}var tr=zg;function Gg(E){return E!=null&&typeof E=="object"}var fr=Gg;var Wg="[object Symbol]";function Xg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Wg}var Bn=Xg;function Hg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=b_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Pc=S_;function A_(E){return function(){return E}}var kc=A_;var D_=function(){try{var E=$t(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Rn=D_;var C_=Rn?function(E,l){return Rn(E,"toString",{configurable:!0,enumerable:!1,value:kc(l),writable:!0})}:To,Bc=C_;var T_=Pc(Bc),Lc=T_;var N_=9007199254740991,F_=/^(?:0|[1-9]\d*)$/;function O_(E,l){var o=typeof E;return l=l??N_,!!l&&(o=="number"||o!="symbol"&&F_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=U_}var Io=q_;function z_(E){return E!=null&&Io(E.length)&&!Ln(E)}var Jr=z_;function G_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Oo(l,o.length):v=="string"&&l in o)?$r(o[l],E):!1}var zc=G_;function W_(E){return qc(function(l,o){var v=-1,w=o.length,m=w>1?o[w-1]:void 0,y=w>2?o[2]:void 0;for(m=E.length>3&&typeof m=="function"?(w--,m):void 0,y&&zc(o[0],o[1],y)&&(m=w<3?void 0:m,w=1),l=Object(l);++v-1}var mf=px;function hx(E,l){var o=this.__data__,v=Vr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var yf=hx;function zn(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),sp=E=>new eu(new URL(E||"").search).object();var lp=(E,l,o)=>(v,w,m,y)=>{let a=o||{};return l&&jo(a,{headers:{Authorization:l.header}}),up.default.request(v,ap(E,w),m,jo(a,y))};var fp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),bb=Ut(ru());var Eb=Ut(Xn()),pp=(E=10,l)=>(0,fp.randomString)(E,l);var qo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var dp=require("k6/http");var zo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Go=class{settings;constructor(l){this.settings=new zo(l)}};var Wo=class{v0;constructor(l){this.v0=new Go(l)}};var Xo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var Ho=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var $o=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Jo=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Ko=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Xo(l),this.spaces=new Ho(l),this.systemtags=new $o(l),this.systemtagsRelations=new Jo(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Vo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Yo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Qo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Zo=class{tags;constructor(l){this.tags=new Qo(l)}};var ea=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var ra=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var na=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var ia=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Vo(l),this.drives=new Yo(l),this.extensions=new ea(l),this.groups=new ta(l),this.me=new ra(l),this.users=new na(l)}};var oa=class{v1;constructor(l){this.v1=new ia(l)}};var aa=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Uo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{shares;sharees;constructor(l){this.shares=new sa(l),this.sharees=new aa(l)}};var la=class{v1;constructor(l){this.v1=new ua(l)}};var ca=class{filesSharing;constructor(l){this.filesSharing=new la(l)}};var fa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var pa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ha=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var da=class{users;groups;roles;constructor(l){this.users=new ha(l),this.groups=new fa(l),this.roles=new pa(l)}};var ma=class{cloud;apps;constructor(l){this.cloud=new da(l),this.apps=new ca(l)}};var ya=class{v2;constructor(l){this.v2=new ma(l)}};var va=class{ocs;graph;dav;api;constructor(l){this.ocs=new ya(l),this.graph=new oa(l),this.dav=new Ko(l),this.api=new Wo(l)}};var ga={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=Ut(require("k6/encoding")),bi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${hp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var _a=require("k6"),xa=Ut(require("k6/http"));var Ei=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+v.expiresIn-5),m})(),token:v}}return this.#n.token}getContinueURI(){let l=xa.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:pp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=en(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,_a.fail)(this.#i),o}getCode(l){let o=`${l}?${Uo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=xa.default.get(o,{redirects:0}),w=en(sp(v.headers.Location),"code");return(v.status!==302||!w)&&(0,_a.fail)(l),w}getToken(l){let o=xa.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:en(o.json(),"access_token",""),tokenType:en(o.json(),"token_type",""),idToken:en(o.json(),"id_token",""),expiresIn:en(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,_a.fail)(this.#o),v}};var mp=require("k6"),iu=require("k6"),ou=require("k6"),yn=require("k6"),yp=Ut(Xn()),vp=require("k6"),ba=require("k6"),wi=Ut(Xn()),Ea=require("k6"),vn=require("k6"),au=Ut(Xn()),gn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,mp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,iu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,iu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,ou.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,ou.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,yn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,yn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,yn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,yp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),m;switch(this.#t){case Re.ocis:m=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:m=this.#e.dav.files.propfind(E,l,w);break}return(0,yn.check)(m,{"client -> resource.propfind - status":({status:y})=>y===207}),m}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,yn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,yn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,vp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Ob=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ba.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",m;switch(this.#t){case Re.ocis:case Re.occ:m=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:m=this.#e.dav.search((0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ba.check)(m,{"client -> search.resource - status":({status:y})=>y===207}),m}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ba.check)(w,{"client -> search.tag - status":({status:m})=>m===207}),w}},Ib=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,Ea.check)(w,{"client -> share.create - status":({status:m})=>m===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,Ea.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,Ea.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Pb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,vn.check)(w,{"client -> tag.create - status":({status:m})=>m===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,vn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,au.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,vn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,vn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,vn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,au.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,vn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},kb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,gn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,gn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,gn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,gn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,gn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,gn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},Si=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ga.openIDConnect:w=new Ei(v,E);break;case ga.basicAuth:w=new bi(v);break}let m=lp(E,w,{jar:new dp.CookieJar}),y=new va(m);this.application=new Db(l,y),this.drive=new Cb(l,y),this.group=new Tb(l,y),this.resource=new Nb(l,y),this.role=new Fb(l,y),this.search=new Ob(l,y),this.share=new Ib(y),this.tag=new Pb(l,y),this.user=new kb(l,y)}};var _n={user:0,group:1,publicLink:3,federatedCloudShare:6},Ai={file:"file",folder:"folder"},gp={read:0,update:2,create:4,delete:8,share:16,all:31};var Bb=Ut(require("k6/http"));var Lb=require("https://jslib.k6.io/url/1.0.0/index.js"),Rb=require("k6/experimental/timers"),_p=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),xp=Ut(ru());var bp=Ut(Xn());var Pr=(E=10,l)=>(0,_p.randomString)(E,l),Di=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return xp.query(l,E).map(o=>Zs(o)?void 0:o)},Ep=(E,l)=>{let o=bp.create(l).end({format:"object"});return Di(E,o)};var Sp=require("k6"),Ap=Ut(require("k6/execution")),$n=Ut(wp()),It={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==qo.basicAuth?qo.basicAuth:qo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},shareReceivers:{groupCount:parseInt(__ENV.SHARE_RECEIVERS_GROUP_COUNT)||1,userCount:parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT)||1},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT)||1,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT)||1},k6:{vus:1,insecureSkipTLSVerify:!0}},Dp=It.k6;function Mb(){let E=It.adminUser,l=new Si(It.baseURL,It.clientVersion,It.authAdapter,E),o=(0,$n.times)(Dp.vus||1,()=>{let m={login:Pr(),password:Pr()};l.user.create(m),l.user.enable(m.login);let a=new Si(It.baseURL,It.clientVersion,It.authAdapter,m).user.drives(),[p=m.login]=Di("$.value[?(@.driveType === 'personal')].id",a?.body);return{credential:m,home:p}}),v=(0,$n.times)(It.shareReceivers.userCount,()=>{let m={login:Pr(),password:Pr()};return l.user.create(m),l.user.enable(m.login),m}),w=(0,$n.times)(It.shareReceivers.groupCount,()=>{let m=Pr(),y=l.group.create(m),[a=m]=Di("$.id",y?.body);return{id:a,name:m}});return{adminCredential:E,userInfos:o,shareReceiverInfos:{users:v,groups:w}}}function jb({userInfos:E,shareReceiverInfos:l}){let o=[],{home:v,credential:w}=E[Ap.default.vu.idInTest-1],m=new Si(It.baseURL,It.clientVersion,It.authAdapter,w),y=(0,$n.times)(It.assets.folderCount,()=>Pr()),a=(0,$n.times)(It.assets.textDocumentCount,()=>Pr()),p=(n,i,u,s)=>{let f=m.search.sharee(n,s),[d]=Di("$..shareWith",f?.body),c=m.share.create(i,d,u,gp.all),[t]=Ep("ocs.data.share_with",c.body),e=Object.keys(_n).find(g=>_n[g]===u);(0,Sp.check)(void 0,{[`test -> sharee ( ${e} ) found`]:()=>n===d,[`test -> share ( ${s} ) received`]:()=>n===t})};y.forEach(n=>{m.resource.create(v,n),l.users.forEach(({login:i})=>p(i,n,_n.user,Ai.folder)),l.groups.forEach(({name:i})=>p(i,n,_n.group,Ai.folder)),o.push(()=>{m.resource.delete(v,n)})}),a.forEach(n=>{m.resource.upload(v,n,Pr()),l.users.forEach(({login:i})=>p(i,n,_n.user,Ai.file)),l.groups.forEach(({name:i})=>p(i,n,_n.group,Ai.file)),o.push(()=>{m.resource.delete(v,n)})}),o.forEach(n=>n())}function Ub({userInfos:E,adminCredential:l,shareReceiverInfos:o}){let v=new Si(It.baseURL,It.clientVersion,It.authAdapter,l);E.forEach(({credential:w})=>v.user.delete(w.login)),o.users.forEach(({login:w})=>v.user.delete(w)),o.groups.forEach(({id:w})=>v.group.delete(w))} +`)+Ie+`return __p +}`;var it=dc(function(){return ht(V,qe+"return "+Ie).apply(l,te)});if(it.source=Ie,bs(it))throw it;return it}function m_(n){return dt(n).toLowerCase()}function v_(n){return dt(n).toUpperCase()}function y_(n,d,A){if(n=dt(n),n&&(A||d===l))return wu(n);if(!n||!(d=ir(d)))return n;var F=xr(n),U=xr(d),V=Su(F,U),te=Au(F,U)+1;return rn(F,V,te).join("")}function __(n,d,A){if(n=dt(n),n&&(A||d===l))return n.slice(0,Du(n)+1);if(!n||!(d=ir(d)))return n;var F=xr(n),U=Au(F,xr(d))+1;return rn(F,0,U).join("")}function g_(n,d,A){if(n=dt(n),n&&(A||d===l))return n.replace(ci,"");if(!n||!(d=ir(d)))return n;var F=xr(n),U=Su(F,xr(d));return rn(F,U).join("")}function x_(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?ir(d.omission):F}n=dt(n);var V=n.length;if(Mn(n)){var te=xr(n);V=te.length}if(A>=V)return n;var ue=A-jn(F);if(ue<1)return F;var he=te?rn(te,0,ue).join(""):n.slice(0,ue);if(U===l)return he+F;if(te&&(ue+=he.length-ue),Es(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ma(U.source,dt(pn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===l?ue:Ie)}}else if(n.indexOf(ir(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function b_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Vh):n}var E_=Xn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),As=ml("toUpperCase");function hc(n,d,A){return n=dt(n),d=A?l:d,d===l?Xh(n)?Zh(n):Bh(n):n.match(d)||[]}var dc=at(function(n,d){try{return rr(n,l,d)}catch(A){return bs(A)?A:new Ze(A)}}),w_=Br(function(n,d){return pr(d,function(A){A=Tr(A),kr(n,A,gs(n[A],n))}),n});function S_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new hr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=La(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==l&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Cr(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Kr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Fo,args:[Ie],thisArg:l}),new dr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),pr(["pop","push","shift","sort","splice","unshift"],function(n){var d=ro[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Cr(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(qn,F)||(qn[F]=[]),qn[F].push({name:d,func:A})}}),qn[So(l,f).name]=[{name:"wrapper",func:l}],ut.prototype.clone=bd,ut.prototype.reverse=Ed,ut.prototype.value=wd,J.prototype.at=Q0,J.prototype.chain=Z0,J.prototype.commit=ev,J.prototype.next=tv,J.prototype.plant=nv,J.prototype.reverse=iv,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=ov,J.prototype.first=J.prototype.head,mi&&(J.prototype[mi]=rv),J},Yr=ed();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Yr,define(function(){return Yr})):mn?((mn.exports=Yr)._=Yr,Da._=Yr):Bt._=Yr}).call(ai)});var CA={};jt(CA,{default:()=>fh,options:()=>ch,setup:()=>SA,teardown:()=>AA});module.exports=hg(CA);var cp=Zt(require("k6/encoding")),oa=require("k6"),aa=Zt(require("k6/http"));var dg=typeof global=="object"&&global&&global.Object===Object&&global,Uo=dg;var mg=typeof self=="object"&&self&&self.Object===Object&&self,vg=Uo||mg||Function("return this")(),Ft=vg;var yg=Ft.Symbol,zr=yg;var _c=Object.prototype,_g=_c.hasOwnProperty,gg=_c.toString,Ni=zr?zr.toStringTag:void 0;function xg(l){var i=_g.call(l,Ni),t=l[Ni];try{l[Ni]=void 0;var m=!0}catch{}var S=gg.call(l);return m&&(i?l[Ni]=t:delete l[Ni]),S}var gc=xg;var bg=Object.prototype,Eg=bg.toString;function wg(l){return Eg.call(l)}var xc=wg;var Sg="[object Null]",Ag="[object Undefined]",bc=zr?zr.toStringTag:void 0;function Cg(l){return l==null?l===void 0?Ag:Sg:bc&&bc in Object(l)?gc(l):xc(l)}var ur=Cg;function Dg(l){return l!=null&&typeof l=="object"}var gr=Dg;var Tg="[object Symbol]";function Ng(l){return typeof l=="symbol"||gr(l)&&ur(l)==Tg}var Kn=Ng;function Og(l,i){for(var t=-1,m=l==null?0:l.length,S=Array(m);++t0){if(++i>=o1)return arguments[0]}else i=0;return l.apply(void 0,arguments)}}var Lc=u1;function l1(l){return function(){return l}}var Bc=l1;var c1=function(){try{var l=er(Object,"defineProperty");return l({},"",{}),l}catch{}}(),Yn=c1;var f1=Yn?function(l,i){return Yn(l,"toString",{configurable:!0,enumerable:!1,value:Bc(i),writable:!0})}:zo,Rc=f1;var p1=Lc(Rc),Mc=p1;var h1=9007199254740991,d1=/^(?:0|[1-9]\d*)$/;function m1(l,i){var t=typeof l;return i=i??h1,!!i&&(t=="number"||t!="symbol"&&d1.test(l))&&l>-1&&l%1==0&&l-1&&l%1==0&&l<=S1}var Xo=A1;function C1(l){return l!=null&&Xo(l.length)&&!Vn(l)}var an=C1;function D1(l,i,t){if(!At(t))return!1;var m=typeof i;return(m=="number"?an(t)&&Qn(i,t.length):m=="string"&&i in t)?on(t[i],l):!1}var Gc=D1;function T1(l){return qc(function(i,t){var m=-1,S=t.length,y=S>1?t[S-1]:void 0,_=S>2?t[2]:void 0;for(y=l.length>3&&typeof y=="function"?(S--,y):void 0,_&&Gc(t[0],t[1],_)&&(y=S<3?void 0:y,S=1),i=Object(i);++m-1}var vf=Vx;function Yx(l,i){var t=this.__data__,m=un(t,l);return m<0?(++this.size,t.push([l,i])):t[m][1]=i,this}var yf=Yx;function ni(l){var i=-1,t=l==null?0:l.length;for(this.clear();++i(0,op.randomString)(l,i);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var ap=require("k6/http");var js=require("https://jslib.k6.io/url/1.0.0/index.js"),Nr=(...l)=>l.join("/").replace(/(?new js.URLSearchParams(Object.keys(l).map(t=>[t,String(l[t])])).toString(),ta=l=>{let i=new URL(l).search,t=new js.URLSearchParams(i);return Object.fromEntries(t)};var ra=l=>(i,t,m,S)=>{let y=Cn({},l.params);return l.authn&&Dn(y,"headers.Authorization",l.authn.header),l.params?.jar&&Dn(y,"jar",l.params.jar),(0,ap.request)(i,Nr(l.baseUrl,t),m,Cn(y,S))};var Us=require("k6");var ke=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,Us.check)(l.val,t,l.tags)};var fp=require("k6/http");var Tn={kopano:"kopano",basicAuth:"basicAuth"};var up=Zt(require("k6/encoding")),Nn=class{userLogin;userPassword;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword}get header(){return`Basic ${up.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var na=require("k6"),ia=Zt(require("k6/http"));var On=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword,this.baseUrl=i.baseUrl,this.redirectURL=Nr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Nr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Nr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let i=this.getContinueURI(),t=this.getCode(i),m=this.getToken(t);this.cache={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+m.expiresIn-5),y})(),token:m}}return this.cache.token}getContinueURI(){let i=ia.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:ea(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),t=$t(i.json(),"hello.continue_uri");return(i.status!==200||!t)&&(0,na.fail)(this.logonURL),t}getCode(i){let t=`${i}?${Or({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,m=ia.default.get(t,{redirects:0}),S=$t(ta(m.headers.Location),"code");return(m.status!==302||!S)&&(0,na.fail)(i),S}getToken(i){let t=ia.default.post(this.tokenURL,{client_id:"web",code:i,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),m={accessToken:$t(t.json(),"access_token",""),tokenType:$t(t.json(),"token_type",""),idToken:$t(t.json(),"id_token",""),expiresIn:$t(t.json(),"expires_in",0)};return(t.status!==200||!m.accessToken||!m.tokenType||!m.idToken||!m.expiresIn)&&(0,na.fail)(this.tokenURL),m}};var Ws={};jt(Ws,{POST__get_roles:()=>sE});var sE=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({}));var Xs={};jt(Xs,{SEARCH__search_for_resources:()=>uE});var uE=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}});var Hs={};jt(Hs,{DELETE__delete_resource:()=>pE,GET__download_resource:()=>cE,MKCOL__create_resource:()=>fE,MOVE__move_resource:()=>hE,PROPFIND__get_properties_for_resource:()=>dE,PUT__upload_resource:()=>lE,REPORT__get_report_for_resources:()=>mE});var lE=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),cE=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),fE=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),pE=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),hE=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),dE=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),mE=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i);var $s={};jt($s,{DELETE__delete_resource:()=>gE,GET__download_resource:()=>yE,MKCOL__create_resource:()=>_E,MOVE__move_resource:()=>xE,PROPFIND__get_properties_for_resource:()=>bE,PUT__upload_resource:()=>vE});var vE=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),yE=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),_E=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),gE=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),xE=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),bE=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i);var Js={};jt(Js,{DELETE__delete_tag:()=>wE,POST__create_tag:()=>EE,PROPFIND__get_tags_with_properties:()=>SE});var EE=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),wE=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),SE=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i);var Ks={};jt(Ks,{DELETE__remove_tag_from_resource:()=>CE,PROPFIND__get_tags_with_properties_for_resource:()=>DE,PUT__add_tag_to_resource:()=>AE});var AE=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),CE=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),DE=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i);var Vs={};jt(Vs,{GET__get_applications:()=>TE});var TE=l=>l("GET","/graph/v1.0/applications");var Ys={};jt(Ys,{DELETE__delete_drive:()=>OE,POST__create_drive:()=>NE});var NE=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),OE=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`);var Qs={};jt(Qs,{DELETE__remove_tags_from_resource:()=>IE,PUT__add_tags_to_resource:()=>FE});var FE=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),IE=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i}));var Zs={};jt(Zs,{DELETE__delete_group:()=>kE,POST__create_group:()=>PE});var PE=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),kE=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`);var eu={};jt(eu,{GET__current_user:()=>BE,GET__get_current_user_drives:()=>LE});var LE=l=>l("GET","/graph/v1.0/me/drives"),BE=l=>l("GET","/graph/v1.0/me?$expand=memberOf");var tu={};jt(tu,{DELETE__delete_user:()=>ME,POST__add_app_role_to_user:()=>jE,POST__create_user:()=>RE});var RE=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),ME=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),jE=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i}));var ru={};jt(ru,{DELETE__delete_group:()=>zE,POST__create_group:()=>UE});var UE=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),zE=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var nu={};jt(nu,{DELETE__delete_user:()=>WE,POST__create_user:()=>qE,PUT__enable_user:()=>GE});var qE=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),GE=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),WE=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var iu={};jt(iu,{GET__search_for_sharees:()=>XE});var XE=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var ou={};jt(ou,{DELETE__delete_share:()=>JE,POST__accept_share:()=>$E,POST__create_share:()=>HE});var HE=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},y)=>{let _={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return y?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),_["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:_})},$E=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),JE=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Ws}},dav:{...Xs,files:Hs,spaces:$s,systemtags:Js,systemtags_relations:Ks},graph:{v1:{applications:Vs,drives:Ys,extensions:{org_libre_graph:{tags:Qs}},groups:Zs,me:eu,users:tu}},ocs:{v2:{apps:{cloud:{groups:ru,users:nu},file_sharing:{v1:{sharees:iu,shares:ou}}}}}};var pp=Zt(Bi());var Op=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Fp=require("k6/http");var su=require("https://jslib.k6.io/url/1.0.0/index.js"),sa=require("k6"),Pp=Zt(qs());var kp=Zt(Bi()),KE=Object.defineProperty,It=(l,i)=>{for(var t in i)KE(l,t,{get:i[t],enumerable:!0})},VE={};It(VE,{Adapter:()=>YE,BasicAuth:()=>QE,Kopano:()=>ZE});var YE={kopano:"kopano",basicAuth:"basicAuth"},QE=class{userLogin;userPassword;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword}get header(){return`Basic ${cp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},ZE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword,this.baseUrl=l.baseUrl,this.redirectURL=Nr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Nr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Nr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let l=this.getContinueURI(),i=this.getCode(l),t=this.getToken(i);this.cache={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+t.expiresIn-5),m})(),token:t}}return this.cache.token}getContinueURI(){let l=aa.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:ea(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),i=$t(l.json(),"hello.continue_uri");return(l.status!==200||!i)&&(0,oa.fail)(this.logonURL),i}getCode(l){let i=`${l}?${Or({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,t=aa.default.get(i,{redirects:0}),m=$t(ta(t.headers.Location),"code");return(t.status!==302||!m)&&(0,oa.fail)(l),m}getToken(l){let i=aa.default.post(this.tokenURL,{client_id:"web",code:l,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),t={accessToken:$t(i.json(),"access_token",""),tokenType:$t(i.json(),"token_type",""),idToken:$t(i.json(),"id_token",""),expiresIn:$t(i.json(),"expires_in",0)};return(i.status!==200||!t.accessToken||!t.tokenType||!t.idToken||!t.expiresIn)&&(0,oa.fail)(this.tokenURL),t}},ew={};It(ew,{Client:()=>dw,EndpointClient:()=>Sr});var Sr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},tw=class extends Sr{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},rw=class extends Sr{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},nw=class extends Sr{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},iw=class extends Sr{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Fn=()=>(0,pp.create)({version:"1.0",encoding:"UTF-8"}),ow={[oe.ownCloudInfiniteScale](){return Fn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},lp={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return Fn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(i).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return Fn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${i}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(t).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(m.toString()).end()}},aw={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return Fn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return Fn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},hp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Fn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sw={[oe.ownCloudInfiniteScale](){return Fn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return hp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},uw=class extends Sr{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=ow[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},lw=class extends Sr{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},cw=class extends Sr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:lp[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:lp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:aw[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},fw=class extends Sr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},pw=class extends Sr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,y;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:y=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!y,val:y},{"client -> tag.createTag - status":_=>_?.status===201}),y}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:hp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=sw[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},hw=class extends Sr{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},dw=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Tn.basicAuth:i=new Nn(l);break;case Tn.kopano:default:i=new On(l);break}let t=ra({authn:i,baseUrl:l.baseUrl,params:{jar:new fp.CookieJar}});this.application=new tw(l.platform,t),this.drive=new rw(l.platform,t),this.group=new nw(l.platform,t),this.me=new iw(l.platform,t),this.resource=new uw(l.platform,t),this.role=new lw(l.platform,t),this.search=new cw(l.platform,t),this.share=new fw(l.platform,t),this.tag=new pw(l.platform,t),this.user=new hw(l.platform,t)}},au={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},mw={};It(mw,{ItemType:()=>oS,Permission:()=>aS,ShareType:()=>iS,endpoints:()=>sS});var dp={};It(dp,{POST__get_roles:()=>vw});var vw=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),mp={};It(mp,{SEARCH__search_for_resources:()=>yw});var yw=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),vp={};It(vp,{DELETE__delete_resource:()=>bw,GET__download_resource:()=>gw,MKCOL__create_resource:()=>xw,MOVE__move_resource:()=>Ew,PROPFIND__get_properties_for_resource:()=>ww,PUT__upload_resource:()=>_w,REPORT__get_report_for_resources:()=>Sw});var _w=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),gw=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),xw=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),bw=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),Ew=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),ww=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),Sw=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),yp={};It(yp,{DELETE__delete_resource:()=>Tw,GET__download_resource:()=>Cw,MKCOL__create_resource:()=>Dw,MOVE__move_resource:()=>Nw,PROPFIND__get_properties_for_resource:()=>Ow,PUT__upload_resource:()=>Aw});var Aw=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),Cw=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),Dw=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),Tw=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),Nw=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),Ow=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),_p={};It(_p,{DELETE__delete_tag:()=>Iw,POST__create_tag:()=>Fw,PROPFIND__get_tags_with_properties:()=>Pw});var Fw=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),Iw=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),Pw=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),gp={};It(gp,{DELETE__remove_tag_from_resource:()=>Lw,PROPFIND__get_tags_with_properties_for_resource:()=>Bw,PUT__add_tag_to_resource:()=>kw});var kw=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),Lw=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),Bw=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),xp={};It(xp,{GET__get_applications:()=>Rw});var Rw=l=>l("GET","/graph/v1.0/applications"),bp={};It(bp,{DELETE__delete_drive:()=>jw,POST__create_drive:()=>Mw});var Mw=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),jw=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),Ep={};It(Ep,{DELETE__remove_tags_from_resource:()=>zw,PUT__add_tags_to_resource:()=>Uw});var Uw=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),zw=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),wp={};It(wp,{DELETE__delete_group:()=>Gw,POST__create_group:()=>qw});var qw=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),Gw=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Sp={};It(Sp,{GET__current_user:()=>Xw,GET__get_current_user_drives:()=>Ww});var Ww=l=>l("GET","/graph/v1.0/me/drives"),Xw=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Ap={};It(Ap,{DELETE__delete_user:()=>$w,POST__add_app_role_to_user:()=>Jw,POST__create_user:()=>Hw});var Hw=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),$w=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),Jw=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Cp={};It(Cp,{DELETE__delete_group:()=>Vw,POST__create_group:()=>Kw});var Kw=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),Vw=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Dp={};It(Dp,{DELETE__delete_user:()=>Zw,POST__create_user:()=>Yw,PUT__enable_user:()=>Qw});var Yw=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Qw=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Zw=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Tp={};It(Tp,{GET__search_for_sharees:()=>eS});var eS=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Np={};It(Np,{DELETE__delete_share:()=>nS,POST__accept_share:()=>rS,POST__create_share:()=>tS});var tS=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},y)=>{let _={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return y?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),_["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:_})},rS=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),nS=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),iS={user:0,group:1,publicLink:3,federatedCloudShare:6},oS={file:"file",folder:"folder"},aS={read:0,update:2,create:4,delete:8,share:16,all:31},sS={api:{v0:{settings:dp}},dav:{...mp,files:vp,spaces:yp,systemtags:_p,systemtags_relations:gp},graph:{v1:{applications:xp,drives:bp,extensions:{org_libre_graph:{tags:Ep}},groups:wp,me:Sp,users:Ap}},ocs:{v2:{apps:{cloud:{groups:Cp,users:Dp},file_sharing:{v1:{sharees:Tp,shares:Np}}}}}},uS={};It(uS,{check:()=>mS,cleanURL:()=>Ip,group:()=>dS,objectToQueryString:()=>fS,platformGuard:()=>cS,queryJson:()=>Lp,queryStringToObject:()=>pS,queryXml:()=>vS,randomString:()=>lS,requestFactory:()=>hS});var lS=(l=10,i)=>(0,Op.randomString)(l,i),cS=l=>({isOwnCloudInfiniteScale:l===oe.ownCloudInfiniteScale,isOwnCloudServer:l===oe.ownCloudServer,isNextcloud:l===oe.nextcloud}),Ip=(...l)=>l.join("/").replace(/(?new su.URLSearchParams(Object.keys(l).map(i=>[i,String(l[i])])).toString(),pS=l=>{let i=new URL(l).search,t=new su.URLSearchParams(i);return Object.fromEntries(t)},hS=l=>(i,t,m,S)=>{let y=Cn({},l.params);return l.authn&&Dn(y,"headers.Authorization",l.authn.header),l.params?.jar&&Dn(y,"jar",l.params.jar),(0,Fp.request)(i,Ip(l.baseUrl,t),m,Cn(y,S))},dS=(l,i)=>(0,sa.group)(l,()=>i(l)),mS=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,sa.check)(l.val,t,l.tags)},Lp=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return Pp.query(t,l).map(m=>At(m)&&ki(m)?void 0:m)},vS=(l,i)=>{let t=kp.create(i).end({format:"object"});return Lp(l,t)};var yS=Zt(require("k6/encoding")),_S=require("k6"),gS=Zt(require("k6/http"));var ua={kopano:"kopano",basicAuth:"basicAuth"};var Rp=require("k6/http");var Mp=Zt(Bi());var Fr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},xS=class extends Fr{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},bS=class extends Fr{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},ES=class extends Fr{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},wS=class extends Fr{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},In=()=>(0,Mp.create)({version:"1.0",encoding:"UTF-8"}),SS={[oe.ownCloudInfiniteScale](){return In().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Bp={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return In().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(i).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return In().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${i}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(t).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(m.toString()).end()}},AS={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return In().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return In().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},jp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return In().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},CS={[oe.ownCloudInfiniteScale](){return In().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return jp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},DS=class extends Fr{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=SS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},TS=class extends Fr{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},NS=class extends Fr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Bp[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:Bp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:AS[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},OS=class extends Fr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},FS=class extends Fr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,y;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:y=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!y,val:y},{"client -> tag.createTag - status":_=>_?.status===201}),y}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:jp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=CS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},IS=class extends Fr{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},Ri=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Tn.basicAuth:i=new Nn(l);break;case Tn.kopano:default:i=new On(l);break}let t=ra({authn:i,baseUrl:l.baseUrl,params:{jar:new Rp.CookieJar}});this.application=new xS(l.platform,t),this.drive=new bS(l.platform,t),this.group=new ES(l.platform,t),this.me=new wS(l.platform,t),this.resource=new DS(l.platform,t),this.role=new TS(l.platform,t),this.search=new NS(l.platform,t),this.share=new OS(l.platform,t),this.tag=new FS(l.platform,t),this.user=new IS(l.platform,t)}};var PS=Object.defineProperty,Gt=(l,i)=>{for(var t in i)PS(l,t,{get:i[t],enumerable:!0})},Up={};Gt(Up,{POST__get_roles:()=>kS});var kS=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),zp={};Gt(zp,{SEARCH__search_for_resources:()=>LS});var LS=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),qp={};Gt(qp,{DELETE__delete_resource:()=>jS,GET__download_resource:()=>RS,MKCOL__create_resource:()=>MS,MOVE__move_resource:()=>US,PROPFIND__get_properties_for_resource:()=>zS,PUT__upload_resource:()=>BS,REPORT__get_report_for_resources:()=>qS});var BS=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),RS=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),MS=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),jS=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),US=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),zS=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),qS=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),Gp={};Gt(Gp,{DELETE__delete_resource:()=>HS,GET__download_resource:()=>WS,MKCOL__create_resource:()=>XS,MOVE__move_resource:()=>$S,PROPFIND__get_properties_for_resource:()=>JS,PUT__upload_resource:()=>GS});var GS=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),WS=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),XS=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),HS=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),$S=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),JS=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),Wp={};Gt(Wp,{DELETE__delete_tag:()=>VS,POST__create_tag:()=>KS,PROPFIND__get_tags_with_properties:()=>YS});var KS=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),VS=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),YS=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),Xp={};Gt(Xp,{DELETE__remove_tag_from_resource:()=>ZS,PROPFIND__get_tags_with_properties_for_resource:()=>eA,PUT__add_tag_to_resource:()=>QS});var QS=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),ZS=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),eA=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),Hp={};Gt(Hp,{GET__get_applications:()=>tA});var tA=l=>l("GET","/graph/v1.0/applications"),$p={};Gt($p,{DELETE__delete_drive:()=>nA,POST__create_drive:()=>rA});var rA=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),nA=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),Jp={};Gt(Jp,{DELETE__remove_tags_from_resource:()=>oA,PUT__add_tags_to_resource:()=>iA});var iA=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),oA=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Kp={};Gt(Kp,{DELETE__delete_group:()=>sA,POST__create_group:()=>aA});var aA=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),sA=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Vp={};Gt(Vp,{GET__current_user:()=>lA,GET__get_current_user_drives:()=>uA});var uA=l=>l("GET","/graph/v1.0/me/drives"),lA=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Yp={};Gt(Yp,{DELETE__delete_user:()=>fA,POST__add_app_role_to_user:()=>pA,POST__create_user:()=>cA});var cA=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),fA=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),pA=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Qp={};Gt(Qp,{DELETE__delete_group:()=>dA,POST__create_group:()=>hA});var hA=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),dA=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Zp={};Gt(Zp,{DELETE__delete_user:()=>yA,POST__create_user:()=>mA,PUT__enable_user:()=>vA});var mA=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),vA=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),yA=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),eh={};Gt(eh,{GET__search_for_sharees:()=>_A});var _A=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),th={};Gt(th,{DELETE__delete_share:()=>bA,POST__accept_share:()=>xA,POST__create_share:()=>gA});var gA=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},y)=>{let _={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return y?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),_["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:_})},xA=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),bA=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Pn={user:0,group:1,publicLink:3,federatedCloudShare:6},Mi={file:"file",folder:"folder"},rh={read:0,update:2,create:4,delete:8,share:16,all:31},ZI={api:{v0:{settings:Up}},dav:{...zp,files:qp,spaces:Gp,systemtags:Wp,systemtags_relations:Xp},graph:{v1:{applications:Hp,drives:$p,extensions:{org_libre_graph:{tags:Jp}},groups:Kp,me:Vp,users:Yp}},ocs:{v2:{apps:{cloud:{groups:Qp,users:Zp},file_sharing:{v1:{sharees:eh,shares:th}}}}}};var nh=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var EA=require("k6/http");var wA=require("https://jslib.k6.io/url/1.0.0/index.js"),uu=require("k6"),oh=Zt(qs());var ah=Zt(Bi()),Wr=(l=10,i)=>(0,nh.randomString)(l,i);var ih=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,uu.check)(l.val,t,l.tags)},ji=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return oh.query(t,l).map(m=>At(m)&&ki(m)?void 0:m)},sh=(l,i)=>{let t=ah.create(i).end({format:"object"});return ji(l,t)};var lh=Zt(require("k6/execution")),si=Zt(uh()),cr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ua.basicAuth?ua.basicAuth:ua.kopano,platform:au[__ENV.PLATFORM]||au.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},shareReceivers:{groupCount:parseInt(__ENV.SHARE_RECEIVERS_GROUP_COUNT,10)||1,userCount:parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT,10)||1},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT,10)||1,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT,10)||1},k6:{vus:1,insecureSkipTLSVerify:!0}},ch=cr.k6;function SA(){let l=new Ri({...cr,userLogin:cr.admin.login,userPassword:cr.admin.password}),i=(0,si.times)(cr.shareReceivers.userCount,()=>{let[S,y]=[Wr(),Wr()];return l.user.createUser({userLogin:S,userPassword:y}),l.user.enableUser({userLogin:S}),{userLogin:S}}),t=(0,si.times)(cr.shareReceivers.groupCount,()=>{let S=Wr(),y=l.group.createGroup({groupName:S}),[_]=ji("$.id",y?.body);return{groupId:_,groupName:S}}),m=(0,si.times)(ch.vus||1,()=>{let[S,y]=[Wr(),Wr()];l.user.createUser({userLogin:S,userPassword:y}),l.user.enableUser({userLogin:S});let s=new Ri({...cr,userLogin:S,userPassword:y}).me.getMyDrives(),[h=S]=ji("$.value[?(@.driveType === 'personal')].id",s?.body);return{actorLogin:S,actorPassword:y,shareReceivers:{users:i,groups:t},actorRoot:h}});return{adminData:{adminLogin:cr.admin.login,adminPassword:cr.admin.password},actorData:m}}function fh({actorData:l}){let{actorLogin:i,actorPassword:t,actorRoot:m,shareReceivers:S}=l[lh.default.vu.idInTest-1],y=new Ri({...cr,userLogin:i,userPassword:t}),_=[],s=(0,si.times)(cr.assets.folderCount,()=>Wr()),h=(0,si.times)(cr.assets.textDocumentCount,()=>Wr()),o=(a,c,u,p)=>{let v=y.search.searchForSharees({searchQuery:a,searchItemType:p}),[f]=ji("$..shareWith",v?.body),r=y.share.createShare({shareType:u,shareResourcePath:c,shareReceiver:f,shareReceiverPermission:rh.all}),[e]=sh("ocs.data.share_with",r.body),g=Object.keys(Pn).find(b=>Pn[b]===u);ih({val:void 0},{[`test -> sharee ( ${g} ) found`]:()=>a===f,[`test -> share ( ${p} ) received`]:()=>a===e})};s.forEach(a=>{y.resource.createResource({root:m,resourcePath:a}),S.users.forEach(({userLogin:c})=>o(c,a,Pn.user,Mi.folder)),S.groups.forEach(({groupName:c})=>o(c,a,Pn.group,Mi.folder)),_.push(()=>{y.resource.deleteResource({root:m,resourcePath:a})})}),h.forEach(a=>{y.resource.uploadResource({root:m,resourcePath:a,resourceBytes:Wr()}),S.users.forEach(({userLogin:c})=>o(c,a,Pn.user,Mi.file)),S.groups.forEach(({groupName:c})=>o(c,a,Pn.group,Mi.file)),_.push(()=>{y.resource.deleteResource({root:m,resourcePath:a})})}),_.forEach(a=>{a()})}function AA({adminData:l,actorData:i}){let t=new Ri({...cr,userLogin:l.adminLogin,userPassword:l.adminPassword});i.forEach(({actorLogin:m,shareReceivers:{users:S,groups:y}})=>{t.user.deleteUser({userLogin:m}),S.forEach(_=>t.user.deleteUser(_)),y.forEach(({groupId:_,groupName:s})=>t.group.deleteGroup({groupIdOrName:_||s}))})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-080-create-space.js b/packages/k6-tests/artifacts/koko-080-create-space.js index 2651ebb..2589810 100644 --- a/packages/k6-tests/artifacts/koko-080-create-space.js +++ b/packages/k6-tests/artifacts/koko-080-create-space.js @@ -1,90 +1,90 @@ -"use strict";var gg=Object.create;var bo=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var xg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var Gs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),wg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},hc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of xg(l))!Eg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=_g(l,w))||v.enumerable});return E};var jt=(E,l,o)=>(o=E!=null?gg(bg(E)):{},hc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),Sg=E=>hc(bo({},"__esModule",{value:!0}),E);var Zs=Gs((up,Qs)=>{(function(E){if(typeof up=="object"&&typeof Qs<"u")Qs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function xa(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=xa(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ba(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Ea(){var F,j,Z,le,be;return be=S,F=ba(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=Ea(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function wa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=wa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Sa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Sa(F)),!Ae(","))break;we()}while(e<_);return j}function Aa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Da(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ca(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Ta(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=Ut(),je("else")?(we(),Z=Ut()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=Ut(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Na(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=Ut(),C.inIteration=Z,b.createWhileStatement(F,j)}function Fa(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Oa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Fa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=Ut(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Ia(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=Ut(),b.createWithStatement(F,j)}function ka(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=Ut(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Pa(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=ka(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ba(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function Ut(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ca(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Oa(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Ta(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Pa(),be);case"throw":return b.markEnd(Ba(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(Aa(),be);case"while":return b.markEnd(Na(),be);case"with":return b.markEnd(Ia(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=Ut(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Da(S.value);case"function":return tn();default:return Ut()}if(S.type!==a.EOF)return Ut()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=La,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var j_=Object.create;var Po=Object.defineProperty;var U_=Object.getOwnPropertyDescriptor;var z_=Object.getOwnPropertyNames;var q_=Object.getPrototypeOf,G_=Object.prototype.hasOwnProperty;var Ts=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var n in a)Po(c,n,{get:a[n],enumerable:!0})},hc=(c,a,n,y)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of z_(a))!G_.call(c,S)&&S!==n&&Po(c,S,{get:()=>a[S],enumerable:!(y=U_(a,S))||y.enumerable});return c};var Qt=(c,a,n)=>(n=c!=null?j_(q_(c)):{},hc(a||!c||!c.__esModule?Po(n,"default",{value:c,enumerable:!0}):n,c)),W_=c=>hc(Po({},"__esModule",{value:!0}),c);var Rs=Ts((np,Ms)=>{(function(c){if(typeof np=="object"&&typeof Ms<"u")Ms.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,n;return function y(S,_,v){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,y,S,_,v)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[wr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function aa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function sa(){var O,j,Z,ce,Ee;return Ee=w,O=aa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=sa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=ua(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function wr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function la(O){var j=null,Z,ce;return ce=w,Z=wr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(la(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=wr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=wr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ya(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function _a(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}v.version="1.2.2",v.tokenize=ba,v.parse=Hi,v.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(y,S,_){(function(v){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof y<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),v.exit(1));var o=y("fs").readFileSync(y("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&y.main===S&&_.main(v.argv.slice(1)))}).call(this,y("_process"))},{_process:14,fs:12,path:13}],2:[function(y,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(y,S,_){var v=y("./dict"),s=y("fs"),h={lex:{macros:{esc:"\\\\",int:v.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[v.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[v.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[v.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(y.resolve("../include/module.js")),h.actionInclude=s.readFileSync(y.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(y,S,_){var v=y("./aesprim"),s=y("./slice"),h=y("static-eval"),i=y("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=y(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=v.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=v.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=y("./index"),T=v.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(y,S,_){var v=y("assert"),s=y("./dict"),h=y("./parser"),i=y("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return v.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path"),v.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){v.ok(p instanceof Object,"obj needs to be an object"),v.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(v.ok(p instanceof Object,"obj needs to be an object"),v.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){v.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(v.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(y,S,_){var v=y("./grammar"),s=y("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=v,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(y,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?v(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=v(h===0?0:h||(o>0?0:l-1)),i=v(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function v(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(y,S,_){var v=y("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},v.inherits(i.AssertionError,Error);function o(E,w){return v.isUndefined(w)?""+w:v.isNumber(w)&&!isFinite(w)||v.isFunction(w)||v.isRegExp(w)?w.toString():w}function l(E,w){return v.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;v.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(y,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(y,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(y,S,_){(function(v,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof eu=="object"?eu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=y("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=y("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,y("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(y,S,_){},{}],13:[function(y,S,_){(function(v){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:v.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof js=="object"?js.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function n(y){if(a[y])return a[y].exports;var S=a[y]={i:y,l:!1,exports:{}};return c[y].call(S.exports,S,S.exports,n),S.l=!0,S.exports}return n.m=c,n.c=a,n.d=function(y,S,_){n.o(y,S)||Object.defineProperty(y,S,{enumerable:!0,get:_})},n.r=function(y){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})},n.t=function(y,S){if(1&S&&(y=n(y)),8&S||4&S&&typeof y=="object"&&y&&y.__esModule)return y;var _=Object.create(null);if(n.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:y}),2&S&&typeof y!="string")for(var v in y)n.d(_,v,function(s){return y[s]}.bind(null,v));return _},n.n=function(y){var S=y&&y.__esModule?function(){return y.default}:function(){return y};return n.d(S,"a",S),S},n.o=function(y,S){return Object.prototype.hasOwnProperty.call(y,S)},n.p="",n(n.s=184)}([function(c,a,n){"use strict";function y(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),y(n(240)),y(n(251)),y(n(175)),y(n(107)),y(n(29)),y(n(73)),y(n(106)),y(n(30)),y(n(252)),y(n(52)),y(n(97)),y(n(253)),y(n(37)),y(n(51)),y(n(173)),y(n(176)),y(n(172)),y(n(108)),y(n(254)),y(n(255)),y(n(256)),y(n(72)),y(n(177)),y(n(105)),y(n(17)),y(n(257)),y(n(12)),y(n(174))},function(c,a,n){"use strict";var y=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(212);a.FixedSizeSet=S.FixedSizeSet;var _=n(213);a.ObjectCache=_.ObjectCache;var v=n(214);a.CompareCache=v.CompareCache;var s=n(215);a.Lazy=s.Lazy;var h=n(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=y(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(y){y[y.Before=0]="Before",y[y.Equal=1]="Equal",y[y.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(y){y[y.None=0]="None",y[y.Capturing=1]="Capturing",y[y.AtTarget=2]="AtTarget",y[y.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(y){y[y.Element=1]="Element",y[y.Attribute=2]="Attribute",y[y.Text=3]="Text",y[y.CData=4]="CData",y[y.EntityReference=5]="EntityReference",y[y.Entity=6]="Entity",y[y.ProcessingInstruction=7]="ProcessingInstruction",y[y.Comment=8]="Comment",y[y.Document=9]="Document",y[y.DocumentType=10]="DocumentType",y[y.DocumentFragment=11]="DocumentFragment",y[y.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(y){y[y.Disconnected=1]="Disconnected",y[y.Preceding=2]="Preceding",y[y.Following=4]="Following",y[y.Contains=8]="Contains",y[y.ContainedBy=16]="ContainedBy",y[y.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(y){y[y.Accept=1]="Accept",y[y.Reject=2]="Reject",y[y.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(y){y[y.All=4294967295]="All",y[y.Element=1]="Element",y[y.Attribute=2]="Attribute",y[y.Text=4]="Text",y[y.CDataSection=8]="CDataSection",y[y.EntityReference=16]="EntityReference",y[y.Entity=32]="Entity",y[y.ProcessingInstruction=64]="ProcessingInstruction",y[y.Comment=128]="Comment",y[y.Document=256]="Document",y[y.DocumentType=512]="DocumentType",y[y.DocumentFragment=1024]="DocumentFragment",y[y.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(y){y[y.StartToStart=0]="StartToStart",y[y.StartToEnd=1]="StartToEnd",y[y.EndToEnd=2]="EndToEnd",y[y.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(241);a.Cast=y.Cast;var S=n(150);a.Guard=S.Guard;var _=n(242);a.EmptySet=_.EmptySet},function(c,a,n){var y=n(11),S=n(55).f,_=n(21),v=n(25),s=n(80),h=n(119),i=n(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?y:b?y[e]||s(e,{}):(y[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),v(u,p,f,o)}}},function(c,a,n){var y=n(11),S=n(81),_=n(14),v=n(58),s=n(86),h=n(124),i=S("wks"),o=y.Symbol,l=h?o:o&&o.withoutSetter||v;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),S=n(29),_=function(){function v(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new y.CompareCache,this._rangeList=new y.FixedSizeSet}return v.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),y.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(v.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(v,"instance",{get:function(){return v._instance||(v._instance=new v),v._instance},enumerable:!0,configurable:!0}),v}();a.dom=_.instance},function(c,a,n){"use strict";var y=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=y(n(228));a.base64=S;var _=y(n(146));a.byte=_;var v=y(n(147));a.byteSequence=v;var s=y(n(96));a.codePoint=s;var h=y(n(232));a.json=h;var i=y(n(233));a.list=i;var o=y(n(234));a.map=o;var l=y(n(235));a.namespace=l;var u=y(n(236));a.queue=u;var p=y(n(237));a.set=p;var m=y(n(238));a.stack=m;var f=y(n(239));a.string=f},function(c,a){c.exports=function(n){try{return!!n()}catch{return!0}}},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(z,X){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}y(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var v=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=v;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,n){"use strict";var y=n(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(v,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new y('Unknown option "'+o+'" is met in definition of "'+v+'" YAML type.')}),this.tag=v,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new y('Unknown kind "'+this.kind+'" is specified for "'+v+'" YAML type.')}},function(c,a,n){(function(y){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof y=="object"&&y)||Function("return this")()}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(y,S,_){Object.defineProperty(y,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},function(c,a){var n={}.hasOwnProperty;c.exports=function(y,S){return n.call(y,S)}},function(c,a,n){var y=n(16),S=n(115),_=n(18),v=n(56),s=Object.defineProperty;a.f=y?s:function(h,i,o){if(_(h),i=v(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,n){var y=n(8);c.exports=!y(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,n){"use strict";var y=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(2);function v(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:v(e,e,b);E&&x&&!x(E);)E=v(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=v(e,g,x);w&&E&&!E(w);)w=v(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:v(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=v(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=v(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=y(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=y(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=y(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,n){var y=n(13);c.exports=function(S){if(!y(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,n){"use strict";var y=n(24),S=n(130),_=n(49),v=n(43),s=n(88),h=v.set,i=v.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:y(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,n){var y=n(90),S=n(25),_=n(202);y||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,n){var y=n(16),S=n(15),_=n(40);c.exports=y?function(v,s,h){return S.f(v,s,_(1,h))}:function(v,s,h){return v[s]=h,v}},function(c,a,n){"use strict";var y=n(137).charAt,S=n(43),_=n(88),v=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){v(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=y(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,n){var y=n(11),S=n(203),_=n(19),v=n(21),s=n(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=y[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{v(p,h,o)}catch{p[h]=o}if(p[i]||v(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{v(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,n){var y=n(41),S=n(35);c.exports=function(_){return y(S(_))}},function(c,a,n){var y=n(11),S=n(21),_=n(14),v=n(80),s=n(117),h=n(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==y?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:v(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,n){var y=n(47),S=Math.min;c.exports=function(_){return _>0?S(y(_),9007199254740991):0}},function(c,a,n){var y=n(35);c.exports=function(S){return Object(y(S))}},function(c,a,n){var y=n(16),S=n(8),_=n(14),v=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!y)return!0;var f={length:-1};u?v(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(148),S=n(149),_=n(151),v=n(98),s=n(153),h=n(154),i=n(155),o=n(99),l=n(100),u=n(156),p=n(157),m=n(101),f=n(158),t=n(159),e=n(160),g=n(161),b=n(162),x=n(163),E=n(164),w=n(165),D=n(166),T=n(167),N=n(168),I=n(169),M=n(170);a.create_domImplementation=function(k){return y.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new v.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,n){"use strict";var y=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(17),v=n(3),s=n(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(v.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(v.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=y(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,n){"use strict";var y=n(4),S=n(11),_=n(46),v=n(44),s=n(16),h=n(86),i=n(124),o=n(8),l=n(14),u=n(59),p=n(13),m=n(18),f=n(27),t=n(24),e=n(56),g=n(40),b=n(60),x=n(61),E=n(82),w=n(190),D=n(85),T=n(55),N=n(15),I=n(79),M=n(21),k=n(25),G=n(81),$=n(57),Y=n(45),z=n(58),X=n(5),H=n(125),ee=n(126),re=n(62),de=n(43),ve=n(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),v||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),y({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),y({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),y({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),y({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),y({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&y({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,n){"use strict";var y=n(4),S=n(16),_=n(11),v=n(14),s=n(13),h=n(15).f,i=n(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(v(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),y({global:!0,forced:!0},{Symbol:u})}},function(c,a,n){n(126)("iterator")},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(f,t){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}y(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),s=n(2),h=n(70),i=n(3),o=n(9),l=n(0),u=n(152),p=n(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||v.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,n){"use strict";var y=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=y(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=y(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=y(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&v.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=y(v.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);v.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=y(v.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(v.dom.features.steps)try{for(var Q=y(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),v.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),v.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),v.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),v.dom.features.steps&&e.dom_runRemovingSteps(D,T),v.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)v.dom.features.steps&&e.dom_runRemovingSteps(L,D),v.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(v.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,y(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}v.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),v.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=y(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=y(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=y(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=y(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),v.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=y(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),v.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,n){"use strict";function y(S){return S==null}c.exports.isNothing=y,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:y(S)?[]:[S]},c.exports.repeat=function(S,_){var v,s="";for(v=0;v<_;v+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var v,s,h,i;if(_)for(v=0,s=(i=Object.keys(_)).length;v0?y:n)(S)}},function(c,a,n){"use strict";var y=n(8);c.exports=function(S,_){var v=[][S];return!!v&&y(function(){v.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,n){"use strict";n(31),n(32),n(33),n(220),n(64),n(19),n(65),n(20),n(68),n(66),n(92),n(144),n(22),n(94),n(23);var y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=y(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=y(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=y(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=y(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=y(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,n){"use strict";var y=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),v=n(3),s=n(7),h=n(29),i=n(17),o=n(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{y=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=y?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(y):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=v.length;e--;)delete m.prototype[v[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,n){var y=n(121),S=n(84);c.exports=Object.keys||function(_){return y(_,S)}},function(c,a,n){var y=n(15).f,S=n(14),_=n(5)("toStringTag");c.exports=function(v,s,h){v&&!S(v=h?v:v.prototype,_)&&y(v,_,{configurable:!0,value:s})}},function(c,a,n){var y=n(8),S=n(5),_=n(129),v=S("species");c.exports=function(s){return _>=51||!y(function(){var h=[];return(h.constructor={})[v]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,n){"use strict";var y=n(4),S=n(122).indexOf,_=n(48),v=n(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=v("indexOf",{ACCESSORS:!0,1:0});y({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var y=n(16),S=n(15).f,_=Function.prototype,v=_.toString,s=/^\s*function ([^ (]*)/;y&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return v.call(this).match(s)[1]}catch{return""}}})},function(c,a,n){"use strict";var y=n(25),S=n(18),_=n(8),v=n(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&y(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?v.call(l):p)},{unsafe:!0})},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(138),n(20),n(66),n(22),n(23);var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),s=n(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=v.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&v.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?v.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?v.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?v.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?v.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(n(50).BaseWriter);a.ObjectWriter=h},function(c,a,n){"use strict";var y=n(4),S=n(93);y({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,v){_===null?this._nullItems[v]=!0:(this._items[_]||(this._items[_]={}),this._items[_][v]=!0)},S.prototype.has=function(_,v){return _===null?this._nullItems[v]===!0:!!this._items[_]&&this._items[_][v]===!0},S}();a.LocalNameSet=y},function(c,a,n){"use strict";var y=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=n(9),_=n(3),v=n(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=y(v.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},v.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=v.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,n){"use strict";var y=n(39);c.exports=y.DEFAULT=new y({include:[n(54)],explicit:[n(299),n(300),n(301)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(185);a.XMLBuilderImpl=y.XMLBuilderImpl;var S=n(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=n(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var v=n(309);a.createCB=v.createCB,a.fragmentCB=v.fragmentCB},function(c,a){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}c.exports=n},function(c,a,n){"use strict";var y={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!y.call({1:2},1);a.f=_?function(v){var s=S(this,v);return!!s&&s.enumerable}:y},function(c,a,n){var y=n(11),S=n(21);c.exports=function(_,v){try{S(y,_,v)}catch{y[_]=v}return v}},function(c,a,n){var y=n(44),S=n(118);(c.exports=function(_,v){return S[_]||(S[_]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:y?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,n){var y=n(121),S=n(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return y(_,S)}},function(c,a,n){var y=n(47),S=Math.max,_=Math.min;c.exports=function(v,s){var h=y(v);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,n){var y=n(8);c.exports=!!Object.getOwnPropertySymbols&&!y(function(){return!String(Symbol())})},function(c,a,n){var y=n(127);c.exports=function(S,_,v){if(y(S),_===void 0)return S;switch(v){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,n){"use strict";var y=n(4),S=n(195),_=n(132),v=n(133),s=n(62),h=n(21),i=n(25),o=n(5),l=n(44),u=n(49),p=n(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(v?v(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else y({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,n){"use strict";var y=n(4),S=n(13),_=n(59),v=n(83),s=n(26),h=n(24),i=n(134),o=n(5),l=n(63),u=n(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;y({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=v(g,T),I=v(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;y("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,v(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var v in this._items)_._items[v]=this._items[v].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,v){var s=v===null?this._nullItems:this._items[v]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},v=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=n(6),h=n(2),i=n(9),o=n(34),l=n(3),u=n(1),p=n(7),m=n(152),f=n(0),t=n(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=v(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},v=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=n(2),h=n(34),i=n(9),o=n(7),l=n(0),u=n(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),s=n(71),h=n(0),i=n(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",v.NodeType.Text)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=y},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=function(){function _(v){this._activeFlag=!1,this._root=v,this._whatToShow=y.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=n(0),_=n(12),v=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=y.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),v=n(3),s=n(1),h=n(99),i=n(73),o=n(17),l=n(173),u=n(30),p=n(52),m=n(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=y(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,v.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&v.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,n){"use strict";var y=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),v=n(9),s=n(17),h=n(51),i=n(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new v.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=y(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new v.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,n){"use strict";var y=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(7);function s(i){var o=v.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,n){"use strict";n(179),Object.defineProperty(a,"__esModule",{value:!0});var y=n(262),S=n(110),_=n(1);S.dom.setFeatures(!1),a.createDocument=function(){var v=new y.DOMImplementation().createDocument(null,"root",null);return v.documentElement&&v.removeChild(v.documentElement),v},a.sanitizeInput=function(v,s){if(v==null)return v;if(s===void 0)return v+"";var h="";v+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=v.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(v.charAt(i),i,v)}else h+=_.isString(s)?s:s(v.charAt(i),i,v)}return h}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),S=n(153);a.AbortController=S.AbortControllerImpl;var _=n(154);a.AbortSignal=_.AbortSignalImpl;var v=n(102);a.AbstractRange=v.AbstractRangeImpl;var s=n(157);a.Attr=s.AttrImpl;var h=n(158);a.CDATASection=h.CDATASectionImpl;var i=n(71);a.CharacterData=i.CharacterDataImpl;var o=n(263),l=n(159);a.Comment=l.CommentImpl;var u=n(171);a.CustomEvent=u.CustomEventImpl;var p=n(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=n(98);a.Document=m.DocumentImpl;var f=n(264),t=n(155);a.DocumentType=t.DocumentTypeImpl;var e=n(6);a.dom=e.dom;var g=n(148);a.DOMImplementation=g.DOMImplementationImpl;var b=n(170);a.DOMTokenList=b.DOMTokenListImpl;var x=n(99);a.Element=x.ElementImpl;var E=n(104);a.Event=E.EventImpl;var w=n(70);a.EventTarget=w.EventTargetImpl;var D=n(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=n(265);a.MutationObserver=T.MutationObserverImpl;var N=n(169);a.MutationRecord=N.MutationRecordImpl;var I=n(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=n(168);a.NodeFilter=M.NodeFilterImpl;var k=n(34);a.Node=k.NodeImpl;var G=n(166);a.NodeIterator=G.NodeIteratorImpl;var $=n(162);a.NodeList=$.NodeListImpl;var Y=n(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=n(266),X=n(267),H=n(268),ee=n(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=n(165);a.Range=re.RangeImpl;var de=n(156);a.ShadowRoot=de.ShadowRootImpl;var ve=n(269),ne=n(270);a.StaticRange=ne.StaticRangeImpl;var Q=n(101);a.Text=Q.TextImpl;var ie=n(103);a.Traverser=ie.TraverserImpl;var le=n(167);a.TreeWalker=le.TreeWalkerImpl;var fe=n(149);a.Window=fe.WindowImpl;var P=n(151);a.XMLDocument=P.XMLDocumentImpl,y.applyMixin(x.ElementImpl,o.ChildNodeImpl),y.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),y.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),y.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),y.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),y.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),y.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),y.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),y.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),y.applyMixin(m.DocumentImpl,H.ParentNodeImpl),y.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),y.applyMixin(x.ElementImpl,H.ParentNodeImpl),y.applyMixin(Q.TextImpl,ve.SlotableImpl),y.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(y){y[y.EOF=0]="EOF",y[y.Declaration=1]="Declaration",y[y.DocType=2]="DocType",y[y.Element=3]="Element",y[y.Text=4]="Text",y[y.CDATA=5]="CDATA",y[y.PI=6]="PI",y[y.Comment=7]="Comment",y[y.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,n){"use strict";n(64),n(20),n(66);var y,S=this&&this.__extends||(y=function(s,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}y(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),v=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(n(75).BaseReader);a.ObjectReader=v},function(c,a,n){"use strict";var y=n(39);c.exports=new y({explicit:[n(286),n(287),n(288)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=y},function(c,a,n){var y=n(16),S=n(8),_=n(116);c.exports=!y&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,n){var y=n(11),S=n(13),_=y.document,v=S(_)&&S(_.createElement);c.exports=function(s){return v?_.createElement(s):{}}},function(c,a,n){var y=n(118),S=Function.toString;typeof y.inspectSource!="function"&&(y.inspectSource=function(_){return S.call(_)}),c.exports=y.inspectSource},function(c,a,n){var y=n(11),S=n(80),_=y["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,n){var y=n(14),S=n(187),_=n(55),v=n(15);c.exports=function(s,h){for(var i=S(h),o=v.f,l=_.f,u=0;ul;)y(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,n){var y=n(24),S=n(26),_=n(83),v=function(s){return function(h,i,o){var l,u=y(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:v(!0),indexOf:v(!1)}},function(c,a,n){var y=n(8),S=/#|\.prototype\./,_=function(o,l){var u=s[v(o)];return u==i||u!=h&&(typeof l=="function"?y(l):!!l)},v=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,n){var y=n(86);c.exports=y&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,n){var y=n(5);a.f=y},function(c,a,n){var y=n(120),S=n(14),_=n(125),v=n(15).f;c.exports=function(s){var h=y.Symbol||(y.Symbol={});S(h,s)||v(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},function(c,a,n){var y=n(13),S=n(59),_=n(5)("species");c.exports=function(v,s){var h;return S(v)&&(typeof(h=v.constructor)!="function"||h!==Array&&!S(h.prototype)?y(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,n){var y,S,_=n(11),v=n(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(y=i.split("."))[0]+y[1]:v&&(!(y=v.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=v.match(/Chrome\/(\d+)/))&&(S=y[1]),c.exports=S&&+S},function(c,a,n){var y=n(5),S=n(60),_=n(15),v=y("unscopables"),s=Array.prototype;s[v]==null&&_.f(s,v,{configurable:!0,value:S(null)}),c.exports=function(h){s[v][h]=!0}},function(c,a,n){"use strict";var y,S,_,v=n(132),s=n(21),h=n(14),i=n(5),o=n(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=v(v(_)))!==Object.prototype&&(y=S):u=!0),y==null&&(y={}),o||h(y,l)||s(y,l,function(){return this}),c.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:u}},function(c,a,n){var y=n(14),S=n(27),_=n(57),v=n(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=v?Object.getPrototypeOf:function(i){return i=S(i),y(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,n){var y=n(18),S=n(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,v=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),v=s instanceof Array}catch{}return function(h,i){return y(h),S(i),v?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,n){"use strict";var y=n(56),S=n(15),_=n(40);c.exports=function(v,s,h){var i=y(s);i in v?S.f(v,i,_(0,h)):v[i]=h}},function(c,a,n){var y=n(90),S=n(42),_=n(5)("toStringTag"),v=S(function(){return arguments}())=="Arguments";c.exports=y?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:v?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,n){"use strict";var y=n(18);c.exports=function(){var S=y(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,n){var y=n(47),S=n(35),_=function(v){return function(s,h){var i,o,l=String(S(s)),u=y(h),p=l.length;return u<0||u>=p?v?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?v?l.charAt(u):i:v?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,n){var y=n(4),S=n(27),_=n(61);y({target:"Object",stat:!0,forced:n(8)(function(){_(1)})},{keys:function(v){return _(S(v))}})},function(c,a,n){"use strict";var y=n(4),S=n(11),_=n(123),v=n(25),s=n(140),h=n(141),i=n(142),o=n(13),l=n(8),u=n(208),p=n(62),m=n(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];v(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,y({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,n){var y=n(45),S=n(13),_=n(14),v=n(15).f,s=n(58),h=n(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){v(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};y[i]=!0},function(c,a,n){var y=n(18),S=n(205),_=n(26),v=n(87),s=n(206),h=n(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=v(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(y(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(n,y,S){if(!(n instanceof y))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return n}},function(c,a,n){"use strict";var y=n(15).f,S=n(60),_=n(210),v=n(87),s=n(142),h=n(141),i=n(88),o=n(211),l=n(16),u=n(140).fastKey,p=n(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=v(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&y(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,n){"use strict";var y,S=n(4),_=n(55).f,v=n(26),s=n(222),h=n(35),i=n(224),o=n(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(y=_(String.prototype,"endsWith"),!y||y.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=v(f.length),g=t===void 0?e:u(v(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,n){"use strict";(function(y){var S=n(229),_=n(230),v=n(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(y){return y>=0&&y<=127}},function(c,a,n){"use strict";var y=this&&this.__read||function(_,v){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(v===void 0||v-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],v=0;v=65&&s<=90&&(_[v]=s+32)}},a.byteUppercase=function(_){for(var v=0;v<_.length;v++){var s=_[v];s>=97&&s<=122&&(_[v]=s-32)}},a.byteCaseInsensitiveMatch=function(_,v){if(_.length!==v.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=v[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,v){for(var s=0;;){if(s>=_.length)return!1;if(s>=v.length)return!0;if(_[s]!==v[s])return!1;s++}},a.byteLessThan=function(_,v){for(var s=0;;){if(s>=_.length)return!1;if(s>=v.length)return!0;var h=_[s],i=v[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),S=n(7),_=n(0),v=n(12),s=function(){function h(i){this._associatedDocument=i||y.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,v.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),v=n(1),s=n(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new v.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=function(){function _(){}return _.isNode=function(v){return!!v&&v._nodeType!==void 0},_.isDocumentNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.Document},_.isDocumentTypeNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.DocumentType},_.isDocumentFragmentNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.DocumentFragment},_.isAttrNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.Attribute},_.isCharacterDataNode=function(v){if(!_.isNode(v))return!1;var s=v._nodeType;return s===y.NodeType.Text||s===y.NodeType.ProcessingInstruction||s===y.NodeType.Comment||s===y.NodeType.CData},_.isTextNode=function(v){return _.isNode(v)&&(v._nodeType===y.NodeType.Text||v._nodeType===y.NodeType.CData)},_.isExclusiveTextNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.Text},_.isCDATASectionNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.CData},_.isCommentNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.Comment},_.isProcessingInstructionNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.ProcessingInstruction},_.isElementNode=function(v){return _.isNode(v)&&v._nodeType===y.NodeType.Element},_.isCustomElementNode=function(v){return _.isElementNode(v)&&v._customElementState==="custom"},_.isShadowRoot=function(v){return!!v&&v.host!==void 0},_.isMouseEvent=function(v){return!!v&&v.screenX!==void 0&&v.screenY!=null},_.isSlotable=function(v){return!!v&&v._name!==void 0&&v._assignedSlot!==void 0&&(_.isTextNode(v)||_.isElementNode(v))},_.isSlot=function(v){return!!v&&v._name!==void 0&&v._assignedNodes!==void 0&&_.isElementNode(v)},_.isWindow=function(v){return!!v&&v.navigator!==void 0},_.isEventListener=function(v){return!!v&&v.handleEvent!==void 0},_.isRegisteredObserver=function(v){return!!v&&v.observer!==void 0&&v.options!==void 0},_.isTransientRegisteredObserver=function(v){return!!v&&v.source!==void 0&&_.isRegisteredObserver(v)},_}();a.Guard=S},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(v,s){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(v,s)},function(v,s){function h(){this.constructor=v}y(v,s),v.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(v){function s(){return v.call(this)||this}return S(s,v),s}(n(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,n){"use strict";var y=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,v=n(1),s=n(243),h=n(7),i=n(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=y(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return v.isNumber(L)?N(L):v.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new v.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,y(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=v.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,y(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(v.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||v.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=y(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=y(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new v.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=y(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(v.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(v.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=v.utf8Encode(L),me="";try{for(var ge=y(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=y(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=y(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=y(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=y(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(v.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=y(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(v.utf8Encode(Ae[0])),je=Ae[1];je=C(v.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(0),S=function(){function _(){this._signal=y.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){y.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(h,i){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}y(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),v=n(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return v.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){v.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),v=n(34),s=n(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),v=n(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),v=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=y(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),s=n(2),h=n(102),i=n(9),o=n(0),l=n(12),u=n(3),p=function(m){function f(){var t=m.call(this)||this,e=v.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],v.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){v.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(h,i){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}y(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(103),v=n(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,v.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return v.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return v.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){v.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),v=n(103),s=n(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(v.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=n(12),_=function(){function v(){}return v.prototype.acceptNode=function(s){return y.FilterResult.Accept},v._create=function(){return new v},v.FILTER_ACCEPT=1,v.FILTER_REJECT=2,v.FILTER_SKIP=3,v.SHOW_ALL=4294967295,v.SHOW_ELEMENT=1,v.SHOW_ATTRIBUTE=2,v.SHOW_TEXT=4,v.SHOW_CDATA_SECTION=8,v.SHOW_ENTITY_REFERENCE=16,v.SHOW_ENTITY=32,v.SHOW_PROCESSING_INSTRUCTION=64,v.SHOW_COMMENT=128,v.SHOW_DOCUMENT=256,v.SHOW_DOCUMENT_TYPE=512,v.SHOW_DOCUMENT_FRAGMENT=1024,v.SHOW_NOTATION=2048,v}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(_,v,s,h,i,o,l,u,p){this._type=_,this._target=v,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,v,s,h,i,o,l,u,p){return new S(_,v,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=y},function(c,a,n){"use strict";var y=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(9),v=n(7),s=n(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=y(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&v<=57343&&(S++,(_=1024*(_-55296)+v-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(y){for(var S=!1,_=0;_=97&&v<=122||v>=65&&v<=90||v===95||v>=192&&v<=214||v>=216&&v<=246||v>=248&&v<=767||v>=880&&v<=893||v>=895&&v<=8191||v>=8204&&v<=8205||v>=8304&&v<=8591||v>=11264&&v<=12271||v>=12289&&v<=55295||v>=63744&&v<=64975||v>=65008&&v<=65533)&&(_===0||!(v===45||v===46||v>=48&&v<=57||v===183||v>=768&&v<=879||v>=8255&&v<=8256))){if(_===0||v!==58){if(v>=55296&&v<=56319&&_=56320&&s<=57343&&(_++,(v=1024*(v-55296)+s-56320+65536)>=65536&&v<=983039))continue}return!1}if(S||_===y.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(y){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&v<=57343&&(S++,(_=1024*(_-55296)+v-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(y){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=n(17);a.boundaryPoint_position=function _(v,s){var h=v[0],i=v[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?y.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),v=n(7),s=n(29),h=n(108),i=n(30),o=n(37),l=n(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=y(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=y(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=y(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=y(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===v.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==v.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),v=n(9),s=n(29),h=n(17),i=n(107),o=n(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new v.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=y(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,n){"use strict";var y=n(4),S=n(41),_=n(24),v=n(48),s=[].join,h=S!=Object,i=v("join",",");y({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,n){var y=n(4),S=n(83),_=String.fromCharCode,v=String.fromCodePoint;y({target:"String",stat:!0,forced:!!v&&v.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,n){"use strict";var y=this&&this.__read||function(v,s){var h=typeof Symbol=="function"&&v[Symbol.iterator];if(!h)return v;var i,o,l=h.call(v),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=n(111),_=function(){function v(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return v.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&v.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},v.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?v.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},v.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=y(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},v.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},v.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},v.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},v.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},v.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},v.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},v.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},v.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},v.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);v.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},v.prototype.eof=function(){return this._index>=this._length},v.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},v.prototype.skipSpace=function(){for(;!this.eof()&&v.isSpace(this._str[this._index]);)this._index++},v.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},v.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},v.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},v}();a.XMLStringLexer=_},function(c,a,n){"use strict";var y=n(39);c.exports=new y({include:[n(182)]})},function(c,a,n){"use strict";var y=n(39);c.exports=new y({include:[n(113)],implicit:[n(289),n(290),n(291),n(292)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(91),S=n(1),_=n(3),v=n(77),s=n(109);function h(u,p){var m=o(u===void 0||i(u)?u:y.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new v.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!y.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,y.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:y.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(91),v=n(1),s=n(217),h=n(2),i=n(3),o=n(0),l=n(109),u=n(7),p=n(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=v.applyDefaults(v.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(v.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=y(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=y(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=y(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,n){var y=n(11),S=n(117),_=y.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,n){var y=n(46),S=n(82),_=n(85),v=n(18);c.exports=y("Reflect","ownKeys")||function(s){var h=S.f(v(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,n){var y=n(16),S=n(15),_=n(18),v=n(61);c.exports=y?Object.defineProperties:function(s,h){_(s);for(var i,o=v(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,n){var y=n(46);c.exports=y("document","documentElement")},function(c,a,n){var y=n(24),S=n(82).f,_={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return v&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return v.slice()}}(s):S(y(s))}},function(c,a,n){"use strict";var y=n(4),S=n(36).every,_=n(48),v=n(28),s=_("every"),h=v("every");y({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var y=n(4),S=n(36).filter,_=n(63),v=n(28),s=_("filter"),h=v("filter");y({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var y=n(46);c.exports=y("navigator","userAgent")||""},function(c,a,n){"use strict";var y=n(4),S=n(36).find,_=n(130),v=n(28),s=!0,h=v("find");"find"in[]&&Array(1).find(function(){s=!1}),y({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,n){"use strict";var y=n(131).IteratorPrototype,S=n(60),_=n(40),v=n(62),s=n(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(y,{next:_(1,l)}),v(i,u,!1,!0),s[u]=h,i}},function(c,a,n){var y=n(8);c.exports=!y(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,n){var y=n(13);c.exports=function(S){if(!y(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,n){"use strict";var y=n(4),S=n(36).map,_=n(63),v=n(28),s=_("map"),h=v("map");y({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var y=n(4),S=n(200).left,_=n(48),v=n(28),s=_("reduce"),h=v("reduce",{1:0});y({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var y=n(127),S=n(27),_=n(41),v=n(26),s=function(h){return function(i,o,l,u){y(o);var p=S(i),m=_(p),f=v(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,n){"use strict";var y=n(4),S=n(36).some,_=n(48),v=n(28),s=_("some"),h=v("some");y({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var y=n(90),S=n(135);c.exports=y?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,n){var y=n(8);c.exports=!y(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,n){var y=n(5),S=n(49),_=y("iterator"),v=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||v[_]===s)}},function(c,a,n){var y=n(135),S=n(49),_=n(5)("iterator");c.exports=function(v){if(v!=null)return v[_]||v["@@iterator"]||S[y(v)]}},function(c,a,n){var y=n(18);c.exports=function(S,_,v,s){try{return s?_(y(v)[0],v[1]):_(v)}catch(i){var h=S.return;throw h!==void 0&&y(h.call(S)),i}}},function(c,a,n){var y=n(5)("iterator"),S=!1;try{var _=0,v={next:function(){return{done:!!_++}},return:function(){S=!0}};v[y]=function(){return this},Array.from(v,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[y]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,n){var y=n(13),S=n(133);c.exports=function(_,v,s){var h,i;return S&&typeof(h=v.constructor)=="function"&&h!==s&&y(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,n){var y=n(25);c.exports=function(S,_,v){for(var s in _)y(S,s,_[s],v);return S}},function(c,a,n){"use strict";var y=n(46),S=n(15),_=n(5),v=n(16),s=_("species");c.exports=function(h){var i=y(h),o=S.f;v&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,n){"use strict";var y=this&&this.__generator||function(v,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=v.length&&(v=void 0),{value:v&&v[i++],done:!v}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function v(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return v.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},v.prototype.delete=function(s){return this._items.delete(s)},v.prototype.has=function(s){return this._items.has(s)},v.prototype.clear=function(){this._items.clear()},Object.defineProperty(v.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),v.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},v.prototype.keys=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},v.prototype.values=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},v.prototype.entries=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},v.prototype[Symbol.iterator]=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(v.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),v}();a.FixedSizeSet=_},function(c,a,n){"use strict";var y=this&&this.__generator||function(v,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=v.length&&(v=void 0),{value:v&&v[i++],done:!v}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function v(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return v.prototype.get=function(s){return this._items.get(s)},v.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},v.prototype.delete=function(s){return this._items.delete(s)},v.prototype.has=function(s){return this._items.has(s)},v.prototype.clear=function(){this._items.clear()},Object.defineProperty(v.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),v.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},v.prototype.keys=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},v.prototype.values=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},v.prototype.entries=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},v.prototype[Symbol.iterator]=function(){return y(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(v.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),v}();a.ObjectCache=_},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,v){if(this._items.get(_)===v)return!0;if(this._items.get(v)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,v):this._items.set(v,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=y},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=y},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=y},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(218);a.MapWriter=y.MapWriter;var S=n(258);a.XMLWriter=S.XMLWriter;var _=n(67);a.ObjectWriter=_.ObjectWriter;var v=n(260);a.JSONWriter=v.JSONWriter;var s=n(261);a.YAMLWriter=s.YAMLWriter},function(c,a,n){"use strict";n(19),n(219),n(20),n(22),n(23);var y,S=this&&this.__extends||(y=function(h,i){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}y(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),v=n(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new v.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!v(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};y({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,n){"use strict";var y=n(8);function S(_,v){return RegExp(_,v)}a.UNSUPPORTED_Y=y(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=y(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,n){var y=n(223);c.exports=function(S){if(y(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,n){var y=n(13),S=n(42),_=n(5)("match");c.exports=function(v){var s;return y(v)&&((s=v[_])!==void 0?!!s:S(v)=="RegExp")}},function(c,a,n){var y=n(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[y]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,n){"use strict";n(68);var y=n(25),S=n(8),_=n(5),v=n(93),s=n(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===v?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];y(String.prototype,m,D),y(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,n){"use strict";var y=n(137).charAt;c.exports=function(S,_,v){return _+(v?y(S,_).length:1)}},function(c,a,n){var y=n(42),S=n(93);c.exports=function(_,v){var s=_.exec;if(typeof s=="function"){var h=s.call(_,v);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(y(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,v)}},function(c,a,n){"use strict";(function(y){Object.defineProperty(a,"__esModule",{value:!0});var S=n(96);a.forgivingBase64Encode=function(_){return y.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?y.from(_,"base64").toString("utf8"):null)}}).call(this,n(145).Buffer)},function(c,a,n){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(y[u>>2]+y[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(y[u>>10]+y[u>>4&63]+y[u<<2&63]+"=")),f.join("")};for(var y=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=v.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+y[f>>12&63]+y[f>>6&63]+y[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(n,y,S,_,v){var s,h,i=8*v-_-1,o=(1<>1,u=-7,p=S?v-1:0,m=S?-1:1,f=n[y+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+n[y+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+n[y+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(n,y,S,_,v,s){var h,i,o,l=8*s-v-1,u=(1<>1,m=v===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=y<0||y===0&&1/y<0?1:0;for(y=Math.abs(y),isNaN(y)||y===1/0?(i=isNaN(y)?1:0,h=u):(h=Math.floor(Math.log(y)/Math.LN2),y*(o=Math.pow(2,-h))<1&&(h--,o*=2),(y+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(y*o-1)*Math.pow(2,v),h+=p):(i=y*Math.pow(2,p-1)*Math.pow(2,v),h=0));v>=8;n[S+f]=255&i,f+=t,i/=256,v-=8);for(h=h<0;n[S+f]=255&h,f+=t,h/=256,l-=8);n[S+f-t]|=128*e}},function(c,a){var n={}.toString;c.exports=Array.isArray||function(y){return n.call(y)=="[object Array]"}},function(c,a,n){"use strict";var y=this&&this.__values||function(v){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&v[s],i=0;if(h)return h.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&i>=v.length&&(v=void 0),{value:v&&v[i++],done:!v}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(v){var s,h;if(v===null||S.isString(v)||S.isNumber(v))return v;if(S.isArray(v)){var i=new Array;try{for(var o=y(v),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(v)){i=new Map;for(var p in v)if(v.hasOwnProperty(p)){var m=v[p];i.set(p,_(m))}return i}return v}a.parseJSONFromBytes=function(v){var s=S.utf8Decode(v);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(v){var s=JSON.stringify.call(void 0,v);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(v){return _(JSON.parse.call(void 0,v))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,n){"use strict";var y=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=v(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=v(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=v(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return y(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,v(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=v(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,n){"use strict";var y=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},v=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},v=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(96),_=n(147),v=n(146),s=n(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=y(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(v.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(97);a.abort_add=function(_,v){v._abortedFlag||v._abortAlgorithms.add(_)},a.abort_remove=function(_,v){v._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var v,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=y(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){v={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(v)throw v.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(150),S=function(){function _(){}return _.asNode=function(v){if(y.Guard.isNode(v))return v;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(v){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(v){return!1},_.prototype.forEach=function(v,s){},_.prototype.has=function(v){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=y;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(y){y[y.SchemeStart=0]="SchemeStart",y[y.Scheme=1]="Scheme",y[y.NoScheme=2]="NoScheme",y[y.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",y[y.PathOrAuthority=4]="PathOrAuthority",y[y.Relative=5]="Relative",y[y.RelativeSlash=6]="RelativeSlash",y[y.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",y[y.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",y[y.Authority=9]="Authority",y[y.Host=10]="Host",y[y.Hostname=11]="Hostname",y[y.Port=12]="Port",y[y.File=13]="File",y[y.FileSlash=14]="FileSlash",y[y.FileHost=15]="FileHost",y[y.PathStart=16]="PathStart",y[y.Path=17]="Path",y[y.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",y[y.Query=19]="Query",y[y.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,n){"use strict";var y=n(245),S=n(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var v=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=y.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,n){(function(y,S){var _;(function(v){a&&a.nodeType,y&&y.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,n,a,y))===void 0||(y.exports=_)})()}).call(this,n(246)(c),n(78))},function(c,a){c.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(c,a,n){"use strict";c.exports={isString:function(y){return typeof y=="string"},isObject:function(y){return typeof y=="object"&&y!==null},isNull:function(y){return y===null},isNullOrUndefined:function(y){return y==null}}},function(c,a,n){"use strict";a.decode=a.parse=n(249),a.encode=a.stringify=n(250)},function(c,a,n){"use strict";function y(_,v){return Object.prototype.hasOwnProperty.call(_,v)}c.exports=function(_,v,s,h){v=v||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(v);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),y(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,n){"use strict";var y=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(v(s),function(l){var u=encodeURIComponent(y(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(y(p))}).join(h):u+encodeURIComponent(y(s[l]))}).join(h):o?encodeURIComponent(y(o))+i+encodeURIComponent(y(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=v.length&&(v=void 0),{value:v&&v[i++],done:!v}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(v){return S.isBoolean(v)?v:v.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(v){var s=_(v),h=!1,i=!1;return S.isBoolean(v)||(h=v.once||!1,i=v.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(v,s){if(s.callback!==null){for(var h=0;h=v.length&&(v=void 0),{value:v&&v[i++],done:!v}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1),_=n(29);a.parentNode_convertNodesIntoANode=function(v,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=y(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=y(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==v.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==v.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=y(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=y(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=y(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=y(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new y.NotSupportedError}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),S=n(105);a.treeWalker_traverseChildren=function(_,v){for(var s=v?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===y.FilterResult.Accept)return _._current=s,s;if(h===y.FilterResult.Skip){var i=v?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=v?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,v){var s=_._current;if(s===_._root)return null;for(;;){for(var h=v?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===y.FilterResult.Accept)return _._current=s,s;h=v?s._firstChild:s._lastChild,i!==y.FilterResult.Reject&&h!==null||(h=v?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===y.FilterResult.Accept)return null}}},function(c,a,n){"use strict";n(89),n(74);var y,S=this&&this.__extends||(y=function(o,l){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}y(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),v=n(2),s=n(50),h=n(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==v.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,n){"use strict";var y=n(47),S=n(35);c.exports="".repeat||function(_){var v=String(S(this)),s="",h=y(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(v+=v))1&h&&(s+=v);return s}},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(20),n(22),n(23);var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new v.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(n(50).BaseWriter);a.JSONWriter=h},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(89),n(20),n(22),n(23);var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var v=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new v.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(n(50).BaseWriter);a.YAMLWriter=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),n(110).dom.setFeatures(!0);var y=n(110);a.DOMImplementation=y.DOMImplementation;var S=n(271);a.DOMParser=S.DOMParser;var _=n(274);a.XMLSerializer=_.XMLSerializer},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(3),S=n(0),_=function(){function v(){}return v.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),v=n(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;v.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,y(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;v.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=y(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=y(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;v.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var v=y.Cast.asNode(this)._previousSibling;v;){if(y.Guard.isElementNode(v))return v;v=v._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var v=y.Cast.asNode(this)._nextSibling;v;){if(y.Guard.isElementNode(v))return v;v=v._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(3),S=n(0),_=function(){function v(){}return v.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(y.Cast.asNode(this),!1,!1,function(i){return y.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(y.Cast.asNode(this),h,!1,!1,function(i){return y.Guard.isElementNode(i)})}return null},v}();a.NonElementParentNodeImpl=_},function(c,a,n){"use strict";var y=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(0),v=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=y(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(180),v=n(111),s=n(7),h=n(0),i=n(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==v.TokenType.EOF;){switch(x.type){case v.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case v.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case v.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case v.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case v.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case v.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case v.TokenType.Element:var M=x,k=y(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=y(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=y(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=y(P.value,2),B=(re=C[0],de=C[1],y(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case v.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(275);a.XMLSerializer=y.XMLSerializerImpl},function(c,a,n){"use strict";var y=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(2),_=n(69),v=n(95),s=n(9),h=n(7),i=n(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new v.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=y(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=y(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=y(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=y(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=y(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=y(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=y(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=y(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=y(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(277);a.XMLReader=y.XMLReader;var S=n(112);a.ObjectReader=S.ObjectReader;var _=n(280);a.JSONReader=_.JSONReader;var v=n(281);a.YAMLReader=v.YAMLReader},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(65),n(20),n(22),n(23);var y,S=this&&this.__extends||(y=function(u,p){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}y(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(180),h=n(111),i=n(7),o=n(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,v(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,v(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(n(75).BaseReader);a.XMLReader=l},function(c,a,n){var y=n(4),S=n(279);y({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,n){"use strict";var y=n(16),S=n(8),_=n(61),v=n(85),s=n(79),h=n(27),i=n(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(y&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=v.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],y&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(s,h){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}y(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),v=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(n(75).BaseReader);a.JSONReader=v},function(c,a,n){"use strict";var y,S=this&&this.__extends||(y=function(i,o){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}y(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),v=n(75),s=n(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(v.BaseReader);a.YAMLReader=h},function(c,a,n){"use strict";var y=n(283);c.exports=y},function(c,a,n){"use strict";var y=n(284),S=n(303);function _(v){return function(){throw new Error("Function "+v+" is deprecated and cannot be used.")}}c.exports.Type=n(10),c.exports.Schema=n(39),c.exports.FAILSAFE_SCHEMA=n(113),c.exports.JSON_SCHEMA=n(182),c.exports.CORE_SCHEMA=n(181),c.exports.DEFAULT_SAFE_SCHEMA=n(54),c.exports.DEFAULT_FULL_SCHEMA=n(76),c.exports.load=y.load,c.exports.loadAll=y.loadAll,c.exports.safeLoad=y.safeLoad,c.exports.safeLoadAll=y.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=n(53),c.exports.MINIMAL_SCHEMA=n(113),c.exports.SAFE_SCHEMA=n(54),c.exports.DEFAULT_SCHEMA=n(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,n){"use strict";var y=n(38),S=n(53),_=n(285),v=n(54),s=n(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=y.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>v/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;ov/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),y.repeat(" ",_)+s+l+i+` +`+y.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var v,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(v=this.getSnippet())&&(s+=`: +`+v),s},c.exports=S},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var y=n(38),S=n(10);function _(s){return 48<=s&&s<=55}function v(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,n){"use strict";var y=n(38),S=n(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),v=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||y.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(y.isNegativeZero(s))return"-0.0";return i=s.toString(10),v.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var y=n(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new y("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(v){return v!==null&&(S.exec(v)!==null||_.exec(v)!==null)},construct:function(v){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(v))===null&&(s=_.exec(v)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(v){return v.toISOString()}})},function(c,a,n){"use strict";var y=n(10);c.exports=new y("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,n){"use strict";var y;try{y=n(145).Buffer}catch{}var S=n(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(v){if(v===null)return!1;var s,h,i=0,o=v.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(v){var s,h,i=v.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),y?y.from?y.from(p):new y(p):p},predicate:function(v){return y&&y.isBuffer(v)},represent:function(v){var s,h,i="",o=0,l=v.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+v[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,n){"use strict";var y=n(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new y("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(v){if(v===null)return!0;var s,h,i,o,l,u=[],p=v;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,v=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(v&&(s=v[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,n){"use strict";var y;try{y=n(302)}catch{typeof window<"u"&&(y=window.esprima)}var S=n(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var v="("+_+")",s=y.parse(v,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var v,s="("+_+")",h=y.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),v=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(v[0]+1,v[1]-1)):new Function(i,"return "+s.slice(v[0],v[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,n){var y;y=function(){return function(S){var _={};function v(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,v),h.loaded=!0,h.exports}return v.m=S,v.c=_,v.p="",v(0)}([function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(1),h=v(3),i=v(8),o=v(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=v(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,v){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=v(4),o=v(5),l=v(6),u=v(7),p=v(8),m=v(13),f=v(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var v={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&v.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&v.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(9),h=v(10),i=v(11),o=v(7),l=v(12),u=v(2),p=v(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(v,s){if(!v)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var v=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=v},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(9),h=v(4),i=v(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,v){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=v(10),h=v(12),i=v(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var _p=Gs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,xa=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,ba=/,? & /,Ea=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,wa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Sa=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,Da=/^(?:0|[1-9]\d*)$/,Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ta=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Na="\\u0300-\\u036f",Fa="\\ufe20-\\ufe2f",Oa="\\u20d0-\\u20ff",Ai=Na+Fa+Oa,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Ia="\\xac\\xb1\\xd7\\xf7",ka="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pa="\\u2000-\\u206f",Ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Ia+ka+Pa+Ba,Ut="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",La="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+Ut+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+Ut+"(?:D|LL|M|RE|S|T|VE))?",At=La+"?",bt="["+Ni+"]?",Ep="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=bt+At+Ep,Ap="(?:"+[rn,F,j].join("|")+")"+ou,Dp="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Cp=RegExp(Ut,"g"),Tp=RegExp(tn,"g"),Ra=RegExp(xn+"(?="+xn+")|"+Dp+ou,"g"),Np=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Sp,wp,Oi,Ap].join("|"),"g"),Fp=RegExp("["+le+_n+Ai+Ni+"]"),Op=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ip=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Pp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bp={"&":"&","<":"<",">":">",'"':""","'":"'"},Lp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Rp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mp=parseFloat,jp=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,Up=typeof self=="object"&&self&&self.Object===Object&&self,Ft=au||Up||Function("return this")(),Ma=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=Ma&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,su=nn&&nn.exports===Ma,ja=su&&au.process,ir=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||ja&&ja.binding&&ja.binding("util")}catch{}}(),uu=ir&&ir.isArrayBuffer,lu=ir&&ir.isDate,cu=ir&&ir.isMap,fu=ir&&ir.isRegExp,pu=ir&&ir.isSet,hu=ir&&ir.isTypedArray;function $t(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function zp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ua(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function bu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Vp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Yp=Wa(Pp),Qp=Wa(Bp);function Zp(fe){return"\\"+Rp[fe]}function eh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Fp.test(fe)}function th(fe){return Op.test(fe)}function rh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function $a(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function Eu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Gh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=jh,br.prototype.delete=Uh,br.prototype.get=zh,br.prototype.has=qh,br.prototype.set=Gh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function ur(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Jd(r),!se)return zt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return il(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:wl(r),!se)return pe?Ld(r,od(te,r)):Bd(r,Pu(te,r))}else{if(!ht[Fe])return U?r:{};te=$d(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Ql(r)?r.forEach(function(He){te.add(ur(He,h,A,He,r,V))}):Vl(r)&&r.forEach(function(He,nt){te.set(nt,ur(He,h,A,nt,r,V))});var Xe=De?pe?xs:_s:pe?Gt:Ot,et=Ce?E:Xe(r);return or(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,ur(He,h,A,nt,r,V))}),te}function ad(r){var h=Ot(r);return function(A){return Bu(A,r,h)}}function Bu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Lu(r,h,A){if(typeof r!="function")throw new ar(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Kt(A))),O?(V=Ua,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:ec(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var ts=cl(),ju=cl(!0);function gr(r,h){return r&&ts(r,h,Ot)}function rs(r,h){return r&&ju(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ld(r,h){return r!=null&&ft.call(r,h)}function cd(r,h){return r!=null&&h in pt(r)}function fd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Vu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):ps(r,U)}}return r}function ls(r,h){return r+$i(Fu()*(h-r+1))}function Sd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function cs(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Cs(Dl(r,h,Wt),r+"")}function Ad(r){return ku(In(r))}function Dd(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Yt(te)&&(A?te<=h:te=o){var De=h?null:Ud(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:lr(r,h,A)}var nl=vh||function(r){return Ft.clearTimeout(r)};function il(r,h){if(h)return r.slice();var A=r.length,O=Au?Au(A):new r.constructor(A);return r.copy(O),O}function ys(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Od(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Id(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function kd(r){return ri?pt(ri.call(r)):{}}function ol(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Yt(r),te=h!==E,se=h===null,pe=h===h,De=Yt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function sl(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Rt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function hl(r){return Ar(function(h){var A=h.length,O=A,U=sr.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new ar(w);if(U&&!te&&lo(V)=="wrapper")var te=new sr([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Vd(r){return Ye(r)||pn(r)||!!(Tu&&r&&r[Tu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Da.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ml(r,A)});function jl(r){var h=$(r);return h.__chain__=!0,h}function s0(r,h){return h(r),r}function po(r,h){return h(r)}var u0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return es(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new sr(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function l0(){return jl(this)}function c0(){return new sr(this.value(),this.__chain__)}function f0(){this.__values__===E&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function p0(){return this}function h0(r){for(var h,A=this;A instanceof Yi;){var O=Il(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function d0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ts],thisArg:E}),new sr(h,this.__chain__)}return this.thru(Ts)}function m0(){return tl(this.__wrapped__,this.__actions__)}var y0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function v0(r,h,A){var O=Ye(r)?du:sd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}function g0(r,h){var A=Ye(r)?Lr:Mu;return A(r,Ge(h,3))}var _0=pl(kl),x0=pl(Pl);function b0(r,h){return It(ho(r,h),1)}function E0(r,h){return It(ho(r,h),Y)}function w0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function Ul(r,h){var A=Ye(r)?or:zr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?qp:Ru;return A(r,Ge(h,3))}var S0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function A0(r,h,A,O){r=qt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var D0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=qt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?$t(h,te,A):oi(te,h,A)}),V}),C0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Wu;return A(r,Ge(h,3))}function T0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),$u(r,h,A))}var N0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function F0(r,h,A){var O=Ye(r)?za:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function O0(r,h,A){var O=Ye(r)?Gp:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Ru)}function I0(r,h){var A=Ye(r)?Lr:Mu;return A(r,vo(Ge(h,3)))}function k0(r){var h=Ye(r)?ku:Ad;return h(r)}function P0(r,h,A){(A?Rt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?rd:Dd;return O(r,h)}function B0(r){var h=Ye(r)?nd:Td;return h(r)}function L0(r){if(r==null)return 0;if(qt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:as(r).length}function R0(r,h,A){var O=Ye(r)?qa:Nd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}var M0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Rt(r,h[0],h[1])?h=[]:A>2&&Rt(h[0],h[1],h[2])&&(h=[h[0]]),$u(r,It(h,1),[])}),mo=gh||function(){return Ft.Date.now()};function j0(r,h){if(typeof h!="function")throw new ar(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function ql(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Gl(r,h){var A;if(typeof h!="function")throw new ar(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Fs=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Fs));O|=x}return Sr(r,O,h,A,U)}),Wl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Wl));O|=x}return Sr(h,O,r,A,U)});function Xl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new ar(w);h=fr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(fr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,pc=h-yr;return Fe?Pt(pc,V-Nr):pc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Qt(){se!==E&&nl(se),De=0,O=pe=U=se=E}function Mt(){return se===E?te:ot(mo())}function Zt(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return nl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return Zt.cancel=Qt,Zt.flush=Mt,Zt}var U0=rt(function(r,h){return Lu(r,1,h)}),z0=rt(function(r,h,A){return Lu(r,fr(h)||0,A)});function q0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new ar(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new ar(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function G0(r){return Gl(2,r)}var W0=Fd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Kt(Ge())):yt(It(h,1),Kt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Cu.call(r,"callee")},Ye=ve.isArray,oy=uu?Kt(uu):hd;function qt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&qt(r)}function ay(r){return r===!0||r===!1||xt(r)&&Lt(r)==ue}var Xr=xh||qs,sy=lu?Kt(lu):dd;function uy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function ly(r){if(r==null)return!0;if(qt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!as(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function cy(r,h){return ai(r,h)}function fy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Is(r){if(!xt(r))return!1;var h=Lt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function py(r){return typeof r=="number"&&Nu(r)}function Cr(r){if(!vt(r))return!1;var h=Lt(r);return h==L||h==B||h==ie||h==ge}function Kl(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Vl=cu?Kt(cu):yd;function hy(r,h){return r===h||os(r,h,Es(h))}function dy(r,h,A){return A=typeof A=="function"?A:E,os(r,h,Es(h),A)}function my(r){return Yl(r)&&r!=+r}function yy(r){if(Zd(r))throw new Ke(v);return qu(r)}function vy(r){return r===null}function gy(r){return r==null}function Yl(r){return typeof r=="number"||xt(r)&&Lt(r)==q}function fi(r){if(!xt(r)||Lt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==dh}var ks=fu?Kt(fu):vd;function _y(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?Kt(pu):gd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Lt(r)==Le}function Yt(r){return typeof r=="symbol"||xt(r)&&Lt(r)==tt}var On=hu?Kt(hu):_d;function xy(r){return r===E}function by(r){return xt(r)&&Bt(r)==we}function Ey(r){return xt(r)&&Lt(r)==at}var wy=uo(ss),Sy=uo(function(r,h){return r<=h});function Zl(r){if(!r)return[];if(qt(r))return _o(r)?hr(r):zt(r);if(Qn&&r[Qn])return rh(r[Qn]());var h=Bt(r),A=h==M?$a:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=fr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function ec(r){return r?un(Ze(r),0,ee):0}function fr(r){if(typeof r=="number")return r;if(Yt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=_u(r);var A=Sa.test(r);return A||Aa.test(r)?jp(r.slice(2),A?2:8):vr.test(r)?H:+r}function tc(r){return _r(r,Gt(r))}function Ay(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Vt(r)}var Dy=Tn(function(r,h){if(li(h)||qt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),rc=Tn(function(r,h){_r(h,Gt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Gt(h),r,O)}),Cy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ty=Ar(es);function Ny(r,h){var A=Cn(r);return h==null?A:Pu(A,h)}var Fy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Rt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,xs(r),A),O&&(A=ur(A,n|i|u,zd));for(var U=h.length;U--;)ps(A,h[U]);return A});function $y(r,h){return ic(r,vo(Ge(h)))}var Ky=Ar(function(r,h){return r==null?{}:Ed(r,h)});function ic(r,h){if(r==null)return{};var A=yt(xs(r),function(O){return[O]});return h=Ge(h),Ku(r,A,function(O,U){return h(O,U[0])})}function Vy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Fu();return Pt(r+U*(h-r+Mp("1e-"+((U+"").length-1))),h)}return ls(r,h)}var sv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?sc(h):h)});function sc(r){return Ls(ct(r).toLowerCase())}function uc(r){return r=ct(r),r&&r.replace(Ca,Yp).replace(Tp,"")}function uv(r,h,A){r=ct(r),h=Vt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function lv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Qp):r}function cv(r){return r=ct(r),r&&xa.test(r)?r.replace(Pr,"\\$&"):r}var fv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),pv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),hv=fl("toLowerCase");function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function mv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!ks(h))&&(h=Vt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Ev=Nn(function(r,h,A){return r+(A?" ":"")+Ls(h)});function wv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Vt(h),r.slice(A,A+h.length)==h}function Sv(r,h,A){var O=$.templateSettings;A&&Rt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,gl);var U=xo({},h.imports,O.imports,gl),V=Ot(U),te=Ja(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ka((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?wa:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kp+"]")+` -`;r.replace(ke,function(He,nt,ot,Qt,Mt,Zt){return ot||(ot=Qt),Fe+=r.slice(De,Zt).replace(Ta,Zp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),Mt&&(pe=!0,Fe+=`'; -`+Mt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=Zt+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},v=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=n(91),h=n(1),i=n(183),o=n(0),l=n(7),u=n(95),p=n(69),m=n(3),f=n(305),t=n(306),e=n(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=v(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(n(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,n){"use strict";n(74);var y,S=this&&this.__extends||(y=function(v,s){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(v,s)},function(v,s){function h(){this.constructor=v}y(v,s),v.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(v){function s(h){var i=v.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,v),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,n){"use strict";n(74);var y,S=this&&this.__extends||(y=function(v,s){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(v,s)},function(v,s){function h(){this.constructor=v}y(v,s),v.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(v){function s(h){var i=v.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,v),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,n){"use strict";var y,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};y=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var v=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?y(this._events):[]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var y=n(77);a.createCB=function(S){return new y.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new y.XMLBuilderCBImpl(S,!0)}}])})});var jp=Ts((ni,ki)=>{(function(){var c,a="4.17.21",n=200,y="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,oa=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,aa=/,? & /,sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,wr=/^[-+]0x[0-9a-f]+$/i,la=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ca=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,pa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,ha=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",da="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",va="\\u20d0-\\u20ff",Mi=da+ma+va,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ya="\\xac\\xb1\\xd7\\xf7",_a="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ga="\\u2000-\\u206f",xa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ya+_a+ga+xa,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ba="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ba+"?",Ct="["+zi+"]?",Gp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",Wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=Ct+Ot+Gp,Hp="(?:"+[pn,O,j].join("|")+")"+ou,$p="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Jp=RegExp($t,"g"),Kp=RegExp(fn,"g"),Ea=RegExp(Pn+"(?="+Pn+")|"+$p+ou,"g"),Vp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Xp,Wp,Gi,Hp].join("|"),"g"),Yp=RegExp("["+ce+In+Mi+zi+"]"),Qp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Zp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var th={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},rh={"&":"&","<":"<",">":">",'"':""","'":"'"},nh={"&":"&","<":"<",">":">",""":'"',"'":"'"},ih={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oh=parseFloat,ah=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,sh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=au||sh||Function("return this")(),wa=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=wa&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,su=hn&&hn.exports===wa,Sa=su&&au.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),uu=lr&&lr.isArrayBuffer,lu=lr&&lr.isDate,cu=lr&&lr.isMap,fu=lr&&lr.isRegExp,pu=lr&&lr.isSet,hu=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function uh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Aa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function bu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function yh(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var _h=Na(th),gh=Na(rh);function xh(pe){return"\\"+ih[pe]}function bh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Yp.test(pe)}function Eh(pe){return Qp.test(pe)}function wh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Pa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function Eu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function cd(r,d){var A=this.__data__,F=co(A,r);return F<0?(++this.size,A.push([r,d])):A[F][1]=d,this}Nr.prototype.clear=ad,Nr.prototype.delete=sd,Nr.prototype.get=ud,Nr.prototype.has=ld,Nr.prototype.set=cd;function Or(r){var d=-1,A=r==null?0:r.length;for(this.clear();++d=d?r:d)),r}function hr(r,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(r,F,U,V):A(r)),te!==c)return te;if(!bt(r))return r;var Te=tt(r);if(Te){if(te=dm(r),!ue)return Jt(r,te)}else{var Ie=qt(r),Be=Ie==B||Ie==L;if(en(r))return il(r,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:wl(r),!ue)return he?nm(r,Cd(te,r)):rm(r,ku(te,r))}else{if(!yt[Ie])return U?r:{};te=mm(r,Ie,ue)}}V||(V=new gr);var qe=V.get(r);if(qe)return qe;V.set(r,te),Ql(r)?r.forEach(function(Je){te.add(hr(Je,d,A,Je,r,V))}):Vl(r)&&r.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,r,V))});var $e=De?he?os:is:he?Vt:Mt,it=Te?c:$e(r);return cr(it||r,function(Je,st){it&&(st=Je,Je=r[st]),vi(te,st,hr(Je,d,A,st,r,V))}),te}function Dd(r){var d=Mt(r);return function(A){return Lu(A,r,d)}}function Lu(r,d,A){var F=A.length;if(r==null)return!F;for(r=vt(r);F--;){var U=A[F],V=d[U],te=r[U];if(te===c&&!(U in r)||!V(te))return!1}return!0}function Bu(r,d,A){if(typeof r!="function")throw new fr(S);return wi(function(){r.apply(c,A)},d)}function yi(r,d,A,F){var U=-1,V=$i,te=!0,ue=r.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=Aa,te=!1):d.length>=n&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:ec(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ua=cl(),ju=cl(!0);function Sr(r,d){return r&&Ua(r,d,Mt)}function za(r,d){return r&&ju(r,d,Mt)}function po(r,d){return Xr(d,function(A){return Lr(r[A])})}function _n(r,d){d=Qr(d,r);for(var A=0,F=d.length;r!=null&&Ad}function Od(r,d){return r!=null&&mt.call(r,d)}function Fd(r,d){return r!=null&&d in vt(r)}function Id(r,d,A){return r>=zt(d,A)&&r=120&&Te.length>=120)?new vn(te&&Te):c}Te=r[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==r&&no.call(ue,he,1),no.call(r,he,1);return r}function Vu(r,d){for(var A=r?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;kr(U)?no.call(r,U,1):Ya(r,U)}}return r}function Ja(r,d){return r+ao(Ou()*(d-r+1))}function Xd(r,d,A,F){for(var U=-1,V=kt(oo((d-r)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=r,r+=A;return te}function Ka(r,d){var A="";if(!r||d<1||d>z)return A;do d%2&&(A+=r),d=ao(d/2),d&&(r+=r);while(d);return A}function at(r,d){return ps(Cl(r,d,Yt),r+"")}function Hd(r){return Pu(Xn(r))}function $d(r,d){var A=Xn(r);return So(A,yn(d,0,A.length))}function xi(r,d,A,F){if(!bt(r))return r;d=Qr(d,r);for(var U=-1,V=d.length,te=V-1,ue=r;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=r[V];te!==null&&!ir(te)&&(A?te<=d:te=n){var De=d?null:sm(r);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?r:dr(r,d,A)}var nl=Rh||function(r){return Bt.clearTimeout(r)};function il(r,d){if(d)return r.slice();var A=r.length,F=Au?Au(A):new r.constructor(A);return r.copy(F),F}function ts(r){var d=new r.constructor(r.byteLength);return new to(d).set(new to(r)),d}function Qd(r,d){var A=d?ts(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Zd(r){var d=new r.constructor(r.source,cn.exec(r));return d.lastIndex=r.lastIndex,d}function em(r){return mi?vt(mi.call(r)):{}}function ol(r,d){var A=d?ts(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,d){if(r!==d){var A=r!==c,F=r===null,U=r===r,V=ir(r),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&r>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&r=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return r.index-d.index}function sl(r,d,A,F){for(var U=-1,V=r.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=r.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function hl(r){return Pr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(r&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(r),Te=V.get(d);if(De&&Te)return De==d&&Te==r;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(r,d),V.set(d,r);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),r.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function ym(r){return tt(r)||bn(r)||!!(Tu&&r&&r[Tu])}function kr(r,d){var A=typeof r;return d=d??z,!!d&&(A=="number"||A!="symbol"&&fa.test(r))&&r>-1&&r%1==0&&r0){if(++d>=I)return arguments[0]}else d=0;return r.apply(c,arguments)}}function So(r,d){var A=-1,F=r.length,U=F-1;for(d=d===c?F:d;++A1?r[d-1]:c;return A=typeof A=="function"?(r.pop(),A):c,Rl(r,A)});function jl(r){var d=J(r);return d.__chain__=!0,d}function T0(r,d){return d(r),r}function Ao(r,d){return d(r)}var N0=Pr(function(r){var d=r.length,A=d?r[0]:0,F=this.__wrapped__,U=function(V){return ja(V,r)};return d>1||this.__actions__.length||!(F instanceof ut)||!kr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function O0(){return jl(this)}function F0(){return new pr(this.value(),this.__chain__)}function I0(){this.__values__===c&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,d=r?c:this.__values__[this.__index__++];return{done:r,value:d}}function P0(){return this}function k0(r){for(var d,A=this;A instanceof lo;){var F=Il(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=r,d}function L0(){var r=this.__wrapped__;if(r instanceof ut){var d=r;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[hs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(hs)}function B0(){return tl(this.__wrapped__,this.__actions__)}var M0=yo(function(r,d,A){mt.call(r,A)?++r[A]:Fr(r,A,1)});function R0(r,d,A){var F=tt(r)?du:Td;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}function j0(r,d){var A=tt(r)?Xr:Ru;return A(r,Xe(d,3))}var U0=pl(Pl),z0=pl(kl);function q0(r,d){return Rt(Co(r,d),1)}function G0(r,d){return Rt(Co(r,d),Y)}function W0(r,d,A){return A=A===c?1:nt(A),Rt(Co(r,d),A)}function Ul(r,d){var A=tt(r)?cr:Vr;return A(r,Xe(d,3))}function zl(r,d){var A=tt(r)?lh:Mu;return A(r,Xe(d,3))}var X0=yo(function(r,d,A){mt.call(r,A)?r[A].push(d):Fr(r,A,[d])});function H0(r,d,A,F){r=Kt(r)?r:Xn(r),A=A&&!F?nt(A):0;var U=r.length;return A<0&&(A=kt(U+A,0)),Fo(r)?A<=U&&r.indexOf(d,A)>-1:!!U&&kn(r,d,A)>-1}var $0=at(function(r,d,A){var F=-1,U=typeof d=="function",V=Kt(r)?_e(r.length):[];return Vr(r,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),J0=yo(function(r,d,A){Fr(r,A,d)});function Co(r,d){var A=tt(r)?xt:Wu;return A(r,Xe(d,3))}function K0(r,d,A,F){return r==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Ju(r,d,A))}var V0=yo(function(r,d,A){r[A?0:1].push(d)},function(){return[[],[]]});function Y0(r,d,A){var F=tt(r)?Ca:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Vr)}function Q0(r,d,A){var F=tt(r)?ch:_u,U=arguments.length<3;return F(r,Xe(d,4),A,U,Mu)}function Z0(r,d){var A=tt(r)?Xr:Ru;return A(r,No(Xe(d,3)))}function ev(r){var d=tt(r)?Pu:Hd;return d(r)}function tv(r,d,A){(A?Wt(r,d,A):d===c)?d=1:d=nt(d);var F=tt(r)?wd:$d;return F(r,d)}function rv(r){var d=tt(r)?Sd:Kd;return d(r)}function nv(r){if(r==null)return 0;if(Kt(r))return Fo(r)?Bn(r):r.length;var d=qt(r);return d==R||d==Re?r.size:Xa(r).length}function iv(r,d,A){var F=tt(r)?Da:Vd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}var ov=at(function(r,d){if(r==null)return[];var A=d.length;return A>1&&Wt(r,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Ju(r,Rt(d,1),[])}),Do=jh||function(){return Bt.Date.now()};function av(r,d){if(typeof d!="function")throw new fr(S);return r=nt(r),function(){if(--r<1)return d.apply(this,arguments)}}function ql(r,d,A){return d=A?c:d,d=r&&d==null?r.length:d,Ir(r,E,c,c,c,c,d)}function Gl(r,d){var A;if(typeof d!="function")throw new fr(S);return r=nt(r),function(){return--r>0&&(A=d.apply(this,arguments)),r<=1&&(d=c),A}}var ms=at(function(r,d,A){var F=m;if(A.length){var U=$r(A,Gn(ms));F|=b}return Ir(r,F,d,A,U)}),Wl=at(function(r,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Wl));F|=b}return Ir(d,F,r,A,U)});function Xl(r,d,A){d=A?c:d;var F=Ir(r,e,c,c,c,c,c,d);return F.placeholder=Xl.placeholder,F}function Hl(r,d,A){d=A?c:d;var F=Ir(r,g,c,c,c,c,c,d);return F.placeholder=Hl.placeholder,F}function $l(r,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof r!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Mr=U;return F=U=c,De=Tt,te=r.apply(Mr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Mr=Tt-De,pc=d-br;return Ie?zt(pc,V-Mr):pc}function Je(Tt){var br=Tt-he,Mr=Tt-De;return he===c||br>=d||br<0||Ie&&Mr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&nl(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return nl(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var sv=at(function(r,d){return Bu(r,1,d)}),uv=at(function(r,d,A){return Bu(r,vr(d)||0,A)});function lv(r){return Ir(r,D)}function To(r,d){if(typeof r!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Or),A}To.Cache=Or;function No(r){if(typeof r!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!r.call(this);case 1:return!r.call(this,d[0]);case 2:return!r.call(this,d[0],d[1]);case 3:return!r.call(this,d[0],d[1],d[2])}return!r.apply(this,d)}}function cv(r){return Gl(2,r)}var fv=Yd(function(r,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=zu(function(){return arguments}())?zu:function(r){return St(r)&&mt.call(r,"callee")&&!Du.call(r,"callee")},tt=_e.isArray,Cv=uu?rr(uu):kd;function Kt(r){return r!=null&&Oo(r.length)&&!Lr(r)}function Dt(r){return St(r)&&Kt(r)}function Dv(r){return r===!0||r===!1||St(r)&&Gt(r)==le}var en=zh||Ds,Tv=lu?rr(lu):Ld;function Nv(r){return St(r)&&r.nodeType===1&&!Si(r)}function Ov(r){if(r==null)return!0;if(Kt(r)&&(tt(r)||typeof r=="string"||typeof r.splice=="function"||en(r)||Wn(r)||bn(r)))return!r.length;var d=qt(r);if(d==R||d==Re)return!r.size;if(Ei(r))return!Xa(r).length;for(var A in r)if(mt.call(r,A))return!1;return!0}function Fv(r,d){return gi(r,d)}function Iv(r,d,A){A=typeof A=="function"?A:c;var F=A?A(r,d):c;return F===c?gi(r,d,c,A):!!F}function ys(r){if(!St(r))return!1;var d=Gt(r);return d==C||d==P||typeof r.message=="string"&&typeof r.name=="string"&&!Si(r)}function Pv(r){return typeof r=="number"&&Nu(r)}function Lr(r){if(!bt(r))return!1;var d=Gt(r);return d==B||d==L||d==ie||d==ge}function Kl(r){return typeof r=="number"&&r==nt(r)}function Oo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function bt(r){var d=typeof r;return r!=null&&(d=="object"||d=="function")}function St(r){return r!=null&&typeof r=="object"}var Vl=cu?rr(cu):Md;function kv(r,d){return r===d||Wa(r,d,ss(d))}function Lv(r,d,A){return A=typeof A=="function"?A:c,Wa(r,d,ss(d),A)}function Bv(r){return Yl(r)&&r!=+r}function Mv(r){if(xm(r))throw new Ze(y);return qu(r)}function Rv(r){return r===null}function jv(r){return r==null}function Yl(r){return typeof r=="number"||St(r)&&Gt(r)==q}function Si(r){if(!St(r)||Gt(r)!=ae)return!1;var d=ro(r);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Lh}var _s=fu?rr(fu):Rd;function Uv(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?rr(pu):jd;function Fo(r){return typeof r=="string"||!tt(r)&&St(r)&&Gt(r)==je}function ir(r){return typeof r=="symbol"||St(r)&&Gt(r)==ot}var Wn=hu?rr(hu):Ud;function zv(r){return r===c}function qv(r){return St(r)&&qt(r)==Se}function Gv(r){return St(r)&&Gt(r)==ct}var Wv=bo(Ha),Xv=bo(function(r,d){return r<=d});function Zl(r){if(!r)return[];if(Kt(r))return Fo(r)?_r(r):Jt(r);if(fi&&r[fi])return wh(r[fi]());var d=qt(r),A=d==R?Pa:d==Re?Ki:Xn;return A(r)}function Br(r){if(!r)return r===0?r:0;if(r=vr(r),r===Y||r===-Y){var d=r<0?-1:1;return d*X}return r===r?r:0}function nt(r){var d=Br(r),A=d%1;return d===d?A?d-A:d:0}function ec(r){return r?yn(nt(r),0,ee):0}function vr(r){if(typeof r=="number")return r;if(ir(r))return H;if(bt(r)){var d=typeof r.valueOf=="function"?r.valueOf():r;r=bt(d)?d+"":d}if(typeof r!="string")return r===0?r:+r;r=gu(r);var A=la.test(r);return A||ca.test(r)?ah(r.slice(2),A?2:8):wr.test(r)?H:+r}function tc(r){return Ar(r,Vt(r))}function Hv(r){return r?yn(nt(r),-z,z):r===0?r:0}function dt(r){return r==null?"":nr(r)}var $v=zn(function(r,d){if(Ei(d)||Kt(d)){Ar(d,Mt(d),r);return}for(var A in d)mt.call(d,A)&&vi(r,A,d[A])}),rc=zn(function(r,d){Ar(d,Vt(d),r)}),Io=zn(function(r,d,A,F){Ar(d,Vt(d),r,F)}),Jv=zn(function(r,d,A,F){Ar(d,Mt(d),r,F)}),Kv=Pr(ja);function Vv(r,d){var A=Un(r);return d==null?A:ku(A,d)}var Yv=at(function(r,d){r=vt(r);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Ar(r,os(r),A),F&&(A=hr(A,i|o|l,um));for(var U=d.length;U--;)Ya(A,d[U]);return A});function my(r,d){return ic(r,No(Xe(d)))}var vy=Pr(function(r,d){return r==null?{}:Gd(r,d)});function ic(r,d){if(r==null)return{};var A=xt(os(r),function(F){return[F]});return d=Xe(d),Ku(r,A,function(F,U){return d(F,U[0])})}function yy(r,d,A){d=Qr(d,r);var F=-1,U=d.length;for(U||(U=1,r=c);++Fd){var F=r;r=d,d=F}if(A||r%1||d%1){var U=Ou();return zt(r+U*(d-r+oh("1e-"+((U+"").length-1))),d)}return Ja(r,d)}var Ty=qn(function(r,d,A){return d=d.toLowerCase(),r+(A?sc(d):d)});function sc(r){return bs(dt(r).toLowerCase())}function uc(r){return r=dt(r),r&&r.replace(pa,_h).replace(Kp,"")}function Ny(r,d,A){r=dt(r),d=nr(d);var F=r.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&r.slice(A,U)==d}function Oy(r){return r=dt(r),r&&ii.test(r)?r.replace(ft,gh):r}function Fy(r){return r=dt(r),r&&oa.test(r)?r.replace(Gr,"\\$&"):r}var Iy=qn(function(r,d,A){return r+(A?"-":"")+d.toLowerCase()}),Py=qn(function(r,d,A){return r+(A?" ":"")+d.toLowerCase()}),ky=fl("toLowerCase");function Ly(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;if(!d||F>=d)return r;var U=(d-F)/2;return xo(ao(U),A)+r+xo(oo(U),A)}function By(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;return d&&F>>0,A?(r=dt(r),r&&(typeof d=="string"||d!=null&&!_s(d))&&(d=nr(d),!d&&Ln(r))?Zr(_r(r),0,A):r.split(d,A)):[]}var Gy=qn(function(r,d,A){return r+(A?" ":"")+bs(d)});function Wy(r,d,A){return r=dt(r),A=A==null?0:yn(nt(A),0,r.length),d=nr(d),r.slice(A,A+d.length)==d}function Xy(r,d,A){var F=J.templateSettings;A&&Wt(r,d,A)&&(d=c),r=dt(r),d=Io({},d,F,_l);var U=Io({},d.imports,F.imports,_l),V=Mt(U),te=Ia(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=ka((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?ua:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++eh+"]")+` +`;r.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=r.slice(De,ar).replace(ha,xh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=cc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Is(et))throw et;return et}function Av(r){return ct(r).toLowerCase()}function Dv(r){return ct(r).toUpperCase()}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return _u(r);if(!r||!(h=Vt(h)))return r;var O=hr(r),U=hr(h),V=xu(O,U),te=bu(O,U)+1;return Wr(O,V,te).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,wu(r)+1);if(!r||!(h=Vt(h)))return r;var O=hr(r),U=bu(O,hr(h))+1;return Wr(O,0,U).join("")}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Vt(h)))return r;var O=hr(r),U=xu(O,hr(h));return Wr(O,U).join("")}function Fv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Vt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),ks(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ka(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Vt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Ov(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ah):r}var Iv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ls=fl("toUpperCase");function lc(r,h,A){return r=ct(r),h=A?E:h,h===E?th(r)?lh(r):Hp(r):r.match(h)||[]}var cc=rt(function(r,h){try{return $t(r,E,h)}catch(A){return Is(A)?A:new Ke(A)}}),kv=Ar(function(r,h){return or(h,function(A){A=xr(A),wr(r,A,Fs(r[A],r))}),r});function Pv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new ar(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Ha(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new sr(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),or(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Oh,it.prototype.reverse=Ih,it.prototype.value=kh,$.prototype.at=u0,$.prototype.chain=l0,$.prototype.commit=c0,$.prototype.next=f0,$.prototype.plant=h0,$.prototype.reverse=d0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=m0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=p0),$},jr=ch();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,Ma._=jr):Ft._=jr}).call(Wn)});var Rb={};wg(Rb,{default:()=>Bb,options:()=>bp,setup:()=>Pb,teardown:()=>Lb});module.exports=Sg(Rb);var gb=jt(require("k6/encoding")),_b=require("k6"),xb=jt(require("k6/http"));var Ag=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Ag;var Dg=typeof self=="object"&&self&&self.Object===Object&&self,Cg=Eo||Dg||Function("return this")(),Dt=Cg;var Tg=Dt.Symbol,Fr=Tg;var dc=Object.prototype,Ng=dc.hasOwnProperty,Fg=dc.toString,pi=Fr?Fr.toStringTag:void 0;function Og(E){var l=Ng.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Fg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var mc=Og;var Ig=Object.prototype,kg=Ig.toString;function Pg(E){return kg.call(E)}var yc=Pg;var Bg="[object Null]",Lg="[object Undefined]",vc=Fr?Fr.toStringTag:void 0;function Rg(E){return E==null?E===void 0?Lg:Bg:vc&&vc in Object(E)?mc(E):yc(E)}var er=Rg;function Mg(E){return E!=null&&typeof E=="object"}var pr=Mg;var jg="[object Symbol]";function Ug(E){return typeof E=="symbol"||pr(E)&&er(E)==jg}var kn=Ug;function zg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=y_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Oc=__;function x_(E){return function(){return E}}var Ic=x_;var b_=function(){try{var E=Ht(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=b_;var E_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Ic(l),writable:!0})}:wo,kc=E_;var w_=Oc(kc),Pc=w_;var S_=9007199254740991,A_=/^(?:0|[1-9]\d*)$/;function D_(E,l){var o=typeof E;return l=l??S_,!!l&&(o=="number"||o!="symbol"&&A_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=B_}var Co=L_;function R_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=R_;function M_(E,l,o){if(!Xt(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var Uc=M_;function j_(E){return jc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&Uc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var hf=sx;function ux(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var df=ux;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),op=E=>new Ys(new URL(E||"").search).object();var sp=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),ap.default.request(v,ip(E,w),y,Po(a,m))};var lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yb=jt(Zs());var vb=jt(Gn()),cp=(E=10,l)=>(0,lp.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=jt(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${fp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=jt(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:cp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(op(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var hp=require("k6"),tu=require("k6"),ru=require("k6"),mn=require("k6"),mp=jt(Gn()),yp=require("k6"),ya=require("k6"),xi=jt(Gn()),va=require("k6"),yn=require("k6"),nu=jt(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},rr=(E,...l)=>l.includes(E),dp=(E,...l)=>{if(rr(E,...l))throw new Error(`you are using the client version [${E}] which is not compatible with the test, the following versions are compatible: [${l.join(", ")}]`)},bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!rr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,hp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!rr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,tu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!rr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,tu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,ru.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,ru.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,mp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!rr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,yp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Cb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!rr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!rr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!rr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!rr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!rr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!rr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!rr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!rr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},ga=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=sp(E,w,{jar:new pp.CookieJar}),m=new pa(y);this.application=new bb(l,m),this.drive=new Eb(l,m),this.group=new wb(l,m),this.resource=new Sb(l,m),this.role=new Ab(l,m),this.search=new Db(l,m),this.share=new Cb(m),this.tag=new Tb(l,m),this.user=new Nb(l,m)}};var Fb=jt(require("k6/http"));var Ob=require("https://jslib.k6.io/url/1.0.0/index.js"),Ib=require("k6/experimental/timers"),vp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),gp=jt(Zs());var kb=jt(Gn());var _a=(E=10,l)=>(0,vp.randomString)(E,l),bi=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return gp.query(l,E).map(o=>Vs(o)?void 0:o)};var xp=jt(require("k6/execution")),iu=jt(_p()),nr={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},spaceCount:parseInt(__ENV.SPACE_COUNT)||2,k6:{vus:1,insecureSkipTLSVerify:!0}};dp(nr.clientVersion,Re.ocis);var bp=nr.k6;function Pb(){let E=nr.adminUser,l=new ga(nr.baseURL,nr.clientVersion,nr.authAdapter,E),o=l.role.list(),[v]=bi("$.bundles[?(@.name === 'spaceadmin')].id",o?.body),w=l.application.list(),[y]=bi("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id",w?.body),m=(0,iu.times)(bp.vus||1,()=>{let a={login:_a(),password:_a()},p=l.user.create(a),[n]=bi("$.id",p.body);return l.user.assignRole(n,v,y),{credential:a}});return{adminCredential:E,userInfos:m}}function Bb({userInfos:E}){let l=[],{credential:o}=E[xp.default.vu.idInTest-1],v=new ga(nr.baseURL,nr.clientVersion,nr.authAdapter,o);(0,iu.times)(nr.spaceCount,()=>_a()).forEach(y=>{let m=v.drive.create(y),[a]=bi("$.id",m?.body);l.push(()=>{v.drive.delete(a)})}),l.forEach(y=>y())}function Lb({userInfos:E,adminCredential:l}){let o=new ga(nr.baseURL,nr.clientVersion,nr.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=cc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ys(it))throw it;return it}function Hy(r){return dt(r).toLowerCase()}function $y(r){return dt(r).toUpperCase()}function Jy(r,d,A){if(r=dt(r),r&&(A||d===c))return gu(r);if(!r||!(d=nr(d)))return r;var F=_r(r),U=_r(d),V=xu(F,U),te=bu(F,U)+1;return Zr(F,V,te).join("")}function Ky(r,d,A){if(r=dt(r),r&&(A||d===c))return r.slice(0,wu(r)+1);if(!r||!(d=nr(d)))return r;var F=_r(r),U=bu(F,_r(d))+1;return Zr(F,0,U).join("")}function Vy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.replace(ai,"");if(!r||!(d=nr(d)))return r;var F=_r(r),U=xu(F,_r(d));return Zr(F,U).join("")}function Yy(r,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}r=dt(r);var V=r.length;if(Ln(r)){var te=_r(r);V=te.length}if(A>=V)return r;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):r.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),_s(U)){if(r.slice(ue).search(U)){var De,Te=he;for(U.global||(U=ka(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(r.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function Qy(r){return r=dt(r),r&&Ut.test(r)?r.replace(wt,Dh):r}var Zy=qn(function(r,d,A){return r+(A?" ":"")+d.toUpperCase()}),bs=fl("toUpperCase");function lc(r,d,A){return r=dt(r),d=A?c:d,d===c?Eh(r)?Oh(r):hh(r):r.match(d)||[]}var cc=at(function(r,d){try{return tr(r,c,d)}catch(A){return ys(A)?A:new Ze(A)}}),e_=Pr(function(r,d){return cr(d,function(A){A=Cr(A),Fr(r,A,ms(r[A],r))}),r});function t_(r){var d=r==null?0:r.length,A=Xe();return r=d?xt(r,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(r,ee);d=Xe(d),r-=ee;for(var U=Fa(F,d);++A0||d<0)?new ut(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-r)),A)},ut.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Sr(ut.prototype,function(r,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=r.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?r.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(r){var d=Vi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",F=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Sr(ut.prototype,function(r,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=Qh,ut.prototype.reverse=Zh,ut.prototype.value=ed,J.prototype.at=N0,J.prototype.chain=O0,J.prototype.commit=F0,J.prototype.next=I0,J.prototype.plant=k0,J.prototype.reverse=L0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=B0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=P0),J},Jr=Fh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,wa._=Jr):Bt._=Jr}).call(ni)});var mS={};jt(mS,{default:()=>qp,options:()=>zp,setup:()=>hS,teardown:()=>dS});module.exports=W_(mS);var ap=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var X_=typeof global=="object"&&global&&global.Object===Object&&global,ko=X_;var H_=typeof self=="object"&&self&&self.Object===Object&&self,$_=ko||H_||Function("return this")(),Ft=$_;var J_=Ft.Symbol,Rr=J_;var dc=Object.prototype,K_=dc.hasOwnProperty,V_=dc.toString,Ai=Rr?Rr.toStringTag:void 0;function Y_(c){var a=K_.call(c,Ai),n=c[Ai];try{c[Ai]=void 0;var y=!0}catch{}var S=V_.call(c);return y&&(a?c[Ai]=n:delete c[Ai]),S}var mc=Y_;var Q_=Object.prototype,Z_=Q_.toString;function eg(c){return Z_.call(c)}var vc=eg;var tg="[object Null]",rg="[object Undefined]",yc=Rr?Rr.toStringTag:void 0;function ng(c){return c==null?c===void 0?rg:tg:yc&&yc in Object(c)?mc(c):vc(c)}var sr=ng;function ig(c){return c!=null&&typeof c=="object"}var yr=ig;var og="[object Symbol]";function ag(c){return typeof c=="symbol"||yr(c)&&sr(c)==og}var Hn=ag;function sg(c,a){for(var n=-1,y=c==null?0:c.length,S=Array(y);++n0){if(++a>=Bg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Fc=jg;function Ug(c){return function(){return c}}var Ic=Ug;var zg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=zg;var qg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Ic(a),writable:!0})}:Lo,Pc=qg;var Gg=Fc(Pc),kc=Gg;var Wg=9007199254740991,Xg=/^(?:0|[1-9]\d*)$/;function Hg(c,a){var n=typeof c;return a=a??Wg,!!a&&(n=="number"||n!="symbol"&&Xg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=t1}var jo=r1;function n1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=n1;function i1(c,a,n){if(!At(n))return!1;var y=typeof a;return(y=="number"?rn(n)&&Kn(a,n.length):y=="string"&&a in n)?tn(n[a],c):!1}var jc=i1;function o1(c){return Rc(function(a,n){var y=-1,S=n.length,_=S>1?n[S-1]:void 0,v=S>2?n[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,v&&jc(n[0],n[1],v)&&(_=S<3?void 0:_,S=1),a=Object(a);++y-1}var pf=Dx;function Tx(c,a){var n=this.__data__,y=on(n,c);return y<0?(++this.size,n.push([c,a])):n[y][1]=a,this}var hf=Tx;function ei(c){var a=-1,n=c==null?0:c.length;for(this.clear();++a(0,tp.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var rp=require("k6/http");var Ls=require("https://jslib.k6.io/url/1.0.0/index.js"),Dr=(...c)=>c.join("/").replace(/(?new Ls.URLSearchParams(Object.keys(c).map(n=>[n,String(c[n])])).toString(),Ko=c=>{let a=new URL(c).search,n=new Ls.URLSearchParams(a);return Object.fromEntries(n)};var Vo=c=>(a,n,y,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,rp.request)(a,Dr(c.baseUrl,n),y,Sn(_,S))};var Bs=require("k6");var ke=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(y=>{n[`${y} -- (SKIPPED)`]=()=>!0,delete n[y]}),(0,Bs.check)(c.val,n,c.tags)};var sp=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var ip=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${ip.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Dr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Dr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Dr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),n=this.getCode(a),y=this.getToken(n);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+y.expiresIn-5),_})(),token:y}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),n=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!n)&&(0,Yo.fail)(this.logonURL),n}getCode(a){let n=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,y=Qo.default.get(n,{redirects:0}),S=Ht(Ko(y.headers.Location),"code");return(y.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let n=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),y={accessToken:Ht(n.json(),"access_token",""),tokenType:Ht(n.json(),"token_type",""),idToken:Ht(n.json(),"id_token",""),expiresIn:Ht(n.json(),"expires_in",0)};return(n.status!==200||!y.accessToken||!y.tokenType||!y.idToken||!y.expiresIn)&&(0,Yo.fail)(this.tokenURL),y}};var Us={};jt(Us,{POST__get_roles:()=>Rb});var Rb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var zs={};jt(zs,{SEARCH__search_for_resources:()=>jb});var jb=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var qs={};jt(qs,{DELETE__delete_resource:()=>Gb,GET__download_resource:()=>zb,MKCOL__create_resource:()=>qb,MOVE__move_resource:()=>Wb,PROPFIND__get_properties_for_resource:()=>Xb,PUT__upload_resource:()=>Ub,REPORT__get_report_for_resources:()=>Hb});var Ub=(c,{resourceBytes:a,root:n,resourcePath:y})=>c("PUT",`/remote.php/dav/files/${n}/${y}`,a),zb=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),qb=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),Gb=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),Wb=(c,{toResourcePath:a,root:n,fromResourcePath:y})=>c("MOVE",`/remote.php/dav/files/${n}/${y}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),Xb=(c,{root:a,resourcePath:n,propfindXml:y})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,y),Hb=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a);var Gs={};jt(Gs,{DELETE__delete_resource:()=>Vb,GET__download_resource:()=>Jb,MKCOL__create_resource:()=>Kb,MOVE__move_resource:()=>Yb,PROPFIND__get_properties_for_resource:()=>Qb,PUT__upload_resource:()=>$b});var $b=(c,{resourcePath:a,driveId:n,resourceBytes:y})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,y),Jb=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),Kb=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),Vb=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),Yb=(c,{toResourcePath:a,driveId:n,fromResourcePath:y})=>c("MOVE",`/remote.php/dav/spaces/${n}/${y}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),Qb=(c,{propfindXml:a,resourcePath:n,driveId:y})=>c("PROPFIND",`/remote.php/dav/spaces/${y}/${n}`,a);var Ws={};jt(Ws,{DELETE__delete_tag:()=>eE,POST__create_tag:()=>Zb,PROPFIND__get_tags_with_properties:()=>tE});var Zb=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:y=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:y,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),eE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),tE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Xs={};jt(Xs,{DELETE__remove_tag_from_resource:()=>nE,PROPFIND__get_tags_with_properties_for_resource:()=>iE,PUT__add_tag_to_resource:()=>rE});var rE=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),nE=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),iE=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a);var Hs={};jt(Hs,{GET__get_applications:()=>oE});var oE=c=>c("GET","/graph/v1.0/applications");var $s={};jt($s,{DELETE__delete_drive:()=>sE,POST__create_drive:()=>aE});var aE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),sE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Js={};jt(Js,{DELETE__remove_tags_from_resource:()=>lE,PUT__add_tags_to_resource:()=>uE});var uE=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),lE=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a}));var Ks={};jt(Ks,{DELETE__delete_group:()=>fE,POST__create_group:()=>cE});var cE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),fE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Vs={};jt(Vs,{GET__current_user:()=>hE,GET__get_current_user_drives:()=>pE});var pE=c=>c("GET","/graph/v1.0/me/drives"),hE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ys={};jt(Ys,{DELETE__delete_user:()=>mE,POST__add_app_role_to_user:()=>vE,POST__create_user:()=>dE});var dE=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),mE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),vE=(c,{resourceId:a,principalId:n,appRoleId:y})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:y,principalId:n,resourceId:a}));var Qs={};jt(Qs,{DELETE__delete_group:()=>_E,POST__create_group:()=>yE});var yE=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),_E=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_user:()=>bE,POST__create_user:()=>gE,PUT__enable_user:()=>xE});var gE=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),xE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),bE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{GET__search_for_sharees:()=>EE});var EE=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{DELETE__delete_share:()=>AE,POST__accept_share:()=>SE,POST__create_share:()=>wE});var wE=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:y,shareReceiver:S},_)=>{let v={"OCS-APIRequest":"true"},s={path:y,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),v["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:v})},SE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),AE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Us}},dav:{...zs,files:qs,spaces:Gs,systemtags:Ws,systemtags_relations:Xs},graph:{v1:{applications:Hs,drives:$s,extensions:{org_libre_graph:{tags:Js}},groups:Ks,me:Vs,users:Ys}},ocs:{v2:{apps:{cloud:{groups:Qs,users:Zs},file_sharing:{v1:{sharees:eu,shares:tu}}}}}};var up=Qt(Ii());var Cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Dp=require("k6/http");var nu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Np=Qt(Rs());var Op=Qt(Ii()),CE=Object.defineProperty,It=(c,a)=>{for(var n in a)CE(c,n,{get:a[n],enumerable:!0})},DE={};It(DE,{Adapter:()=>TE,BasicAuth:()=>NE,Kopano:()=>OE});var TE={kopano:"kopano",basicAuth:"basicAuth"},NE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},OE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Dr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Dr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Dr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),n=this.getToken(a);this.cache={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+n.expiresIn-5),y})(),token:n}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,n=ea.default.get(a,{redirects:0}),y=Ht(Ko(n.headers.Location),"code");return(n.status!==302||!y)&&(0,Zo.fail)(c),y}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),n={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!n.accessToken||!n.tokenType||!n.idToken||!n.expiresIn)&&(0,Zo.fail)(this.tokenURL),n}},FE={};It(FE,{Client:()=>XE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},IE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},PE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},kE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:y})=>y===n}),a}},LE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,up.create)({version:"1.0",encoding:"UTF-8"}),BE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},op={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:y=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(n).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(y.toString()).end()}},ME={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},RE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},jE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=BE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:y})=>y===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},UE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},zE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:op[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:op[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ME[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},qE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},GE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:y=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:y,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":v=>v?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:y})=>y===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:y})=>y===n}),a}getTagsForResource(c){let a=RE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:y})=>y===207}),n}},WE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:y})=>y===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},XE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new sp.CookieJar}});this.application=new IE(c.platform,n),this.drive=new PE(c.platform,n),this.group=new kE(c.platform,n),this.me=new LE(c.platform,n),this.resource=new jE(c.platform,n),this.role=new UE(c.platform,n),this.search=new zE(c.platform,n),this.share=new qE(c.platform,n),this.tag=new GE(c.platform,n),this.user=new WE(c.platform,n)}},ru={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},HE={};It(HE,{ItemType:()=>Bw,Permission:()=>Mw,ShareType:()=>Lw,endpoints:()=>Rw});var cp={};It(cp,{POST__get_roles:()=>$E});var $E=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),fp={};It(fp,{SEARCH__search_for_resources:()=>JE});var JE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),pp={};It(pp,{DELETE__delete_resource:()=>QE,GET__download_resource:()=>VE,MKCOL__create_resource:()=>YE,MOVE__move_resource:()=>ZE,PROPFIND__get_properties_for_resource:()=>ew,PUT__upload_resource:()=>KE,REPORT__get_report_for_resources:()=>tw});var KE=(c,{resourceBytes:a,root:n,resourcePath:y})=>c("PUT",`/remote.php/dav/files/${n}/${y}`,a),VE=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),YE=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),QE=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),ZE=(c,{toResourcePath:a,root:n,fromResourcePath:y})=>c("MOVE",`/remote.php/dav/files/${n}/${y}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),ew=(c,{root:a,resourcePath:n,propfindXml:y})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,y),tw=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a),hp={};It(hp,{DELETE__delete_resource:()=>ow,GET__download_resource:()=>nw,MKCOL__create_resource:()=>iw,MOVE__move_resource:()=>aw,PROPFIND__get_properties_for_resource:()=>sw,PUT__upload_resource:()=>rw});var rw=(c,{resourcePath:a,driveId:n,resourceBytes:y})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,y),nw=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),iw=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),ow=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),aw=(c,{toResourcePath:a,driveId:n,fromResourcePath:y})=>c("MOVE",`/remote.php/dav/spaces/${n}/${y}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),sw=(c,{propfindXml:a,resourcePath:n,driveId:y})=>c("PROPFIND",`/remote.php/dav/spaces/${y}/${n}`,a),dp={};It(dp,{DELETE__delete_tag:()=>lw,POST__create_tag:()=>uw,PROPFIND__get_tags_with_properties:()=>cw});var uw=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:y=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:y,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),lw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),cw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),mp={};It(mp,{DELETE__remove_tag_from_resource:()=>pw,PROPFIND__get_tags_with_properties_for_resource:()=>hw,PUT__add_tag_to_resource:()=>fw});var fw=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),pw=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),hw=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a),vp={};It(vp,{GET__get_applications:()=>dw});var dw=c=>c("GET","/graph/v1.0/applications"),yp={};It(yp,{DELETE__delete_drive:()=>vw,POST__create_drive:()=>mw});var mw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),vw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),_p={};It(_p,{DELETE__remove_tags_from_resource:()=>_w,PUT__add_tags_to_resource:()=>yw});var yw=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),_w=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gp={};It(gp,{DELETE__delete_group:()=>xw,POST__create_group:()=>gw});var gw=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),xw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),xp={};It(xp,{GET__current_user:()=>Ew,GET__get_current_user_drives:()=>bw});var bw=c=>c("GET","/graph/v1.0/me/drives"),Ew=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),bp={};It(bp,{DELETE__delete_user:()=>Sw,POST__add_app_role_to_user:()=>Aw,POST__create_user:()=>ww});var ww=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),Sw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Aw=(c,{resourceId:a,principalId:n,appRoleId:y})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:y,principalId:n,resourceId:a})),Ep={};It(Ep,{DELETE__delete_group:()=>Dw,POST__create_group:()=>Cw});var Cw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Dw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),wp={};It(wp,{DELETE__delete_user:()=>Ow,POST__create_user:()=>Tw,PUT__enable_user:()=>Nw});var Tw=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Nw=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{GET__search_for_sharees:()=>Fw});var Fw=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_share:()=>kw,POST__accept_share:()=>Pw,POST__create_share:()=>Iw});var Iw=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:y,shareReceiver:S},_)=>{let v={"OCS-APIRequest":"true"},s={path:y,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),v["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:v})},Pw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),kw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Lw={user:0,group:1,publicLink:3,federatedCloudShare:6},Bw={file:"file",folder:"folder"},Mw={read:0,update:2,create:4,delete:8,share:16,all:31},Rw={api:{v0:{settings:cp}},dav:{...fp,files:pp,spaces:hp,systemtags:dp,systemtags_relations:mp},graph:{v1:{applications:vp,drives:yp,extensions:{org_libre_graph:{tags:_p}},groups:gp,me:xp,users:bp}},ocs:{v2:{apps:{cloud:{groups:Ep,users:wp},file_sharing:{v1:{sharees:Sp,shares:Ap}}}}}},jw={};It(jw,{check:()=>Hw,cleanURL:()=>Tp,group:()=>Xw,objectToQueryString:()=>qw,platformGuard:()=>zw,queryJson:()=>Fp,queryStringToObject:()=>Gw,queryXml:()=>$w,randomString:()=>Uw,requestFactory:()=>Ww});var Uw=(c=10,a)=>(0,Cp.randomString)(c,a),zw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Tp=(...c)=>c.join("/").replace(/(?new nu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Gw=c=>{let a=new URL(c).search,n=new nu.URLSearchParams(a);return Object.fromEntries(n)},Ww=c=>(a,n,y,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Dp.request)(a,Tp(c.baseUrl,n),y,Sn(_,S))},Xw=(c,a)=>(0,ta.group)(c,()=>a(c)),Hw=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(y=>{n[`${y} -- (SKIPPED)`]=()=>!0,delete n[y]}),(0,ta.check)(c.val,n,c.tags)},Fp=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Np.query(n,c).map(y=>At(y)&&Oi(y)?void 0:y)},$w=(c,a)=>{let n=Op.create(a).end({format:"object"});return Fp(c,n)};var Jw=Qt(require("k6/encoding")),Kw=require("k6"),Vw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var Pp=require("k6/http");var kp=Qt(Ii());var Tr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},Yw=class extends Tr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},Qw=class extends Tr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},Zw=class extends Tr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:y})=>y===n}),a}},eS=class extends Tr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,kp.create)({version:"1.0",encoding:"UTF-8"}),tS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Ip={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:y=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(n).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(y.toString()).end()}},rS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Lp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},nS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Lp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},iS=class extends Tr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=tS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:y})=>y===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},oS=class extends Tr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},aS=class extends Tr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Ip[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Ip[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:rS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},sS=class extends Tr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},uS=class extends Tr{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:y=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:y,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":v=>v?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Lp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:y})=>y===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:y})=>y===n}),a}getTagsForResource(c){let a=nS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:y})=>y===207}),n}},lS=class extends Tr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:y})=>y===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},na=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new Pp.CookieJar}});this.application=new Yw(c.platform,n),this.drive=new Qw(c.platform,n),this.group=new Zw(c.platform,n),this.me=new eS(c.platform,n),this.resource=new iS(c.platform,n),this.role=new oS(c.platform,n),this.search=new aS(c.platform,n),this.share=new sS(c.platform,n),this.tag=new uS(c.platform,n),this.user=new lS(c.platform,n)}};var Bp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var cS=require("k6/http");var fS=require("https://jslib.k6.io/url/1.0.0/index.js"),Mp=require("k6"),Rp=Qt(Rs());var pS=Qt(Ii()),ia=(c=10,a)=>(0,Bp.randomString)(c,a);var Pi=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Rp.query(n,c).map(y=>At(y)&&Oi(y)?void 0:y)};var Up=Qt(require("k6/execution")),iu=Qt(jp()),zr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:ru[__ENV.PLATFORM]||ru.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},spaceCount:parseInt(__ENV.SPACE_COUNT,10)||2,k6:{vus:1,insecureSkipTLSVerify:!0}},zp=zr.k6;function hS(){let c=new na({...zr,userLogin:zr.admin.login,userPassword:zr.admin.password}),a=c.role.getRoles(),[n]=Pi("$.bundles[?(@.name === 'spaceadmin')].id",a?.body),y=c.application.listApplications(),[S]=Pi("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id",y?.body),_=(0,iu.times)(zp.vus||1,()=>{let[v,s]=[ia(),ia()],h=c.user.createUser({userLogin:v,userPassword:s}),[i]=Pi("$.id",h.body);return c.role.addRoleToUser({appRoleId:n,resourceId:S,principalId:i}),{actorLogin:v,actorPassword:s}});return{adminData:{adminLogin:zr.admin.login,adminPassword:zr.admin.password},actorData:_}}function qp({actorData:c}){let{actorLogin:a,actorPassword:n}=c[Up.default.vu.idInTest-1],y=new na({...zr,userLogin:a,userPassword:n}),S=[];(0,iu.times)(zr.spaceCount,()=>ia()).forEach(v=>{let s=y.drive.createDrive({driveName:v}),[h]=Pi("$.id",s?.body);S.push(()=>{y.drive.deleteDrive({driveId:h})})}),S.forEach(v=>{v()})}function dS({adminData:c,actorData:a}){let n=new na({...zr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:y})=>{n.user.deleteUser({userLogin:y})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-090-add-remove-user-share.js b/packages/k6-tests/artifacts/koko-090-add-remove-user-share.js index e2be5b6..c14721c 100644 --- a/packages/k6-tests/artifacts/koko-090-add-remove-user-share.js +++ b/packages/k6-tests/artifacts/koko-090-add-remove-user-share.js @@ -1,90 +1,90 @@ -"use strict";var Eg=Object.create;var Eo=Object.defineProperty;var wg=Object.getOwnPropertyDescriptor;var Sg=Object.getOwnPropertyNames;var Ag=Object.getPrototypeOf,Dg=Object.prototype.hasOwnProperty;var zs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Cg=(E,l)=>{for(var o in l)Eo(E,o,{get:l[o],enumerable:!0})},dc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Sg(l))!Dg.call(E,w)&&w!==o&&Eo(E,w,{get:()=>l[w],enumerable:!(v=wg(l,w))||v.enumerable});return E};var jt=(E,l,o)=>(o=E!=null?Eg(Ag(E)):{},dc(l||!E||!E.__esModule?Eo(o,"default",{value:E,enumerable:!0}):o,E)),Tg=E=>dc(Eo({},"__esModule",{value:!0}),E);var Qs=zs((lp,Ys)=>{(function(E){if(typeof lp=="object"&&typeof Ys<"u")Ys.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function k(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function $(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function q(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,$(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),$(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if($(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&k(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(k(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function z(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!$(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:k(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&k(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&k(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if($(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],$(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if($(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!q(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?P():F===40||F===41||F===59?D():F===39||F===34?z():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function $e(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?$e():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?$e():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function ze(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new ze(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function qe(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Vn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function Pt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Hn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=Pt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function $n(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return $n();if(Ae("["))return gt();if(Ae("{"))return Hn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Ii();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function Je(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),Je()}function Pr(){var F;return xe("["),F=St(),xe("]"),F}function kr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function _a(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?kr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=Pr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?kr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=Pr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Si(){var F,j,Z=S;return F=_a(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!qe()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Si():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Si(),j}function Ai(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function xa(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Ai(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Ai(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function ba(){var F,j,Z,le,be;return be=S,F=xa(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=ba(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function Ea(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=Ea(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function wa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Kn(F){var j=[];do{if(j.push(wa(F)),!Ae(","))break;we()}while(e<_);return j}function Sa(){var F;return Te("var"),F=Kn(),We(),b.createVariableDeclaration(F,"var")}function Aa(F){var j,Z;return Z=S,Te(F),j=Kn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Da(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Ca(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=qt(),je("else")?(we(),Z=qt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=qt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ta(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=qt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Na(){var F,j,Z;return Z=S,F=we(),j=Kn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Fa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Na(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=qt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Di(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):qe()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Ci(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):qe()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ti(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):qe()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Oa(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=qt(),b.createWithStatement(F,j)}function Ia(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=qt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Pa(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Ia(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function ka(){var F;return Te("throw"),qe()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ni(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Fi(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ni()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Oi(){return Te("debugger"),We(),b.createDebuggerStatement()}function qt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Da(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Ci(),be);case"continue":return b.markEnd(Di(),be);case"debugger":return b.markEnd(Oi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Fa(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Ca(),be);case"return":return b.markEnd(Ti(),be);case"switch":return b.markEnd(Pa(),be);case"throw":return b.markEnd(ka(),be);case"try":return b.markEnd(Fi(),be);case"var":return b.markEnd(Sa(),be);case"while":return b.markEnd(Ta(),be);case"with":return b.markEnd(Oa(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=qt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Vn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Yn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Yn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Vn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Ii(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Yn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Vn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Aa(S.value);case"function":return tn();default:return qt()}if(S.type!==a.EOF)return qt()}function Pi(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Pi(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Bi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Ba,m.parse=Bi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var $,Y,q,X,H,ee,re={},he,me,ne,Q;;){if(q=c[c.length-1],this.defaultActions[q]?X=this.defaultActions[q]:(($===null||typeof $>"u")&&($=G()),X=g[q]&&g[q][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[q])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var sg=Object.create;var Lo=Object.defineProperty;var ug=Object.getOwnPropertyDescriptor;var lg=Object.getOwnPropertyNames;var cg=Object.getPrototypeOf,fg=Object.prototype.hasOwnProperty;var Ts=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports),jt=(l,i)=>{for(var t in i)Lo(l,t,{get:i[t],enumerable:!0})},vc=(l,i,t,m)=>{if(i&&typeof i=="object"||typeof i=="function")for(let S of lg(i))!fg.call(l,S)&&S!==t&&Lo(l,S,{get:()=>i[S],enumerable:!(m=ug(i,S))||m.enumerable});return l};var Zt=(l,i,t)=>(t=l!=null?sg(cg(l)):{},vc(i||!l||!l.__esModule?Lo(t,"default",{value:l,enumerable:!0}):t,l)),pg=l=>vc(Lo({},"__esModule",{value:!0}),l);var Ms=Ts((ap,Rs)=>{(function(l){if(typeof ap=="object"&&typeof Rs<"u")Rs.exports=l();else if(typeof define=="function"&&define.amd)define([],l);else{var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i=this,i.jsonpath=l()}})(function(){var l,i,t;return function m(S,_,y){function s(a,c){if(!_[a]){if(!S[a]){var u=typeof require=="function"&&require;if(!c&&u)return u(a,!0);if(h)return h(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var v=_[a]={exports:{}};S[a][0].call(v.exports,function(f){var r=S[a][1][f];return s(r||f)},v,v.exports,m,S,_,y)}return _[a].exports}for(var h=typeof require=="function"&&require,o=0;o",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],a={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function R(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(r&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Me(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return o.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?M():C():I(O)?M():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}v={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===a.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:a.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:a.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?a.LogicalExpression:a.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:a.BlockStatement,body:O}},createBreakStatement:function(O){return{type:a.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:a.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:a.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:a.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:a.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:a.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:a.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:a.EmptyStatement}},createExpressionStatement:function(O){return{type:a.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:a.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:a.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:a.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:a.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:a.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:a.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:a.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:a.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:a.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:a.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:a.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:a.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:a.Program,body:O}},createProperty:function(O,j,Z){return{type:a.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:a.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:a.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:a.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:a.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:a.ThisExpression}},createThrowStatement:function(O){return{type:a.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:a.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:a.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:a.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:a.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:a.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:a.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:a.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===a.Identifier||O.type===a.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(tr()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=r,Ee=w,ce=ci(),j&&r&&ee(O[0].name)&&se(j,u.StrictParamName),r=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(r&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=tr(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=tr(),E.markEnd(E.createProperty("init",j,ce),Le)}function ai(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===a.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?c.Data:j.kind==="get"?c.Get:c.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===c.Data?r&&Ee===c.Data?se({},u.StrictDuplicateProperty):Ee!==c.Data&&se({},u.AccessorDataProperty):Ee===c.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function si(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return si();if(Ce("["))return Et();if(Ce("{"))return ai();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)r&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Xi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function aa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Hr(),ce=w,Ee=Mi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Hr(),Le=[Ot,ce,rt];(Ee=Mi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Hr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function sa(){var O,j,Z,ce,Ee;return Ee=w,O=aa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=tr(),D.allowIn=j,be(":"),ce=tr(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function tr(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=sa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),r&&j.type===a.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=tr(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=tr(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function fn(){var O,j;return j=w,be("{"),O=ua(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function la(O){var j=null,Z,ce;return ce=w,Z=Sr(),r&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=tr()):Ce("=")&&(Se(),j=tr()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function li(O){var j=[];do{if(j.push(la(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=Jt(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function ji(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ui(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function zi(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ya(){var O,j;return r&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=Jt(),E.createWithStatement(O,j)}function _a(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function fi(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function $i(){var O,j;return Q(),ct(),j=w,r=!1,O=Hi(),E.markEnd(E.createProgram(O),j)}function kn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}kn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Ji(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=v,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=$i(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(kn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ba,y.parse=Ji,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in a)a.hasOwnProperty(O)&&(j[O]=a[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(m,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,v,f,r,e,g,b){r.ast||(r.ast=o,o.initialize());var x=g.length-1;switch(e){case 1:return r.ast.set({expression:{type:"root",value:g[x]}}),r.ast.unshift(),r.ast.yield();break;case 2:return r.ast.set({expression:{type:"root",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 3:return r.ast.unshift(),r.ast.yield();break;case 4:return r.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 5:break;case 6:break;case 7:r.ast.set({operation:"member"}),r.ast.push();break;case 8:r.ast.set({operation:"subscript"}),r.ast.push();break;case 9:r.ast.set({scope:"child"});break;case 10:r.ast.set({scope:"descendant"});break;case 11:break;case 12:r.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:r.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:r.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:r.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:r.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:r.ast.set({scope:"child"});break;case 20:r.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?r.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},r.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},r.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},r.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},r.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},r.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},r.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,v){if(v.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var v=this,f=[0],r=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,r.length=r.length-le,e.length=e.length-le}function G(){var le;return le=v.lexer.lex()||T,typeof le!="number"&&(le=v.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+$);switch(X[0]){case 1:c.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),$=null,Y?($=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(k){k.path=_.path.concat(k.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],k=function(G,$){s(G)?(G.forEach(function(Y,q){R.length>=T||C(q,Y,S)&&R.push({path:$.concat(q),value:Y})}),G.forEach(function(Y,q){R.length>=T||_&&k(Y,$.concat(q))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),r.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=r[r.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],r,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),r=r.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),r.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},a=function(){var u={EOF:1,parseError:function(v,f){if(this.yy.parser)this.yy.parser.parseError(v,f);else throw new Error(v)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var v=p.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var v=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),v=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+v+"^"},test_match:function(p,v){var f,r,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),r=p[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,v,f,r;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gv[0].length)){if(v=f,r=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(p=this.test_match(v,e[r]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,f,r,e){var g=e;switch(r){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=a;function c(){this.yy={}}return c.prototype=h,h.Parser=c,new c}();typeof m<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),y.exit(1));var a=m("fs").readFileSync(m("path").normalize(o[1]),"utf8");return _.parser.parse(a)},typeof S<"u"&&m.main===S&&_.main(y.argv.slice(1)))}).call(this,m("_process"))},{_process:14,fs:12,path:13}],2:[function(m,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(m,S,_){var y=m("./dict"),s=m("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(m.resolve("../include/module.js")),h.actionInclude=s.readFileSync(m.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(m,S,_){var y=m("./aesprim"),s=m("./slice"),h=m("static-eval"),o=m("underscore").uniq,a=function(){return this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},a.prototype.keys=Object.keys,a.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},a.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},a.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":r(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":r(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":r(function(){return!0}),"subscript-descendant-wildcard":r(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=m(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(R){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$..value")}},a.prototype._fns["subscript-child-string_literal"]=a.prototype._fns["member-child-identifier"],a.prototype._fns["member-descendant-numeric_literal"]=a.prototype._fns["subscript-descendant-string_literal"]=a.prototype._fns["member-descendant-identifier"];function c(x,E,w){var D=m("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),R=D.nodes(x.value,I);return R.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),R}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function v(x){return function(E,w,D,T){var N=E.value,I=E.path,R=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){R.length>=T||D(z,Y,w)&&R.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){R.length>=T||D(Y,G[Y],w)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function r(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),o(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=a},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(m,S,_){var y=m("assert"),s=m("./dict"),h=m("./parser"),o=m("./handlers"),a=function(){this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.parser=new h,this.handlers=new o},a.prototype.parse=function(p){return y.ok(c(p),"we need a path"),this.parser.parse(p)},a.prototype.parent=function(p,v){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var f=this.nodes(p,v)[0],r=f.path.pop();return this.value(p,f.path)},a.prototype.apply=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var r=this.nodes(p,v).sort(function(e,g){return g.path.length-e.path.length});return r.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),r},a.prototype.value=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),arguments.length>=3){var r=this.nodes(p,v).shift();if(!r)return this._vivify(p,v,f);var e=r.path.slice(-1).shift(),g=this.parent(p,this.stringify(r.path));g[e]=f}return this.query(p,this.stringify(v),1).shift()},a.prototype._vivify=function(p,v,f){var r=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var e=this.parser.parse(v).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=r.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=r.value(p,b)),w[E]=x};return g(e,f),this.query(p,v)[0]},a.prototype.query=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(c(v),"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.value});return r},a.prototype.paths=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.path});return r},a.prototype.nodes=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),f===0)return[];var r=this.parser.parse(v),e=this.handlers,g=[{path:["$"],value:p}],b=[];return r.length&&r[0].expression.type=="root"&&r.shift(),r.length?(r.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==r.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},a.prototype.stringify=function(p){y.ok(p,"we need a path");var v="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(r){if(r.expression.type!="root"){var e=[r.scope,r.operation].join("-"),g=f[e],b;if(r.expression.type=="string_literal"?b=JSON.stringify(r.expression.value):b=r.expression.value,!g)throw new Error("couldn't find template "+e);v+=g.replace(/{{value}}/,b)}}),v},a.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,r){if(!(f=="$"&&r===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),v}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function c(p){return Object.prototype.toString.call(p)=="[object String]"}a.Handlers=o,a.Parser=h;var u=new a;u.JSONPath=a,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(m,S,_){var y=m("./grammar"),s=m("../generated/parser"),h=function(){var o=new s.Parser,a=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),a.apply(o,arguments)},o};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(m,S,_){S.exports=function(s,h,o,a){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof a=="string")throw new Error("step cannot be a string");var c=s.length;if(a===0)throw new Error("step cannot be zero");if(a=a?y(a):1,h=h<0?c+h:h,o=o<0?c+o:o,h=y(h===0?0:h||(a>0?0:c-1)),o=y(o===0?0:o||(a>0?c:-1)),h=a>0?Math.max(0,h):Math.min(c,h),o=a>0?Math.min(o,c):Math.max(-1,o),a>0&&o<=h)return[];if(a<0&&h<=o)return[];for(var u=[],p=h;p!=o&&!(a<0&&p<=o||a>0&&p>=o);p+=a)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(m,S,_){var y=m("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,o=S.exports=v;o.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,R=N.indexOf(` `+I);if(R>=0){var k=N.indexOf(` -`,R+1);N=N.substring(k+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=P)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),k(ue.showHidden)&&(ue.showHidden=!1),k(ue.depth)&&(ue.depth=2),k(ue.colors)&&(ue.colors=!1),k(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var P=t(Q,ie);if(P)return P;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),q(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(q(ie))return e(ie)}var M="",z=!1,W=["{","}"];if(b(ie)&&(z=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),q(ie)&&(M=" "+e(ie)),D.length===0&&(!z||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return z?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,z)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,P){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` -`).map(function(z){return" "+z}).join(` -`).substr(2):B=` -`+B.split(` -`).map(function(z){return" "+z}).join(` -`))):B=Q.stylize("[Circular]","special")),k(L)){if(D&&P.match(/^\d+$/))return B;L=JSON.stringify(""+P),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,P=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?ue[0]+(ie===""?"":ie+` +`,R+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(o.AssertionError,Error);function a(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function c(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!f(E[R],w[R]))return!1;return!0}o.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",o.strictEqual)},o.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",o.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}o.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(m,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var o=function(){};o.prototype=h.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(m,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(m,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=c.styles[ie];return le?"\x1B["+c.colors[le][0]+"m"+Q+"\x1B["+c.colors[le][1]+"m":Q}function p(Q,ie){return Q}function v(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=r(Q,ie);if(P)return P;var C=Object.keys(ie),B=v(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";M=" [Function"+ae+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,M,W)}function r(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` +`).map(function(q){return" "+q}).join(` +`).substr(2):L=` +`+L.split(` +`).map(function(q){return" "+q}).join(` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function k(Q){return Q===void 0}y.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}y.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function q(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=q;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof gi=="object"&&typeof Zs=="object"?Zs.exports=l():typeof define=="function"&&define.amd?define([],l):typeof gi=="object"?gi.xmlbuilder2=l():E.xmlbuilder2=l()})(gi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(q,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(q,X)},function(q,X){function H(){this.constructor=q}v(q,X),q.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(q){function X(H,ee){ee===void 0&&(ee="");var re=q.call(this,ee)||this;return re.name=H,re}return w(X,q),X}(Error);l.DOMException=y;var m=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DOMStringSizeError",H)||this}return w(X,q),X}(y);l.DOMStringSizeError=m;var a=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,q),X}(y);l.WrongDocumentError=a;var p=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoDataAllowedError",H)||this}return w(X,q),X}(y);l.NoDataAllowedError=p;var n=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,q),X}(y);l.NoModificationAllowedError=n;var i=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,q),X}(y);l.NotSupportedError=i;var u=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InUseAttributeError",H)||this}return w(X,q),X}(y);l.InUseAttributeError=u;var s=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,q),X}(y);l.InvalidStateError=s;var f=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,q),X}(y);l.InvalidModificationError=f;var d=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,q),X}(y);l.NamespaceError=d;var c=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,q),X}(y);l.InvalidAccessError=c;var t=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"ValidationError",H)||this}return w(X,q),X}(y);l.ValidationError=t;var e=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TypeMismatchError",H)||this}return w(X,q),X}(y);l.TypeMismatchError=e;var g=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,q),X}(y);l.SecurityError=g;var x=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,q),X}(y);l.NetworkError=x;var _=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,q),X}(y);l.AbortError=_;var b=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,q),X}(y);l.URLMismatchError=b;var S=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,q),X}(y);l.QuotaExceededError=S;var C=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,q),X}(y);l.TimeoutError=C;var T=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,q),X}(y);l.InvalidNodeTypeError=T;var N=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,q),X}(y);l.DataCloneError=N;var I=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,q),X}(y);l.NotImplementedError=I;var R=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,q),X}(y);l.HierarchyRequestError=R;var k=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,q),X}(y);l.NotFoundError=k;var G=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,q),X}(y);l.IndexSizeError=G;var $=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,q),X}(y);l.SyntaxError=$;var Y=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,q),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{k&&!k.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{$&&!$.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),q=Y.next();!q.done;q=Y.next())if(!e(q.value))return!1}catch(X){C={error:X}}finally{try{q&&!q.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(k,G,$,Y){return n.DocumentTypeImpl._create(k,G,$,Y)},l.create_element=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlUnknownElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_documentFragment=function(k){return u.DocumentFragmentImpl._create(k)},l.create_shadowRoot=function(k,G){return s.ShadowRootImpl._create(k,G)},l.create_attr=function(k,G){return f.AttrImpl._create(k,G)},l.create_text=function(k,G){return d.TextImpl._create(k,G)},l.create_cdataSection=function(k,G){return c.CDATASectionImpl._create(k,G)},l.create_comment=function(k,G){return t.CommentImpl._create(k,G)},l.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},l.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},l.create_nodeList=function(k){return x.NodeListImpl._create(k)},l.create_nodeListStatic=function(k,G){return _.NodeListStaticImpl._create(k,G)},l.create_namedNodeMap=function(k){return b.NamedNodeMapImpl._create(k)},l.create_range=function(k,G){return S.RangeImpl._create(k,G)},l.create_nodeIterator=function(k,G,$){return C.NodeIteratorImpl._create(k,G,$)},l.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(k,G,$,Y,q,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,q,X,H,ee,re)},l.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),k=o(25),G=o(81),$=o(57),Y=o(45),q=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,P=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,z=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,$e=function(_e,xe){var Te=W[_e]=x(P.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof P},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!ze.call(Te,je)||at(_e,je,Te[je])}),_e},ze=function(_e){var xe=e(_e,!0),Te=z.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},qe=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=q(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),$e(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),k(P,"withoutSetter",function(_e){return $e(q(_e),_e)}),I.f=ze,N.f=at,T.f=qe,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return $e(X(_e),_e)},a&&(B(P.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||k(ce,"propertyIsEnumerable",ze,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:P}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=P(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:qe}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=P();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,k=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(z){k={error:z}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var P=v(T._children),D=P.next();!D.done;D=P.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(z){$={error:z}}finally{try{D&&!D.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(z){q={error:z}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(q)throw q.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,k;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var $=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),q=Y.next();!q.done;q=Y.next()){var X=q.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{q&&!q.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){k={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){$={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var ce=C._previousSibling,P=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var z=(q=void 0,v(M._registeredObserverList)),W=z.next();!W.done;W=z.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){q={error:de}}finally{try{W&&!W.done&&(X=z.return)&&X.call(z)}finally{if(q)throw q.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,P)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,k,G,$,Y,q,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){k={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){$={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),P=ce.next();!P.done;P=ce.next()){var D;if((D=P.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){q={error:oe}}finally{try{P&&!P.done&&(X=ce.return)&&X.call(ce)}finally{if(q)throw q.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var z=[];C._parent!==null&&(z.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,z,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),k=[];C&&C._nodeType===p.NodeType.DocumentFragment?k=Array.from(C._children):C!==null&&k.push(C);try{for(var G=v(R),$=G.next();!$.done;$=G.next())S($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){x={error:k}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var k=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,k=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",$=!1,Y=g.prototype,q=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&q||k(S),H=x=="Array"&&Y.entries||q;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&q&&q.name!=="values"&&($=!0,X=function(){return q.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:k("values"),keys:C?X:k("keys"),entries:k("entries")},T)for(R in I)(c||$||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||$},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var q=[];;){var X=i(R,k);if(X===null||(q.push(X),!$))break;String(X[0])===""&&(R.lastIndex=n(k,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=k.slice(re,ne)+P,re=ne+me.length)}return ee+k.slice(re)}];function C(T,N,I,R,k,G){var $=I+T.length,Y=R.length,q=c;return k!==void 0&&(k=y(k),q=d),e.call(G,q,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(q){G={error:q}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){z=ge;break}if(z!==null)if(p.Guard.isNode(z.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(z.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",k);for(oe=0;oe0&&(q=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=q.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,k),I._type=ee}}}function _(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var k=o(34);l.Node=k.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var $=o(162);l.NodeList=$.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var q=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var P=o(151);l.XMLDocument=P.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var q=S[Y];m(S,Y,Y=="add"?function(X){return q.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:q.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:function(X,H){return q.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,k=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),$=!x&&u(function(){for(var Y=new b,q=5;q--;)Y[_](q,q);return!Y.has(-0)});G||((C=t(function(Y,q){n(Y,C,c);var X=d(new b,Y,C);return q!=null&&p(q,X[_],X,g),X})).prototype=S,S.constructor=C),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,k,G=b(T),$=C(T,N);return $?$.value=I:(G.last=$={index:k=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),u?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},C=function(T,N){var I,R=b(T),k=s(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(P,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|P}function c(P,D){if(n.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var L=P.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(P).length;default:if(B)return ie(P).length;D=(""+D).toLowerCase(),B=!0}}function t(P,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return k(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),B=!0}}function e(P,D,L){var B=P[D];P[D]=P[L],P[L]=B}function g(P,D,L,B,M){if(P.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:P.length-1),L<0&&(L=P.length+L),L>=P.length){if(M)return-1;L=P.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(P,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,D,L):Uint8Array.prototype.lastIndexOf.call(P,D,L):x(P,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(P,D,L,B,M){var z,W=1,oe=P.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(P.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,$e){return W===1?tt[$e]:tt.readUInt16BE($e*W)}if(M){var Se=-1;for(z=L;zoe&&(L=oe-de),z=L;z>=0;z--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var z=D.length;if(z%2!=0)throw new TypeError("Invalid hex string");B>z/2&&(B=z/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,P.length-L),P,L,B)}function I(P,D,L){return D===0&&L===P.length?w.fromByteArray(P):w.fromByteArray(P.slice(D,L))}function R(P,D,L){L=Math.min(P.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(z=P[M+1]))==128&&(de=(31&ge)<<6|63&z)>127&&(Se=de);break;case 3:z=P[M+1],W=P[M+2],(192&z)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&z)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:z=P[M+1],W=P[M+2],oe=P[M+3],(192&z)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&z)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var $e="",we=0;we0&&(P=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(P+=" ... ")),""},n.prototype.compare=function(P,D,L,B,M){if(!n.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=P?P.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>P.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===P)return 0;for(var z=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(z,W),de=this.slice(B,M),ge=P.slice(D,L),Se=0;SeM)&&(L=M),P.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var z=!1;;)switch(B){case"hex":return _(this,P,D,L);case"utf8":case"utf-8":return b(this,P,D,L);case"ascii":return S(this,P,D,L);case"latin1":case"binary":return C(this,P,D,L);case"base64":return T(this,P,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,D,L);default:if(z)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),z=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,D,L){var B="";L=Math.min(P.length,L);for(var M=D;MB)&&(L=B);for(var M="",z=D;zL)throw new RangeError("Trying to access beyond buffer length")}function X(P,D,L,B,M,z){if(!n.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||DP.length)throw new RangeError("Index out of range")}function H(P,D,L,B){D<0&&(D=65535+D+1);for(var M=0,z=Math.min(P.length-L,2);M>>8*(B?M:1-M)}function ee(P,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,z=Math.min(P.length-L,4);M>>8*(B?M:3-M)&255}function re(P,D,L,B,M,z){if(L+B>P.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(P,D,L,B,M){return M||re(P,0,L,4),y.write(P,D,L,B,23,4),L+4}function me(P,D,L,B,M){return M||re(P,0,L,8),y.write(P,D,L,B,52,8),L+8}n.prototype.slice=function(P,D){var L,B=this.length;if((P=~~P)<0?(P+=B)<0&&(P=0):P>B&&(P=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[P+--D]*M;return B},n.prototype.readUInt8=function(P,D){return D||q(P,1,this.length),this[P]},n.prototype.readUInt16LE=function(P,D){return D||q(P,2,this.length),this[P]|this[P+1]<<8},n.prototype.readUInt16BE=function(P,D){return D||q(P,2,this.length),this[P]<<8|this[P+1]},n.prototype.readUInt32LE=function(P,D){return D||q(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},n.prototype.readUInt32BE=function(P,D){return D||q(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},n.prototype.readIntLE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=this[P],M=1,z=0;++z=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=D,M=1,z=this[P+--B];B>0&&(M*=256);)z+=this[P+--B]*M;return z>=(M*=128)&&(z-=Math.pow(2,8*D)),z},n.prototype.readInt8=function(P,D){return D||q(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},n.prototype.readInt16LE=function(P,D){D||q(P,2,this.length);var L=this[P]|this[P+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(P,D){D||q(P,2,this.length);var L=this[P+1]|this[P]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(P,D){return D||q(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},n.prototype.readInt32BE=function(P,D){return D||q(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},n.prototype.readFloatLE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!0,23,4)},n.prototype.readFloatBE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!1,23,4)},n.prototype.readDoubleLE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!0,52,8)},n.prototype.readDoubleBE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!1,52,8)},n.prototype.writeUIntLE=function(P,D,L,B){P=+P,D|=0,L|=0,B||X(this,P,D,L,Math.pow(2,8*L)-1,0);var M=1,z=0;for(this[D]=255&P;++z=0&&(z*=256);)this[D+M]=P/z&255;return D+L},n.prototype.writeUInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[D]=255&P,D+1},n.prototype.writeUInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeUInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeUInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=P>>>24,this[D+2]=P>>>16,this[D+1]=P>>>8,this[D]=255&P):ee(this,P,D,!0),D+4},n.prototype.writeUInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeIntLE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=0,W=1,oe=0;for(this[D]=255&P;++z>0)-oe&255;return D+L},n.prototype.writeIntBE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=L-1,W=1,oe=0;for(this[D+z]=255&P;--z>=0&&(W*=256);)P<0&&oe===0&&this[D+z+1]!==0&&(oe=1),this[D+z]=(P/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[D]=255&P,D+1},n.prototype.writeInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8,this[D+2]=P>>>16,this[D+3]=P>>>24):ee(this,P,D,!0),D+4},n.prototype.writeInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeFloatLE=function(P,D,L){return he(this,P,D,!0,L)},n.prototype.writeFloatBE=function(P,D,L){return he(this,P,D,!1,L)},n.prototype.writeDoubleLE=function(P,D,L){return me(this,P,D,!0,L)},n.prototype.writeDoubleBE=function(P,D,L){return me(this,P,D,!1,L)},n.prototype.copy=function(P,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=P.length&&(D=P.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),P.length-D=0;--M)P[M+D]=this[M+L];else if(z<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,P||(P=0),typeof P=="number")for(z=D;z55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&z.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&z.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&z.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&z.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;z.push(L)}else if(L<2048){if((D-=2)<0)break;z.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;z.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;z.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return z}function ue(P){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(P))}function ce(P,D,L,B){for(var M=0;M=D.length||M>=P.length);++M)D[M+L]=P[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,z=M&&B[M],W=0;if(z)return z.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var z=typeof Symbol=="function"&&B[Symbol.iterator];if(!z)return B;var W,oe,de=z.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(z=de.return)&&z.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var z,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",z=B,W=1;W<=4;W++)M=(z%256).toString()+M,W!==4&&(M="."+M),z=Math.floor(z/256);return M}function I(B){for(var M="",z=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(z=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),z!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,z,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var $e=/[\u0009\u000A\u000D]/g;$e.test(B)&&e("Input string contains tab or newline characters."),B=B.replace($e,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=z===void 0||z==="replacement"||z==="UTF-16BE"||z==="UTF-16LE"?"UTF-8":z,K="",ze=!1,qe=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),ze&&(K="%40"+K),ze=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(Pt){de={error:Pt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ze&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||qe)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(qe=!0),ae.c()==="]"&&(qe=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),$(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&q(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))$(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!k(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&q(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(Pt){Se={error:Pt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function k(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function q(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&q(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var z=L(m.utf8Decode(ue(B)));if(z===null||t.test(z))return e("Invalid domain."),null;var W=re(z);return W===null||m.isNumber(W)?W:z}function ee(B,M){M===void 0&&(M={value:!1});var z=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),z=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),z=8),B===""?0:(z===10?/^[0-9]+$/:z===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,z):null}function re(B){var M,z,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(qe=ee(tt,de))===null)return B;Se.push(qe)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(z=Be.return)&&z.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var $e=0;$e255&&(e("Invalid IP v4 address."),$e=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),ze=K.next();!ze.done;ze=K.next()){var qe;we+=(qe=ze.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{ze&&!ze.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,z=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;z[W]=256*z[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;z[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var $e=W-oe;for(W=7;W!==0&&$e>0;)M=w([z[oe+$e-1],z[W]],2),z[W]=M[0],z[oe+$e-1]=M[1],W--,$e--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return z}function me(B){var M,z;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},z=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)z[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);z[W]=ge,W++,oe+=2}else z[W]=de,W++}return z.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var z,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){z={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(z)throw z.error}}return de}function P(B){var M,z,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(z=Se.return)&&z.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var $e=v(de),we=$e.next();!we.done;we=$e.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),ze=K!==-1?at.slice(0,K):at,qe=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var z=n.domainToASCII(B);return z===""?(e("Invalid domain name."),null):z}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,z){var W=R(B,M,z);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.username=oe},l.setThePassword=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.password=oe},l.isSingleDotPathSegment=k,l.isDoubleDotPathSegment=G,l.shorten=$,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=q,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,z){return z===void 0&&(z=!1),C(B,z)===C(M,z)},l.urlEncodedStringParser=function(B){return P(m.utf8Encode(B))},l.urlEncodedParser=P,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var z,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){z={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var z=R(M.path[0]);return z===null?a.OpaqueOrigin:B(z);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var z=n.domainToUnicode(B);return z===""&&e("Invalid domain name."),z},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var $=_;$._parent!==null&&!i.tree_isAncestorOf(S,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=i.tree_index($)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),q=Y.next();!q.done;q=Y.next()){var X;(X=q.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{q&&!q.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var k=s(R.value,d,!0);i.mutation_append(k,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch($){c={error:$}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch($){e={error:$}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!s(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function R(Q){return typeof Q=="symbol"}_.isSymbol=R;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=m("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=m("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,m("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(m,S,_){},{}],13:[function(m,S,_){(function(y){function s(c,u){for(var p=0,v=c.length-1;v>=0;v--){var f=c[v];f==="."?c.splice(v,1):f===".."?(c.splice(v,1),p++):p&&(c.splice(v,1),p--)}if(u)for(;p--;p)c.unshift("..");return c}_.resolve=function(){for(var c="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var v=p>=0?arguments[p]:y.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;c=v+"/"+c,u=v.charAt(0)==="/"}return c=s(o(c.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+c||"."},_.normalize=function(c){var u=_.isAbsolute(c),p=a(c,-1)==="/";return c=s(o(c.split("/"),function(v){return!!v}),!u).join("/"),!c&&!u&&(c="."),c&&p&&(c+="/"),(u?"/":"")+c},_.isAbsolute=function(c){return c.charAt(0)==="/"},_.join=function(){var c=Array.prototype.slice.call(arguments,0);return _.normalize(o(c,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(c,u){c=_.resolve(c).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var v=p(c.split("/")),f=p(u.split("/")),r=Math.min(v.length,f.length),e=r,g=0;g=1;--r)if(u=c.charCodeAt(r),u===47){if(!f){v=r;break}}else f=!1;return v===-1?p?"/":".":p&&v===1?"/":c.slice(0,v)};function h(c){typeof c!="string"&&(c=c+"");var u=0,p=-1,v=!0,f;for(f=c.length-1;f>=0;--f)if(c.charCodeAt(f)===47){if(!v){u=f+1;break}}else p===-1&&(v=!1,p=f+1);return p===-1?"":c.slice(u,p)}_.basename=function(c,u){var p=h(c);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(c){typeof c!="string"&&(c=c+"");for(var u=-1,p=0,v=-1,f=!0,r=0,e=c.length-1;e>=0;--e){var g=c.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}v===-1&&(f=!1,v=e+1),g===46?u===-1?u=e:r!==1&&(r=1):u!==-1&&(r=-1)}return u===-1||v===-1||r===0||r===1&&u===v-1&&u===p+1?"":c.slice(u,v)};function o(c,u){if(c.filter)return c.filter(u);for(var p=[],v=0;v1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:o}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:o;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:o;if(u.type==="CallExpression"){var T=c(u.callee);if(T===o||typeof T!="function")return o;var N=u.callee.object?c(u.callee.object):o;N===o&&(N=null);for(var I=[],r=0,e=u.arguments.length;r{(function(l,i){typeof Pi=="object"&&typeof js=="object"?js.exports=i():typeof define=="function"&&define.amd?define([],i):typeof Pi=="object"?Pi.xmlbuilder2=i():l.xmlbuilder2=i()})(Pi,function(){return function(l){var i={};function t(m){if(i[m])return i[m].exports;var S=i[m]={i:m,l:!1,exports:{}};return l[m].call(S.exports,S,S.exports,t),S.l=!0,S.exports}return t.m=l,t.c=i,t.d=function(m,S,_){t.o(m,S)||Object.defineProperty(m,S,{enumerable:!0,get:_})},t.r=function(m){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},t.t=function(m,S){if(1&S&&(m=t(m)),8&S||4&S&&typeof m=="object"&&m&&m.__esModule)return m;var _=Object.create(null);if(t.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:m}),2&S&&typeof m!="string")for(var y in m)t.d(_,y,function(s){return m[s]}.bind(null,y));return _},t.n=function(m){var S=m&&m.__esModule?function(){return m.default}:function(){return m};return t.d(S,"a",S),S},t.o=function(m,S){return Object.prototype.hasOwnProperty.call(m,S)},t.p="",t(t.s=184)}([function(l,i,t){"use strict";function m(S){for(var _ in S)i.hasOwnProperty(_)||(i[_]=S[_])}Object.defineProperty(i,"__esModule",{value:!0}),m(t(240)),m(t(251)),m(t(175)),m(t(107)),m(t(29)),m(t(73)),m(t(106)),m(t(30)),m(t(252)),m(t(52)),m(t(97)),m(t(253)),m(t(37)),m(t(51)),m(t(173)),m(t(176)),m(t(172)),m(t(108)),m(t(254)),m(t(255)),m(t(256)),m(t(72)),m(t(177)),m(t(105)),m(t(17)),m(t(257)),m(t(12)),m(t(174))},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(212);i.FixedSizeSet=S.FixedSizeSet;var _=t(213);i.ObjectCache=_.ObjectCache;var y=t(214);i.CompareCache=y.CompareCache;var s=t(215);i.Lazy=s.Lazy;var h=t(216);function o(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function a(e){var g,b;if(c(e))return e;if(p(e)){var x=[];try{for(var E=m(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(a(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=a(N)}return x}return e}function c(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function v(e){return e instanceof Set}function f(e){return e instanceof Map}function r(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}i.StringWalker=h.StringWalker,i.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},i.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.Before=0]="Before",m[m.Equal=1]="Equal",m[m.After=2]="After"}(i.BoundaryPosition||(i.BoundaryPosition={})),function(m){m[m.None=0]="None",m[m.Capturing=1]="Capturing",m[m.AtTarget=2]="AtTarget",m[m.Bubbling=3]="Bubbling"}(i.EventPhase||(i.EventPhase={})),function(m){m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=3]="Text",m[m.CData=4]="CData",m[m.EntityReference=5]="EntityReference",m[m.Entity=6]="Entity",m[m.ProcessingInstruction=7]="ProcessingInstruction",m[m.Comment=8]="Comment",m[m.Document=9]="Document",m[m.DocumentType=10]="DocumentType",m[m.DocumentFragment=11]="DocumentFragment",m[m.Notation=12]="Notation"}(i.NodeType||(i.NodeType={})),function(m){m[m.Disconnected=1]="Disconnected",m[m.Preceding=2]="Preceding",m[m.Following=4]="Following",m[m.Contains=8]="Contains",m[m.ContainedBy=16]="ContainedBy",m[m.ImplementationSpecific=32]="ImplementationSpecific"}(i.Position||(i.Position={})),function(m){m[m.Accept=1]="Accept",m[m.Reject=2]="Reject",m[m.Skip=3]="Skip"}(i.FilterResult||(i.FilterResult={})),function(m){m[m.All=4294967295]="All",m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=4]="Text",m[m.CDataSection=8]="CDataSection",m[m.EntityReference=16]="EntityReference",m[m.Entity=32]="Entity",m[m.ProcessingInstruction=64]="ProcessingInstruction",m[m.Comment=128]="Comment",m[m.Document=256]="Document",m[m.DocumentType=512]="DocumentType",m[m.DocumentFragment=1024]="DocumentFragment",m[m.Notation=2048]="Notation"}(i.WhatToShow||(i.WhatToShow={})),function(m){m[m.StartToStart=0]="StartToStart",m[m.StartToEnd=1]="StartToEnd",m[m.EndToEnd=2]="EndToEnd",m[m.EndToStart=3]="EndToStart"}(i.HowToCompare||(i.HowToCompare={}))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(241);i.Cast=m.Cast;var S=t(150);i.Guard=S.Guard;var _=t(242);i.EmptySet=_.EmptySet},function(l,i,t){var m=t(11),S=t(55).f,_=t(21),y=t(25),s=t(80),h=t(119),o=t(123);l.exports=function(a,c){var u,p,v,f,r,e=a.target,g=a.global,b=a.stat;if(u=g?m:b?m[e]||s(e,{}):(m[e]||{}).prototype)for(p in c){if(f=c[p],v=a.noTargetGet?(r=S(u,p))&&r.value:u[p],!o(g?p:e+(b?".":"#")+p,a.forced)&&v!==void 0){if(typeof f==typeof v)continue;h(f,v)}(a.sham||v&&v.sham)&&_(f,"sham",!0),y(u,p,f,a)}}},function(l,i,t){var m=t(11),S=t(81),_=t(14),y=t(58),s=t(86),h=t(124),o=S("wks"),a=m.Symbol,c=h?a:a&&a.withoutSetter||y;l.exports=function(u){return _(o,u)||(s&&_(a,u)?o[u]=a[u]:o[u]=c("Symbol."+u)),o[u]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new m.CompareCache,this._rangeList=new m.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),m.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();i.dom=_.instance},function(l,i,t){"use strict";var m=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var g in r)Object.hasOwnProperty.call(r,g)&&(e[g]=r[g]);return e.default=r,e};Object.defineProperty(i,"__esModule",{value:!0});var S=m(t(228));i.base64=S;var _=m(t(146));i.byte=_;var y=m(t(147));i.byteSequence=y;var s=m(t(96));i.codePoint=s;var h=m(t(232));i.json=h;var o=m(t(233));i.list=o;var a=m(t(234));i.map=a;var c=m(t(235));i.namespace=c;var u=m(t(236));i.queue=u;var p=m(t(237));i.set=p;var v=m(t(238));i.stack=v;var f=m(t(239));i.string=f},function(l,i){l.exports=function(t){try{return!!t()}catch{return!0}}},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(z,X){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}m(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);i.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);i.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);i.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);i.NoDataAllowedError=h;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);i.NoModificationAllowedError=o;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);i.NotSupportedError=a;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);i.InUseAttributeError=c;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);i.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);i.InvalidModificationError=p;var v=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);i.NamespaceError=v;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);i.InvalidAccessError=f;var r=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);i.ValidationError=r;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);i.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);i.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);i.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);i.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);i.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);i.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);i.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);i.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);i.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);i.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);i.HierarchyRequestError=R;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);i.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);i.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);i.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);i.InvalidCharacterError=Y},function(l,i,t){"use strict";var m=t(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];l.exports=function(y,s){var h,o;if(s=s||{},Object.keys(s).forEach(function(a){if(S.indexOf(a)===-1)throw new m('Unknown option "'+a+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,o={},h!==null&&Object.keys(h).forEach(function(a){h[a].forEach(function(c){o[String(c)]=a})}),o),_.indexOf(this.kind)===-1)throw new m('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(l,i,t){(function(m){var S=function(_){return _&&_.Math==Math&&_};l.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof m=="object"&&m)||Function("return this")()}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.idl_defineConst=function(m,S,_){Object.defineProperty(m,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(l,i){l.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},function(l,i){var t={}.hasOwnProperty;l.exports=function(m,S){return t.call(m,S)}},function(l,i,t){var m=t(16),S=t(115),_=t(18),y=t(56),s=Object.defineProperty;i.f=m?s:function(h,o,a){if(_(h),o=y(o,!0),_(a),S)try{return s(h,o,a)}catch{}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(h[o]=a.value),h}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function o(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function a(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function c(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e,g){if(g===void 0&&(g=!1),g){var b=v(e,!1);return S.Guard.isShadowRoot(b)?v(b._host,!0):b}return e._parent?v(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function r(e){for(var g=v(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=o(g,x)}return-1}i.tree_getFirstDescendantNode=h,i.tree_getNextDescendantNode=o,i.tree_getDescendantNodes=a,i.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=a(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},i.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},i.tree_getFirstAncestorNode=c,i.tree_getNextAncestorNode=u,i.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=c(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},i.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=c(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=c(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var R=b[--D];if(R!==x[--T])break;N=R}return N},i.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},i.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},i.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var R=m(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=R.return)&&x.call(R)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=m(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=m(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},i.tree_nodeLength=p,i.tree_isEmpty=function(e){return p(e)===0},i.tree_rootNode=v,i.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=o(e,E,b,x)}return!1},i.tree_isAncestorOf=f,i.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=v(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},i.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},i.tree_isPreceding=function(e,g){var b=r(e),x=r(g);return b!==-1&&x!==-1&&v(e)===v(g)&&xb},i.tree_isParentOf=function(e,g){return e._parent===g},i.tree_isChildOf=function(e,g){return g._parent===e},i.tree_previousSibling=function(e){return e._previousSibling},i.tree_nextSibling=function(e){return e._nextSibling},i.tree_firstChild=function(e){return e._firstChild},i.tree_lastChild=function(e){return e._lastChild},i.tree_treePosition=r,i.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},i.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=v(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S))throw TypeError(String(S)+" is not an object");return S}},function(l,i,t){"use strict";var m=t(24),S=t(130),_=t(49),y=t(43),s=t(88),h=y.set,o=y.getterFor("Array Iterator");l.exports=s(Array,"Array",function(a,c){h(this,{type:"Array Iterator",target:m(a),index:0,kind:c})},function(){var a=o(this),c=a.target,u=a.kind,p=a.index++;return!c||p>=c.length?(a.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:c[p],done:!1}:{value:[p,c[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(l,i,t){var m=t(90),S=t(25),_=t(202);m||S(Object.prototype,"toString",_,{unsafe:!0})},function(l,i,t){var m=t(16),S=t(15),_=t(40);l.exports=m?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(l,i,t){"use strict";var m=t(137).charAt,S=t(43),_=t(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,o=s(this),a=o.string,c=o.index;return c>=a.length?{value:void 0,done:!0}:(h=m(a,c),o.index+=h.length,{value:h,done:!1})})},function(l,i,t){var m=t(11),S=t(203),_=t(19),y=t(21),s=t(5),h=s("iterator"),o=s("toStringTag"),a=_.values;for(var c in S){var u=m[c],p=u&&u.prototype;if(p){if(p[h]!==a)try{y(p,h,a)}catch{p[h]=a}if(p[o]||y(p,o,c),S[c]){for(var v in _)if(p[v]!==_[v])try{y(p,v,_[v])}catch{p[v]=_[v]}}}}},function(l,i,t){var m=t(41),S=t(35);l.exports=function(_){return m(S(_))}},function(l,i,t){var m=t(11),S=t(21),_=t(14),y=t(80),s=t(117),h=t(43),o=h.get,a=h.enforce,c=String(String).split("String");(l.exports=function(u,p,v,f){var r=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof v=="function"&&(typeof p!="string"||_(v,"name")||S(v,"name",p),a(v).source=c.join(typeof p=="string"?p:"")),u!==m?(r?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=v:S(u,p,v)):e?u[p]=v:y(p,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&o(this).source||s(this)})},function(l,i,t){var m=t(47),S=Math.min;l.exports=function(_){return _>0?S(m(_),9007199254740991):0}},function(l,i,t){var m=t(35);l.exports=function(S){return Object(m(S))}},function(l,i,t){var m=t(16),S=t(8),_=t(14),y=Object.defineProperty,s={},h=function(o){throw o};l.exports=function(o,a){if(_(s,o))return s[o];a||(a={});var c=[][o],u=!!_(a,"ACCESSORS")&&a.ACCESSORS,p=_(a,0)?a[0]:h,v=_(a,1)?a[1]:void 0;return s[o]=!!c&&!S(function(){if(u&&!m)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,c.call(f,p,v)})}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(148),S=t(149),_=t(151),y=t(98),s=t(153),h=t(154),o=t(155),a=t(99),c=t(100),u=t(156),p=t(157),v=t(101),f=t(158),r=t(159),e=t(160),g=t(161),b=t(162),x=t(163),E=t(164),w=t(165),D=t(166),T=t(167),N=t(168),I=t(169),R=t(170);i.create_domImplementation=function(k){return m.DOMImplementationImpl._create(k)},i.create_window=function(){return S.WindowImpl._create()},i.create_xmlDocument=function(){return new _.XMLDocumentImpl},i.create_document=function(){return new y.DocumentImpl},i.create_abortController=function(){return new s.AbortControllerImpl},i.create_abortSignal=function(){return h.AbortSignalImpl._create()},i.create_documentType=function(k,G,$,Y){return o.DocumentTypeImpl._create(k,G,$,Y)},i.create_element=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlUnknownElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_documentFragment=function(k){return c.DocumentFragmentImpl._create(k)},i.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},i.create_attr=function(k,G){return p.AttrImpl._create(k,G)},i.create_text=function(k,G){return v.TextImpl._create(k,G)},i.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},i.create_comment=function(k,G){return r.CommentImpl._create(k,G)},i.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},i.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},i.create_nodeList=function(k){return b.NodeListImpl._create(k)},i.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},i.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},i.create_range=function(k,G){return w.RangeImpl._create(k,G)},i.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},i.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},i.create_nodeFilter=function(){return N.NodeFilterImpl._create()},i.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},i.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(l,i,t){"use strict";var m=this&&this.__values||function(p){var v=typeof Symbol=="function"&&Symbol.iterator,f=v&&p[v],r=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&r>=p.length&&(p=void 0),{value:p&&p[r++],done:!p}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(17),y=t(3),s=t(72),h=new Map;function o(p,v){if(v!==p._root&&_.tree_isAncestorOf(p._reference,v,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,v);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(v,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(v._previousSibling===null)v._parent!==null&&(p._reference=v._parent);else{for(var r=v._previousSibling,e=_.tree_getFirstDescendantNode(v._previousSibling,!0,!1);e!==null;)e!==null&&(r=e),e=_.tree_getNextDescendantNode(v._previousSibling,e,!0,!1);p._reference=r}}}function a(p,v,f,r,e){if(y.Guard.isSlot(p)&&v==="name"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function c(p,v,f,r,e){if(y.Guard.isSlotable(p)&&v==="slot"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,v,f,r){v==="id"&&r===null&&(p._uniqueIdentifier=f||void 0)}i.dom_runRemovingSteps=function(p,v){},i.dom_runCloningSteps=function(p,v,f,r){},i.dom_runAdoptingSteps=function(p,v){},i.dom_runAttributeChangeSteps=function(p,v,f,r,e){var g,b;S.dom.features.slots&&(c.call(p,p,v,f,r,e),a.call(p,p,v,f,r,e)),u.call(p,p,v,r,e);try{for(var x=m(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,v,f,r,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},i.dom_runInsertionSteps=function(p){},i.dom_runNodeIteratorPreRemovingSteps=function(p,v){o.call(p,p,v)},i.dom_hasSupportedTokens=function(p){return h.has(p)},i.dom_getSupportedTokens=function(p){return h.get(p)||new Set},i.dom_runEventConstructingSteps=function(p){},i.dom_runChildTextContentChangeSteps=function(p){}},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(46),y=t(44),s=t(16),h=t(86),o=t(124),a=t(8),c=t(14),u=t(59),p=t(13),v=t(18),f=t(27),r=t(24),e=t(56),g=t(40),b=t(60),x=t(61),E=t(82),w=t(190),D=t(85),T=t(55),N=t(15),I=t(79),R=t(21),k=t(25),G=t(81),$=t(57),Y=t(45),z=t(58),X=t(5),H=t(125),ee=t(126),re=t(62),de=t(43),ve=t(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,M=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Me=S.QObject,je=!Me||!Me.prototype||!Me.prototype.findChild,ot=s&&a(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=o?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),v(xe);var Ce=e(be,!0);return v(Ne),c(W,Ce)?(Ne.enumerable?(c(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(c(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){v(xe);var Ne=r(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&c(W,be)&&!c(ae,be))&&(!(Ne||!c(this,be)||!c(W,be)||c(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=r(xe),Ce=e(be,!0);if(Ne!==fe||!c(W,Ce)||c(ae,Ce)){var ze=B(Ne,Ce);return!ze||!c(W,Ce)||c(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=M(r(xe)),Ne=[];return ve(be,function(Ce){c(W,Ce)||c(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=M(be?ae:r(xe)),Ce=[];return ve(Ne,function(ze){!c(W,ze)||be&&!c(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),c(this,ne)&&c(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),m({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),m({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(c(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(c(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),m({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),m({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),m({target:"Object",stat:!0,forced:a(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&m({target:"JSON",stat:!0,forced:!h||a(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(l,i,t){"use strict";var m=t(4),S=t(16),_=t(11),y=t(14),s=t(13),h=t(15).f,o=t(119),a=_.Symbol;if(S&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var c={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new a(e):e===void 0?a():a(e);return e===""&&(c[g]=!0),g};o(u,a);var p=u.prototype=a.prototype;p.constructor=u;var v=p.toString,f=String(a("test"))=="Symbol(test)",r=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=v.call(e);if(y(c,e))return"";var b=f?g.slice(7,-1):g.replace(r,"$1");return b===""?void 0:b}}),m({global:!0,forced:!0},{Symbol:u})}},function(l,i,t){t(126)("iterator")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(f,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,r)},function(f,r){function e(){this.constructor=f}m(f,r),f.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}),_=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),s=t(2),h=t(70),o=t(3),a=t(9),c=t(0),u=t(152),p=t(12),v=function(f){function r(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(r,f),Object.defineProperty(r.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=c.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeName",{get:function(){return o.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:o.Guard.isAttrNode(this)?this._qualifiedName:o.Guard.isExclusiveTextNode(this)?"#text":o.Guard.isCDATASectionNode(this)?"#cdata-section":o.Guard.isProcessingInstructionNode(this)?this._target:o.Guard.isCommentNode(this)?"#comment":o.Guard.isDocumentNode(this)?"#document":o.Guard.isDocumentTypeNode(this)?this._name:o.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isConnected",{get:function(){return o.Guard.isElementNode(this)&&c.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),r.prototype.getRootNode=function(e){return c.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(r.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parentElement",{get:function(){return this._parent&&o.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),r.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(r.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textContent",{get:function(){return o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.text_descendantTextContent(this):o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.node_stringReplaceAll(e,this):o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,c.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),r.prototype.normalize=function(){for(var e,g,b,x,E=[],w=c.tree_getFirstDescendantNode(this,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=c.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});for(var D=0;DR;R++)if((r||R in T)&&(w=N(E=T[R],R,D),a)){if(c)G[R]=w;else if(w)switch(a){case 3:return!0;case 5:return E;case 6:return R;case 2:h.call(G,E)}else if(v)return!1}return f?-1:p||v?v:G}};l.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6)}},function(l,i,t){"use strict";var m=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,R,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=m(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=m(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=m(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var R,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=m(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){R={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&r.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var ve=m(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=m(v.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;o.Guard.isDocumentNode(T)&&o.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&o.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(T))&&o.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return o.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&o.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&o.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var M=p.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,m(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=p.tree_getNextAncestorNode(T,M,!0)}y.dom.features.mutationObservers&&(N||r.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&o.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}i.mutation_ensurePreInsertionValidity=b,i.mutation_preInsert=x,i.mutation_insert=E,i.mutation_append=function(D,T){return x(D,T,null)},i.mutation_replace=function(D,T,N){var I,R,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=m(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=m(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=m(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=m(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var M=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(N,W,q,M,L),D},i.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var R=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=m(R),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(T,k,R,null,null)},i.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},i.mutation_remove=w},function(l,i,t){"use strict";function m(S){return S==null}l.exports.isNothing=m,l.exports.isObject=function(S){return typeof S=="object"&&S!==null},l.exports.toArray=function(S){return Array.isArray(S)?S:m(S)?[]:[S]},l.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},l.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},l.exports.extend=function(S,_){var y,s,h,o;if(_)for(y=0,s=(o=Object.keys(_)).length;y0?m:t)(S)}},function(l,i,t){"use strict";var m=t(8);l.exports=function(S,_){var y=[][S];return!!y&&m(function(){y.call(null,_||function(){throw 1},1)})}},function(l,i){l.exports={}},function(l,i,t){"use strict";t(31),t(32),t(33),t(220),t(64),t(19),t(65),t(20),t(68),t(66),t(92),t(144),t(22),t(94),t(23);var m=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,v,f,r,e){var g,b;try{for(var x=m(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,v,f,r,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,v){var f,r;try{for(var e=m(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,v)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(r=e.return)&&r.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,v){if(v&&!a.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(v&&(!a.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,v){if(v&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(v&&(!a.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,v){if(v&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,v,f,r,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=m(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=v.get(N.prefix,I),I===o.namespace.XMLNS){if(N.value===o.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in r)||r[N.localName]!==N.value)&&v.has(N.localName,N.value))continue;if(g&&N.value===o.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||v.hasPrefix(N.prefix)&&!v.has(N.prefix,I)?this._generatePrefix(I,v,f):N.prefix,E.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!a.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,v){var f,r,e=[],g=v?{}:void 0;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(v){if(v&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(v&&g&&(g[E.localName]=!0),v&&(E.localName.indexOf(":")!==-1||!a.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,v,f){var r,e,g=null;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===o.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===o.namespace.XML||(N===""&&(N=null),v.has(T,N)))continue;v.set(T,N),f[T]=N||""}}}catch(I){r={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},u.prototype._generatePrefix=function(p,v,f){var r="ns"+f.value.toString();return f.value++,v.set(r,p),r},u.prototype._serializeAttributeValue=function(p,v){if(v&&p!==null&&!a.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();i.BaseWriter=c},function(l,i,t){"use strict";var m=this&&this.__values||function(v){var f=typeof Symbol=="function"&&Symbol.iterator,r=f&&v[f],e=0;if(r)return r.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&e>=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),y=t(3),s=t(7),h=t(29),o=t(17),a=t(97);function c(){var v=_.dom.window;v._mutationObserverMicrotaskQueued||(v._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var v,f,r,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(R){var k=s.list.clone(R._recordQueue);s.list.empty(R._recordQueue);for(var G=0;G"+f+"<\/script>"},v=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,r;v=m?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(m):((r=o("iframe")).style.display="none",h.appendChild(r),r.src="javascript:",(f=r.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete v.prototype[y[e]];return v()};s[c]=!0,l.exports=Object.create||function(f,r){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[c]=f):e=v(),r===void 0?e:_(e,r)}},function(l,i,t){var m=t(121),S=t(84);l.exports=Object.keys||function(_){return m(_,S)}},function(l,i,t){var m=t(15).f,S=t(14),_=t(5)("toStringTag");l.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&m(y,_,{configurable:!0,value:s})}},function(l,i,t){var m=t(8),S=t(5),_=t(129),y=S("species");l.exports=function(s){return _>=51||!m(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(l,i,t){"use strict";var m=t(4),S=t(122).indexOf,_=t(48),y=t(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,o=_("indexOf"),a=y("indexOf",{ACCESSORS:!0,1:0});m({target:"Array",proto:!0,forced:h||!o||!a},{indexOf:function(c){return h?s.apply(this,arguments)||0:S(this,c,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(16),S=t(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;m&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(l,i,t){"use strict";var m=t(25),S=t(18),_=t(8),y=t(136),s=RegExp.prototype,h=s.toString,o=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),a=h.name!="toString";(o||a)&&m(RegExp.prototype,"toString",function(){var c=S(this),u=String(c.source),p=c.flags;return"/"+u+"/"+String(p===void 0&&c instanceof RegExp&&!("flags"in s)?y.call(c):p)},{unsafe:!0})},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(138),t(20),t(66),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(1),s=t(2),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(c,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},a.prototype._process=function(c,u){var p,v,f,r,e,g,b;if(c.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;u[v+(r++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?v+(r++).toString():v]=c;return r},a.prototype.beginElement=function(c){var u,p,v=[];if(this._currentList.length===0)this._currentList.push(((u={})[c]=v,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,c)?f[c].length!==0&&y.isArray(f[c][0])?f[c].push(v):f[c]=[f[c],v]:this._currentList.push(((p={})[c]=v,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=v:this._listRegister.push(v),this._currentList=v},a.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},a.prototype.attribute=function(c,u){var p,v;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[c]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][c]=u:this._currentList.push({"@":(v={},v[c]=u,v)})}},a.prototype.comment=function(c){if(this._currentList.length===0)this._currentList.push({"!":c});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(c):u["!"]=[u["!"],c]:this._currentList.push({"!":c})}},a.prototype.text=function(c){if(this._currentList.length===0)this._currentList.push({"#":c});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(c):u["#"]=[u["#"],c]:this._currentList.push({"#":c})}},a.prototype.instruction=function(c,u){var p=u===""?c:c+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var v=this._currentList[this._currentList.length-1];this._isInstructionNode(v)?y.isArray(v["?"])?v["?"].push(p):v["?"]=[v["?"],p]:this._currentList.push({"?":p})}},a.prototype.cdata=function(c){if(this._currentList.length===0)this._currentList.push({$:c});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(c):u.$=[u.$,c]:this._currentList.push({$:c})}},a.prototype._isAttrNode=function(c){return"@"in c},a.prototype._isTextNode=function(c){return"#"in c},a.prototype._isCommentNode=function(c){return"!"in c},a.prototype._isInstructionNode=function(c){return"?"in c},a.prototype._isCDATANode=function(c){return"$"in c},a.prototype._isElementNode=function(c,u){return u in c},a.prototype._getAttrKey=function(){return this._builderOptions.convert.att},a.prototype._getNodeKey=function(c){switch(c){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},a}(t(50).BaseWriter);i.ObjectWriter=h},function(l,i,t){"use strict";var m=t(4),S=t(93);m({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();i.LocalNameSet=m},function(l,i,t){"use strict";var m=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v};Object.defineProperty(i,"__esModule",{value:!0});var S=t(9),_=t(3),y=t(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(o,a,c){c===void 0&&(c={passive:!1,once:!1,capture:!1});var u,p=m(y.eventTarget_flattenMore(c),3),v=p[0],f=p[1],r=p[2];a&&(u=_.Guard.isEventListener(a)?a:{handleEvent:a},y.eventTarget_addEventListener(this,{type:o,callback:u,capture:v,passive:f,once:r,removed:!1}))},h.prototype.removeEventListener=function(o,a,c){c===void 0&&(c={capture:!1});var u=y.eventTarget_flatten(c);if(a)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,r){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(r===void 0||r-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],r=0;r",amp:"&",quot:'"',apos:"'"},_}();i.BaseReader=S},function(l,i,t){"use strict";var m=t(39);l.exports=m.DEFAULT=new m({include:[t(54)],explicit:[t(299),t(300),t(301)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(185);i.XMLBuilderImpl=m.XMLBuilderImpl;var S=t(304);i.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=t(183);i.builder=_.builder,i.create=_.create,i.fragment=_.fragment,i.convert=_.convert;var y=t(309);i.createCB=y.createCB,i.fragmentCB=y.fragmentCB},function(l,i){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}l.exports=t},function(l,i,t){"use strict";var m={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!m.call({1:2},1);i.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:m},function(l,i,t){var m=t(11),S=t(21);l.exports=function(_,y){try{S(m,_,y)}catch{m[_]=y}return y}},function(l,i,t){var m=t(44),S=t(118);(l.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:m?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(l,i,t){var m=t(121),S=t(84).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(_){return m(_,S)}},function(l,i,t){var m=t(47),S=Math.max,_=Math.min;l.exports=function(y,s){var h=m(y);return h<0?S(h+s,0):_(h,s)}},function(l,i){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(l,i){i.f=Object.getOwnPropertySymbols},function(l,i,t){var m=t(8);l.exports=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())})},function(l,i,t){var m=t(127);l.exports=function(S,_,y){if(m(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,o){return S.call(_,s,h,o)}}return function(){return S.apply(_,arguments)}}},function(l,i,t){"use strict";var m=t(4),S=t(195),_=t(132),y=t(133),s=t(62),h=t(21),o=t(25),a=t(5),c=t(44),u=t(49),p=t(131),v=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,r=a("iterator"),e=function(){return this};l.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,R,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[r]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),v!==Object.prototype&&N.next&&(c||_(N)===v||(y?y(N,v):typeof N[r]!="function"&&h(N,r,e)),s(N,G,!0,!0),c&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),c&&!T||Y[r]===X||h(Y,r,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(R in I)(f||$||!(R in Y))&&o(Y,R,I[R]);else m({target:b,proto:!0,forced:f||$},I);return I}},function(l,i,t){"use strict";var m=t(4),S=t(13),_=t(59),y=t(83),s=t(26),h=t(24),o=t(134),a=t(5),c=t(63),u=t(28),p=c("slice"),v=u("slice",{ACCESSORS:!0,0:0,1:2}),f=a("species"),r=[].slice,e=Math.max;m({target:"Array",proto:!0,forced:!p||!v},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return r.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),a&&(v=g.lastIndex),r=s.call(b?f:g,D),b?r?(r.input=r.input.slice(w),r[0]=r[0].slice(w),r.index=g.lastIndex,g.lastIndex+=r[0].length):g.lastIndex=0:a&&r&&(g.lastIndex=g.global?r.index+r[0].length:v),u&&r&&r.length>1&&h.call(r[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;m("replace",2,function(r,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),R=T?.[r];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=a(R,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(R.lastIndex=o(k,y(R.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,R,k,G){var $=I+T.length,Y=R.length,z=f;return k!==void 0&&(k=_(k),z=v),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?R[de-1]===void 0?H.charAt(1):R[de-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,o=0;o=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,R,N,k),I._type=ee}}}function x(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(i,"__esModule",{value:!0});var s=t(6),h=t(2),o=t(9),a=t(34),c=t(3),u=t(1),p=t(7),v=t(152),f=t(0),r=t(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return v.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(c.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new o.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new o.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new o.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),c.Guard.isDocumentNode(x)||c.Guard.isShadowRoot(x))throw new o.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(c.Guard.isDocumentNode(x))throw new o.NotSupportedError;if(c.Guard.isShadowRoot(x))throw new o.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new o.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var s=t(2),h=t(34),o=t(9),a=t(7),c=t(0),u=t(12),p=function(v){function f(){var r=v.call(this)||this;return r._children=new Set,r._namespace=null,r._namespacePrefix=null,r._localName="",r._customElementState="undefined",r._customElementDefinition=null,r._is=null,r._shadowRoot=null,r._attributeList=c.create_namedNodeMap(r),r._attributeChangeSteps=[],r._name="",r._assignedSlot=null,r}return S(f,v),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return c.element_getAnAttributeValue(this,"id")},set:function(r){c.element_setAnAttributeValue(this,"id",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return c.element_getAnAttributeValue(this,"class")},set:function(r){c.element_setAnAttributeValue(this,"class",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var r=c.element_getAnAttributeByName("class",this);return r===null&&(r=c.create_attr(this._nodeDocument,"class")),c.create_domTokenList(this,r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return c.element_getAnAttributeValue(this,"slot")},set:function(r){c.element_setAnAttributeValue(this,"slot",r)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var r,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},f.prototype.getAttribute=function(r){var e=c.element_getAnAttributeByName(r,this);return e?e._value:null},f.prototype.getAttributeNS=function(r,e){var g=c.element_getAnAttributeByNamespaceAndLocalName(r,e,this);return g?g._value:null},f.prototype.setAttribute=function(r,e){if(!c.xml_isName(r))throw new o.InvalidCharacterError;this._namespace===a.namespace.HTML&&this._nodeDocument._type==="html"&&(r=r.toLowerCase());for(var g=null,b=0;b=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(2),s=t(71),h=t(0),o=t(12),a=function(c){function u(p){p===void 0&&(p="");var v=c.call(this,p)||this;return v._name="",v._assignedSlot=null,v}return S(u,c),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,v,f="";try{for(var r=_(h.text_contiguousTextNodes(this,!0)),e=r.next();!e.done;e=r.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(v=r.return)&&v.call(r)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,v){v===void 0&&(v="");var f=new u(v);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);i.TextImpl=a,o.idl_defineConst(a.prototype,"_nodeType",y.NodeType.Text)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();i.AbstractRangeImpl=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=m.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();i.TraverserImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(0),_=t(12),y=function(){function s(h,o){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=m.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,o&&(this._bubbles=o.bubbles||!1,this._cancelable=o.cancelable||!1,this._composedFlag=o.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],o=this._path;if(o.length===0)return h;var a=this._currentTarget;if(a===null)throw new Error("Event currentTarget is null.");h.push(a);for(var c=0,u=0,p=o.length-1;p>=0;){if(o[p].rootOfClosedTree&&u++,o[p].invocationTarget===a){c=p;break}o[p].slotInClosedTree&&u--,p--}var v=u,f=u;for(p=c-1;p>=0;)o[p].rootOfClosedTree&&v++,v<=f&&h.unshift(o[p].invocationTarget),o[p].slotInClosedTree&&--v0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),y=t(3),s=t(1),h=t(99),o=t(73),a=t(17),c=t(173),u=t(30),p=t(52),v=t(37);i.document_elementInterface=function(f,r){return h.ElementImpl},i.document_internalCreateElementNS=function(f,r,e,g){var b=m(c.namespace_validateAndExtract(r,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},i.document_adopt=function(f,r){var e,g;if(f._nodeDocument!==r||f._parent!==null){var b=f._nodeDocument;if(f._parent&&v.mutation_remove(f,f._parent),r!==b)for(var x=a.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=r,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=r}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&o.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,r]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=a.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(l,i,t){"use strict";var m=this&&this.__values||function(a){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&a[c],p=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&p>=a.length&&(a=void 0),{value:a&&a[p++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(9),s=t(17),h=t(51),o=t(30);i.characterData_replaceData=function(a,c,u,p){var v,f,r=s.tree_nodeLength(a);if(c>r)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+r+", Node is "+a.nodeName+".");c+u>r&&(u=r-c),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",a,null,null,a._data,[],[],null,null);var e=a._data.substring(0,c)+p+a._data.substring(c+u);a._data=e;try{for(var g=m(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===a&&x._start[1]>c&&x._start[1]<=c+u&&(x._start[1]=c),x._end[0]===a&&x._end[1]>c&&x._end[1]<=c+u&&(x._end[1]=c),x._start[0]===a&&x._start[1]>c+u&&(x._start[1]+=p.length-u),x._end[0]===a&&x._end[1]>c+u&&(x._end[1]+=p.length-u)}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}S.dom.features.steps&&_.Guard.isTextNode(a)&&a._parent!==null&&o.dom_runChildTextContentChangeSteps(a._parent)},i.characterData_substringData=function(a,c,u){var p=s.tree_nodeLength(a);if(c>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+p+", Node is "+a.nodeName+".");return c+u>p?a._data.substr(c):a._data.substr(c,u)}},function(l,i,t){"use strict";var m=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var o=[],a=0;a=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(7);function s(o){var a=y.string.splitAStringOnASCIIWhitespace(o);return new Set(a)}function h(o){return S(o).join(" ")}i.orderedSet_parse=s,i.orderedSet_serialize=h,i.orderedSet_sanitize=function(o){return h(s(o))},i.orderedSet_contains=function(o,a,c){var u,p,v,f;try{for(var r=_(a),e=r.next();!e.done;e=r.next()){var g=e.value,b=!1;try{for(var x=(v=void 0,_(o)),E=x.next();!E.done;E=x.next()){var w=E.value;if(c){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){v={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(v)throw v.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=r.return)&&p.call(r)}finally{if(u)throw u.error}}return!0}},function(l,i,t){"use strict";t(179),Object.defineProperty(i,"__esModule",{value:!0});var m=t(262),S=t(110),_=t(1);S.dom.setFeatures(!1),i.createDocument=function(){var y=new m.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},i.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var o=0;o=32&&a<=55295||a>=57344&&a<=65533)h+=y.charAt(o);else if(a>=55296&&a<=56319&&o=56320&&c<=57343?(a=1024*(a-55296)+c-56320+65536,h+=String.fromCodePoint(a),o++):h+=_.isString(s)?s:s(y.charAt(o),o,y)}else h+=_.isString(s)?s:s(y.charAt(o),o,y)}return h}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(153);i.AbortController=S.AbortControllerImpl;var _=t(154);i.AbortSignal=_.AbortSignalImpl;var y=t(102);i.AbstractRange=y.AbstractRangeImpl;var s=t(157);i.Attr=s.AttrImpl;var h=t(158);i.CDATASection=h.CDATASectionImpl;var o=t(71);i.CharacterData=o.CharacterDataImpl;var a=t(263),c=t(159);i.Comment=c.CommentImpl;var u=t(171);i.CustomEvent=u.CustomEventImpl;var p=t(100);i.DocumentFragment=p.DocumentFragmentImpl;var v=t(98);i.Document=v.DocumentImpl;var f=t(264),r=t(155);i.DocumentType=r.DocumentTypeImpl;var e=t(6);i.dom=e.dom;var g=t(148);i.DOMImplementation=g.DOMImplementationImpl;var b=t(170);i.DOMTokenList=b.DOMTokenListImpl;var x=t(99);i.Element=x.ElementImpl;var E=t(104);i.Event=E.EventImpl;var w=t(70);i.EventTarget=w.EventTargetImpl;var D=t(161);i.HTMLCollection=D.HTMLCollectionImpl;var T=t(265);i.MutationObserver=T.MutationObserverImpl;var N=t(169);i.MutationRecord=N.MutationRecordImpl;var I=t(164);i.NamedNodeMap=I.NamedNodeMapImpl;var R=t(168);i.NodeFilter=R.NodeFilterImpl;var k=t(34);i.Node=k.NodeImpl;var G=t(166);i.NodeIterator=G.NodeIteratorImpl;var $=t(162);i.NodeList=$.NodeListImpl;var Y=t(163);i.NodeListStatic=Y.NodeListStaticImpl;var z=t(266),X=t(267),H=t(268),ee=t(160);i.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=t(165);i.Range=re.RangeImpl;var de=t(156);i.ShadowRoot=de.ShadowRootImpl;var ve=t(269),ne=t(270);i.StaticRange=ne.StaticRangeImpl;var Q=t(101);i.Text=Q.TextImpl;var ie=t(103);i.Traverser=ie.TraverserImpl;var le=t(167);i.TreeWalker=le.TreeWalkerImpl;var fe=t(149);i.Window=fe.WindowImpl;var P=t(151);i.XMLDocument=P.XMLDocumentImpl,m.applyMixin(x.ElementImpl,a.ChildNodeImpl),m.applyMixin(o.CharacterDataImpl,a.ChildNodeImpl),m.applyMixin(r.DocumentTypeImpl,a.ChildNodeImpl),m.applyMixin(v.DocumentImpl,f.DocumentOrShadowRootImpl),m.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),m.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(o.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(v.DocumentImpl,X.NonElementParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),m.applyMixin(v.DocumentImpl,H.ParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),m.applyMixin(x.ElementImpl,H.ParentNodeImpl),m.applyMixin(Q.TextImpl,ve.SlotableImpl),m.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.EOF=0]="EOF",m[m.Declaration=1]="Declaration",m[m.DocType=2]="DocType",m[m.Element=3]="Element",m[m.Text=4]="Text",m[m.CDATA=5]="CDATA",m[m.PI=6]="PI",m[m.Comment=7]="Comment",m[m.ClosingTag=8]="ClosingTag"}(i.TokenType||(i.TokenType={}))},function(l,i,t){"use strict";t(64),t(20),t(66);var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){var c=this,u=this._builderOptions,p=null;return _.isFunction(a)?p=this.parse(o,a.apply(this)):_.isArray(a)||_.isSet(a)?_.forEachArray(a,function(v){return p=c.parse(o,v)},this):_.isMap(a)||_.isObject(a)?_.forEachObject(a,function(v,f){if(_.isFunction(f)&&(f=f.apply(c)),u.ignoreConverters||v.indexOf(u.convert.att)!==0)if(u.ignoreConverters||v.indexOf(u.convert.text)!==0)if(u.ignoreConverters||v.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||v.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||v.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=c.element(o,void 0,c.sanitize(v))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[v]=x,p=c.parse(o,E)},c);else if(_.isMap(f)||_.isObject(f))(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.parse(r,f));else if(f!=null&&f!==""){var r;(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.text(r,c._decodeText(c.sanitize(f))))}else p=c.element(o,void 0,c.sanitize(v))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=c.instruction(o,c.sanitize(g),c.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=c.instruction(o,c.sanitize(w),c.sanitize(D))||p},c):_.forEachObject(f,function(x,E){return p=c.instruction(o,c.sanitize(x),c.sanitize(E))||p},c);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.comment(o,c.sanitize(x))||p},c):p=c.comment(o,c.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.cdata(o,c.sanitize(x))||p},c):p=c.cdata(o,c.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?c.parse(o,f):c.text(o,c._decodeText(c.sanitize(f)))||p;else if(v===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+o._debugInfo());_.forEachObject(f,function(x,E){p=c.attribute(o,void 0,c.sanitize(x),c._decodeAttributeValue(c.sanitize(E)))||p})}else p=c.attribute(o,void 0,c.sanitize(v.substr(u.convert.att.length)),c._decodeAttributeValue(c.sanitize(f)))||p},this):(u.keepNullNodes||a!=null)&&(p=this.text(o,this._decodeText(this.sanitize(a)))||p),p||o},h}(t(75).BaseReader);i.ObjectReader=y},function(l,i,t){"use strict";var m=t(39);l.exports=new m({explicit:[t(286),t(287),t(288)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};i.BaseCBWriter=m},function(l,i,t){var m=t(16),S=t(8),_=t(116);l.exports=!m&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(l,i,t){var m=t(11),S=t(13),_=m.document,y=S(_)&&S(_.createElement);l.exports=function(s){return y?_.createElement(s):{}}},function(l,i,t){var m=t(118),S=Function.toString;typeof m.inspectSource!="function"&&(m.inspectSource=function(_){return S.call(_)}),l.exports=m.inspectSource},function(l,i,t){var m=t(11),S=t(80),_=m["__core-js_shared__"]||S("__core-js_shared__",{});l.exports=_},function(l,i,t){var m=t(14),S=t(187),_=t(55),y=t(15);l.exports=function(s,h){for(var o=S(h),a=y.f,c=_.f,u=0;uc;)m(a,o=h[c++])&&(~_(u,o)||u.push(o));return u}},function(l,i,t){var m=t(24),S=t(26),_=t(83),y=function(s){return function(h,o,a){var c,u=m(h),p=S(u.length),v=_(a,p);if(s&&o!=o){for(;p>v;)if((c=u[v++])!=c)return!0}else for(;p>v;v++)if((s||v in u)&&u[v]===o)return s||v||0;return!s&&-1}};l.exports={includes:y(!0),indexOf:y(!1)}},function(l,i,t){var m=t(8),S=/#|\.prototype\./,_=function(a,c){var u=s[y(a)];return u==o||u!=h&&(typeof c=="function"?m(c):!!c)},y=_.normalize=function(a){return String(a).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",o=_.POLYFILL="P";l.exports=_},function(l,i,t){var m=t(86);l.exports=m&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(l,i,t){var m=t(5);i.f=m},function(l,i,t){var m=t(120),S=t(14),_=t(125),y=t(15).f;l.exports=function(s){var h=m.Symbol||(m.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(l,i){l.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},function(l,i,t){var m=t(13),S=t(59),_=t(5)("species");l.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?m(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(l,i,t){var m,S,_=t(11),y=t(193),s=_.process,h=s&&s.versions,o=h&&h.v8;o?S=(m=o.split("."))[0]+m[1]:y&&(!(m=y.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=y.match(/Chrome\/(\d+)/))&&(S=m[1]),l.exports=S&&+S},function(l,i,t){var m=t(5),S=t(60),_=t(15),y=m("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),l.exports=function(h){s[y][h]=!0}},function(l,i,t){"use strict";var m,S,_,y=t(132),s=t(21),h=t(14),o=t(5),a=t(44),c=o("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(m=S):u=!0),m==null&&(m={}),a||h(m,c)||s(m,c,function(){return this}),l.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:u}},function(l,i,t){var m=t(14),S=t(27),_=t(57),y=t(196),s=_("IE_PROTO"),h=Object.prototype;l.exports=y?Object.getPrototypeOf:function(o){return o=S(o),m(o,s)?o[s]:typeof o.constructor=="function"&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?h:null}},function(l,i,t){var m=t(18),S=t(197);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,o){return m(h),S(o),y?_.call(h,o):h.__proto__=o,h}}():void 0)},function(l,i,t){"use strict";var m=t(56),S=t(15),_=t(40);l.exports=function(y,s,h){var o=m(s);o in y?S.f(y,o,_(0,h)):y[o]=h}},function(l,i,t){var m=t(90),S=t(42),_=t(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";l.exports=m?S:function(s){var h,o,a;return s===void 0?"Undefined":s===null?"Null":typeof(o=function(c,u){try{return c[u]}catch{}}(h=Object(s),_))=="string"?o:y?S(h):(a=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},function(l,i,t){"use strict";var m=t(18);l.exports=function(){var S=m(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(l,i,t){var m=t(47),S=t(35),_=function(y){return function(s,h){var o,a,c=String(S(s)),u=m(h),p=c.length;return u<0||u>=p?y?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===p||(a=c.charCodeAt(u+1))<56320||a>57343?y?c.charAt(u):o:y?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};l.exports={codeAt:_(!1),charAt:_(!0)}},function(l,i,t){var m=t(4),S=t(27),_=t(61);m({target:"Object",stat:!0,forced:t(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(123),y=t(25),s=t(140),h=t(141),o=t(142),a=t(13),c=t(8),u=t(208),p=t(62),v=t(209);l.exports=function(f,r,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!a(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!c(function(){new E().entries().next()}))))D=e.getConstructor(r,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,R=I[x](b?{}:-0,1)!=I,k=c(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&c(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=r(function(Y,z){o(Y,D,f);var X=v(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,m({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(l,i,t){var m=t(45),S=t(13),_=t(14),y=t(15).f,s=t(58),h=t(204),o=s("meta"),a=0,c=Object.isExtensible||function(){return!0},u=function(v){y(v,o,{value:{objectID:"O"+ ++a,weakData:{}}})},p=l.exports={REQUIRED:!1,fastKey:function(v,f){if(!S(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!_(v,o)){if(!c(v))return"F";if(!f)return"E";u(v)}return v[o].objectID},getWeakData:function(v,f){if(!_(v,o)){if(!c(v))return!0;if(!f)return!1;u(v)}return v[o].weakData},onFreeze:function(v){return h&&p.REQUIRED&&c(v)&&!_(v,o)&&u(v),v}};m[o]=!0},function(l,i,t){var m=t(18),S=t(205),_=t(26),y=t(87),s=t(206),h=t(207),o=function(a,c){this.stopped=a,this.result=c};(l.exports=function(a,c,u,p,v){var f,r,e,g,b,x,E,w=y(c,u,p?2:1);if(v)f=a;else{if(typeof(r=s(a))!="function")throw TypeError("Target is not iterable");if(S(r)){for(e=0,g=_(a.length);g>e;e++)if((b=p?w(m(E=a[e])[0],E[1]):w(a[e]))&&b instanceof o)return b;return new o(!1)}f=r.call(a)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof o)return b;return new o(!1)}).stop=function(a){return new o(!0,a)}},function(l,i){l.exports=function(t,m,S){if(!(t instanceof m))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return t}},function(l,i,t){"use strict";var m=t(15).f,S=t(60),_=t(210),y=t(87),s=t(142),h=t(141),o=t(88),a=t(211),c=t(16),u=t(140).fastKey,p=t(43),v=p.set,f=p.getterFor;l.exports={getConstructor:function(r,e,g,b){var x=r(function(T,N){s(T,x,e),v(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),c||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var R,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),c?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,R=E(T),k=u(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,c?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),c?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),R=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),c&&m(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(r,e,g){var b=e+" Iterator",x=f(e),E=f(b);o(r,e,function(w,D){v(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),a(e)}}},function(l,i,t){"use strict";var m,S=t(4),_=t(55).f,y=t(26),s=t(222),h=t(35),o=t(224),a=t(44),c="".endsWith,u=Math.min,p=o("endsWith");S({target:"String",proto:!0,forced:!!(a||p||(m=_(String.prototype,"endsWith"),!m||m.writable))&&!p},{endsWith:function(v){var f=String(h(this));s(v);var r=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=r===void 0?e:u(y(r),e),b=String(v);return c?c.call(f,b,g):f.slice(g-b.length,g)===b}})},function(l,i,t){"use strict";(function(m){var S=t(229),_=t(230),y=t(231);function s(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(o.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function r(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return R(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,M){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=M?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(M)return-1;B=P.length-1}else if(B<0){if(!M)return-1;B=0}if(typeof C=="string"&&(C=o.from(C,L)),o.isBuffer(C))return C.length===0?-1:b(P,C,B,L,M);if(typeof C=="number")return C&=255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,M);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,M){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(M){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Me=!0,je=0;jeM&&(L=M):L=M;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function R(P,C,B){B=Math.min(P.length,B);for(var L=[],M=C;M239?4:ge>223?3:ge>191?2:1;if(M+Me<=B)switch(Me){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[M+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[M+1],W=P[M+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[M+1],W=P[M+2],ae=P[M+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Me=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),M+=Me}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},o.prototype.compare=function(P,C,B,L,M){if(!o.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),M===void 0&&(M=this.length),C<0||B>P.length||L<0||M>this.length)throw new RangeError("out of range index");if(L>=M&&C>=B)return 0;if(L>=M)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(M>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,M),ge=P.slice(C,B),Ae=0;AeM)&&(B=M),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var M=C;ML)&&(B=L);for(var M="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,M,q){if(!o.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>M||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var M=0,q=Math.min(P.length-B,2);M>>8*(L?M:1-M)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var M=0,q=Math.min(P.length-B,4);M>>8*(L?M:3-M)&255}function re(P,C,B,L,M,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,M){return M||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,M){return M||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}o.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(M*=256);)L+=this[P+--C]*M;return L},o.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},o.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},o.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},o.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},o.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},o.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],M=1,q=0;++q=(M*=128)&&(L-=Math.pow(2,8*C)),L},o.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,M=1,q=this[P+--L];L>0&&(M*=256);)q+=this[P+--L]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*C)),q},o.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},o.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},o.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},o.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},o.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},o.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},o.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},o.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var M=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+M]=P/q&255;return C+B},o.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},o.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},o.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},o.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},o.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},o.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},o.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},o.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},o.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},o.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},o.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--M)P[M+C]=this[M+B];else if(q<1e3||!o.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!M){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}M=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),M=B;continue}B=65536+(M-55296<<10|B-56320)}else M&&(C-=3)>-1&&q.push(239,191,189);if(M=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var M=0;M=C.length||M>=P.length);++M)C[M+B]=P[M];return M}}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isASCIIByte=function(m){return m>=0&&m<=127}},function(l,i,t){"use strict";var m=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,o,a=s.call(_),c=[];try{for(;(y===void 0||y-- >0)&&!(h=a.next()).done;)c.push(h.value)}catch(u){o={error:u}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return c},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},i.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},i.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],o=y[s];if(h>=65&&h<=90&&(h+=32),o>=65&&o<=90&&(o+=32),h!==o)return!1}return!0},i.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},i.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],o=y[s];if(ho)return!1;s++}},i.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(6),S=t(7),_=t(0),y=t(12),s=function(){function h(o){this._associatedDocument=o||m.dom.window.document}return h.prototype.createDocumentType=function(o,a,c){return _.namespace_validate(o),_.create_documentType(this._associatedDocument,o,a,c)},h.prototype.createDocument=function(o,a,c){c===void 0&&(c=null);var u=_.create_xmlDocument(),p=null;return a&&(p=_.document_internalCreateElementNS(u,o,a)),c&&u.appendChild(c),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,o===S.namespace.HTML?u._contentType="application/xhtml+xml":o===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(o){var a=_.create_document();a._type="html",a._contentType="text/html",a.appendChild(_.create_documentType(a,"html","",""));var c=_.element_createAnElement(a,"html",S.namespace.HTML);a.appendChild(c);var u=_.element_createAnElement(a,"head",S.namespace.HTML);if(c.appendChild(u),o!==void 0){var p=_.element_createAnElement(a,"title",S.namespace.HTML);u.appendChild(p);var v=_.create_text(a,o);p.appendChild(v)}var f=_.element_createAnElement(a,"body",S.namespace.HTML);return c.appendChild(f),a._origin=this._associatedDocument._origin,a},h.prototype.hasFeature=function(){return!0},h._create=function(o){return new h(o)},h}();i.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),y=t(1),s=t(0),h=function(o){function a(){var c=o.call(this)||this;return c._signalSlots=new Set,c._mutationObserverMicrotaskQueued=!1,c._mutationObservers=new Set,c._iteratorList=new y.FixedSizeSet,c._associatedDocument=s.create_document(),c}return S(a,o),Object.defineProperty(a.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),a._create=function(){return new a},a}(_.EventTargetImpl);i.WindowImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===m.NodeType.Text||s===m.NodeType.ProcessingInstruction||s===m.NodeType.Comment||s===m.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===m.NodeType.Text||y._nodeType===m.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();i.Guard=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(t(98).DocumentImpl);i.XMLDocumentImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(L){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&L[M],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,M){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(i,"__esModule",{value:!0});var _,y=t(1),s=t(243),h=t(7),o=t(244),a={ftp:21,file:null,http:80,https:443,ws:80,wss:443},c=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,r=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in a}function x(L){return b(L.scheme)}function E(L){return a[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,M){var q,W;M===void 0&&(M=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=m(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),M||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var M="",q=L,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(L){for(var M="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Me=!1,je=0;je<8;je++)Me&&L[je]===0||(Me&&(Me=!1),q!==je?(M+=L[je].toString(16),je!==7&&(M+=":")):(M+=je===0?"::":":",Me=!0));return M}function R(L,M,q,W,ae){var me,ge,Ae,Me;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;M===void 0&&(M=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&M!==null&&M.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=M.scheme,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):M.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,se.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,m(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,v);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(se.c()){case"":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=h.list.clone(M.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(M===null||M.scheme!=="file"||X(se.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),c)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,m(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Me=Et.return)&&Me.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var M=L.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(L){var M=L.path;M.length!==0&&(L.scheme==="file"&&M.length===1&&Y(M[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,M){if(M===void 0&&(M=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(M)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||r.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,M){M===void 0&&(M={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(M.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(M.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var M,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Me=m(ge),je=Me.next();!je.done;je=Me.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){M={error:Fe}}finally{try{je&&!je.done&&(q=Me.return)&&q.call(Me)}finally{if(M)throw M.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=m(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var M,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Me=0;me.c()!=="";){var je=null;if(Me>0){if(!(me.c()==="."&&Me<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Me!==2&&Me!==4||W++}if(Me!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)M=S([q[ae+Ye-1],q[W]],2),q[W]=M[0],q[ae+Ye-1]=M[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=m(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,c)}catch(ge){M={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var M=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||M(L[ae+1])&&M(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,M){var q,W;if(!M.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=m(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Me){q={error:Me}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var M,q,W,ae,me=[],ge=[];try{for(var Ae=m(L),Me=Ae.next();!Me.done;Me=Ae.next()){var je=Me.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){M={error:be}}finally{try{Me&&!Me.done&&(q=Ae.return)&&q.call(Ae)}finally{if(M)throw M.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=m(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){M={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function B(L,M){M===void 0&&(M=!1);var q=o.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}i.setValidationErrorCallback=function(L){_=L},i.newURL=g,i.isSpecialScheme=b,i.isSpecial=x,i.defaultPort=E,i.includesCredentials=w,i.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},i.urlSerializer=D,i.hostSerializer=T,i.iPv4Serializer=N,i.iPv6Serializer=I,i.urlParser=function(L,M,q){var W=R(L,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},i.basicURLParser=R,i.setTheUsername=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},i.setThePassword=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},i.isSingleDotPathSegment=k,i.isDoubleDotPathSegment=G,i.shorten=$,i.isNormalizedWindowsDriveLetter=Y,i.isWindowsDriveLetter=z,i.startsWithAWindowsDriveLetter=X,i.hostParser=H,i.iPv4NumberParser=ee,i.iPv4Parser=re,i.iPv6Parser=de,i.opaqueHostParser=ve,i.resolveABlobURL=ne,i.percentEncode=Q,i.percentDecode=ie,i.stringPercentDecode=le,i.utf8PercentEncode=fe,i.hostEquals=function(L,M){return L===M},i.urlEquals=function(L,M,q){return q===void 0&&(q=!1),D(L,q)===D(M,q)},i.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},i.urlEncodedParser=P,i.urlEncodedByteSerializer=C,i.urlEncodedSerializer=function(L,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=m(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Me=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Me+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},i.origin=function L(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return s.OpaqueOrigin}},i.domainToASCII=B,i.domainToUnicode=function(L,M){M===void 0&&(M=!1);var q=o.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},i.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var M=L[0]+"://"+T(L[1]);return L[2]!==null&&(M+=":"+L[2].toString()),M}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(0),S=function(){function _(){this._signal=m.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){m.abort_signalAbort(this._signal)},_}();i.AbortControllerImpl=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),y=t(0),s=function(h){function o(){var a=h.call(this)||this;return a._abortedFlag=!1,a._abortAlgorithms=new Set,a}return S(o,h),Object.defineProperty(o.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(a){y.event_setterEventHandlerIDLAttribute(this,"onabort",a)},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);i.AbortSignalImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),y=t(34),s=t(12),h=function(o){function a(c,u,p){var v=o.call(this)||this;return v._name="",v._publicId="",v._systemId="",v._name=c,v._publicId=u,v._systemId=p,v}return S(a,o),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),a.prototype.before=function(){for(var c=[],u=0;u=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),y=t(0),s=function(){function h(o){return this._live=!0,this._filter=null,this._length=0,this._root=o,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(o){if(o<0||o>this.length-1)return null;if(o=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(o){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var o=0;return{next:function(){return o===this.length?{done:!0,value:null}:{done:!1,value:o++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator]();return{next:function(){return o.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator](),a=0;return{next:function(){var c=o.next();return c.done?{done:!0,value:null}:{done:!1,value:[a++,c.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,o){var a,c;o===void 0&&(o=S.dom.window);var u=0;try{for(var p=m(this._items),v=p.next();!v.done;v=p.next()){var f=v.value;h.call(o,f,u++,this)}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}},s.prototype.get=function(h,o,a){if(!_.isString(o))return Reflect.get(h,o,a);var c=Number(o);return isNaN(c)?Reflect.get(h,o,a):h._items[c]||void 0},s.prototype.set=function(h,o,a,c){if(!_.isString(o))return Reflect.set(h,o,a,c);var u=Number(o);return isNaN(u)?Reflect.set(h,o,a,c):u>=0&&u=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),s=t(2),h=t(102),o=t(9),a=t(0),c=t(12),u=t(3),p=function(v){function f(){var r=v.call(this)||this,e=y.dom.window._associatedDocument;return r._start=[e,0],r._end=[e,0],y.dom.rangeList.add(r),r}return S(f,v),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var r=this._start[0];!a.tree_isAncestorOf(this._end[0],r,!0);){if(r._parent===null)throw new Error("Parent node is null.");r=r._parent}return r},enumerable:!0,configurable:!0}),f.prototype.setStart=function(r,e){a.range_setTheStart(this,r,e)},f.prototype.setEnd=function(r,e){a.range_setTheEnd(this,r,e)},f.prototype.setStartBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r))},f.prototype.setStartAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r)+1)},f.prototype.setEndBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r))},f.prototype.setEndAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r)+1)},f.prototype.collapse=function(r){r?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(r){a.range_select(r,this)},f.prototype.selectNodeContents=function(r){if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;var e=a.tree_nodeLength(r);this._start=[r,0],this._end=[r,e]},f.prototype.compareBoundaryPoints=function(r,e){if(r!==s.HowToCompare.StartToStart&&r!==s.HowToCompare.StartToEnd&&r!==s.HowToCompare.EndToEnd&&r!==s.HowToCompare.EndToStart)throw new o.NotSupportedError;if(a.range_root(this)!==a.range_root(e))throw new o.WrongDocumentError;var g,b;switch(r){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new o.NotSupportedError}var x=a.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var r,e,g,b;if(!a.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))a.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var R=_(a.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&a.range_isContained(G,this)||I.push(X)}}catch(H){r={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(r)throw r.error}}if(a.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!a.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=a.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&a.characterData_replaceData(x,E,a.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&a.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&a.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return a.range_extract(this)},f.prototype.cloneContents=function(){return a.range_cloneTheContents(this)},f.prototype.insertNode=function(r){return a.range_insert(r,this)},f.prototype.surroundContents=function(r){var e,g;try{for(var b=_(a.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new o.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(r)||u.Guard.isDocumentTypeNode(r)||u.Guard.isDocumentFragmentNode(r))throw new o.InvalidNodeTypeError;var w=a.range_extract(this);r._children.size!==0&&a.mutation_replaceAll(null,r),a.range_insert(r,this),a.mutation_append(w,r),a.range_select(r,this)},f.prototype.cloneRange=function(){return a.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&a.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))throw new o.WrongDocumentError;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:a.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(r){if(a.tree_rootNode(r)!==a.range_root(this))return!1;var e=r._parent;if(e===null)return!0;var g=a.tree_index(r);return a.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&a.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var r,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(a.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(r,e){var g=new f;return r&&(g._start=r),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);i.RangeImpl=p,c.idl_defineConst(p.prototype,"START_TO_START",0),c.idl_defineConst(p.prototype,"START_TO_END",1),c.idl_defineConst(p.prototype,"END_TO_END",2),c.idl_defineConst(p.prototype,"END_TO_START",3)},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(103),y=t(0),s=function(h){function o(a,c,u){var p=h.call(this,a)||this;return p._iteratorCollection=void 0,p._reference=c,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(o,h),Object.defineProperty(o.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),o.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},o.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},o.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},o._create=function(a,c,u){return new o(a,c,u)},o}(_.TraverserImpl);i.NodeIteratorImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),y=t(103),s=t(0),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._current=u,p}return S(a,o),Object.defineProperty(a.prototype,"currentNode",{get:function(){return this._current},set:function(c){this._current=c},enumerable:!0,configurable:!0}),a.prototype.parentNode=function(){for(var c=this._current;c!==null&&c!==this._root;)if((c=c._parent)!==null&&s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c;return null},a.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},a.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},a.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},a.prototype.previousNode=function(){for(var c=this._current;c!==this._root;){for(var u=c._previousSibling;u;){c=u;for(var p=s.traversal_filter(this,c);p!==_.FilterResult.Reject&&c._lastChild;)c=c._lastChild,p=s.traversal_filter(this,c);if(p===_.FilterResult.Accept)return this._current=c,c;u=c._previousSibling}if(c===this._root||c._parent===null)return null;if(c=c._parent,s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c}return null},a.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},a.prototype.nextNode=function(){for(var c=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&c._firstChild;)if(c=c._firstChild,(u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c;for(var p=null,v=c;v!==null;){if(v===this._root)return null;if((p=v._nextSibling)!==null){c=p;break}v=v._parent}if((u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c}},a._create=function(c,u){return new a(c,u)},a}(y.TraverserImpl);i.TreeWalkerImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return m.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();i.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_,y,s,h,o,a,c,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=o,this._nextSibling=a,this._attributeName=c,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,o,a,c,u,p){return new S(_,y,s,h,o,a,c,u,p)},S}();i.MutationRecordImpl=m},function(l,i,t){"use strict";var m=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(9),y=t(7),s=t(0),h=function(){function o(a,c){this._element=a,this._attribute=c,this._tokenSet=new Set;var u=c._localName,p=s.element_getAnAttributeValue(a,u),v=this;this._element._attributeChangeSteps.push(function(f,r,e,g,b){r===v._attribute._localName&&b===null&&(g?v._tokenSet=s.orderedSet_parse(g):v._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(a,u,p,p,null)}return Object.defineProperty(o.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),o.prototype.item=function(a){var c,u,p=0;try{for(var v=m(this._tokenSet),f=v.next();!f.done;f=v.next()){var r=f.value;if(p===a)return r;p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}return null},o.prototype.contains=function(a){return this._tokenSet.has(a)},o.prototype.add=function(){for(var a,c,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},i.xml_isQName=function(m){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===m.length-1)return!1;S=!0}}return!0},i.xml_isLegalChar=function(m){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},i.xml_isPubidChar=function(m){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(17);i.boundaryPoint_position=function _(y,s){var h=y[0],o=y[1],a=s[0],c=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(a),"Boundary points must share the same root node."),h===a)return o===c?m.BoundaryPosition.Equal:o=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(7),s=t(29),h=t(108),o=t(30),a=t(37),c=t(52);i.node_stringReplaceAll=function(u,p){var v=null;u!==""&&(v=s.create_text(p._nodeDocument,u)),a.mutation_replaceAll(v,p)},i.node_clone=function u(p,v,f){var r,e,g,b,x;if(v===void 0&&(v=null),f===void 0&&(f=!1),v===null&&(v=p._nodeDocument),_.Guard.isElementNode(p)){x=c.element_createAnElement(v,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=m(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,v);c.element_append(D,x)}}catch(G){r={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(r)throw r.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(v,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(v,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(v,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(v,p._data):_.Guard.isCommentNode(p)?s.create_comment(v,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(v,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(v):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,v=x):x._nodeDocument=v,S.dom.features.steps&&o.dom_runCloningSteps(x,p,v,f),f)try{for(var I=m(p._children),R=I.next();!R.done;R=I.next()){var k=u(R.value,v,!0);a.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},i.node_equals=function u(p,v){var f,r,e,g;if(p._nodeType!==v._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(v)){if(p._name!==v._name||p._publicId!==v._publicId||p._systemId!==v._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){if(p._namespace!==v._namespace||p._namespacePrefix!==v._namespacePrefix||p._localName!==v._localName||p._attributeList.length!==v._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(v)){if(p._namespace!==v._namespace||p._localName!==v._localName||p._value!==v._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(v)){if(p._target!==v._target||p._data!==v._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(v)&&p._data!==v._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){var b={};try{for(var x=m(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(r=x.return)&&r.call(x)}finally{if(f)throw f.error}}try{for(var w=m(v._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==v._children.size)return!1;for(var I=p._children[Symbol.iterator](),R=v._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},i.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(v){return v._namespace===y.namespace.HTML&&v._qualifiedName===u.toLowerCase()||v._namespace!==y.namespace.HTML&&v._qualifiedName===u}):s.create_htmlCollection(p,function(v){return v._qualifiedName===u})},i.node_listOfElementsWithNamespace=function(u,p,v){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(v):u==="*"?s.create_htmlCollection(v,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(v,function(f){return f._namespace===u}):s.create_htmlCollection(v,function(f){return f._localName===p&&f._namespace===u})},i.node_listOfElementsWithClassNames=function(u,p){var v=h.orderedSet_parse(u);if(v.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(r){var e=r.classList;return h.orderedSet_contains(e._tokenSet,v,f)})},i.node_locateANamespacePrefix=function u(p,v){if(p._namespace===v&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(9),s=t(29),h=t(17),o=t(107),a=t(37);i.text_contiguousTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_contiguousExclusiveTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isExclusiveTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_descendantTextContent=function(c){for(var u="",p=h.tree_getFirstDescendantNode(c,!1,!1,function(v){return _.Guard.isTextNode(v)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(c,p,!1,!1,function(v){return _.Guard.isTextNode(v)});return u},i.text_split=function(c,u){var p,v,f=c._data.length;if(u>f)throw new y.IndexSizeError;var r=f-u,e=o.characterData_substringData(c,u,r),g=s.create_text(c._nodeDocument,e),b=c._parent;if(b!==null){a.mutation_insert(g,b,c._nextSibling);try{for(var x=m(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===c&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===c&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(c);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(v=x.return)&&v.call(x)}finally{if(p)throw p.error}}}return o.characterData_replaceData(c,u,r,""),g}},function(l,i,t){"use strict";var m=t(4),S=t(41),_=t(24),y=t(48),s=[].join,h=S!=Object,o=y("join",",");m({target:"Array",proto:!0,forced:h||!o},{join:function(a){return s.call(_(this),a===void 0?",":a)}})},function(l,i,t){var m=t(4),S=t(83),_=String.fromCharCode,y=String.fromCodePoint;m({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,o=[],a=arguments.length,c=0;a>c;){if(h=+arguments[c++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");o.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return o.join("")}})},function(l,i,t){"use strict";var m=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var o,a,c=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(o=c.next()).done;)u.push(o.value)}catch(p){a={error:p}}finally{try{o&&!o.done&&(h=c.return)&&h.call(c)}finally{if(a)throw a.error}}return u};Object.defineProperty(i,"__esModule",{value:!0});var S=t(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",o="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:o};var a=m(this.attribute(),2),c=a[0],u=a[1];c==="version"?s=u:c==="encoding"?h=u:c==="standalone"?o=u:this.throwError("Invalid attribute name: "+c)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var o=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:o,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var o=this.attribute();h.push(o)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var o=0;othis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var o=this._index;this._indexthis._index){u=o.index;break}throw this.err={line:a,col:this._index-c,index:this._index,str:this._str.substring(c,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(i.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=b.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var q=b.parentNode;if(q===null)throw new Error("Parent node is null."+this._debugInfo());q.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,k,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();i.XMLStringLexer=_},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(182)]})},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(113)],implicit:[t(289),t(290),t(291),t(292)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(91),S=t(1),_=t(3),y=t(77),s=t(109);function h(u,p){var v=a(u===void 0||o(u)?u:m.DefaultBuilderOptions),f=o(u)?p:u,r=s.createDocument();c(r,v);var e=new y.XMLBuilderImpl(r);return f!==void 0&&e.ele(f),e}function o(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!m.XMLBuilderOptionKeys.has(p))return!1;return!0}function a(u){u===void 0&&(u={});var p=S.applyDefaults(u,m.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function c(u,p,v){var f=u;f._xmlBuilderOptions=p,f._isFragment=v}i.builder=function(u,p){var v=a(o(u)?u:m.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var r=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(91),y=t(1),s=t(217),h=t(2),o=t(3),a=t(0),c=t(109),u=t(7),p=t(276),v=function(){function f(r){this._domNode=r}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(r){return this._options=y.applyDefaults(y.applyDefaults(this._options,r,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(r,e,g){var b,x,E,w,D,T;if(y.isObject(r))return new p.ObjectReader(this._options).parse(this,r);if(r!==null&&/^\s*0&&(r===void 0&&(r=e.slice(b+1)),e=e.slice(0,b)),r===void 0)r=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(r!==null&&r[0]==="@"){var x=r.slice(1);if((r=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[r,e]},f.prototype._updateNamespace=function(r){var e,g,b,x,E=this._domNode;if(o.Guard.isElementNode(E)&&r!==null&&E.namespaceURI!==r){var w=m(a.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=a.create_element(this._doc,T,r,D);try{for(var I=S(E.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=m(a.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),o.Guard.isElementNode(ee)){var re=m(a.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var r=this.node;if(o.Guard.isDocumentNode(r))return r;var e=r.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(r){var e=this.node,g=e.parentNode;r=r||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+r+">, parent: <"+b+">":"node: <"+r+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var r=this._doc;if(r._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return r._xmlBuilderOptions},set:function(r){this._doc._xmlBuilderOptions=r},enumerable:!0,configurable:!0}),f}();i.XMLBuilderImpl=v},function(l,i,t){var m=t(11),S=t(117),_=m.WeakMap;l.exports=typeof _=="function"&&/native code/.test(S(_))},function(l,i,t){var m=t(46),S=t(82),_=t(85),y=t(18);l.exports=m("Reflect","ownKeys")||function(s){var h=S.f(y(s)),o=_.f;return o?h.concat(o(s)):h}},function(l,i,t){var m=t(16),S=t(15),_=t(18),y=t(61);l.exports=m?Object.defineProperties:function(s,h){_(s);for(var o,a=y(h),c=a.length,u=0;c>u;)S.f(s,o=a[u++],h[o]);return s}},function(l,i,t){var m=t(46);l.exports=m("document","documentElement")},function(l,i,t){var m=t(24),S=t(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];l.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(m(s))}},function(l,i,t){"use strict";var m=t(4),S=t(36).every,_=t(48),y=t(28),s=_("every"),h=y("every");m({target:"Array",proto:!0,forced:!s||!h},{every:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(36).filter,_=t(63),y=t(28),s=_("filter"),h=y("filter");m({target:"Array",proto:!0,forced:!s||!h},{filter:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(46);l.exports=m("navigator","userAgent")||""},function(l,i,t){"use strict";var m=t(4),S=t(36).find,_=t(130),y=t(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),m({target:"Array",proto:!0,forced:s||!h},{find:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(l,i,t){"use strict";var m=t(131).IteratorPrototype,S=t(60),_=t(40),y=t(62),s=t(49),h=function(){return this};l.exports=function(o,a,c){var u=a+" Iterator";return o.prototype=S(m,{next:_(1,c)}),y(o,u,!1,!0),s[u]=h,o}},function(l,i,t){var m=t(8);l.exports=!m(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(l,i,t){"use strict";var m=t(4),S=t(36).map,_=t(63),y=t(28),s=_("map"),h=y("map");m({target:"Array",proto:!0,forced:!s||!h},{map:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(200).left,_=t(48),y=t(28),s=_("reduce"),h=y("reduce",{1:0});m({target:"Array",proto:!0,forced:!s||!h},{reduce:function(o){return S(this,o,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(127),S=t(27),_=t(41),y=t(26),s=function(h){return function(o,a,c,u){m(a);var p=S(o),v=_(p),f=y(p.length),r=h?f-1:0,e=h?-1:1;if(c<2)for(;;){if(r in v){u=v[r],r+=e;break}if(r+=e,h?r<0:f<=r)throw TypeError("Reduce of empty array with no initial value")}for(;h?r>=0:f>r;r+=e)r in v&&(u=a(u,v[r],r,p));return u}};l.exports={left:s(!1),right:s(!0)}},function(l,i,t){"use strict";var m=t(4),S=t(36).some,_=t(48),y=t(28),s=_("some"),h=y("some");m({target:"Array",proto:!0,forced:!s||!h},{some:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(90),S=t(135);l.exports=m?{}.toString:function(){return"[object "+S(this)+"]"}},function(l,i){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(l,i,t){var m=t(5),S=t(49),_=m("iterator"),y=Array.prototype;l.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(l,i,t){var m=t(135),S=t(49),_=t(5)("iterator");l.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[m(y)]}},function(l,i,t){var m=t(18);l.exports=function(S,_,y,s){try{return s?_(m(y)[0],y[1]):_(y)}catch(o){var h=S.return;throw h!==void 0&&m(h.call(S)),o}}},function(l,i,t){var m=t(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[m]=function(){return this},Array.from(y,function(){throw 2})}catch{}l.exports=function(s,h){if(!h&&!S)return!1;var o=!1;try{var a={};a[m]=function(){return{next:function(){return{done:o=!0}}}},s(a)}catch{}return o}},function(l,i,t){var m=t(13),S=t(133);l.exports=function(_,y,s){var h,o;return S&&typeof(h=y.constructor)=="function"&&h!==s&&m(o=h.prototype)&&o!==s.prototype&&S(_,o),_}},function(l,i,t){var m=t(25);l.exports=function(S,_,y){for(var s in _)m(S,s,_[s],y);return S}},function(l,i,t){"use strict";var m=t(46),S=t(15),_=t(5),y=t(16),s=_("species");l.exports=function(h){var o=m(h),a=S.f;y&&o&&!o[s]&&a(o,s,{configurable:!0,get:function(){return this}})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(y,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var o=this;this._items.forEach(function(a){return s.call(h,a,a,o)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();i.FixedSizeSet=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(y,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var o=this._items.keys().next();o.done||this._items.delete(o.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(o,a){return s.call(h,a,o)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();i.ObjectCache=_},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();i.CompareCache=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();i.Lazy=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();i.StringWalker=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(218);i.MapWriter=m.MapWriter;var S=t(258);i.XMLWriter=S.XMLWriter;var _=t(67);i.ObjectWriter=_.ObjectWriter;var y=t(260);i.JSONWriter=y.JSONWriter;var s=t(261);i.YAMLWriter=s.YAMLWriter},function(l,i,t){"use strict";t(19),t(219),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=t(67),s=function(h){function o(a,c){var u=h.call(this,a)||this;return u._writerOptions=_.applyDefaults(c,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(o,h),o.prototype.serialize=function(a){var c=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,c).serialize(a);return this._convertObject(u)},o.prototype._convertObject=function(a){if(_.isArray(a)){for(var c=0;c=51||!S(function(){var g=[];return g[v]=!1,g.concat()[0]!==g}),r=c("concat"),e=function(g){if(!y(g))return!1;var b=g[v];return b!==void 0?!!b:_(g)};m({target:"Array",proto:!0,forced:!f||!r},{concat:function(g){var b,x,E,w,D,T=s(this),N=a(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");o(N,I++,D)}return N.length=I,N}})},function(l,i,t){"use strict";var m=t(8);function S(_,y){return RegExp(_,y)}i.UNSUPPORTED_Y=m(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),i.BROKEN_CARET=m(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(l,i,t){var m=t(223);l.exports=function(S){if(m(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(l,i,t){var m=t(13),S=t(42),_=t(5)("match");l.exports=function(y){var s;return m(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(l,i,t){var m=t(5)("match");l.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[m]=!1,"/./"[S](_)}catch{}}return!1}},function(l,i,t){"use strict";t(68);var m=t(25),S=t(8),_=t(5),y=t(93),s=t(21),h=_("species"),o=!S(function(){var v=/./;return v.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(v,"$")!=="7"}),a="a".replace(/./,"$0")==="$0",c=_("replace"),u=!!/./[c]&&/./[c]("a","$0")==="",p=!S(function(){var v=/(?:)/,f=v.exec;v.exec=function(){return f.apply(this,arguments)};var r="ab".split(v);return r.length!==2||r[0]!=="a"||r[1]!=="b"});l.exports=function(v,f,r,e){var g=_(v),b=!S(function(){var N={};return N[g]=function(){return 7},""[v](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return v==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||v==="replace"&&(!o||!a||u)||v==="split"&&!p){var E=/./[g],w=r(g,""[v],function(N,I,R,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:a,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];m(String.prototype,v,D),m(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(l,i,t){"use strict";var m=t(137).charAt;l.exports=function(S,_,y){return _+(y?m(S,_).length:1)}},function(l,i,t){var m=t(42),S=t(93);l.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(m(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(l,i,t){"use strict";(function(m){Object.defineProperty(i,"__esModule",{value:!0});var S=t(96);i.forgivingBase64Encode=function(_){return m.from(_).toString("base64")},i.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?m.from(_,"base64").toString("utf8"):null)}}).call(this,t(145).Buffer)},function(l,i,t){"use strict";i.byteLength=function(c){var u=o(c),p=u[0],v=u[1];return 3*(p+v)/4-v},i.toByteArray=function(c){var u,p,v=o(c),f=v[0],r=v[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,r)),g=0,b=r>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return r===2&&(u=S[c.charCodeAt(p)]<<2|S[c.charCodeAt(p+1)]>>4,e[g++]=255&u),r===1&&(u=S[c.charCodeAt(p)]<<10|S[c.charCodeAt(p+1)]<<4|S[c.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},i.fromByteArray=function(c){for(var u,p=c.length,v=p%3,f=[],r=0,e=p-v;re?e:r+16383));return v===1?(u=c[p-1],f.push(m[u>>2]+m[u<<4&63]+"==")):v===2&&(u=(c[p-2]<<8)+c[p-1],f.push(m[u>>10]+m[u>>4&63]+m[u<<2&63]+"=")),f.join("")};for(var m=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function a(c,u,p){for(var v,f,r=[],e=u;e>18&63]+m[f>>12&63]+m[f>>6&63]+m[63&f]);return r.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(l,i){i.read=function(t,m,S,_,y){var s,h,o=8*y-_-1,a=(1<>1,u=-7,p=S?y-1:0,v=S?-1:1,f=t[m+p];for(p+=v,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+t[m+p],p+=v,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+t[m+p],p+=v,u-=8);if(s===0)s=1-c;else{if(s===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=c}return(f?-1:1)*h*Math.pow(2,s-_)},i.write=function(t,m,S,_,y,s){var h,o,a,c=8*s-y-1,u=(1<>1,v=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,r=_?1:-1,e=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(o=isNaN(m)?1:0,h=u):(h=Math.floor(Math.log(m)/Math.LN2),m*(a=Math.pow(2,-h))<1&&(h--,a*=2),(m+=h+p>=1?v/a:v*Math.pow(2,1-p))*a>=2&&(h++,a/=2),h+p>=u?(o=0,h=u):h+p>=1?(o=(m*a-1)*Math.pow(2,y),h+=p):(o=m*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;t[S+f]=255&o,f+=r,o/=256,y-=8);for(h=h<0;t[S+f]=255&h,f+=r,h/=256,c-=8);t[S+f-r]|=128*e}},function(l,i){var t={}.toString;l.exports=Array.isArray||function(m){return t.call(m)=="[object Array]"}},function(l,i,t){"use strict";var m=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],o=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&o>=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var o=new Array;try{for(var a=m(y),c=a.next();!c.done;c=a.next()){var u=c.value;o.push(_(u))}}catch(f){s={error:f}}finally{try{c&&!c.done&&(h=a.return)&&h.call(a)}finally{if(s)throw s.error}}return o}if(S.isObject(y)){o=new Map;for(var p in y)if(y.hasOwnProperty(p)){var v=y[p];o.set(p,_(v))}return o}return y}i.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},i.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},i.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},i.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},_=this&&this.__spread||function(){for(var h=[],o=0;o=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(1);i.append=function(h,o){h.push(o)},i.extend=function(h,o){h.push.apply(h,_(o))},i.prepend=function(h,o){h.unshift(o)},i.replace=function(h,o,a){var c,u,p=0;try{for(var v=y(h),f=v.next();!f.done;f=v.next()){var r=f.value;if(s.isFunction(o))o.call(null,r)&&(h[p]=a);else if(r===o)return void(h[p]=a);p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}},i.insert=function(h,o,a){h.splice(a,0,o)},i.remove=function(h,o){for(var a=h.length;a--;){var c=h[a];if(s.isFunction(o))o.call(null,c)&&h.splice(a,1);else if(c===o)return void h.splice(a,1)}},i.empty=function(h){h.length=0},i.contains=function(h,o){var a,c;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var v=p.value;if(s.isFunction(o)){if(o.call(null,v))return!0}else if(v===o)return!0}}catch(f){a={error:f}}finally{try{p&&!p.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}return!1},i.size=function(h,o){var a,c;if(o===void 0)return h.length;var u=0;try{for(var p=y(h),v=p.next();!v.done;v=p.next()){var f=v.value;o.call(null,f)&&u++}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}return u},i.isEmpty=function(h){return h.length===0},i.forEach=function(h,o){var a,c,u,p,v,f;return m(this,function(r){switch(r.label){case 0:return o!==void 0?[3,2]:[5,y(h)];case 1:return r.sent(),[3,9];case 2:r.trys.push([2,7,8,9]),a=y(h),c=a.next(),r.label=3;case 3:return c.done?[3,6]:(u=c.value,o.call(null,u)?[4,u]:[3,5]);case 4:r.sent(),r.label=5;case 5:return c=a.next(),[3,3];case 6:return[3,9];case 7:return p=r.sent(),v={error:p},[3,9];case 8:try{c&&!c.done&&(f=a.return)&&f.call(a)}finally{if(v)throw v.error}return[7];case 9:return[2]}})},i.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},i.sortInAscendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?-1:1})},i.sortInDescendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?1:-1})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},y=this&&this.__spread||function(){for(var h=[],o=0;o0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var o=[],a=0;a=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(96),_=t(147),y=t(146),s=t(1);function h(f,r){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,r,e){if(!s.isArray(r))return p(f,Array.from(r),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},i.asciiCaseInsensitiveMatch=function(f,r){return c(f)===c(r)},i.asciiEncode=function(f){return console.assert(a(f),"asciiEncode requires an ASCII string."),o(f)},i.asciiDecode=function(f){var r,e;try{for(var g=m(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){r={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(r)throw r.error}}return _.isomorphicDecode(f)},i.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},i.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var k=m.exec(I);if(k){var G=(k=k[0]).toLowerCase();this.protocol=G,I=I.substr(k.length)}if(S||k||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=I.substr(0,2)==="//";!$||k&&t[k]||(I=I.substr(2),this.slashes=!0)}if(!t[k]&&($||k&&!e[k])){for(var Y,q,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),P=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),P.unshift(D[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),ce++):ce&&(ne.splice(P,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function _(N){return e(N,function(I){var R="";return I>65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var k=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;k+=36)N=d(N/35);return d(k+36*N/(N+38))}function C(N){var I,R,k,G,$,Y,q,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&t("not-basic"),he.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=q<=ie?1:q>=ie+26?26:q-ie));q+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-$,I=he.length+1,$==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,k,G,$,Y,q,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,$=72,Y=0;Y=I&&red((n-R)/(me=k+1))&&t("overflow"),R+=(q-I)*me,I=q,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),$=S(R,me,k==G),R=0,++k}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var P=v(X._children),D=P.next();!D.done;D=P.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=$;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,$,i.tree_nodeLength(G)-$),d.mutation_append(B,k),s.characterData_replaceData(G,$,i.tree_nodeLength(G)-$,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,k);var M=_(n.create_range([G,$],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var z=v(ce),W=z.next();!W.done;W=z.next()){var oe=W.value;d.mutation_append(oe,k)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=z.return)&&R.call(z)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,q),d.mutation_append(B,k),s.characterData_replaceData(Y,0,q,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,k),M=_(n.create_range([he,0],[Y,q])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],k}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,k,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var $=S._startNode,Y=S._startOffset,q=S._endNode,X=S._endOffset;$===q&&p.Guard.isCharacterDataNode($)&&((D=f.node_clone($))._data=s.characterData_substringData($,Y,X-Y),d.mutation_append(D,G));for(var H=$;!i.tree_isAncestorOf(q,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(q,$,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf($,q,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),P=ce.next();!P.done;P=ce.next())if(g(z=P.value,S)){if(p.Guard.isDocumentTypeNode(z))throw new a.HierarchyRequestError;ue.push(z)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone($))._data=s.characterData_substringData($,Y,i.tree_nodeLength($)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([$,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var z=M.value,D=f.node_clone(z);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=B.return)&&k.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(q))._data=s.characterData_substringData(q,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[q,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var k=v(S._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===S._startOffset){I=$;break}R++}}catch(q){C={error:q}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,k=v(p.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!p.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),q={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),q[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),P=ce.next();!P.done;P=ce.next()){var D=v(P.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=q[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{P&&!P.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var k=s.prefix,G=null;if(k===null&&R===N||(G=C.get(k,R)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):k!==null?(k in T&&(k=this._generatePrefix(R,C,c)),C.set(k,R),x+=_+=k+":"+s.localName,x+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var $=R===p.namespace.HTML;if($&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):$||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!($&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{q&&!q.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var k=C;S=this.cdata(S,this.sanitize(k.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var $=C;S=this.instruction(S,this.sanitize($.target),this.sanitize($.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var q=C,X=this.sanitize(q.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(q.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],P=ue[1];ce==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(q.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var z=y(i.namespace_extractQName(Q),2),W=(ce=z[0],P=z[1],null);ce==="xmlns"||ce===null&&P==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}q.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function k(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,z,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),z=parseInt(M[1],10),W=parseInt(M[2],10),z!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&k(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,z;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],z=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(z)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=z}};function $(D,L,B,M){var z,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,z=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentze)&&(Q(K,ze,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(q(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>ze&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=ze+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");qe=Ne=K.position}else c(Te)?($(K,qe,Ne,!0),re(K,H(K,!1,ze)),qe=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var ze,qe,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),ze=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===ze&&R(K,"name of an alias node must contain at least one character"),qe=K.input.slice(ze,K.position),K.anchorMap.hasOwnProperty(qe)||R(K,'unidentified alias "'+qe+'"'),K.result=K.anchorMap[qe],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,ze,qe){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||qe&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=ze){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&($(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return $(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):$e===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,z,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(z=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),z=D.input.charCodeAt(D.position),!(D.lineIndent>0||z!==37));){for(oe=!0,z=D.input.charCodeAt(++D.position),L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");z!==0;){for(;t(z);)z=D.input.charCodeAt(++D.position);if(z===35){do z=D.input.charCodeAt(++D.position);while(z!==0&&!c(z));break}if(c(z))break;for(L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}z!==0&&X(D),p.call(G,B)?G[B](D,B,M):k(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&k(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,Je){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=Je};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,Je){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,Je){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,Je){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=Je};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,Je){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassDeclaration=C;var T=function(ye,Oe,Je){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,Je){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=Je};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var k=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=k;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var $=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=$;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var q=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=q;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,Je){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=Je};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,Je){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=Je,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,Je){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=Je};y.ForOfStatement=me;var ne=function(ye,Oe,Je,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=Je,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,Je){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=Je};y.IfStatement=ce;var P=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=P;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var z=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=z;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,Je,Nt,Pr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=Je,this.kind=Nt,this.static=Pr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,Je,Nt,Pr,kr){this.type=a.Syntax.Property,this.key=Oe,this.computed=Je,this.value=Nt,this.kind=ye,this.method=Pr,this.shorthand=kr};y.Property=Le;var tt=function(ye,Oe,Je,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:Je,flags:Nt}};y.RegexLiteral=tt;var $e=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=$e;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var ze=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=ze;var qe=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=qe;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,Je){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=Je};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,Je){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=Je};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var Pt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=Pt;var Hn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Hn;var $n=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=$n},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,k))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var k=_.pop();R>1;){var G=_.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,k=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,q)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(k),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&k[Q+1]!==" "}return he||me?$>9&&g(k)?5:me?4:3:ie&&!q(k)?1:2}function _(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var q=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-q),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(x(G,H,k.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,k.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],P=me[2];he=P[0]===" ",Q+=ce+(ie||he||P===""?"":` -`)+C(P,re),ie=he}return Q}(G,X),q));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`)},i.stripLeadingAndTrailingASCIIWhitespace=u,i.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},i.collectASequenceOfCodePoints=p,i.skipASCIIWhitespace=v,i.strictlySplit=function f(r,e){if(!s.isArray(r))return f(Array.from(r),e);var g={position:0},b=[],x=p(function(E){return e!==E},r,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(97);i.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},i.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},i.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=m(_._abortAlgorithms),o=h.next();!o.done;o=h.next())o.value.call(_)}catch(a){y={error:a}}finally{try{o&&!o.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(150),S=function(){function _(){}return _.asNode=function(y){if(m.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();i.Cast=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();i.EmptySet=m;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.SchemeStart=0]="SchemeStart",m[m.Scheme=1]="Scheme",m[m.NoScheme=2]="NoScheme",m[m.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",m[m.PathOrAuthority=4]="PathOrAuthority",m[m.Relative=5]="Relative",m[m.RelativeSlash=6]="RelativeSlash",m[m.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",m[m.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",m[m.Authority=9]="Authority",m[m.Host=10]="Host",m[m.Hostname=11]="Hostname",m[m.Port=12]="Port",m[m.File=13]="File",m[m.FileSlash=14]="FileSlash",m[m.FileHost=15]="FileHost",m[m.PathStart=16]="PathStart",m[m.Path=17]="Path",m[m.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",m[m.Query=19]="Query",m[m.Fragment=20]="Fragment"}(i.ParserState||(i.ParserState={})),i.OpaqueOrigin=["","",null,null]},function(l,i,t){"use strict";var m=t(245),S=t(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=b,i.resolve=function(x,E){return b(x,!1,!0).resolve(E)},i.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},i.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},i.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),a=["'"].concat(o),c=["%","/","?",";","#"].concat(a),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},r={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=t(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(v);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=m.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=a.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(l,i,t){(function(m,S){var _;(function(y){i&&i.nodeType,m&&m.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,o=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,f=String.fromCharCode;function r(N){throw new RangeError(p[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var R="";return I>65535&&(R+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,R){var k=0;for(N=R?v(N/700):N>>1,N+=v(N/I);N>455;k+=36)N=v(N/35);return v(k+36*N/(N+38))}function D(N){var I,R,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&r("not-basic"),de.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=ve&&r("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>v((o-ne)/Y))&&r("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>v(o/(ee=36-H))&&r("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),v(ne/I)>o-Q&&r("overflow"),Q+=v(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,R,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,R=0,$=72,Y=0;Y=I&&rev((o-R)/(ve=k+1))&&r("overflow"),R+=(z-I)*ve,I=z,Y=0;Yo&&r("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=v(Q/ne);ie.push(f(E(X,0))),$=w(R,ve,k==G),R=0,++k}++R,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return c.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return a.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(i,t,i,m))===void 0||(m.exports=_)})()}).call(this,t(246)(l),t(78))},function(l,i){l.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(l,i,t){"use strict";l.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},function(l,i,t){"use strict";i.decode=i.parse=t(249),i.encode=i.stringify=t(250)},function(l,i,t){"use strict";function m(_,y){return Object.prototype.hasOwnProperty.call(_,y)}l.exports=function(_,y,s,h){y=y||"&",s=s||"=";var o={};if(typeof _!="string"||_.length===0)return o;var a=/\+/g;_=_.split(y);var c=1e3;h&&typeof h.maxKeys=="number"&&(c=h.maxKeys);var u=_.length;c>0&&u>c&&(u=c);for(var p=0;p=0?(v=g.substr(0,b),f=g.substr(b+1)):(v=g,f=""),r=decodeURIComponent(v),e=decodeURIComponent(f),m(o,r)?S(o[r])?o[r].push(e):o[r]=[o[r],e]:o[r]=e}return o};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(l,i,t){"use strict";var m=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};l.exports=function(s,h,o,a){return h=h||"&",o=o||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(c){var u=encodeURIComponent(m(c))+o;return S(s[c])?_(s[c],function(p){return u+encodeURIComponent(m(p))}).join(h):u+encodeURIComponent(m(s[c]))}).join(h):a?encodeURIComponent(m(a))+o+encodeURIComponent(m(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var o=[],a=0;a=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}i.eventTarget_flatten=_,i.eventTarget_flattenMore=function(y){var s=_(y),h=!1,o=!1;return S.isBoolean(y)||(h=y.once||!1,o=y.passive||!1),[s,o,h]},i.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1),_=t(29);i.parentNode_convertNodesIntoANode=function(y,s){for(var h,o,a=null,c=0;c=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),R=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return R},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=m(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(a.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!a.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+a.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,a.tree_nodeLength(G)-$),v.mutation_append(L,k),u.characterData_replaceData(G,$,a.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);v.mutation_append(L,k);var M=x(o.create_range([G,$],[H,a.tree_nodeLength(H)]));v.mutation_append(M,L)}try{for(var q=m(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;v.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),v.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),v.mutation_append(L,k),M=x(o.create_range([de,0],[Y,z])),v.mutation_append(M,L)),E._start=[ie,le],E._end=[ie,le],k}i.range_collapsed=r,i.range_root=e,i.range_isContained=g,i.range_isPartiallyContained=b,i.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},i.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},i.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=a.tree_index(E);w._start=[D,T],w._end=[D,T+1]},i.range_extract=x,i.range_cloneTheContents=function E(w){var D,T,N,I,R,k,G=o.create_documentFragment(w._startNode._nodeDocument);if(r(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),v.mutation_append(C,G));for(var H=$;!a.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!a.tree_isAncestorOf(z,$,!0))try{for(var re=m(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!a.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=m(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,a.tree_nodeLength($)-Y),v.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);v.mutation_append(C,G);var B=E(o.create_range([$,Y],[ee,a.tree_nodeLength(ee)]));v.mutation_append(B,C)}try{for(var L=m(le),M=L.next();!M.done;M=L.next()){var q=M.value,C=p.node_clone(q);v.mutation_append(C,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=L.return)&&k.call(L)}finally{if(R)throw R.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),v.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(o.create_range([ve,0],[z,X])),v.mutation_append(B,C)),G},i.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var R=0;try{for(var k=m(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===w._startOffset){I=$;break}R++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}v.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&v.mutation_remove(E,E._parent);var Y=I===null?a.tree_nodeLength(N):a.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=a.tree_nodeLength(E):Y++,v.mutation_preInsert(E,N,I),r(w)&&(w._end=[N,Y])},i.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w},i.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(9);i.selectors_scopeMatchASelectorsString=function(S,_){throw new m.NotSupportedError}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(105);i.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===m.FilterResult.Accept)return _._current=s,s;if(h===m.FilterResult.Skip){var o=y?s._firstChild:s._lastChild;if(o!==null){s=o;continue}}for(;s!==null;){var a=y?s._nextSibling:s._previousSibling;if(a!==null){s=a;break}var c=s._parent;if(c===null||c===_._root||c===_._current)return null;s=c}}return null},i.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var o=S.traversal_filter(_,s);if(o===m.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,o!==m.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===m.FilterResult.Accept)return null}}},function(l,i,t){"use strict";t(89),t(74);var m,S=this&&this.__extends||(m=function(a,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)p.hasOwnProperty(v)&&(u[v]=p[v])})(a,c)},function(a,c){function u(){this.constructor=a}m(a,c),a.prototype=c===null?Object.create(c):(u.prototype=c.prototype,new u)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=t(2),s=t(50),h=t(3),o=function(a){function c(u,p){var v=a.call(this,u)||this;return v._indentation={},v._lengthToLastNewline=0,v._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),v}return S(c,a),c.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},c.prototype.declaration=function(u,p,v){this._beginLine(),this._refs.markup+='",this._endLine()},c.prototype.docType=function(u,p,v){this._beginLine(),this._refs.markup+=p&&v?"':p?"':v?"':"",this._endLine()},c.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},c.prototype.openTagEnd=function(u,p,v){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!v){for(var f=!0,r=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,r=!1;break}g++}e.data!==""&&(r=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=r}(v||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=v?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},c.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},c.prototype.attribute=function(u,p){var v=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+v.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+v):this._refs.markup+=" "+v},c.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},c.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},c.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},c.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},c.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},c}(s.BaseWriter);i.XMLWriter=o},function(l,i,t){"use strict";var m=t(47),S=t(35);l.exports="".repeat||function(_){var y=String(S(this)),s="",h=m(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(c);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},a.prototype._convertObject=function(c,u,p){var v,f,r=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(c);if(s.isArray(c)){e+="[";var b=c.length,x=0;try{for(var E=_(c),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(c.indent):""},a.prototype._endLine=function(c,u){return c.prettyPrint?c.newline:""},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a.prototype._isLeafNode=function(c){return this._descendantCount(c)<=1},a.prototype._descendantCount=function(c,u){var p=this;return u===void 0&&(u=0),s.isArray(c)?s.forEachArray(c,function(v){return u+=p._descendantCount(v,u)},this):s.isObject(c)?s.forEachObject(c,function(v,f){return u+=p._descendantCount(f,u)},this):u++,u},a}(t(50).BaseWriter);i.JSONWriter=h},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(89),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(c),v=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return v.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(v=v.slice(0,-this._writerOptions.newline.length)),v},a.prototype._convertObject=function(c,u,p,v){var f,r,e=this;v===void 0&&(v=!1);var g="";if(s.isArray(c))try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}else s.forEachObject(c,function(w,D){v?(g+=e._key(w),v=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},a.prototype._beginLine=function(c,u,p){p===void 0&&(p=!1);var v=c.offset+u+1,f=new Array(v).join(c.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},a.prototype._endLine=function(c){return c.newline},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a}(t(50).BaseWriter);i.YAMLWriter=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),t(110).dom.setFeatures(!0);var m=t(110);i.DOMImplementation=m.DOMImplementation;var S=t(271);i.DOMParser=S.DOMParser;var _=t(274);i.XMLSerializer=_.XMLSerializer},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(7),s=function(){function h(o){this._nodeList=[],this._recordQueue=[],this._callback=o;var a=S.dom.window;y.set.append(a._mutationObservers,this)}return h.prototype.observe=function(o,a){var c,u;if((a=a||{childList:!1,subtree:!1}).attributeOldValue===void 0&&a.attributeFilter===void 0||a.attributes!==void 0||(a.attributes=!0),a.characterDataOldValue!==void 0&&a.characterData===void 0&&(a.characterData=!0),!a.childList&&!a.attributes&&!a.characterData)throw new TypeError;if(a.attributeOldValue&&!a.attributes)throw new TypeError;if(a.attributeFilter!==void 0&&!a.attributes)throw new TypeError;if(a.characterDataOldValue&&!a.characterData)throw new TypeError;var p=!1,v=a,f=function(b){var x,E;if(b.observer===r){p=!0;try{for(var w=(x=void 0,m(r._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=v}},r=this;try{for(var e=m(o._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){c={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(c)throw c.error}}p||(o._registeredObserverList.push({observer:this,options:a}),this._nodeList.push(o))},h.prototype.disconnect=function(){var o,a,c=this;try{for(var u=m(this._nodeList),p=u.next();!p.done;p=u.next()){var v=p.value;y.list.remove(v._registeredObserverList,function(f){return f.observer===c})}}catch(f){o={error:f}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var o=this._recordQueue;return this._recordQueue=[],o},h}();i.MutationObserverImpl=s},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._previousSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._nextSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();i.NonDocumentTypeChildNodeImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(m.Cast.asNode(this),!1,!1,function(o){return m.Guard.isElementNode(o)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(m.Cast.asNode(this),h,!1,!1,function(o){return m.Guard.isElementNode(o)})}return null},y}();i.NonElementParentNodeImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,o=h&&s[h],a=0;if(o)return o.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,o,a=0;try{for(var c=m(S.Cast.asNode(this)._children),u=c.next();!u.done;u=c.next()){var p=u.value;S.Guard.isElementNode(p)&&a++}}catch(v){h={error:v}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(h)throw h.error}}return a},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],o=0;o0)&&!(v=r.next()).done;)e.push(v.value)}catch(g){f={error:g}}finally{try{v&&!v.done&&(p=r.return)&&p.call(r)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(180),y=t(111),s=t(7),h=t(0),o=t(69),a=function(){function c(){}return c.prototype.parse=function(u){for(var p,v,f,r,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var R=x,k=m(h.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=m(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=m(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(M){p={error:M}}finally{try{H&&!H.done&&(v=X.return)&&v.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);b.appendChild(ie);var le=new o.LocalNameSet;try{for(var fe=(f=void 0,S(R.attributes)),P=fe.next();!P.done;P=fe.next()){var C=m(P.value,2),B=(re=C[0],de=C[1],m(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(M){f={error:M}}finally{try{P&&!P.done&&(r=fe.return)&&r.call(fe)}finally{if(f)throw f.error}}R.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},c.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c}();i.XMLParserImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(275);i.XMLSerializer=m.XMLSerializerImpl},function(l,i,t){"use strict";var m=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(2),_=t(69),y=t(95),s=t(9),h=t(7),o=t(0),a=function(){function c(){}return c.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},c.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var v=new y.NamespacePrefixMap;v.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,v,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},c.prototype._serializeNodeNS=function(u,p,v,f,r){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,v,f,r);case S.NodeType.Document:return this._serializeDocumentNS(u,p,v,f,r);case S.NodeType.Comment:return this._serializeComment(u,r);case S.NodeType.Text:return this._serializeText(u,r);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,v,f,r);case S.NodeType.DocumentType:return this._serializeDocumentType(u,r);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,r);case S.NodeType.CData:return this._serializeCData(u,r);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeElementNS=function(u,p,v,f,r){var e,g;if(r&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=v.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,R=u.namespaceURI;if(I===R)N!==null&&(w=!0),b+=x=R===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&R===N||(G=D.get(k,R)),k==="xmlns"){if(r)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(R,D,f)),D.set(k,R),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,r)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(w=!0,I=R,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(R,r)+'"'):(I=R,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,r);var $=R===h.namespace.HTML;if($&&u.childNodes.length===0&&c._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=m(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,r)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},c.prototype._serializeDocumentNS=function(u,p,v,f,r){var e,g;if(r&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeComment=function(u,p){if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},c.prototype._serializeText=function(u,p){if(p&&!o.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var v="",f=0;f"?">":r}return v},c.prototype._serializeDocumentFragmentNS=function(u,p,v,f,r){var e,g,b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeDocumentType=function(u,p){if(p&&!o.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!o.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},c.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},c.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},c.prototype._serializeAttributesNS=function(u,p,v,f,r,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=m(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(r||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&r||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,v):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!o.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},c.prototype._recordNamespaceInformation=function(u,p,v){var f,r,e=null;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),v[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(r=g.return)&&r.call(g)}finally{if(f)throw f.error}}return e},c.prototype._generatePrefix=function(u,p,v){var f="ns"+v.value;return v.value++,p.set(f,u),f},c.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!o.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var v="",f=0;f"?">":r}return v},c.prototype._serializeElement=function(u,p){var v,f;if(p&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var r=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",r=!0),g+=">",r)return g;try{for(var b=m(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){v={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(v)throw v.error}}return g+=""},c.prototype._serializeDocument=function(u,p){var v,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeDocumentFragment=function(u,p){var v,f,r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeAttributes=function(u,p){var v,f,r="",e=p?{}:void 0;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!o.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}return r},c._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),c}();i.XMLSerializerImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(277);i.XMLReader=m.XMLReader;var S=t(112);i.ObjectReader=S.ObjectReader;var _=t(280);i.JSONReader=_.JSONReader;var y=t(281);i.YAMLReader=y.YAMLReader},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(65),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var r in f)f.hasOwnProperty(r)&&(v[r]=f[r])})(u,p)},function(u,p){function v(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}),_=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(180),h=t(111),o=t(7),a=t(0),c=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(v,f){for(var r,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=v,w=v,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var R=D;w=this.docType(w,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(a.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(r=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(a.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){r={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(r)throw r.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===v.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var M=_(L.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(a.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=o.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(t(75).BaseReader);i.XMLReader=c},function(l,i,t){var m=t(4),S=t(279);m({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(l,i,t){"use strict";var m=t(16),S=t(8),_=t(61),y=t(85),s=t(79),h=t(27),o=t(41),a=Object.assign,c=Object.defineProperty;l.exports=!a||S(function(){if(m&&a({b:1},a(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},v=Symbol();return u[v]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),a({},u)[v]!=7||_(a({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var v=h(u),f=arguments.length,r=1,e=y.f,g=s.f;f>r;)for(var b,x=o(arguments[r++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],m&&!g.call(x,b)||(v[b]=x[b]);return v}:a},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){return new _.ObjectReader(this._builderOptions).parse(o,JSON.parse(a))},h}(t(75).BaseReader);i.JSONReader=y},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),y=t(75),s=t(282),h=function(o){function a(){return o!==null&&o.apply(this,arguments)||this}return S(a,o),a.prototype._parse=function(c,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(c,p)},a}(y.BaseReader);i.YAMLReader=h},function(l,i,t){"use strict";var m=t(283);l.exports=m},function(l,i,t){"use strict";var m=t(284),S=t(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}l.exports.Type=t(10),l.exports.Schema=t(39),l.exports.FAILSAFE_SCHEMA=t(113),l.exports.JSON_SCHEMA=t(182),l.exports.CORE_SCHEMA=t(181),l.exports.DEFAULT_SAFE_SCHEMA=t(54),l.exports.DEFAULT_FULL_SCHEMA=t(76),l.exports.load=m.load,l.exports.loadAll=m.loadAll,l.exports.safeLoad=m.safeLoad,l.exports.safeLoadAll=m.safeLoadAll,l.exports.dump=S.dump,l.exports.safeDump=S.safeDump,l.exports.YAMLException=t(53),l.exports.MINIMAL_SCHEMA=t(113),l.exports.SAFE_SCHEMA=t(54),l.exports.DEFAULT_SCHEMA=t(76),l.exports.scan=_("scan"),l.exports.parse=_("parse"),l.exports.compose=_("compose"),l.exports.addConstructor=_("addConstructor")},function(l,i,t){"use strict";var m=t(38),S=t(53),_=t(285),y=t(54),s=t(76),h=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=/[\x85\u2028\u2029]/,c=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function v(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function r(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function R(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var M,q,W;C.version!==null&&R(C,"duplication of %YAML directive"),L.length!==1&&R(C,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&R(C,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var M,q;L.length!==2&&R(C,"TAG directive accepts exactly two arguments"),M=L[0],q=L[1],u.test(M)||R(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,M)&&R(C,'there is a previously declared suffix for "'+M+'" tag handle'),p.test(q)||R(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[M]=q}};function $(C,B,L,M){var q,W,ae,me;if(B1&&(C.result+=m.repeat(` +`,B-1))}function de(C,B){var L,M,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),M=C.input.charCodeAt(C.position);M!==0&&M===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),M=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),M=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&M!==0)R(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?R(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(r(xe)){do xe=K.input.charCodeAt(++K.position);while(r(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:R(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else R(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&R(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||R(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||R(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),r(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&R(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Me.kind+'", not "'+C.kind+'"'),Me.resolve(C.result)?(C.result=Me.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):R(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):R(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,M,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(M=[],(L=C.input.slice(B,C.position)).length<1&&R(C,"directive name must not be less than one character in length");q!==0;){for(;r(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);M.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,M):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&R(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&a.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(o="",a=this.position;ay/2-1){o=" ... ",a-=5;break}return c=this.buffer.slice(h,a),m.repeat(" ",_)+s+c+o+` +`+m.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},l.exports=S},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(38),S=t(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}l.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,o,a=s.length,c=0,u=!1;if(!a)return!1;if((h=s[c])!=="-"&&h!=="+"||(h=s[++c]),h==="0"){if(c+1===a)return!0;if((h=s[++c])==="b"){for(c++;c=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(l,i,t){"use strict";var m=t(38),S=t(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;l.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,o,a,c;return o=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,c=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){c.unshift(parseFloat(u,10))}),h=0,a=1,c.forEach(function(u){h+=u*a,a*=60}),o*h):o*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||m.isNegativeZero(s))},represent:function(s,h){var o;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(m.isNegativeZero(s))return"-0.0";return o=s.toString(10),y.test(o)?o.replace("e",".e"):o},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");l.exports=new m("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,o,a,c,u,p,v,f=0,r=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],o=+s[2]-1,a=+s[3],!s[4])return new Date(Date.UTC(h,o,a));if(c=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(r=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(r=-r)),v=new Date(Date.UTC(h,o,a,c,u,p,f)),r&&v.setTime(v.getTime()-r),v},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(l,i,t){"use strict";var m;try{m=t(145).Buffer}catch{}var S=t(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;l.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,o=0,a=y.length,c=_;for(h=0;h64)){if(s<0)return!1;o+=6}return o%8==0},construct:function(y){var s,h,o=y.replace(/[\r\n=]/g,""),a=o.length,c=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|c.indexOf(o.charAt(s));return(h=a%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),m?m.from?m.from(p):new m(p):p},predicate:function(y){return m&&m.isBuffer(y)},represent:function(y){var s,h,o="",a=0,c=y.length,u=_;for(s=0;s>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]),a=(a<<8)+y[s];return(h=c%3)===0?(o+=u[a>>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]):h===2?(o+=u[a>>10&63],o+=u[a>>4&63],o+=u[a<<2&63],o+=u[64]):h===1&&(o+=u[a>>2&63],o+=u[a<<4&63],o+=u[64],o+=u[64]),o}})},function(l,i,t){"use strict";var m=t(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;l.exports=new m("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,o,a,c,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(l,i,t){"use strict";var m;try{m=t(302)}catch{typeof window<"u"&&(m=window.esprima)}var S=t(10);l.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=m.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=m.parse(s,{range:!0}),o=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(a){o.push(a.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(o,s.slice(y[0]+1,y[1]-1)):new Function(o,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(l,i,t){var m;m=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),o=y(8),a=y(15);function c(p,v,f){var r=null,e=function(T,N){f&&f(T,N),r&&r.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(v){b=typeof v.comment=="boolean"&&v.comment;var x=typeof v.attachComment=="boolean"&&v.attachComment;(b||x)&&((r=new s.CommentHandler).attach=x,v.comment=!0,g=e)}var E,w=!1;v&&typeof v.sourceType=="string"&&(w=v.sourceType==="module"),E=v&&typeof v.jsx=="boolean"&&v.jsx?new h.JSXParser(p,v,g):new o.Parser(p,v,g);var D=w?E.parseModule():E.parseScript();return b&&r&&(D.comments=r.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=c,_.parseModule=function(p,v,f){var r=v||{};return r.sourceType="module",c(p,r,f)},_.parseScript=function(p,v,f){var r=v||{};return r.sourceType="script",c(p,r,f)},_.tokenize=function(p,v,f){var r,e=new a.Tokenizer(p,v);r=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),r.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(r.errors=e.errors()),r};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function o(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return o.prototype.insertInnerComments=function(a,c){if(a.type===s.Syntax.BlockStatement&&a.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var v=this.leading[p];c.end.offset>=v.start&&(u.unshift(v.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(a.innerComments=u)}},o.prototype.findTrailingComments=function(a){var c=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=a.end.offset&&c.unshift(p.comment)}return this.trailing.length=0,c}var v=this.stack[this.stack.length-1];if(v&&v.node.trailingComments){var f=v.node.trailingComments[0];f&&f.range[0]>=a.end.offset&&(c=v.node.trailingComments,delete v.node.trailingComments)}return c},o.prototype.findLeadingComments=function(a){for(var c,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=a.start.offset;)c=f.node,this.stack.pop();if(c){for(var p=(c.leadingComments?c.leadingComments.length:0)-1;p>=0;--p){var v=c.leadingComments[p];v.range[1]<=a.start.offset&&(u.unshift(v),c.leadingComments.splice(p,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=a.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},o.prototype.visitNode=function(a,c){if(!(a.type===s.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,c);var u=this.findTrailingComments(c),p=this.findLeadingComments(c);p.length>0&&(a.leadingComments=p),u.length>0&&(a.trailingComments=u),this.stack.push({node:a,start:c.start.offset})}},o.prototype.visitComment=function(a,c){var u=a.type[0]==="L"?"Line":"Block",p={type:u,value:a.value};if(a.range&&(p.range=a.range),a.loc&&(p.loc=a.loc),this.comments.push(p),this.attach){var v={comment:{type:u,value:a.value,range:[c.start.offset,c.end.offset]},start:c.start.offset};a.loc&&(v.comment.loc=a.loc),a.type=u,this.leading.push(v),this.trailing.push(v)}},o.prototype.visit=function(a,c){a.type==="LineComment"||a.type==="BlockComment"?this.visitComment(a,c):this.attach&&this.visitNode(a,c)},o}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var o=y(4),a=y(5),c=y(6),u=y(7),p=y(8),v=y(13),f=y(14);function r(g){var b;switch(g.type){case c.JSXSyntax.JSXIdentifier:b=g.name;break;case c.JSXSyntax.JSXNamespacedName:var x=g;b=r(x.namespace)+":"+r(x.name);break;case c.JSXSyntax.JSXMemberExpression:var E=g;b=r(E.object)+"."+r(E.property)}return b}v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||o.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!o.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!o.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var R=E.substr(1,E.length-2);T&&R.length>1?E=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?E=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!f.XHTMLEntities[R]||(E=f.XHTMLEntities[R])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==w;)D+=R==="&"?this.scanXHTMLEntity(w):R;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,o.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new a.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new a.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new a.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new a.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new a.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new a.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new a.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new a.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var o=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=o;var a=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=a;var c=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=c;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var v=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=v;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var r=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=r;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var o=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=o;var a=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=a;var c=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=c;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var v=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=v;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var r=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=r;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var R=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=R;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var M=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=M;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,Wr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=Wr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Me=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Me;var je=function(ye,Pe,Qe,Lt,Wr,Xr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=Wr,this.shorthand=Xr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ai=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ai;var si=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=si},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),o=y(11),a=y(7),c=y(12),u=y(2),p=y(13),v=function(){function f(r,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new c.Scanner(r,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(r){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||r===">>>="||r==="&="||r==="^="||r==="|="},f.prototype.isolateCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var r,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),r=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(null,g));break;case 10:r=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,r=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":r=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":r=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:r=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?r=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?r=this.finalize(b,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?r=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),r=this.finalize(b,new a.ThisExpression)):r=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:r=this.throwUnexpectedToken(this.nextToken())}return r},f.prototype.parseSpreadElement=function(){var r=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(r,new a.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var r=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(r,new a.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(r){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=r.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&r.firstRestricted&&this.tolerateUnexpectedToken(r.firstRestricted,r.message),this.context.strict&&r.stricted&&this.tolerateUnexpectedToken(r.stricted,r.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var r=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(r,new a.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var r,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,o.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);r=this.finalize(e,new a.Literal(g.value,b));break;case 3:case 1:case 5:case 4:r=this.finalize(e,new a.Identifier(g.value));break;case 7:g.value==="["?(r=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):r=this.throwUnexpectedToken(g);break;default:r=this.throwUnexpectedToken(g)}return r},f.prototype.isPropertyKey=function(r,e){return r.type===u.Syntax.Identifier&&r.name===e||r.type===u.Syntax.Literal&&r.value===e},f.prototype.parseObjectProperty=function(r){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new a.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&R)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&R)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&R)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(r.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),r.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new a.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new a.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new a.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var r=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(r,new a.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var r=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(r,new a.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(r){switch(r.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:r.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(r.argument);break;case u.Syntax.ArrayExpression:r.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))r=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[r],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(r);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(r.type===u.Syntax.Identifier&&r.name==="yield"&&(b=!0,r={type:"ArrowParameterPlaceHolder",params:[r],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),r.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[r,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new a.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=D.length-1;e=D[R];for(var k=x.pop();R>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[R-1],e=this.finalize(I,new a.BinaryExpression(N,D[R-2],e)),R-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var r=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(r),new a.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(r,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(r,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(r,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(r,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=r.async,E=this.reinterpretAsCoverFormalsList(r);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),r=x?this.finalize(I,new a.AsyncArrowFunctionExpression(E.params,R,G)):this.finalize(I,new a.ArrowFunctionExpression(E.params,R,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&r.type===u.Syntax.Identifier){var $=r;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(r):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(this.startNode(e),new a.AssignmentExpression(Y,r,z)),this.context.firstCoverInitializedNameError=null}}return r},f.prototype.parseExpression=function(){var r=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(r),new a.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var r;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),r=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),r=this.parseImportDeclaration();break;case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"function":r=this.parseFunctionDeclaration();break;case"class":r=this.parseClassDeclaration();break;case"let":r=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:r=this.parseStatement()}else r=this.parseStatement();return r},f.prototype.parseBlock=function(){var r=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(r,new a.BlockStatement(e))},f.prototype.parseLexicalBinding=function(r,e){var g=this.createNode(),b=this.parsePattern([],r);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(o.Messages.StrictVarName);var x=null;return r==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new a.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(r,e){for(var g=[this.parseLexicalBinding(r,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(r,e));return g},f.prototype.isLexicalDeclaration=function(){var r=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(r),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(r){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,r);return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(r,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(r,e);return this.finalize(g,new a.RestElement(b))},f.prototype.parseArrayPattern=function(r,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(r,e));break}b.push(this.parsePatternWithDefault(r,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new a.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(r,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new a.Identifier(D.value));if(this.match("=")){r.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new a.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(r,e)):(r.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(r,e);return this.finalize(x,new a.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(r,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(r,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new a.ObjectPattern(b))},f.prototype.parsePattern=function(r,e){var g;return this.match("[")?g=this.parseArrayPattern(r,e):this.match("{")?g=this.parseObjectPattern(r,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),r.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(r,e){var g=this.lookahead,b=this.parsePattern(r,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new a.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(r){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||r!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new a.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(r){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(o.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||r.inFor||this.expect("="),this.finalize(e,new a.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(r){var e={inFor:r.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var r=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(r,new a.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var r=this.createNode();return this.expect(";"),this.finalize(r,new a.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var r=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var r,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new a.IfStatement(b,r,g))},f.prototype.parseDoWhileStatement=function(){var r=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(r,new a.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var r,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,r=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new a.WhileStatement(g,r))},f.prototype.parseForStatement=function(){var r,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new a.VariableDeclaration(N,R)))):(b=this.finalize(b,new a.Identifier(R)),this.nextToken(),r=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new a.SequenceExpression(G))}this.expect(";")}}if(r===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return r===void 0?this.finalize(D,new a.ForStatement(b,x,E,g)):w?this.finalize(D,new a.ForInStatement(r,e,g)):this.finalize(D,new a.ForOfStatement(r,e,g))},f.prototype.parseContinueStatement=function(){var r=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(r,new a.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var r=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(r,new a.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var r=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var r,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseStatement()),this.finalize(e,new a.WithStatement(g,r))},f.prototype.parseSwitchCase=function(){var r,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),r=null):(this.expectKeyword("case"),r=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new a.SwitchCase(r,g))},f.prototype.parseSwitchStatement=function(){var r=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(o.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(r,new a.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var r,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(o.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,o.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,o.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],r=new a.LabeledStatement(b,E)}else this.consumeSemicolon(),r=new a.ExpressionStatement(g);return this.finalize(e,r)},f.prototype.parseThrowStatement=function(){var r=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var r=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(o.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(o.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var r=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:r=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:r=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return r},f.prototype.parseYieldExpression=function(){var r=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(r,new a.YieldExpression(e,g))},f.prototype.parseClassElement=function(r){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,o.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&R&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,o.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,o.Messages.ConstructorSpecialMethod),r.value?this.throwUnexpectedToken(e,o.Messages.DuplicateConstructor):r.value=!0,b="constructor")),this.finalize(g,new a.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var r=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():r.push(this.parseClassElement(e));return this.expect("}"),r},f.prototype.parseClassBody=function(){var r=this.createNode(),e=this.parseClassElementList();return this.finalize(r,new a.ClassBody(e))},f.prototype.parseClassDeclaration=function(r){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=r&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new a.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var r=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(r,new a.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Module(e))},f.prototype.parseScript=function(){for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Script(e))},f.prototype.parseModuleSpecifier=function(){var r=this.createNode();this.lookahead.type!==8&&this.throwError(o.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(r,new a.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var r,e,g=this.createNode();return this.lookahead.type===3?(e=r=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=r=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new a.ImportSpecifier(e,r))},f.prototype.parseNamedImports=function(){this.expect("{");for(var r=[];!this.match("}");)r.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),r},f.prototype.parseImportDefaultSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName();return this.finalize(r,new a.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var r=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(r,new a.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var r,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)r=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),r=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new a.ImportDeclaration(g,r))},f.prototype.parseExportSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(r,new a.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var r,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);r=this.finalize(e,new a.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),r=this.finalize(e,new a.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),r=this.finalize(e,new a.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),r=this.finalize(e,new a.ExportNamedDeclaration(null,E,w))}return r},f}();_.Parser=v},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,o){var a=new Error(h);try{throw a}catch(c){Object.create&&Object.defineProperty&&(a=Object.create(c),Object.defineProperty(a,"column",{value:o}))}return a},s.prototype.createError=function(h,o,a,c){var u="Line "+o+": "+c,p=this.constructError(u,a);return p.index=h,p.lineNumber=o,p.description=c,p},s.prototype.throwError=function(h,o,a,c){throw this.createError(h,o,a,c)},s.prototype.tolerateError=function(h,o,a,c){var u=this.createError(h,o,a,c);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),o=y(11);function a(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function c(p){return"01234567".indexOf(p)}var u=function(){function p(v,f){this.source=v,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=v.length,this.index=0,this.lineNumber=v.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(v){this.index=v.index,this.lineNumber=v.lineNumber,this.lineStart=v.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(v){return v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.tolerateUnexpectedToken=function(v){v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.skipSingleLineComment=function(v){var f,r,e=[];for(this.trackComment&&(e=[],f=this.index-v,r={start:{line:this.lineNumber,column:this.index-this.lineStart-v},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+v,this.index-1],range:[f,this.index-1],loc:r};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+v,this.index],range:[f,this.index],loc:r},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var v,f,r=[];for(this.trackComment&&(r=[],v=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:f};r.push(g)}return r}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:f},r.push(g)),this.tolerateUnexpectedToken(),r},p.prototype.scanComments=function(){var v;this.trackComment&&(v=[]);for(var f=this.index===0;!this.eof();){var r=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(r))++this.index;else if(h.Character.isLineTerminator(r))++this.index,r===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(r===47)if((r=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(v=v.concat(e)),f=!0}else{if(r!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(v=v.concat(e))}else if(f&&r===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(v=v.concat(e))}else{if(r!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(v=v.concat(e))}}return v},p.prototype.isFutureReservedWord=function(v){switch(v){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(v){return v==="eval"||v==="arguments"},p.prototype.isKeyword=function(v){switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try"||v==="let";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}},p.prototype.codePointAt=function(v){var f=this.source.charCodeAt(v);if(f>=55296&&f<=56319){var r=this.source.charCodeAt(v+1);r>=56320&&r<=57343&&(f=1024*(f-55296)+r-56320+65536)}return f},p.prototype.scanHexEscape=function(v){for(var f=v==="u"?4:2,r=0,e=0;e1114111||v!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var v=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=v,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=v,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(v,this.index)},p.prototype.getComplexIdentifier=function(){var v,f=this.codePointAt(this.index),r=h.Character.fromCodePoint(f);for(this.index+=r.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierStart(v.charCodeAt(0))||this.throwUnexpectedToken(),r=v);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)r+=v=h.Character.fromCodePoint(f),this.index+=v.length,f===92&&(r=r.substr(0,r.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierPart(v.charCodeAt(0))||this.throwUnexpectedToken(),r+=v);return r},p.prototype.octalToDecimal=function(v){var f=v!=="0",r=c(v);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,r=8*r+c(this.source[this.index++]),"0123".indexOf(v)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+c(this.source[this.index++]))),{code:r,octal:f}},p.prototype.scanIdentifier=function(){var v,f=this.index,r=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((v=r.length===1?3:this.isKeyword(r)?4:r==="null"?5:r==="true"||r==="false"?1:3)!=3&&f+r.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=e}return{type:v,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var v=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===v&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanHexLiteral=function(v){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanBinaryLiteral=function(v){for(var f,r="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)r+=this.source[this.index++];return r.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanOctalLiteral=function(v,f){var r="",e=!1;for(h.Character.isOctalDigit(v.charCodeAt(0))?(e=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return e||r.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var v=this.index+1;v=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(o.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(r)}catch{this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(v,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var v=this.source[this.index];s.assert(v==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],r=!1,e=!1;!this.eof();)if(f+=v=this.source[this.index++],v==="\\")v=this.source[this.index++],h.Character.isLineTerminator(v.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f+=v;else if(h.Character.isLineTerminator(v.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(r)v==="]"&&(r=!1);else{if(v==="/"){e=!0;break}v==="["&&(r=!0)}return e||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var v="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())v+=f;else if((f=this.source[this.index])==="u"){++this.index;var r=this.index,e=this.scanHexEscape("u");if(e!==null)for(v+=e;r=55296&&v<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),o=y(13),a=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],v=p!==null;switch(p){case"this":case"]":v=!1;break;case")":var f=this.values[this.paren-1];v=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(v=!1,this.values[this.curly-3]==="function")v=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if(this.values[this.curly-4]==="function"){var r;v=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return v},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),c=function(){function u(p,v){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!v&&typeof v.tolerant=="boolean"&&v.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!v&&typeof v.comment=="boolean"&&v.comment,this.trackRange=!!v&&typeof v.range=="boolean"&&v.range,this.trackLoc=!!v&&typeof v.loc=="boolean"&&v.loc,this.buffer=[],this.reader=new a}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var v=0;v0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!r(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&a.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=c(1024*(re-55296)+de-56320+65536),Q++):(ve=o[re],ne+=!ve&&r(re)?ee[Q]:ve||c(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` `;return $+(Y&&(k[k.length-2]===` `||k===` `)?"+":Y?"":"-")+` -`}function S(k){return k[k.length-1]===` -`?k.slice(0,-1):k}function C(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,q=/ [^ ]/g,X=0,H=0,ee=0,re="";$=q.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` `+k.slice(X,Y),X=Y+1),H=ee;return re+=` `,k.length-X>G&&H>X?re+=k.slice(X,H)+` -`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,q,X,H,ee,re;for(X=0,H=(q=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,q,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=a.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(q=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(he&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,ue){var ce,P,D,L,B,M,z="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,P=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",z+=M+=ne.dump));ne.tag=W,ne.dump=z||"{}"}(k,G,k.dump,q),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var ue,ce,P,D,L,B="",M=ne.tag,z=Object.keys(ie);for(ue=0,ce=z.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var me=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,ue){var ce,P,D="",L=ne.tag;for(ce=0,P=ie.length;ce "+k.dump)}return!0}function I(k,G){var $,Y,q=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(k){return this.emit("error",k),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){S={error:k}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var $=S.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(k=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),C+=$+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var q=G===u.namespace.HTML;q&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):q||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,k,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){S={error:H}}finally{try{k&&!k.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{q&&!q.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,k,G=I?new f.LocalNameSet:void 0;try{for(var $=y(b.attributes),Y=$.next();!Y.done;Y=$.next()){var q=Y.value;if(I||N||q.namespaceURI!==null){if(I&&G&&G.has(q.namespaceURI,q.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(q.namespaceURI,q.localName);var X=q.namespaceURI,H=null;if(X!==null)if(H=S.get(q.prefix,X),X===u.namespace.XMLNS){if(q.value===u.namespace.XML||q.prefix===null&&N||q.prefix!==null&&(!(q.localName in T)||T[q.localName]!==q.value)&&S.has(q.localName,q.value))continue;if(I&&q.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&q.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));q.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=q.prefix===null||S.hasPrefix(q.prefix)&&!S.has(q.prefix,X)?this._generatePrefix(X,S,C):q.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(q.localName.indexOf(":")!==-1||!i.xml_isName(q.localName)||q.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}else this._push(this._writer.attribute(q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var q=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(q,X)))continue;S.set(q,X),C[q]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var k=C[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var Ep=zs((Xn,wi)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,q=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",P="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",z="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",$e="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,Pt=RegExp(_t.source),Hn=RegExp(st.source),$n=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,Pr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kr=/[\\^$.*+?()[\]{}|]/g,_a=RegExp(kr.source),Jn=/^\s+/,Si=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ai=/\{\n\/\* \[wrapped with (.+)\] \*/,xa=/,? & /,ba=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,Ea=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,wa=/^0b[01]+$/i,Kn=/^\[object .+?Constructor\]$/,Sa=/^0o[0-7]+$/i,Aa=/^(?:0|[1-9]\d*)$/,Da=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ca=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Ta="\\u0300-\\u036f",Na="\\ufe20-\\ufe2f",Fa="\\u20d0-\\u20ff",Di=Ta+Na+Fa,Ci="\\u2700-\\u27bf",Ti="a-z\\xdf-\\xf6\\xf8-\\xff",Oa="\\xac\\xb1\\xd7\\xf7",Ia="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pa="\\u2000-\\u206f",ka=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ni="A-Z\\xc0-\\xd6\\xd8-\\xde",Fi="\\ufe0e\\ufe0f",Oi=Oa+Ia+Pa+ka,qt="['\u2019]",Vn="["+_n+"]",Yn="["+Oi+"]",tn="["+Di+"]",Ii="\\d+",rn="["+Ci+"]",Pi="["+Ti+"]",ki="[^"+_n+Oi+Ii+Ci+Ti+Ni+"]",xn="\\ud83c[\\udffb-\\udfff]",Ba="(?:"+tn+"|"+xn+")",Bi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ni+"]",le="\\u200d",be="(?:"+Pi+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+qt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+qt+"(?:D|LL|M|RE|S|T|VE))?",At=Ba+"?",bt="["+Fi+"]?",Dp="(?:"+le+"(?:"+[Bi,F,j].join("|")+")"+bt+At+")*",Cp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Tp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=bt+At+Dp,Np="(?:"+[rn,F,j].join("|")+")"+au,Fp="(?:"+[Bi+tn+"?",tn,F,j,Vn].join("|")+")",Op=RegExp(qt,"g"),Ip=RegExp(tn,"g"),La=RegExp(xn+"(?="+xn+")|"+Fp+au,"g"),Pp=RegExp([Z+"?"+Pi+"+"+Qe+"(?="+[Yn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Yn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Tp,Cp,Ii,Np].join("|"),"g"),kp=RegExp("["+le+_n+Di+Fi+"]"),Bp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,dt={};dt[qe]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[ze]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[z]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[ze]=ht[ue]=ht[ce]=ht[qe]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[z]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Mp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},jp={"&":"&","<":"<",">":">",'"':""","'":"'"},Up={"&":"&","<":"<",">":">",""":'"',"'":"'"},qp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zp=parseFloat,Gp=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,Wp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=su||Wp||Function("return this")(),Ra=typeof Xn=="object"&&Xn&&!Xn.nodeType&&Xn,nn=Ra&&typeof wi=="object"&&wi&&!wi.nodeType&&wi,uu=nn&&nn.exports===Ra,Ma=uu&&su.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ma&&Ma.binding&&Ma.binding("util")}catch{}}(),lu=nr&&nr.isArrayBuffer,cu=nr&&nr.isDate,fu=nr&&nr.isMap,pu=nr&&nr.isRegExp,hu=nr&&nr.isSet,du=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Xp(fe,Ee,ve,ke){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function ja(fe,Ee,ve){for(var ke=-1,Ke=fe==null?0:fe.length;++ke-1;);return ve}function Eu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function eh(fe,Ee){for(var ve=fe.length,ke=0;ve--;)fe[ve]===Ee&&++ke;return ke}var th=Ga(Mp),rh=Ga(jp);function nh(fe){return"\\"+qp[fe]}function ih(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return kp.test(fe)}function oh(fe){return Bp.test(fe)}function ah(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function $a(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(ke,Ke){ve[++Ee]=[Ke,ke]}),ve}function wu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,ke=fe.length,Ke=0,lt=[];++ve-1}function $h(r,h){var A=this.__data__,O=Zi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Gh,br.prototype.delete=Wh,br.prototype.get=Xh,br.prototype.has=Hh,br.prototype.set=$h;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Yd(r),!se)return zt(r,te)}else{var Fe=Bt(r),Pe=Fe==L||Fe==B;if(Xr(r))return ol(r,se);if(Fe==oe||Fe==ne||Pe&&!U){if(te=pe||Pe?{}:Sl(r),!se)return pe?Ud(r,ld(te,r)):jd(r,Bu(te,r))}else{if(!ht[Fe])return U?r:{};te=Qd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Zl(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Yl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?_s:gs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ii(te,nt,sr(He,h,A,nt,r,V))}),te}function cd(r){var h=Ot(r);return function(A){return Lu(A,r,h)}}function Lu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Ru(r,h,A){if(typeof r!="function")throw new or(w);return fi(function(){r.apply(E,A)},h)}function oi(r,h,A,O){var U=-1,V=Li,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=ja,te=!1):h.length>=o&&(V=Qn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:tc(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var es=fl(),Uu=fl(!0);function gr(r,h){return r&&es(r,h,Ot)}function ts(r,h){return r&&Uu(r,h,Ot)}function to(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function hd(r,h){return r!=null&&ft.call(r,h)}function dd(r,h){return r!=null&&h in pt(r)}function md(r,h,A){return r>=kt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,Pe=se[0];e:for(;++Fe-1;)se!==r&&Hi.call(se,pe,1),Hi.call(r,pe,1);return r}function Yu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Hi.call(r,U,1):fs(r,U)}}return r}function us(r,h){return r+Ki(Ou()*(h-r+1))}function Td(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function ls(r,h){var A="";if(!r||h<1||h>q)return A;do h%2&&(A+=r),h=Ki(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Ds(Cl(r,h,Xt),r+"")}function Nd(r){return ku(In(r))}function Fd(r,h){var A=In(r);return po(A,un(h,0,A.length))}function ui(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Wd(r);if(De)return Mi(De);te=!1,U=Qn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var il=bh||function(r){return Ft.clearTimeout(r)};function ol(r,h){if(h)return r.slice();var A=r.length,O=Du?Du(A):new r.constructor(A);return r.copy(O),O}function ms(r){var h=new r.constructor(r.byteLength);return new Wi(h).set(new Wi(r)),h}function Bd(r,h){var A=h?ms(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Ld(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Rd(r){return ni?pt(ni.call(r)):{}}function al(r,h){var A=h?ms(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function sl(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ul(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Rt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function dl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&co(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,Pe=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function em(r){return Ye(r)||pn(r)||!!(Nu&&r&&r[Nu])}function Dr(r,h){var A=typeof r;return h=h??q,!!h&&(A=="number"||A!="symbol"&&Aa.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function po(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,jl(r,A)});function Ul(r){var h=J(r);return h.__chain__=!0,h}function f0(r,h){return h(r),r}function ho(r,h){return h(r)}var p0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return Za(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:ho,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function h0(){return Ul(this)}function d0(){return new ar(this.value(),this.__chain__)}function m0(){this.__values__===E&&(this.__values__=ec(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function y0(){return this}function v0(r){for(var h,A=this;A instanceof Qi;){var O=Pl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function g0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:ho,args:[Cs],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Cs)}function _0(){return rl(this.__wrapped__,this.__actions__)}var x0=oo(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function b0(r,h,A){var O=Ye(r)?mu:fd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}function E0(r,h){var A=Ye(r)?Lr:ju;return A(r,Ge(h,3))}var w0=hl(kl),S0=hl(Bl);function A0(r,h){return It(mo(r,h),1)}function D0(r,h){return It(mo(r,h),Y)}function C0(r,h,A){return A=A===E?1:Ze(A),It(mo(r,h),A)}function ql(r,h){var A=Ye(r)?ir:qr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?Hp:Mu;return A(r,Ge(h,3))}var T0=oo(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function N0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),xo(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var F0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return qr(r,function(te){V[++O]=U?Kt(h,te,A):ai(te,h,A)}),V}),O0=oo(function(r,h,A){wr(r,A,h)});function mo(r,h){var A=Ye(r)?yt:Xu;return A(r,Ge(h,3))}function I0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ku(r,h,A))}var P0=oo(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function k0(r,h,A){var O=Ye(r)?Ua:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,qr)}function B0(r,h,A){var O=Ye(r)?$p:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,Mu)}function L0(r,h){var A=Ye(r)?Lr:ju;return A(r,go(Ge(h,3)))}function R0(r){var h=Ye(r)?ku:Nd;return h(r)}function M0(r,h,A){(A?Rt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?ad:Fd;return O(r,h)}function j0(r){var h=Ye(r)?sd:Id;return h(r)}function U0(r){if(r==null)return 0;if(Gt(r))return xo(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:os(r).length}function q0(r,h,A){var O=Ye(r)?qa:Pd;return A&&Rt(r,h,A)&&(h=E),O(r,Ge(h,3))}var z0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Rt(r,h[0],h[1])?h=[]:A>2&&Rt(h[0],h[1],h[2])&&(h=[h[0]]),Ku(r,It(h,1),[])}),yo=Eh||function(){return Ft.Date.now()};function G0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Gl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Wl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ns=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Ns));O|=x}return Sr(r,O,h,A,U)}),Xl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Xl));O|=x}return Sr(h,O,r,A,U)});function Hl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function $l(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=$l.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,Pe=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,Pe="trailing"in A?!!A.trailing:Pe);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=fi(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,hc=h-yr;return Fe?kt(hc,V-Nr):hc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=yo();if(He(wt))return ot(wt);se=fi(nt,et(wt))}function ot(wt){return se=E,Pe&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&il(se),De=0,O=pe=U=se=E}function Mt(){return se===E?te:ot(yo())}function er(){var wt=yo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return il(se),se=fi(nt,h),Ue(pe)}return se===E&&(se=fi(nt,h)),te}return er.cancel=Zt,er.flush=Mt,er}var W0=rt(function(r,h){return Ru(r,1,h)}),X0=rt(function(r,h,A){return Ru(r,cr(h)||0,A)});function H0(r){return Sr(r,C)}function vo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(vo.Cache||Er),A}vo.Cache=Er;function go(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function $0(r){return Wl(2,r)}var J0=kd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=kt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Tu.call(r,"callee")},Ye=ve.isArray,ly=lu?Vt(lu):vd;function Gt(r){return r!=null&&_o(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function cy(r){return r===!0||r===!1||xt(r)&&Lt(r)==ue}var Xr=Sh||qs,fy=cu?Vt(cu):gd;function py(r){return xt(r)&&r.nodeType===1&&!pi(r)}function hy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(ci(r))return!os(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function dy(r,h){return si(r,h)}function my(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?si(r,h,E,A):!!O}function Os(r){if(!xt(r))return!1;var h=Lt(r);return h==D||h==P||typeof r.message=="string"&&typeof r.name=="string"&&!pi(r)}function yy(r){return typeof r=="number"&&Fu(r)}function Cr(r){if(!vt(r))return!1;var h=Lt(r);return h==L||h==B||h==ie||h==ge}function Vl(r){return typeof r=="number"&&r==Ze(r)}function _o(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=q}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Yl=fu?Vt(fu):xd;function vy(r,h){return r===h||is(r,h,bs(h))}function gy(r,h,A){return A=typeof A=="function"?A:E,is(r,h,bs(h),A)}function _y(r){return Ql(r)&&r!=+r}function xy(r){if(nm(r))throw new Ke(v);return Gu(r)}function by(r){return r===null}function Ey(r){return r==null}function Ql(r){return typeof r=="number"||xt(r)&&Lt(r)==z}function pi(r){if(!xt(r)||Lt(r)!=oe)return!1;var h=Xi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&qi.call(A)==gh}var Is=pu?Vt(pu):bd;function wy(r){return Vl(r)&&r>=-q&&r<=q}var Zl=hu?Vt(hu):Ed;function xo(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Lt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Lt(r)==tt}var On=du?Vt(du):wd;function Sy(r){return r===E}function Ay(r){return xt(r)&&Bt(r)==we}function Dy(r){return xt(r)&&Lt(r)==at}var Cy=lo(as),Ty=lo(function(r,h){return r<=h});function ec(r){if(!r)return[];if(Gt(r))return xo(r)?hr(r):zt(r);if(Zn&&r[Zn])return ah(r[Zn]());var h=Bt(r),A=h==M?$a:h==Be?Mi:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function tc(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=xu(r);var A=wa.test(r);return A||Sa.test(r)?Gp(r.slice(2),A?2:8):vr.test(r)?H:+r}function rc(r){return _r(r,Wt(r))}function Ny(r){return r?un(Ze(r),-q,q):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Fy=Tn(function(r,h){if(ci(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ii(r,A,h[A])}),nc=Tn(function(r,h){_r(h,Wt(h),r)}),bo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Oy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Iy=Ar(Za);function Py(r,h){var A=Cn(r);return h==null?A:Bu(A,h)}var ky=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Rt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,_s(r),A),O&&(A=sr(A,n|i|u,Xd));for(var U=h.length;U--;)fs(A,h[U]);return A});function Qy(r,h){return oc(r,go(Ge(h)))}var Zy=Ar(function(r,h){return r==null?{}:Dd(r,h)});function oc(r,h){if(r==null)return{};var A=yt(_s(r),function(O){return[O]});return h=Ge(h),Vu(r,A,function(O,U){return h(O,U[0])})}function ev(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Ou();return kt(r+U*(h-r+zp("1e-"+((U+"").length-1))),h)}return us(r,h)}var fv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?uc(h):h)});function uc(r){return Bs(ct(r).toLowerCase())}function lc(r){return r=ct(r),r&&r.replace(Da,th).replace(Ip,"")}function pv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function hv(r){return r=ct(r),r&&Hn.test(r)?r.replace(st,rh):r}function dv(r){return r=ct(r),r&&_a.test(r)?r.replace(kr,"\\$&"):r}var mv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),yv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),vv=pl("toLowerCase");function gv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return uo(Ki(U),A)+r+uo(Ji(U),A)}function _v(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Is(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Dv=Nn(function(r,h,A){return r+(A?" ":"")+Bs(h)});function Cv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Tv(r,h,A){var O=J.templateSettings;A&&Rt(r,h,A)&&(h=E),r=ct(r),h=bo({},h,O,_l);var U=bo({},h.imports,O.imports,_l),V=Ot(U),te=Ha(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",Pe=Ja((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?Ea:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` -`;r.replace(Pe,function(He,nt,ot,Zt,Mt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Ca,nh),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),Mt&&(pe=!0,Fe+=`'; -`+Mt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,M,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,L&&(M+=v(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",M=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=M,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(i,"__esModule",{value:!0});var s=t(91),h=t(1),o=t(183),a=t(0),c=t(7),u=t(95),p=t(69),v=t(3),f=t(305),r=t(306),e=t(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new r.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",c.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=o.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!a.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=o.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=o.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!a.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!a.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=o.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&a.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),D=G===c.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,R!==null&&R!==c.namespace.XML&&(k=R||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===c.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(v.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=R.return)&&D.call(R)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else v.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):v.Guard.isCommentNode(E)?this.com(E.data):v.Guard.isCDATASectionNode(E)?this.dat(E.data):v.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var R,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===c.namespace.XMLNS){if(z.value===c.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===c.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!a.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!a.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===c.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===c.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var R in T){var k=D[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':o?"':a?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,o){return o?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,o,a){return a?" />":o?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,o){var a=h+'="'+o+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+a.length>this._writerOptions.width?(a=this._beginLine()+this._indent(1)+a,this._lineLength=a.length,a):(this._lineLength+=1+a.length," "+a)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(t(114).BaseCBWriter);i.XMLCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(h){var o=y.call(this,h)||this;return o._hasChildren=[],o._additionalLevel=0,o}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,o){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(o?h+" "+o:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,o){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(o)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var o=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,o+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),o},s.prototype.openTagEnd=function(h,o,a){if(o){var c=this._sep()+"]";return this._additionalLevel--,c+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var o=this._beginLine()+"]";return this._additionalLevel--,o+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.JSONCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(h){var o=y.call(this,h)||this;if(o._rootWritten=!1,o._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return o}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,o){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(o?h+" "+o:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,o){this._additionalLevel++;var a=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(o);return this._additionalLevel--,a},s.prototype.openTagBegin=function(h){var o=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,o+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,o,a){return o?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,o){if(h+this._additionalLevel<=0)return"";var a=this._writerOptions.indent.repeat(h+this._additionalLevel);return!o&&this._rootWritten?a.substr(0,a.length-2)+"-"+a.substr(-1,1):a},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.YAMLCBWriter=_},function(l,i,t){"use strict";var m,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};m=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}l.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function o(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function c(e,g,b,x){var E,w,D,T;if(o(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=a(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function v(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=r(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return v(this,e,!0)},s.prototype.rawListeners=function(e){return v(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(77);i.createCB=function(S){return new m.XMLBuilderCBImpl(S)},i.fragmentCB=function(S){return new m.XMLBuilderCBImpl(S,!0)}}])})});var sh=Ts((oi,Bi)=>{(function(){var l,i="4.17.21",t=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",o=1,a=2,c=4,u=1,p=2,v=1,f=2,r=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",v],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Me="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ai=RegExp(ft.source),si=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xr=/[\\^$.*+?()[\]{}|]/g,oa=RegExp(Xr.source),ui=/^\s+/,Ri=/\s/,Hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mi=/\{\n\/\* \[wrapped with (.+)\] \*/,aa=/,? & /,sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tr=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,ua=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,la=/^0b[01]+$/i,li=/^\[object .+?Constructor\]$/,ca=/^0o[0-7]+$/i,fa=/^(?:0|[1-9]\d*)$/,pa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,ha=/['\n\r\u2028\u2029\\]/g,Pn="\\ud800-\\udfff",da="\\u0300-\\u036f",ma="\\ufe20-\\ufe2f",va="\\u20d0-\\u20ff",ji=da+ma+va,Ui="\\u2700-\\u27bf",zi="a-z\\xdf-\\xf6\\xf8-\\xff",ya="\\xac\\xb1\\xd7\\xf7",_a="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ga="\\u2000-\\u206f",xa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qi="A-Z\\xc0-\\xd6\\xd8-\\xde",Gi="\\ufe0e\\ufe0f",Wi=ya+_a+ga+xa,Jt="['\u2019]",ci="["+Pn+"]",fi="["+Wi+"]",pn="["+ji+"]",Xi="\\d+",hn="["+Ui+"]",Hi="["+zi+"]",$i="[^"+Pn+Wi+Xi+Ui+zi+qi+"]",kn="\\ud83c[\\udffb-\\udfff]",ba="(?:"+pn+"|"+kn+")",Ji="[^"+Pn+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+qi+"]",ce="\\u200d",Ee="(?:"+Hi+"|"+$i+")",Le="(?:"+Z+"|"+$i+")",rt="(?:"+Jt+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+Jt+"(?:D|LL|M|RE|S|T|VE))?",Ot=ba+"?",Ct="["+Gi+"]?",fh="(?:"+ce+"(?:"+[Ji,O,j].join("|")+")"+Ct+Ot+")*",ph="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",uu=Ct+Ot+fh,dh="(?:"+[hn,O,j].join("|")+")"+uu,mh="(?:"+[Ji+pn+"?",pn,O,j,ci].join("|")+")",vh=RegExp(Jt,"g"),yh=RegExp(pn,"g"),Ea=RegExp(kn+"(?="+kn+")|"+mh+uu,"g"),_h=RegExp([Z+"?"+Hi+"+"+rt+"(?="+[fi,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[fi,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,hh,ph,Xi,dh].join("|"),"g"),gh=RegExp("["+ce+Pn+ji+Gi+"]"),xh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Eh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[M]=_t[q]=_t[ae]=_t[Ae]=_t[Me]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[M]=yt[q]=yt[ae]=yt[Ae]=yt[Me]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var wh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Sh={"&":"&","<":"<",">":">",'"':""","'":"'"},Ah={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ch={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dh=parseFloat,Th=parseInt,lu=typeof global=="object"&&global&&global.Object===Object&&global,Nh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=lu||Nh||Function("return this")(),wa=typeof oi=="object"&&oi&&!oi.nodeType&&oi,dn=wa&&typeof Bi=="object"&&Bi&&!Bi.nodeType&&Bi,cu=dn&&dn.exports===wa,Sa=cu&&lu.process,cr=function(){try{var pe=dn&&dn.require&&dn.require("util").types;return pe||Sa&&Sa.binding&&Sa.binding("util")}catch{}}(),fu=cr&&cr.isArrayBuffer,pu=cr&&cr.isDate,hu=cr&&cr.isMap,du=cr&&cr.isRegExp,mu=cr&&cr.isSet,vu=cr&&cr.isTypedArray;function rr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function Oh(pe,we,_e,Re){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Aa(pe,we,_e){for(var Re=-1,Ze=pe==null?0:pe.length;++Re-1;);return _e}function Su(pe,we){for(var _e=pe.length;_e--&&Ln(we,pe[_e],0)>-1;);return _e}function jh(pe,we){for(var _e=pe.length,Re=0;_e--;)pe[_e]===we&&++Re;return Re}var Uh=Na(wh),zh=Na(Sh);function qh(pe){return"\\"+Ch[pe]}function Gh(pe,we){return pe==null?l:pe[we]}function Bn(pe){return gh.test(pe)}function Wh(pe){return xh.test(pe)}function Xh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Pa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Re,Ze){_e[++we]=[Ze,Re]}),_e}function Au(pe,we){return function(_e){return pe(we(_e))}}function Kr(pe,we){for(var _e=-1,Re=pe.length,Ze=0,ht=[];++_e-1}function Id(n,d){var A=this.__data__,F=po(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Ir.prototype.clear=Td,Ir.prototype.delete=Nd,Ir.prototype.get=Od,Ir.prototype.has=Fd,Ir.prototype.set=Id;function Pr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function dr(n,d,A,F,U,V){var te,ue=d&o,he=d&a,De=d&c;if(A&&(te=U?A(n,F,U,V):A(n)),te!==l)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=Bm(n),!ue)return Kt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(rn(n))return sl(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Cl(n),!ue)return he?Am(n,Jd(te,n)):Sm(n,Ru(te,n))}else{if(!yt[Ie])return U?n:{};te=Rm(n,Ie,ue)}}V||(V=new xr);var qe=V.get(n);if(qe)return qe;V.set(n,te),tc(n)?n.forEach(function(Je){te.add(dr(Je,d,A,Je,n,V))}):Zl(n)&&n.forEach(function(Je,st){te.set(st,dr(Je,d,A,st,n,V))});var $e=De?he?os:is:he?Yt:Rt,it=Te?l:$e(n);return fr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),_i(te,st,dr(Je,d,A,st,n,V))}),te}function Kd(n){var d=Rt(n);return function(A){return Mu(A,n,d)}}function Mu(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===l&&!(U in n)||!V(te))return!1}return!0}function ju(n,d,A){if(typeof n!="function")throw new pr(S);return Ai(function(){n.apply(l,A)},d)}function gi(n,d,A,F){var U=-1,V=Ki,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,nr(A))),F?(V=Aa,te=!1):d.length>=t&&(V=pi,te=!1,d=new yn(d));e:for(;++UU?0:U+A),F=F===l||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:nc(F);A0&&A(ue)?d>1?Mt(ue,d-1,A,F,U):Jr(U,ue):F||(U[U.length]=ue)}return U}var Ua=hl(),qu=hl(!0);function Ar(n,d){return n&&Ua(n,d,Rt)}function za(n,d){return n&&qu(n,d,Rt)}function mo(n,d){return $r(d,function(A){return Mr(n[A])})}function gn(n,d){d=en(d,n);for(var A=0,F=d.length;n!=null&&Ad}function Qd(n,d){return n!=null&&mt.call(n,d)}function Zd(n,d){return n!=null&&d in vt(n)}function em(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new yn(te&&Te):l}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&oo.call(ue,he,1),oo.call(n,he,1);return n}function Zu(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Rr(U)?oo.call(n,U,1):Ya(n,U)}}return n}function Ja(n,d){return n+uo(Pu()*(d-n+1))}function hm(n,d,A,F){for(var U=-1,V=kt(so((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function Ka(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=uo(d/2),d&&(n+=n);while(d);return A}function at(n,d){return ps(Nl(n,d,Qt),n+"")}function dm(n){return Bu(Hn(n))}function mm(n,d){var A=Hn(n);return Co(A,_n(d,0,A.length))}function Ei(n,d,A,F){if(!bt(n))return n;d=en(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!or(te)&&(A?te<=d:te=t){var De=d?null:Nm(n);if(De)return Yi(De);te=!1,U=pi,he=new yn}else he=d?[]:ue;e:for(;++F=F?n:mr(n,d,A)}var al=ad||function(n){return Bt.clearTimeout(n)};function sl(n,d){if(d)return n.slice();var A=n.length,F=Tu?Tu(A):new n.constructor(A);return n.copy(F),F}function ts(n){var d=new n.constructor(n.byteLength);return new no(d).set(new no(n)),d}function xm(n,d){var A=d?ts(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function bm(n){var d=new n.constructor(n.source,fn.exec(n));return d.lastIndex=n.lastIndex,d}function Em(n){return yi?vt(yi.call(n)):{}}function ul(n,d){var A=d?ts(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function ll(n,d){if(n!==d){var A=n!==l,F=n===null,U=n===n,V=or(n),te=d!==l,ue=d===null,he=d===d,De=or(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function cl(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:l,te=U>2?A[2]:l;for(V=n.length>3&&typeof V=="function"?(U--,V):l,te&&Xt(A[0],A[1],te)&&(V=U<3?l:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:l}}function vl(n){return Br(function(d){var A=d.length,F=A,U=hr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new pr(S);if(U&&!te&&So(V)=="wrapper")var te=new hr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new yn:l;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Hr,`{ +/* [wrapped with `+d+`] */ +`)}function jm(n){return tt(n)||En(n)||!!(Fu&&n&&n[Fu])}function Rr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&fa.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(l,arguments)}}function Co(n,d){var A=-1,F=n.length,U=F-1;for(d=d===l?F:d;++A1?n[d-1]:l;return A=typeof A=="function"?(n.pop(),A):l,zl(n,A)});function ql(n){var d=J(n);return d.__chain__=!0,d}function V0(n,d){return d(n),n}function Do(n,d){return d(n)}var Y0=Br(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return ja(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Rr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Do,args:[U],thisArg:l}),new hr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(l),V}))});function Q0(){return ql(this)}function Z0(){return new hr(this.value(),this.__chain__)}function ev(){this.__values__===l&&(this.__values__=rc(this.value()));var n=this.__index__>=this.__values__.length,d=n?l:this.__values__[this.__index__++];return{done:n,value:d}}function tv(){return this}function rv(n){for(var d,A=this;A instanceof fo;){var F=Ll(A);F.__index__=0,F.__values__=l,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function nv(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Do,args:[hs],thisArg:l}),new hr(d,this.__chain__)}return this.thru(hs)}function iv(){return il(this.__wrapped__,this.__actions__)}var ov=go(function(n,d,A){mt.call(n,A)?++n[A]:kr(n,A,1)});function av(n,d,A){var F=tt(n)?yu:Vd;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}function sv(n,d){var A=tt(n)?$r:zu;return A(n,Xe(d,3))}var uv=ml(Bl),lv=ml(Rl);function cv(n,d){return Mt(To(n,d),1)}function fv(n,d){return Mt(To(n,d),Y)}function pv(n,d,A){return A=A===l?1:nt(A),Mt(To(n,d),A)}function Gl(n,d){var A=tt(n)?fr:Qr;return A(n,Xe(d,3))}function Wl(n,d){var A=tt(n)?Fh:Uu;return A(n,Xe(d,3))}var hv=go(function(n,d,A){mt.call(n,A)?n[A].push(d):kr(n,A,[d])});function dv(n,d,A,F){n=Vt(n)?n:Hn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Po(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&Ln(n,d,A)>-1}var mv=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Vt(n)?_e(n.length):[];return Qr(n,function(te){V[++F]=U?rr(d,te,A):xi(te,d,A)}),V}),vv=go(function(n,d,A){kr(n,A,d)});function To(n,d){var A=tt(n)?xt:$u;return A(n,Xe(d,3))}function yv(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?l:A,tt(A)||(A=A==null?[]:[A]),Yu(n,d,A))}var _v=go(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function gv(n,d,A){var F=tt(n)?Ca:bu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Qr)}function xv(n,d,A){var F=tt(n)?Ih:bu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Uu)}function bv(n,d){var A=tt(n)?$r:zu;return A(n,Fo(Xe(d,3)))}function Ev(n){var d=tt(n)?Bu:dm;return d(n)}function wv(n,d,A){(A?Xt(n,d,A):d===l)?d=1:d=nt(d);var F=tt(n)?Xd:mm;return F(n,d)}function Sv(n){var d=tt(n)?Hd:ym;return d(n)}function Av(n){if(n==null)return 0;if(Vt(n))return Po(n)?Rn(n):n.length;var d=qt(n);return d==M||d==Me?n.size:Xa(n).length}function Cv(n,d,A){var F=tt(n)?Da:_m;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}var Dv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Xt(n,d[0],d[1])?d=[]:A>2&&Xt(d[0],d[1],d[2])&&(d=[d[0]]),Yu(n,Mt(d,1),[])}),No=sd||function(){return Bt.Date.now()};function Tv(n,d){if(typeof d!="function")throw new pr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Xl(n,d,A){return d=A?l:d,d=n&&d==null?n.length:d,Lr(n,E,l,l,l,l,d)}function Hl(n,d){var A;if(typeof d!="function")throw new pr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=l),A}}var ms=at(function(n,d,A){var F=v;if(A.length){var U=Kr(A,Wn(ms));F|=b}return Lr(n,F,d,A,U)}),$l=at(function(n,d,A){var F=v|f;if(A.length){var U=Kr(A,Wn($l));F|=b}return Lr(d,F,n,A,U)});function Jl(n,d,A){d=A?l:d;var F=Lr(n,e,l,l,l,l,l,d);return F.placeholder=Jl.placeholder,F}function Kl(n,d,A){d=A?l:d;var F=Lr(n,g,l,l,l,l,l,d);return F.placeholder=Kl.placeholder,F}function Vl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new pr(S);d=yr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(yr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var Er=F,Ur=U;return F=U=l,De=Tt,te=n.apply(Ur,Er),te}function $e(Tt){return De=Tt,ue=Ai(st,d),Te?qe(Tt):te}function it(Tt){var Er=Tt-he,Ur=Tt-De,mc=d-Er;return Ie?zt(mc,V-Ur):mc}function Je(Tt){var Er=Tt-he,Ur=Tt-De;return he===l||Er>=d||Er<0||Ie&&Ur>=V}function st(){var Tt=No();if(Je(Tt))return lt(Tt);ue=Ai(st,it(Tt))}function lt(Tt){return ue=l,Be&&F?qe(Tt):(F=U=l,te)}function ar(){ue!==l&&al(ue),De=0,F=he=U=ue=l}function Ht(){return ue===l?te:lt(No())}function sr(){var Tt=No(),Er=Je(Tt);if(F=arguments,U=this,he=Tt,Er){if(ue===l)return $e(he);if(Ie)return al(ue),ue=Ai(st,d),qe(he)}return ue===l&&(ue=Ai(st,d)),te}return sr.cancel=ar,sr.flush=Ht,sr}var Nv=at(function(n,d){return ju(n,1,d)}),Ov=at(function(n,d,A){return ju(n,yr(d)||0,A)});function Fv(n){return Lr(n,D)}function Oo(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new pr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(Oo.Cache||Pr),A}Oo.Cache=Pr;function Fo(n){if(typeof n!="function")throw new pr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function Iv(n){return Hl(2,n)}var Pv=gm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],nr(Xe())):xt(Mt(d,1),nr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),En=Wu(function(){return arguments}())?Wu:function(n){return St(n)&&mt.call(n,"callee")&&!Ou.call(n,"callee")},tt=_e.isArray,Jv=fu?nr(fu):rm;function Vt(n){return n!=null&&Io(n.length)&&!Mr(n)}function Dt(n){return St(n)&&Vt(n)}function Kv(n){return n===!0||n===!1||St(n)&&Wt(n)==le}var rn=ld||Ds,Vv=pu?nr(pu):nm;function Yv(n){return St(n)&&n.nodeType===1&&!Ci(n)}function Qv(n){if(n==null)return!0;if(Vt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||rn(n)||Xn(n)||En(n)))return!n.length;var d=qt(n);if(d==M||d==Me)return!n.size;if(Si(n))return!Xa(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function Zv(n,d){return bi(n,d)}function ey(n,d,A){A=typeof A=="function"?A:l;var F=A?A(n,d):l;return F===l?bi(n,d,l,A):!!F}function ys(n){if(!St(n))return!1;var d=Wt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ci(n)}function ty(n){return typeof n=="number"&&Iu(n)}function Mr(n){if(!bt(n))return!1;var d=Wt(n);return d==B||d==L||d==ie||d==ge}function Ql(n){return typeof n=="number"&&n==nt(n)}function Io(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Zl=hu?nr(hu):om;function ry(n,d){return n===d||Wa(n,d,ss(d))}function ny(n,d,A){return A=typeof A=="function"?A:l,Wa(n,d,ss(d),A)}function iy(n){return ec(n)&&n!=+n}function oy(n){if(qm(n))throw new Ze(m);return Xu(n)}function ay(n){return n===null}function sy(n){return n==null}function ec(n){return typeof n=="number"||St(n)&&Wt(n)==q}function Ci(n){if(!St(n)||Wt(n)!=ae)return!1;var d=io(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&eo.call(A)==nd}var _s=du?nr(du):am;function uy(n){return Ql(n)&&n>=-z&&n<=z}var tc=mu?nr(mu):sm;function Po(n){return typeof n=="string"||!tt(n)&&St(n)&&Wt(n)==je}function or(n){return typeof n=="symbol"||St(n)&&Wt(n)==ot}var Xn=vu?nr(vu):um;function ly(n){return n===l}function cy(n){return St(n)&&qt(n)==Se}function fy(n){return St(n)&&Wt(n)==ct}var py=wo(Ha),hy=wo(function(n,d){return n<=d});function rc(n){if(!n)return[];if(Vt(n))return Po(n)?gr(n):Kt(n);if(hi&&n[hi])return Xh(n[hi]());var d=qt(n),A=d==M?Pa:d==Me?Yi:Hn;return A(n)}function jr(n){if(!n)return n===0?n:0;if(n=yr(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=jr(n),A=d%1;return d===d?A?d-A:d:0}function nc(n){return n?_n(nt(n),0,ee):0}function yr(n){if(typeof n=="number")return n;if(or(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=Eu(n);var A=la.test(n);return A||ca.test(n)?Th(n.slice(2),A?2:8):Sr.test(n)?H:+n}function ic(n){return Cr(n,Yt(n))}function dy(n){return n?_n(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":ir(n)}var my=qn(function(n,d){if(Si(d)||Vt(d)){Cr(d,Rt(d),n);return}for(var A in d)mt.call(d,A)&&_i(n,A,d[A])}),oc=qn(function(n,d){Cr(d,Yt(d),n)}),ko=qn(function(n,d,A,F){Cr(d,Yt(d),n,F)}),vy=qn(function(n,d,A,F){Cr(d,Rt(d),n,F)}),yy=Br(ja);function _y(n,d){var A=zn(n);return d==null?A:Ru(A,d)}var gy=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:l;for(U&&Xt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(n,os(n),A),F&&(A=dr(A,o|a|c,Om));for(var U=d.length;U--;)Ya(A,d[U]);return A});function Ry(n,d){return sc(n,Fo(Xe(d)))}var My=Br(function(n,d){return n==null?{}:fm(n,d)});function sc(n,d){if(n==null)return{};var A=xt(os(n),function(F){return[F]});return d=Xe(d),Qu(n,A,function(F,U){return d(F,U[0])})}function jy(n,d,A){d=en(d,n);var F=-1,U=d.length;for(U||(U=1,n=l);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Pu();return zt(n+U*(d-n+Dh("1e-"+((U+"").length-1))),d)}return Ja(n,d)}var Vy=Gn(function(n,d,A){return d=d.toLowerCase(),n+(A?cc(d):d)});function cc(n){return bs(dt(n).toLowerCase())}function fc(n){return n=dt(n),n&&n.replace(pa,Uh).replace(yh,"")}function Yy(n,d,A){n=dt(n),d=ir(d);var F=n.length;A=A===l?F:_n(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function Qy(n){return n=dt(n),n&&ai.test(n)?n.replace(ft,zh):n}function Zy(n){return n=dt(n),n&&oa.test(n)?n.replace(Xr,"\\$&"):n}var e_=Gn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),t_=Gn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),r_=dl("toLowerCase");function n_(n,d,A){n=dt(n),d=nt(d);var F=d?Rn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return Eo(uo(U),A)+n+Eo(so(U),A)}function i_(n,d,A){n=dt(n),d=nt(d);var F=d?Rn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!_s(d))&&(d=ir(d),!d&&Bn(n))?tn(gr(n),0,A):n.split(d,A)):[]}var f_=Gn(function(n,d,A){return n+(A?" ":"")+bs(d)});function p_(n,d,A){return n=dt(n),A=A==null?0:_n(nt(A),0,n.length),d=ir(d),n.slice(A,A+d.length)==d}function h_(n,d,A){var F=J.templateSettings;A&&Xt(n,d,A)&&(d=l),n=dt(n),d=ko({},d,F,bl);var U=ko({},d.imports,F.imports,bl),V=Rt(U),te=Ia(U,V),ue,he,De=0,Te=d.interpolate||In,Ie="__p += '",Be=ka((d.escape||In).source+"|"+Te.source+"|"+(Te===Pe?ua:In).source+"|"+(d.evaluate||In).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Eh+"]")+` +`;n.replace(Be,function(Je,st,lt,ar,Ht,sr){return lt||(lt=ar),Ie+=n.slice(De,sr).replace(ha,qh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Ht&&(he=!0,Ie+=`'; +`+Ht+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=sr+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(tr.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=fc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Os(et))throw et;return et}function Nv(r){return ct(r).toLowerCase()}function Fv(r){return ct(r).toUpperCase()}function Ov(r,h,A){if(r=ct(r),r&&(A||h===E))return xu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=bu(O,U),te=Eu(O,U)+1;return Wr(O,V,te).join("")}function Iv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Su(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=Eu(O,hr(h))+1;return Wr(O,0,U).join("")}function Pv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h));return Wr(O,U).join("")}function kv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Is(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ja(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var Pe=pe.lastIndexOf(U);Pe>-1&&(pe=pe.slice(0,Pe))}return pe+O}function Bv(r){return r=ct(r),r&&Pt.test(r)?r.replace(_t,ch):r}var Lv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Bs=pl("toUpperCase");function cc(r,h,A){return r=ct(r),h=A?E:h,h===E?oh(r)?hh(r):Vp(r):r.match(h)||[]}var fc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Os(A)?A:new Ke(A)}}),Rv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Ns(r[A],r))}),r});function Mv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uq)return[];var A=ee,O=kt(r,ee);h=Ge(h),r-=ee;for(var U=Xa(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=J[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&(J.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply(J,Rr([nt],se));return O&&Pe?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var Pe=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!Pe,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:ho,args:[Fe],thisArg:E}),new ar(He,Pe)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=ji[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=J[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[ao(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Bh,it.prototype.reverse=Lh,it.prototype.value=Rh,J.prototype.at=p0,J.prototype.chain=h0,J.prototype.commit=d0,J.prototype.next=m0,J.prototype.plant=v0,J.prototype.reverse=g0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=_0,J.prototype.first=J.prototype.head,Zn&&(J.prototype[Zn]=y0),J},jr=dh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,Ra._=jr):Ft._=jr}).call(Xn)});var Ub={};Cg(Ub,{default:()=>Mb,options:()=>Ap,setup:()=>Rb,teardown:()=>jb});module.exports=Tg(Ub);var Eb=jt(require("k6/encoding")),wb=require("k6"),Sb=jt(require("k6/http"));var Ng=typeof global=="object"&&global&&global.Object===Object&&global,wo=Ng;var Fg=typeof self=="object"&&self&&self.Object===Object&&self,Og=wo||Fg||Function("return this")(),Dt=Og;var Ig=Dt.Symbol,Fr=Ig;var mc=Object.prototype,Pg=mc.hasOwnProperty,kg=mc.toString,hi=Fr?Fr.toStringTag:void 0;function Bg(E){var l=Pg.call(E,hi),o=E[hi];try{E[hi]=void 0;var v=!0}catch{}var w=kg.call(E);return v&&(l?E[hi]=o:delete E[hi]),w}var yc=Bg;var Lg=Object.prototype,Rg=Lg.toString;function Mg(E){return Rg.call(E)}var vc=Mg;var jg="[object Null]",Ug="[object Undefined]",gc=Fr?Fr.toStringTag:void 0;function qg(E){return E==null?E===void 0?Ug:jg:gc&&gc in Object(E)?yc(E):vc(E)}var tr=qg;function zg(E){return E!=null&&typeof E=="object"}var fr=zg;var Gg="[object Symbol]";function Wg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Gg}var Pn=Wg;function Xg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=x_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Ic=w_;function S_(E){return function(){return E}}var Pc=S_;var A_=function(){try{var E=$t(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=A_;var D_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Pc(l),writable:!0})}:So,kc=D_;var C_=Ic(kc),Bc=C_;var T_=9007199254740991,N_=/^(?:0|[1-9]\d*)$/;function F_(E,l){var o=typeof E;return l=l??T_,!!l&&(o=="number"||o!="symbol"&&N_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=j_}var To=U_;function q_(E){return E!=null&&To(E.length)&&!kn(E)}var $r=q_;function z_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?$r(o)&&Co(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var qc=z_;function G_(E){return Uc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&qc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var df=fx;function px(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var mf=px;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ap=E=>new Vs(new URL(E||"").search).object();var up=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Bo(a,{headers:{Authorization:l.header}}),sp.default.request(v,op(E,w),y,Bo(a,m))};var cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),xb=jt(Qs());var bb=jt(Gn()),fp=(E=10,l)=>(0,cp.randomString)(E,l);var Ro={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=require("k6/http");var Mo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var jo=class{settings;constructor(l){this.settings=new Mo(l)}};var Uo=class{v0;constructor(l){this.v0=new jo(l)}};var qo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var Go=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Wo=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Xo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new qo(l),this.spaces=new zo(l),this.systemtags=new Go(l),this.systemtagsRelations=new Wo(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Ho=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var $o=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Ko=class{tags;constructor(l){this.tags=new Jo(l)}};var Vo=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Ko(l)}};var Yo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Qo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Zo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var ea=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Ho(l),this.drives=new $o(l),this.extensions=new Vo(l),this.groups=new Yo(l),this.me=new Qo(l),this.users=new Zo(l)}};var ta=class{v1;constructor(l){this.v1=new ea(l)}};var ra=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Lo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ia=class{shares;sharees;constructor(l){this.shares=new na(l),this.sharees=new ra(l)}};var oa=class{v1;constructor(l){this.v1=new ia(l)}};var aa=class{filesSharing;constructor(l){this.filesSharing=new oa(l)}};var sa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ca=class{users;groups;roles;constructor(l){this.users=new la(l),this.groups=new sa(l),this.roles=new ua(l)}};var fa=class{cloud;apps;constructor(l){this.cloud=new ca(l),this.apps=new aa(l)}};var pa=class{v2;constructor(l){this.v2=new fa(l)}};var ha=class{ocs;graph;dav;api;constructor(l){this.ocs=new pa(l),this.graph=new ta(l),this.dav=new Xo(l),this.api=new Uo(l)}};var da={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=jt(require("k6/encoding")),_i=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${pp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var ma=require("k6"),ya=jt(require("k6/http"));var xi=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ya.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:fp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,ma.fail)(this.#i),o}getCode(l){let o=`${l}?${Lo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ya.default.get(o,{redirects:0}),w=Zr(ap(v.headers.Location),"code");return(v.status!==302||!w)&&(0,ma.fail)(l),w}getToken(l){let o=ya.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,ma.fail)(this.#o),v}};var dp=require("k6"),eu=require("k6"),tu=require("k6"),mn=require("k6"),mp=jt(Gn()),yp=require("k6"),va=require("k6"),bi=jt(Gn()),ga=require("k6"),yn=require("k6"),ru=jt(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,dp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,eu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,eu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,tu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,tu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,mp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,yp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,va.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,va.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,bi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,va.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Ob=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,ga.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,ga.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,ga.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Ib=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,ru.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,ru.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Pb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},Ei=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case da.openIDConnect:w=new xi(v,E);break;case da.basicAuth:w=new _i(v);break}let y=up(E,w,{jar:new hp.CookieJar}),m=new ha(y);this.application=new Ab(l,m),this.drive=new Db(l,m),this.group=new Cb(l,m),this.resource=new Tb(l,m),this.role=new Nb(l,m),this.search=new Fb(l,m),this.share=new Ob(m),this.tag=new Ib(l,m),this.user=new Pb(l,m)}};var vp={user:0,group:1,publicLink:3,federatedCloudShare:6};var gp={read:0,update:2,create:4,delete:8,share:16,all:31};var kb=jt(require("k6/http"));var Bb=require("https://jslib.k6.io/url/1.0.0/index.js"),Lb=require("k6/experimental/timers"),_p=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),xp=jt(Qs());var bp=jt(Gn());var Wn=(E=10,l)=>(0,_p.randomString)(E,l),nu=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return xp.query(l,E).map(o=>Ks(o)?void 0:o)},iu=(E,l)=>{let o=bp.create(l).end({format:"object"});return nu(E,o)};var wp=require("k6"),Sp=jt(require("k6/execution")),ou=jt(Ep()),Ut={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Ro.basicAuth?Ro.basicAuth:Ro.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},shareReceivers:{userCount:parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT)||35},k6:{vus:1,insecureSkipTLSVerify:!0}},Ap=Ut.k6;function Rb(){let E=Ut.adminUser,l=new Ei(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,E),o=(0,ou.times)(Ap.vus||1,()=>{let w={login:Wn(),password:Wn()};l.user.create(w),l.user.enable(w.login);let y=new Ei(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,w),m=y.user.drives(),[a=w.login]=nu("$.value[?(@.driveType === 'personal')].id",m?.body),p=Wn();return y.resource.create(a,p),{credential:w,shareFolder:p}}),v=(0,ou.times)(Ut.shareReceivers.userCount,()=>{let w={login:Wn(),password:Wn()};return l.user.create(w),l.user.enable(w.login),w});return{adminCredential:E,userInfos:o,shareReceiverUserInfos:v}}function Mb({userInfos:E,shareReceiverUserInfos:l}){let o=[],{credential:v,shareFolder:w}=E[Sp.default.vu.idInTest-1],y=new Ei(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,v);l.forEach(({login:m})=>{let a=y.share.create(w,m,vp.user,gp.all),[p]=iu("ocs.data.share_with",a.body);(0,wp.check)(void 0,{["test -> share received - match"]:()=>p===m}),o.push(()=>{let[n]=iu("ocs.data.id",a.body);y.share.delete(n)})}),o.forEach(m=>m())}function jb({userInfos:E,adminCredential:l,shareReceiverUserInfos:o}){let v=new Ei(Ut.baseURL,Ut.clientVersion,Ut.authAdapter,l);E.forEach(({credential:w})=>v.user.delete(w.login)),o.forEach(({login:w})=>v.user.delete(w))} +`)+Ie+`return __p +}`;var it=hc(function(){return ht(V,qe+"return "+Ie).apply(l,te)});if(it.source=Ie,ys(it))throw it;return it}function d_(n){return dt(n).toLowerCase()}function m_(n){return dt(n).toUpperCase()}function v_(n,d,A){if(n=dt(n),n&&(A||d===l))return Eu(n);if(!n||!(d=ir(d)))return n;var F=gr(n),U=gr(d),V=wu(F,U),te=Su(F,U)+1;return tn(F,V,te).join("")}function y_(n,d,A){if(n=dt(n),n&&(A||d===l))return n.slice(0,Cu(n)+1);if(!n||!(d=ir(d)))return n;var F=gr(n),U=Su(F,gr(d))+1;return tn(F,0,U).join("")}function __(n,d,A){if(n=dt(n),n&&(A||d===l))return n.replace(ui,"");if(!n||!(d=ir(d)))return n;var F=gr(n),U=wu(F,gr(d));return tn(F,U).join("")}function g_(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?ir(d.omission):F}n=dt(n);var V=n.length;if(Bn(n)){var te=gr(n);V=te.length}if(A>=V)return n;var ue=A-Rn(F);if(ue<1)return F;var he=te?tn(te,0,ue).join(""):n.slice(0,ue);if(U===l)return he+F;if(te&&(ue+=he.length-ue),_s(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=ka(U.source,dt(fn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===l?ue:Ie)}}else if(n.indexOf(ir(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function x_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Kh):n}var b_=Gn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),bs=dl("toUpperCase");function pc(n,d,A){return n=dt(n),d=A?l:d,d===l?Wh(n)?Qh(n):Lh(n):n.match(d)||[]}var hc=at(function(n,d){try{return rr(n,l,d)}catch(A){return ys(A)?A:new Ze(A)}}),E_=Br(function(n,d){return fr(d,function(A){A=Dr(A),kr(n,A,ms(n[A],n))}),n});function w_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new pr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Fa(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==l&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Jr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Do,args:[Ie],thisArg:l}),new hr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),fr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Qi[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(Un,F)||(Un[F]=[]),Un[F].push({name:d,func:A})}}),Un[xo(l,f).name]=[{name:"wrapper",func:l}],ut.prototype.clone=xd,ut.prototype.reverse=bd,ut.prototype.value=Ed,J.prototype.at=Y0,J.prototype.chain=Q0,J.prototype.commit=Z0,J.prototype.next=ev,J.prototype.plant=rv,J.prototype.reverse=nv,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=iv,J.prototype.first=J.prototype.head,hi&&(J.prototype[hi]=tv),J},Vr=Zh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Vr,define(function(){return Vr})):dn?((dn.exports=Vr)._=Vr,wa._=Vr):Bt._=Vr}).call(oi)});var AA={};jt(AA,{default:()=>ch,options:()=>lh,setup:()=>wA,teardown:()=>SA});module.exports=pg(AA);var lp=Zt(require("k6/encoding")),ta=require("k6"),ra=Zt(require("k6/http"));var hg=typeof global=="object"&&global&&global.Object===Object&&global,Bo=hg;var dg=typeof self=="object"&&self&&self.Object===Object&&self,mg=Bo||dg||Function("return this")(),Ft=mg;var vg=Ft.Symbol,zr=vg;var yc=Object.prototype,yg=yc.hasOwnProperty,_g=yc.toString,Di=zr?zr.toStringTag:void 0;function gg(l){var i=yg.call(l,Di),t=l[Di];try{l[Di]=void 0;var m=!0}catch{}var S=_g.call(l);return m&&(i?l[Di]=t:delete l[Di]),S}var _c=gg;var xg=Object.prototype,bg=xg.toString;function Eg(l){return bg.call(l)}var gc=Eg;var wg="[object Null]",Sg="[object Undefined]",xc=zr?zr.toStringTag:void 0;function Ag(l){return l==null?l===void 0?Sg:wg:xc&&xc in Object(l)?_c(l):gc(l)}var ur=Ag;function Cg(l){return l!=null&&typeof l=="object"}var _r=Cg;var Dg="[object Symbol]";function Tg(l){return typeof l=="symbol"||_r(l)&&ur(l)==Dg}var $n=Tg;function Ng(l,i){for(var t=-1,m=l==null?0:l.length,S=Array(m);++t0){if(++i>=i1)return arguments[0]}else i=0;return l.apply(void 0,arguments)}}var kc=s1;function u1(l){return function(){return l}}var Lc=u1;var l1=function(){try{var l=er(Object,"defineProperty");return l({},"",{}),l}catch{}}(),Kn=l1;var c1=Kn?function(l,i){return Kn(l,"toString",{configurable:!0,enumerable:!1,value:Lc(i),writable:!0})}:Ro,Bc=c1;var f1=kc(Bc),Rc=f1;var p1=9007199254740991,h1=/^(?:0|[1-9]\d*)$/;function d1(l,i){var t=typeof l;return i=i??p1,!!i&&(t=="number"||t!="symbol"&&h1.test(l))&&l>-1&&l%1==0&&l-1&&l%1==0&&l<=w1}var zo=S1;function A1(l){return l!=null&&zo(l.length)&&!Jn(l)}var on=A1;function C1(l,i,t){if(!At(t))return!1;var m=typeof i;return(m=="number"?on(t)&&Vn(i,t.length):m=="string"&&i in t)?nn(t[i],l):!1}var qc=C1;function D1(l){return zc(function(i,t){var m=-1,S=t.length,_=S>1?t[S-1]:void 0,y=S>2?t[2]:void 0;for(_=l.length>3&&typeof _=="function"?(S--,_):void 0,y&&qc(t[0],t[1],y)&&(_=S<3?void 0:_,S=1),i=Object(i);++m-1}var mf=Kx;function Vx(l,i){var t=this.__data__,m=sn(t,l);return m<0?(++this.size,t.push([l,i])):t[m][1]=i,this}var vf=Vx;function ti(l){var i=-1,t=l==null?0:l.length;for(this.clear();++i(0,ip.randomString)(l,i);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var op=require("k6/http");var Ls=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...l)=>l.join("/").replace(/(?new Ls.URLSearchParams(Object.keys(l).map(t=>[t,String(l[t])])).toString(),Yo=l=>{let i=new URL(l).search,t=new Ls.URLSearchParams(i);return Object.fromEntries(t)};var Qo=l=>(i,t,m,S)=>{let _=An({},l.params);return l.authn&&Cn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Cn(_,"jar",l.params.jar),(0,op.request)(i,Tr(l.baseUrl,t),m,An(_,S))};var Bs=require("k6");var ke=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,Bs.check)(l.val,t,l.tags)};var cp=require("k6/http");var Dn={kopano:"kopano",basicAuth:"basicAuth"};var sp=Zt(require("k6/encoding")),Tn=class{userLogin;userPassword;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword}get header(){return`Basic ${sp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Zo=require("k6"),ea=Zt(require("k6/http"));var Nn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword,this.baseUrl=i.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let i=this.getContinueURI(),t=this.getCode(i),m=this.getToken(t);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+m.expiresIn-5),_})(),token:m}}return this.cache.token}getContinueURI(){let i=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Vo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),t=$t(i.json(),"hello.continue_uri");return(i.status!==200||!t)&&(0,Zo.fail)(this.logonURL),t}getCode(i){let t=`${i}?${Nr({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,m=ea.default.get(t,{redirects:0}),S=$t(Yo(m.headers.Location),"code");return(m.status!==302||!S)&&(0,Zo.fail)(i),S}getToken(i){let t=ea.default.post(this.tokenURL,{client_id:"web",code:i,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),m={accessToken:$t(t.json(),"access_token",""),tokenType:$t(t.json(),"token_type",""),idToken:$t(t.json(),"id_token",""),expiresIn:$t(t.json(),"expires_in",0)};return(t.status!==200||!m.accessToken||!m.tokenType||!m.idToken||!m.expiresIn)&&(0,Zo.fail)(this.tokenURL),m}};var Us={};jt(Us,{POST__get_roles:()=>aE});var aE=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({}));var zs={};jt(zs,{SEARCH__search_for_resources:()=>sE});var sE=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}});var qs={};jt(qs,{DELETE__delete_resource:()=>fE,GET__download_resource:()=>lE,MKCOL__create_resource:()=>cE,MOVE__move_resource:()=>pE,PROPFIND__get_properties_for_resource:()=>hE,PUT__upload_resource:()=>uE,REPORT__get_report_for_resources:()=>dE});var uE=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),lE=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),cE=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),fE=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),pE=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),hE=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),dE=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i);var Gs={};jt(Gs,{DELETE__delete_resource:()=>_E,GET__download_resource:()=>vE,MKCOL__create_resource:()=>yE,MOVE__move_resource:()=>gE,PROPFIND__get_properties_for_resource:()=>xE,PUT__upload_resource:()=>mE});var mE=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),vE=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),yE=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),_E=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),gE=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),xE=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i);var Ws={};jt(Ws,{DELETE__delete_tag:()=>EE,POST__create_tag:()=>bE,PROPFIND__get_tags_with_properties:()=>wE});var bE=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),EE=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),wE=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i);var Xs={};jt(Xs,{DELETE__remove_tag_from_resource:()=>AE,PROPFIND__get_tags_with_properties_for_resource:()=>CE,PUT__add_tag_to_resource:()=>SE});var SE=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),AE=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),CE=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i);var Hs={};jt(Hs,{GET__get_applications:()=>DE});var DE=l=>l("GET","/graph/v1.0/applications");var $s={};jt($s,{DELETE__delete_drive:()=>NE,POST__create_drive:()=>TE});var TE=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),NE=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`);var Js={};jt(Js,{DELETE__remove_tags_from_resource:()=>FE,PUT__add_tags_to_resource:()=>OE});var OE=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),FE=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i}));var Ks={};jt(Ks,{DELETE__delete_group:()=>PE,POST__create_group:()=>IE});var IE=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),PE=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`);var Vs={};jt(Vs,{GET__current_user:()=>LE,GET__get_current_user_drives:()=>kE});var kE=l=>l("GET","/graph/v1.0/me/drives"),LE=l=>l("GET","/graph/v1.0/me?$expand=memberOf");var Ys={};jt(Ys,{DELETE__delete_user:()=>RE,POST__add_app_role_to_user:()=>ME,POST__create_user:()=>BE});var BE=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),RE=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),ME=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i}));var Qs={};jt(Qs,{DELETE__delete_group:()=>UE,POST__create_group:()=>jE});var jE=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),UE=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_user:()=>GE,POST__create_user:()=>zE,PUT__enable_user:()=>qE});var zE=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),qE=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),GE=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{GET__search_for_sharees:()=>WE});var WE=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Nr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{DELETE__delete_share:()=>$E,POST__accept_share:()=>HE,POST__create_share:()=>XE});var XE=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},HE=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),$E=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Us}},dav:{...zs,files:qs,spaces:Gs,systemtags:Ws,systemtags_relations:Xs},graph:{v1:{applications:Hs,drives:$s,extensions:{org_libre_graph:{tags:Js}},groups:Ks,me:Vs,users:Ys}},ocs:{v2:{apps:{cloud:{groups:Qs,users:Zs},file_sharing:{v1:{sharees:eu,shares:tu}}}}}};var fp=Zt(ki());var Np=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Op=require("k6/http");var nu=require("https://jslib.k6.io/url/1.0.0/index.js"),na=require("k6"),Ip=Zt(Ms());var Pp=Zt(ki()),JE=Object.defineProperty,It=(l,i)=>{for(var t in i)JE(l,t,{get:i[t],enumerable:!0})},KE={};It(KE,{Adapter:()=>VE,BasicAuth:()=>YE,Kopano:()=>QE});var VE={kopano:"kopano",basicAuth:"basicAuth"},YE=class{userLogin;userPassword;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword}get header(){return`Basic ${lp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},QE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword,this.baseUrl=l.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let l=this.getContinueURI(),i=this.getCode(l),t=this.getToken(i);this.cache={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+t.expiresIn-5),m})(),token:t}}return this.cache.token}getContinueURI(){let l=ra.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Vo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),i=$t(l.json(),"hello.continue_uri");return(l.status!==200||!i)&&(0,ta.fail)(this.logonURL),i}getCode(l){let i=`${l}?${Nr({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,t=ra.default.get(i,{redirects:0}),m=$t(Yo(t.headers.Location),"code");return(t.status!==302||!m)&&(0,ta.fail)(l),m}getToken(l){let i=ra.default.post(this.tokenURL,{client_id:"web",code:l,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),t={accessToken:$t(i.json(),"access_token",""),tokenType:$t(i.json(),"token_type",""),idToken:$t(i.json(),"id_token",""),expiresIn:$t(i.json(),"expires_in",0)};return(i.status!==200||!t.accessToken||!t.tokenType||!t.idToken||!t.expiresIn)&&(0,ta.fail)(this.tokenURL),t}},ZE={};It(ZE,{Client:()=>hw,EndpointClient:()=>wr});var wr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},ew=class extends wr{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},tw=class extends wr{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},rw=class extends wr{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},nw=class extends wr{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,fp.create)({version:"1.0",encoding:"UTF-8"}),iw={[oe.ownCloudInfiniteScale](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},up={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return On().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(i).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return On().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${i}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(t).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(m.toString()).end()}},ow={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return On().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return On().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},pp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},aw={[oe.ownCloudInfiniteScale](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return pp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sw=class extends wr{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=iw[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},uw=class extends wr{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},lw=class extends wr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:up[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:up[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:ow[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},cw=class extends wr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},fw=class extends wr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:pp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=aw[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},pw=class extends wr{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},hw=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Dn.basicAuth:i=new Tn(l);break;case Dn.kopano:default:i=new Nn(l);break}let t=Qo({authn:i,baseUrl:l.baseUrl,params:{jar:new cp.CookieJar}});this.application=new ew(l.platform,t),this.drive=new tw(l.platform,t),this.group=new rw(l.platform,t),this.me=new nw(l.platform,t),this.resource=new sw(l.platform,t),this.role=new uw(l.platform,t),this.search=new lw(l.platform,t),this.share=new cw(l.platform,t),this.tag=new fw(l.platform,t),this.user=new pw(l.platform,t)}},ru={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},dw={};It(dw,{ItemType:()=>iS,Permission:()=>oS,ShareType:()=>nS,endpoints:()=>aS});var hp={};It(hp,{POST__get_roles:()=>mw});var mw=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),dp={};It(dp,{SEARCH__search_for_resources:()=>vw});var vw=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),mp={};It(mp,{DELETE__delete_resource:()=>xw,GET__download_resource:()=>_w,MKCOL__create_resource:()=>gw,MOVE__move_resource:()=>bw,PROPFIND__get_properties_for_resource:()=>Ew,PUT__upload_resource:()=>yw,REPORT__get_report_for_resources:()=>ww});var yw=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),_w=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),gw=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),xw=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),bw=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),Ew=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),ww=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),vp={};It(vp,{DELETE__delete_resource:()=>Dw,GET__download_resource:()=>Aw,MKCOL__create_resource:()=>Cw,MOVE__move_resource:()=>Tw,PROPFIND__get_properties_for_resource:()=>Nw,PUT__upload_resource:()=>Sw});var Sw=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),Aw=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),Cw=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),Dw=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),Tw=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),Nw=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),yp={};It(yp,{DELETE__delete_tag:()=>Fw,POST__create_tag:()=>Ow,PROPFIND__get_tags_with_properties:()=>Iw});var Ow=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),Fw=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),Iw=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),_p={};It(_p,{DELETE__remove_tag_from_resource:()=>kw,PROPFIND__get_tags_with_properties_for_resource:()=>Lw,PUT__add_tag_to_resource:()=>Pw});var Pw=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),kw=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),Lw=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),gp={};It(gp,{GET__get_applications:()=>Bw});var Bw=l=>l("GET","/graph/v1.0/applications"),xp={};It(xp,{DELETE__delete_drive:()=>Mw,POST__create_drive:()=>Rw});var Rw=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),Mw=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),bp={};It(bp,{DELETE__remove_tags_from_resource:()=>Uw,PUT__add_tags_to_resource:()=>jw});var jw=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Uw=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Ep={};It(Ep,{DELETE__delete_group:()=>qw,POST__create_group:()=>zw});var zw=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),qw=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),wp={};It(wp,{GET__current_user:()=>Ww,GET__get_current_user_drives:()=>Gw});var Gw=l=>l("GET","/graph/v1.0/me/drives"),Ww=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Sp={};It(Sp,{DELETE__delete_user:()=>Hw,POST__add_app_role_to_user:()=>$w,POST__create_user:()=>Xw});var Xw=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),Hw=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),$w=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Ap={};It(Ap,{DELETE__delete_group:()=>Kw,POST__create_group:()=>Jw});var Jw=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),Kw=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{DELETE__delete_user:()=>Qw,POST__create_user:()=>Vw,PUT__enable_user:()=>Yw});var Vw=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Yw=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Qw=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Dp={};It(Dp,{GET__search_for_sharees:()=>Zw});var Zw=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Nr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Tp={};It(Tp,{DELETE__delete_share:()=>rS,POST__accept_share:()=>tS,POST__create_share:()=>eS});var eS=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},tS=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),rS=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),nS={user:0,group:1,publicLink:3,federatedCloudShare:6},iS={file:"file",folder:"folder"},oS={read:0,update:2,create:4,delete:8,share:16,all:31},aS={api:{v0:{settings:hp}},dav:{...dp,files:mp,spaces:vp,systemtags:yp,systemtags_relations:_p},graph:{v1:{applications:gp,drives:xp,extensions:{org_libre_graph:{tags:bp}},groups:Ep,me:wp,users:Sp}},ocs:{v2:{apps:{cloud:{groups:Ap,users:Cp},file_sharing:{v1:{sharees:Dp,shares:Tp}}}}}},sS={};It(sS,{check:()=>dS,cleanURL:()=>Fp,group:()=>hS,objectToQueryString:()=>cS,platformGuard:()=>lS,queryJson:()=>kp,queryStringToObject:()=>fS,queryXml:()=>mS,randomString:()=>uS,requestFactory:()=>pS});var uS=(l=10,i)=>(0,Np.randomString)(l,i),lS=l=>({isOwnCloudInfiniteScale:l===oe.ownCloudInfiniteScale,isOwnCloudServer:l===oe.ownCloudServer,isNextcloud:l===oe.nextcloud}),Fp=(...l)=>l.join("/").replace(/(?new nu.URLSearchParams(Object.keys(l).map(i=>[i,String(l[i])])).toString(),fS=l=>{let i=new URL(l).search,t=new nu.URLSearchParams(i);return Object.fromEntries(t)},pS=l=>(i,t,m,S)=>{let _=An({},l.params);return l.authn&&Cn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Cn(_,"jar",l.params.jar),(0,Op.request)(i,Fp(l.baseUrl,t),m,An(_,S))},hS=(l,i)=>(0,na.group)(l,()=>i(l)),dS=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,na.check)(l.val,t,l.tags)},kp=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return Ip.query(t,l).map(m=>At(m)&&Ii(m)?void 0:m)},mS=(l,i)=>{let t=Pp.create(i).end({format:"object"});return kp(l,t)};var vS=Zt(require("k6/encoding")),yS=require("k6"),_S=Zt(require("k6/http"));var ia={kopano:"kopano",basicAuth:"basicAuth"};var Bp=require("k6/http");var Rp=Zt(ki());var Or=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},gS=class extends Or{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},xS=class extends Or{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},bS=class extends Or{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},ES=class extends Or{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},Fn=()=>(0,Rp.create)({version:"1.0",encoding:"UTF-8"}),wS={[oe.ownCloudInfiniteScale](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Lp={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return Fn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(i).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return Fn().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${i}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(t).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(m.toString()).end()}},SS={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return Fn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return Fn().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},Mp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},AS={[oe.ownCloudInfiniteScale](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Mp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},CS=class extends Or{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=wS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},DS=class extends Or{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},TS=class extends Or{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Lp[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:Lp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:SS[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},NS=class extends Or{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},OS=class extends Or{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Mp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=AS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},FS=class extends Or{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},Li=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Dn.basicAuth:i=new Tn(l);break;case Dn.kopano:default:i=new Nn(l);break}let t=Qo({authn:i,baseUrl:l.baseUrl,params:{jar:new Bp.CookieJar}});this.application=new gS(l.platform,t),this.drive=new xS(l.platform,t),this.group=new bS(l.platform,t),this.me=new ES(l.platform,t),this.resource=new CS(l.platform,t),this.role=new DS(l.platform,t),this.search=new TS(l.platform,t),this.share=new NS(l.platform,t),this.tag=new OS(l.platform,t),this.user=new FS(l.platform,t)}};var IS=Object.defineProperty,Gt=(l,i)=>{for(var t in i)IS(l,t,{get:i[t],enumerable:!0})},jp={};Gt(jp,{POST__get_roles:()=>PS});var PS=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),Up={};Gt(Up,{SEARCH__search_for_resources:()=>kS});var kS=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),zp={};Gt(zp,{DELETE__delete_resource:()=>MS,GET__download_resource:()=>BS,MKCOL__create_resource:()=>RS,MOVE__move_resource:()=>jS,PROPFIND__get_properties_for_resource:()=>US,PUT__upload_resource:()=>LS,REPORT__get_report_for_resources:()=>zS});var LS=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),BS=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),RS=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),MS=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),jS=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),US=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),zS=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),qp={};Gt(qp,{DELETE__delete_resource:()=>XS,GET__download_resource:()=>GS,MKCOL__create_resource:()=>WS,MOVE__move_resource:()=>HS,PROPFIND__get_properties_for_resource:()=>$S,PUT__upload_resource:()=>qS});var qS=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),GS=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),WS=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),XS=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),HS=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),$S=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),Gp={};Gt(Gp,{DELETE__delete_tag:()=>KS,POST__create_tag:()=>JS,PROPFIND__get_tags_with_properties:()=>VS});var JS=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),KS=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),VS=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),Wp={};Gt(Wp,{DELETE__remove_tag_from_resource:()=>QS,PROPFIND__get_tags_with_properties_for_resource:()=>ZS,PUT__add_tag_to_resource:()=>YS});var YS=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),QS=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),ZS=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),Xp={};Gt(Xp,{GET__get_applications:()=>eA});var eA=l=>l("GET","/graph/v1.0/applications"),Hp={};Gt(Hp,{DELETE__delete_drive:()=>rA,POST__create_drive:()=>tA});var tA=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),rA=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),$p={};Gt($p,{DELETE__remove_tags_from_resource:()=>iA,PUT__add_tags_to_resource:()=>nA});var nA=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),iA=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Jp={};Gt(Jp,{DELETE__delete_group:()=>aA,POST__create_group:()=>oA});var oA=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),aA=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Kp={};Gt(Kp,{GET__current_user:()=>uA,GET__get_current_user_drives:()=>sA});var sA=l=>l("GET","/graph/v1.0/me/drives"),uA=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Vp={};Gt(Vp,{DELETE__delete_user:()=>cA,POST__add_app_role_to_user:()=>fA,POST__create_user:()=>lA});var lA=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),cA=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),fA=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Yp={};Gt(Yp,{DELETE__delete_group:()=>hA,POST__create_group:()=>pA});var pA=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),hA=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Qp={};Gt(Qp,{DELETE__delete_user:()=>vA,POST__create_user:()=>dA,PUT__enable_user:()=>mA});var dA=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),mA=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),vA=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Zp={};Gt(Zp,{GET__search_for_sharees:()=>yA});var yA=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Nr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),eh={};Gt(eh,{DELETE__delete_share:()=>xA,POST__accept_share:()=>gA,POST__create_share:()=>_A});var _A=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},gA=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),xA=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),th={user:0,group:1,publicLink:3,federatedCloudShare:6};var rh={read:0,update:2,create:4,delete:8,share:16,all:31},QI={api:{v0:{settings:jp}},dav:{...Up,files:zp,spaces:qp,systemtags:Gp,systemtags_relations:Wp},graph:{v1:{applications:Xp,drives:Hp,extensions:{org_libre_graph:{tags:$p}},groups:Jp,me:Kp,users:Vp}},ocs:{v2:{apps:{cloud:{groups:Yp,users:Qp},file_sharing:{v1:{sharees:Zp,shares:eh}}}}}};var nh=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var bA=require("k6/http");var EA=require("https://jslib.k6.io/url/1.0.0/index.js"),iu=require("k6"),oh=Zt(Ms());var ah=Zt(ki()),ii=(l=10,i)=>(0,nh.randomString)(l,i);var ih=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,iu.check)(l.val,t,l.tags)},ou=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return oh.query(t,l).map(m=>At(m)&&Ii(m)?void 0:m)},au=(l,i)=>{let t=ah.create(i).end({format:"object"});return ou(l,t)};var uh=Zt(require("k6/execution")),su=Zt(sh()),Fr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ia.basicAuth?ia.basicAuth:ia.kopano,platform:ru[__ENV.PLATFORM]||ru.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},shareReceivers:{userCount:parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT,10)||35},k6:{vus:1,insecureSkipTLSVerify:!0}},lh=Fr.k6;function wA(){let l=new Li({...Fr,userLogin:Fr.admin.login,userPassword:Fr.admin.password}),i=(0,su.times)(Fr.shareReceivers.userCount,()=>{let[m,S]=[ii(),ii()];return l.user.createUser({userLogin:m,userPassword:S}),l.user.enableUser({userLogin:m}),{userLogin:m,userPassword:S}}),t=(0,su.times)(lh.vus||1,()=>{let[m,S]=[ii(),ii()];l.user.createUser({userLogin:m,userPassword:S}),l.user.enableUser({userLogin:m});let _=new Li({...Fr,userLogin:m,userPassword:S}),y=_.me.getMyDrives(),[s=m]=ou("$.value[?(@.driveType === 'personal')].id",y?.body),h=ii();return _.resource.createResource({root:s,resourcePath:h}),{actorLogin:m,actorPassword:S,shareFolder:h,shareReceivers:{users:i}}});return{adminData:{adminLogin:Fr.admin.login,adminPassword:Fr.admin.password},actorData:t}}function ch({actorData:l}){let{actorLogin:i,actorPassword:t,shareReceivers:m,shareFolder:S}=l[uh.default.vu.idInTest-1],_=new Li({...Fr,userLogin:i,userPassword:t}),y=[];m.users.forEach(({userLogin:s})=>{let h=_.share.createShare({shareResourcePath:S,shareReceiver:s,shareType:th.user,shareReceiverPermission:rh.all}),[o]=au("ocs.data.share_with",h.body);ih({val:void 0},{"test -> share received - match":()=>o===s}),y.push(()=>{let[a]=au("ocs.data.id",h.body);_.share.deleteShare({shareId:a})})}),y.forEach(s=>{s()})}function SA({adminData:l,actorData:i}){let t=new Li({...Fr,userLogin:l.adminLogin,userPassword:l.adminPassword});i.forEach(({actorLogin:m,shareReceivers:{users:S}})=>{t.user.deleteUser({userLogin:m}),S.forEach(_=>t.user.deleteUser(_))})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/koko-100-add-remove-tag.js b/packages/k6-tests/artifacts/koko-100-add-remove-tag.js index 39747ce..ba7099f 100644 --- a/packages/k6-tests/artifacts/koko-100-add-remove-tag.js +++ b/packages/k6-tests/artifacts/koko-100-add-remove-tag.js @@ -1,90 +1,90 @@ -"use strict";var xg=Object.create;var wo=Object.defineProperty;var bg=Object.getOwnPropertyDescriptor;var Eg=Object.getOwnPropertyNames;var wg=Object.getPrototypeOf,Sg=Object.prototype.hasOwnProperty;var Ws=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Ag=(E,l)=>{for(var o in l)wo(E,o,{get:l[o],enumerable:!0})},dc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Eg(l))!Sg.call(E,w)&&w!==o&&wo(E,w,{get:()=>l[w],enumerable:!(v=bg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?xg(wg(E)):{},dc(l||!E||!E.__esModule?wo(o,"default",{value:E,enumerable:!0}):o,E)),Dg=E=>dc(wo({},"__esModule",{value:!0}),E);var eu=Ws((lp,Zs)=>{(function(E){if(typeof lp=="object"&&typeof Zs<"u")Zs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,d){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var m=y[i]={exports:{}};w[i][0].call(m.exports,function(f){var t=w[i][1][f];return a(t||f)},m,m.exports,v,w,y,d)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},c={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&c.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&c.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=f.charCodeAt(e),++e,J(le)){T.comments&&(be=f.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&f.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=f.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=f.charCodeAt(e),J(Z))Z===13&&f.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=f.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=f.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&f.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=f.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(f.charCodeAt(e+1)===45&&f.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(f.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(f[e]);)j+=f[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(f.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+f[e++];e<_&&P(f[e]);)j+=f[e++];return(Y(f.charCodeAt(e))||I(f.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=f[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=f[e++],Z=f[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(f.charCodeAt(e));)F+=f[e++];Z=f[e]}if(Z==="."){for(F+=f[e++];I(f.charCodeAt(e));)F+=f[e++];Z=f[e]}if(Z==="e"||Z==="E")if(F+=f[e++],Z=f[e],(Z==="+"||Z==="-")&&(F+=f[e++]),I(f.charCodeAt(e)))for(;I(f.charCodeAt(e));)F+=f[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(f.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,Dt,bt;for(Dt=g,bt=x,j=f[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=f[e++],le===j){j="";break}else if(le==="\\")if(le=f[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(f[e])&&(ut=!0,be=be*8+"01234567".indexOf(f[e++]),"0123".indexOf(le)>=0&&e<_&&P(f[e])&&(be=be*8+"01234567".indexOf(f[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&f[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:Dt,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=f[e],N(F==="/","Regular expression literal must start with a slash"),j=f[e++],Z=!1,le=!1;e<_;)if(F=f[e++],j+=F,F==="\\")F=f[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=f[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=f[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Re(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=f.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(f.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Re():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=f.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}m={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:f.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(f.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Kt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Yn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function Pt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Kt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Kt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Jn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=Pt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function $n(){var F;return xe("("),F=At(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return $n();if(Ae("["))return gt();if(Ae("{"))return Jn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return ki();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Kt()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ft(){return xe("."),$e()}function kr(){var F;return xe("["),F=At(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Kn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ba(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Ft(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Kn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Ft(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Ai(){var F,j,Z=S;return F=ba(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Ai():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Ai(),j}function Di(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function Ea(){var F,j,Z,le,be,Ie,Qe,ut,Dt,bt;if(F=S,Dt=Br(),le=S,be=Di(le,C.allowIn),be===0)return Dt;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[Dt,le,Qe];(be=Di(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,Dt=Ie.pop(),Z=b.createBinaryExpression(ut,Dt,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function wa(){var F,j,Z,le,be;return be=S,F=Ea(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Kt(),C.allowIn=j,xe(":"),le=Kt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Kt(){var F,j,Z,le,be;return F=S,be=S,le=j=wa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Kt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function At(){var F,j=S;if(F=Kt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Kt());b.markEnd(F,j)}return F}function Sa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=Sa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Aa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Kt()):Ae("=")&&(we(),j=Kt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Vn(F){var j=[];do{if(j.push(Aa(F)),!Ae(","))break;we()}while(e<_);return j}function Da(){var F;return Te("var"),F=Vn(),We(),b.createVariableDeclaration(F,"var")}function Ca(F){var j,Z;return Z=S,Te(F),j=Vn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ta(){return xe(";"),b.createEmptyStatement()}function _n(){var F=At();return We(),b.createExpressionStatement(F)}function Na(){var F,j,Z;return Te("if"),xe("("),F=At(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function xn(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=At(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Fa(){var F,j,Z;return Te("while"),xe("("),F=At(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Oa(){var F,j,Z;return Z=S,F=we(),j=Vn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Ia(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Oa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=At(),F=null)):(C.allowIn=!1,F=At(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=At(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=At()),xe(";"),Ae(")")||(Z=At())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ci(){var F=null,j;return Te("continue"),f.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Ti(){var F=null,j;return Te("break"),f.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ni(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(F=At(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=At()),We(),b.createReturnStatement(F))}function ka(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=At(),xe(")"),j=zt(),b.createWithStatement(F,j)}function Pa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=At()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ba(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=At(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Pa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function La(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=At(),We(),b.createThrowStatement(F)}function Fi(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Oi(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Fi()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Ii(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ta(),be);case"(":return b.markEnd(_n(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Ti(),be);case"continue":return b.markEnd(Ci(),be);case"debugger":return b.markEnd(Ii(),be);case"do":return b.markEnd(xn(),be);case"for":return b.markEnd(Ia(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Na(),be);case"return":return b.markEnd(Ni(),be);case"switch":return b.markEnd(Ba(),be);case"throw":return b.markEnd(La(),be);case"try":return b.markEnd(Oi(),be);case"var":return b.markEnd(Da(),be);case"while":return b.markEnd(Fa(),be);case"with":return b.markEnd(ka(),be);default:break}return j=At(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Yn(){var F,j=[],Z,le,be,Ie,Qe,ut,Dt,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=f.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,Dt=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=Dt,b.markEnd(b.createBlockStatement(j),bt)}function Qn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,Dt,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Qn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),Dt=t,Z=Yn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=Dt,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function ki(){var F,j=null,Z,le,be,Ie,Qe=[],ut,Dt,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Qn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),Dt=t,ut=Yn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=Dt,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Ca(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Pi(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=f.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function Bi(){var F,j;return Q(),at(),j=S,t=!1,F=Pi(),b.markEnd(b.createProgram(F),j)}function bn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=f.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}bn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Li(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=m,f=F,e=0,g=f.length>0?1:0,x=0,_=f.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Bi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(bn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}d.version="1.2.2",d.tokenize=Ra,d.parse=Li,d.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(d){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(c,m,f,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(c,m){if(m.recoverable)this.trace(c);else throw new Error(c)},parse:function(c){var m=this,f=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(c),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){f.length=f.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=m.lexer.lex()||T,typeof ue!="number"&&(ue=m.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var Gg=Object.create;var Lo=Object.defineProperty;var Wg=Object.getOwnPropertyDescriptor;var Xg=Object.getOwnPropertyNames;var Hg=Object.getPrototypeOf,$g=Object.prototype.hasOwnProperty;var Ns=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var r in a)Lo(c,r,{get:a[r],enumerable:!0})},mc=(c,a,r,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of Xg(a))!$g.call(c,S)&&S!==r&&Lo(c,S,{get:()=>a[S],enumerable:!(v=Wg(a,S))||v.enumerable});return c};var Qt=(c,a,r)=>(r=c!=null?Gg(Hg(c)):{},mc(a||!c||!c.__esModule?Lo(r,"default",{value:c,enumerable:!0}):r,c)),Jg=c=>mc(Lo({},"__esModule",{value:!0}),c);var js=Ns((op,Rs)=>{(function(c){if(typeof op=="object"&&typeof Rs<"u")Rs.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,r;return function v(S,y,g){function s(o,l){if(!y[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var m=y[o]={exports:{}};S[o][0].call(m.exports,function(p){var t=S[o][1][p];return s(t||p)},m,m.exports,v,S,y,g)}return y[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:_,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(p.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=p.slice(O+2,e-2),j.end={line:_,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:_,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:_,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:_,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:_,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:_,lineStart:b,start:e,end:e}:(O=p.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(p.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:_,column:e-b}},j=ot(),O.end={line:_,column:e-b},j.type!==s.EOF&&(ce=p.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,_=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,_=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=_,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,_=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),_,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:p.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=_,Z=b,Q(),ce=_!==j,e=O,_=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(p.charCodeAt(e)===59||Ce(";")){Se();return}O=_,Q(),_===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ci(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ai(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function si(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return si();if(Ce("["))return Et();if(Ce("{"))return ai();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Xi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(_e()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function sa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Ri(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Ri(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function ua(){var O,j,Z,ce,Ee;return Ee=w,O=sa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=ua(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=la(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function ca(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function li(O){var j=[];do{if(j.push(ca(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function ji(){var O=null,j;return Ne("continue"),p.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ui(){var O=null,j;return Ne("break"),p.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function zi(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),p.charCodeAt(e)===32&&Y(p.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ga(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function _a(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function fi(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function $i(){var O,j;return Q(),ct(),j=w,t=!1,O=Hi(),E.markEnd(E.createProgram(O),j)}function kn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=p.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}kn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Ji(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,p=O,e=0,_=p.length>0?1:0,b=0,x=p.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=$i(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(kn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}g.version="1.2.2",g.tokenize=Ea,g.parse=Ji,g.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,y){(function(g){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,m,p,t,e,_,b){t.ast||(t.ast=i,i.initialize());var x=_.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:_[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:_[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:_[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:_[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:_[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:_[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(_[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:_[x].length>1?t.ast.set({expression:{type:"union",value:_[x]}}):this.$=_[x];break;case 25:this.$=[_[x]];break;case 26:this.$=_[x-2].concat(_[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(_[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:_[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:_[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:_[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:_[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:_[x]}},t.ast.set(this.$);break;case 33:this.$=_[x];break;case 34:this.$=_[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,m){if(m.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var m=this,p=[0],t=[null],e=[],_=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){p.length=p.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=p[p.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=_[z]&&_[z][$]),typeof X>"u"||!X.length||!X[0]){var oe="";Q=[];for(de in _[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?oe="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:f.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(f=f.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var c in s)this._node[c]=s[c];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(c){return this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var m=c.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var m=c.length,f=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),m=new Array(c.length+1).join("-");return c+this.upcomingInput()+` -`+m+"^"},test_match:function(c,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=c[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(c=this.test_match(f,e[g]),c!==!1)return c;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(c=this.test_match(m,e[t]),c!==!1?c:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),d.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(d.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var d=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:d.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[d.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[d.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[d.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var d=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":f(function(_,b,S){return _===S}),"member-child-numeric_literal":f(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=d.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=d.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=d.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function c(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function m(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):c(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function f(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var d=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(c){return d.ok(u(c),"we need a path"),this.parser.parse(c)},i.prototype.parent=function(c,m){d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path");var f=this.nodes(c,m)[0],t=f.path.pop();return this.value(c,f.path)},i.prototype.apply=function(c,m,f){d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path"),d.equal(typeof f,"function","fn needs to be function");var t=this.nodes(c,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(c,this.stringify(e.path)),_=e.value=f.call(c,x[g]);x[g]=_},this),t},i.prototype.value=function(c,m,f){if(d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(c,m).shift();if(!t)return this._vivify(c,m,f);var e=t.path.slice(-1).shift(),g=this.parent(c,this.stringify(t.path));g[e]=f}return this.query(c,this.stringify(m),1).shift()},i.prototype._vivify=function(c,m,f){var t=this;d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path");var e=this.parser.parse(m).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(c,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(c,x)),S[b]=_};return g(e,f),this.query(c,m)[0]},i.prototype.query=function(c,m,f){d.ok(c instanceof Object,"obj needs to be an object"),d.ok(u(m),"we need a path");var t=this.nodes(c,m,f).map(function(e){return e.value});return t},i.prototype.paths=function(c,m,f){d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path");var t=this.nodes(c,m,f).map(function(e){return e.path});return t},i.prototype.nodes=function(c,m,f){if(d.ok(c instanceof Object,"obj needs to be an object"),d.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:c}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=f)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=f)){var N=S(_,T,f);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),f?x.slice(0,f):x):g},i.prototype.stringify=function(c){d.ok(c,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return c=this._normalize(c),c.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,x)}}),m},i.prototype._normalize=function(c){if(d.ok(c,"we need a path"),typeof c=="string")return this.parser.parse(c);if(Array.isArray(c)&&typeof c[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return c.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+a.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(c)&&typeof c[0]=="object")return c;throw new Error("couldn't understand path "+c)};function u(c){return Object.prototype.toString.call(c)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var d=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=d,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?d(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=d(p===0?0:p||(i>0?0:u-1)),n=d(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],c=p;c!=n&&!(i<0&&c<=n||i>0&&c>=n);c+=i)s.push(a[c]);return s};function d(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var d=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=m;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||c;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},d.inherits(n.AssertionError,Error);function i(b,S){return d.isUndefined(S)?""+S:d.isNumber(S)&&!isFinite(S)||d.isFunction(S)||d.isRegExp(S)?S.toString():S}function u(b,S){return d.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!f(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){f(S,C)&&c(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&c(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&c(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;d.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&c(N,C,"Missing expected exception"+T),!b&&g(N,C)&&c(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(d,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),f(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function c(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function f(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=f(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=m(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":oe="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(oe,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:p.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),p.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(p=p.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),p.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=_[p[p.length-2]][p[p.length-1]],p.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var f in u)this._node[f]=u[f];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,p){if(this.yy.parser)this.yy.parser.parseError(m,p);else throw new Error(m)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var m=f.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var m=f.length,p=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1&&(this.yylineno-=p.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===t.length?this.yylloc.first_column:0)+t[t.length-p.length].length-p[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),m=new Array(f.length+1).join("-");return f+this.upcomingInput()+` +`+m+"^"},test_match:function(f,m){var p,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],p=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),p)return p;if(this._backtrack){for(var _ in e)this[_]=e[_];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,m,p,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),_=0;_m[0].length)){if(m=p,t=_,this.options.backtrack_lexer){if(f=this.test_match(p,e[_]),f!==!1)return f;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(f=this.test_match(m,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,p,t,e){var _=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return p.yytext=p.yytext.substr(1,p.yyleng-2),32;break;case 11:return p.yytext=p.yytext.substr(1,p.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof y<"u"&&(y.parser=s,y.Parser=s.Parser,y.parse=function(){return s.parse.apply(s,arguments)},y.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),g.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return y.parser.parse(o)},typeof S<"u"&&v.main===S&&y.main(g.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,y){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,y){var g=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:g.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[g.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[g.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[g.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,y){var g=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":p(function(x,E,w){return x===w}),"member-child-numeric_literal":p(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":p(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":p(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),_(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),_(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=g.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=g.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=g.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function f(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function p(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function _(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,y){var g=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(f){return g.ok(l(f),"we need a path"),this.parser.parse(f)},o.prototype.parent=function(f,m){g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path");var p=this.nodes(f,m)[0],t=p.path.pop();return this.value(f,p.path)},o.prototype.apply=function(f,m,p){g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path"),g.equal(typeof p,"function","fn needs to be function");var t=this.nodes(f,m).sort(function(e,_){return _.path.length-e.path.length});return t.forEach(function(e){var _=e.path.pop(),b=this.value(f,this.stringify(e.path)),x=e.value=p.call(f,b[_]);b[_]=x},this),t},o.prototype.value=function(f,m,p){if(g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(f,m).shift();if(!t)return this._vivify(f,m,p);var e=t.path.slice(-1).shift(),_=this.parent(f,this.stringify(t.path));_[e]=p}return this.query(f,this.stringify(m),1).shift()},o.prototype._vivify=function(f,m,p){var t=this;g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),_=function(b,x){var E=b.pop(),w=t.value(f,b);w||(_(b.concat(),typeof E=="string"?{}:[]),w=t.value(f,b)),w[E]=x};return _(e,p),this.query(f,m)[0]},o.prototype.query=function(f,m,p){g.ok(f instanceof Object,"obj needs to be an object"),g.ok(l(m),"we need a path");var t=this.nodes(f,m,p).map(function(e){return e.value});return t},o.prototype.paths=function(f,m,p){g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path");var t=this.nodes(f,m,p).map(function(e){return e.path});return t},o.prototype.nodes=function(f,m,p){if(g.ok(f instanceof Object,"obj needs to be an object"),g.ok(m,"we need a path"),p===0)return[];var t=this.parser.parse(m),e=this.handlers,_=[{path:["$"],value:f}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=p)){var w=e.resolve(x),D=[];_.forEach(function(T){if(!(b.length>=p)){var N=w(x,T,p);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),_=D}}),p?b.slice(0,p):b):_},o.prototype.stringify=function(f){g.ok(f,"we need a path");var m="$",p={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),_=p[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!_)throw new Error("couldn't find template "+e);m+=_.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(f){if(g.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return f.forEach(function(p,t){if(!(p=="$"&&t===0))if(typeof p=="string"&&p.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:p,type:"identifier"}});else{var e=typeof p=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:p,type:e}})}}),m}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function l(f){return Object.prototype.toString.call(f)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,y){var g=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=g,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,y){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?g(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=g(h===0?0:h||(o>0?0:l-1)),i=g(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],f=h;f!=i&&!(o<0&&f<=i||o>0&&f>=i);f+=o)u.push(s[f]);return u};function g(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,y){var g=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},g.inherits(i.AssertionError,Error);function o(E,w){return g.isUndefined(w)?""+w:g.isNumber(w)&&!isFinite(w)||g.isFunction(w)||g.isRegExp(w)?w.toString():w}function l(E,w){return g.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!p(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){p(w,D)&&f(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&f(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&f(w,D,T,"!==",i.notStrictEqual)};function _(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;g.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&f(N,D,"Missing expected exception"+T),!E&&_(N,D)&&f(N,D,"Got unwanted exception"+T),E&&N&&D&&!_(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,y){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,y){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,y){(function(g,s){var h=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var oe=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(oe)?le.showHidden=oe:oe&&y._extend(le,oe),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),p(le,Q,le.depth)}y.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,oe){var le=l.styles[oe];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function f(Q,oe){return Q}function m(Q){var oe={};return Q.forEach(function(le,fe){oe[le]=!0}),oe}function p(Q,oe,le){if(Q.customInspect&&oe&&X(oe.inspect)&&oe.inspect!==y.inspect&&!(oe.constructor&&oe.constructor.prototype===oe)){var fe=oe.inspect(le,Q);return I(fe)||(fe=p(Q,fe,le)),fe}var P=t(Q,oe);if(P)return P;var C=Object.keys(oe),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(oe)),z(oe)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(oe);if(C.length===0){if(X(oe)){var L=oe.name?": "+oe.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(oe))return Q.stylize(RegExp.prototype.toString.call(oe),"regexp");if(Y(oe))return Q.stylize(Date.prototype.toString.call(oe),"date");if(z(oe))return e(oe)}var R="",q=!1,W=["{","}"];if(E(oe)&&(q=!0,W=["[","]"]),X(oe)){var ae=oe.name?": "+oe.name:"";R=" [Function"+ae+"]"}if(G(oe)&&(R=" "+RegExp.prototype.toString.call(oe)),Y(oe)&&(R=" "+Date.prototype.toUTCString.call(oe)),z(oe)&&(R=" "+e(oe)),C.length===0&&(!q||oe.length==0))return W[0]+R+W[1];if(le<0)return G(oe)?Q.stylize(RegExp.prototype.toString.call(oe),"regexp"):Q.stylize("[Object]","special");Q.seen.push(oe);var me;return q?me=_(Q,oe,le,B,C):me=C.map(function(_e){return b(Q,oe,le,B,_e,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,oe){if(k(oe))return Q.stylize("undefined","undefined");if(I(oe)){var le="'"+JSON.stringify(oe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(oe))return Q.stylize(""+oe,"number");if(w(oe))return Q.stylize(""+oe,"boolean");if(D(oe))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function _(Q,oe,le,fe,P){for(var C=[],B=0,L=oe.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,oe,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(oe===""?"":oe+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(d){function a(u,s){for(var c=0,m=u.length-1;m>=0;m--){var f=u[m];f==="."?u.splice(m,1):f===".."?(u.splice(m,1),c++):c&&(u.splice(m,1),c--)}if(s)for(;c--;c)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,c=arguments.length-1;c>=-1&&!s;c--){var m=c>=0?arguments[c]:d.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;u=m+"/"+u,s=m.charAt(0)==="/"}return u=a(n(u.split("/"),function(f){return!!f}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),c=i(u,-1)==="/";return u=a(n(u.split("/"),function(m){return!!m}),!s).join("/"),!u&&!s&&(u="."),u&&c&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,c){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function c(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var m=c(u.split("/")),f=c(s.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!f){m=t;break}}else f=!1;return m===-1?c?"/":".":c&&m===1?"/":u.slice(0,m)};function p(u){typeof u!="string"&&(u=u+"");var s=0,c=-1,m=!0,f;for(f=u.length-1;f>=0;--f)if(u.charCodeAt(f)===47){if(!m){s=f+1;break}}else c===-1&&(m=!1,c=f+1);return c===-1?"":u.slice(s,c)}y.basename=function(u,s){var c=p(u);return s&&c.substr(-1*s.length)===s&&(c=c.substr(0,c.length-s.length)),c},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,c=0,m=-1,f=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!f){c=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||m===-1||t===0||t===1&&s===m-1&&s===c+1?"":u.slice(s,m)};function n(u,s){if(u.filter)return u.filter(s);for(var c=[],m=0;m1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof _i=="object"&&typeof tu=="object"?tu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof _i=="object"?_i.xmlbuilder2=l():E.xmlbuilder2=l()})(_i,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var d in v)o.d(y,d,function(a){return v[a]}.bind(null,d));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var d=o(214);l.CompareCache=d.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(f(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(c(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function c(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),d=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,c,m,f,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(c in u){if(f=u[c],m=i.noTargetGet?(t=w(s,c))&&t.value:s[c],!n(g?c:e+(x?".":"#")+c,i.forced)&&m!==void 0){if(typeof f==typeof m)continue;p(f,m)}(i.sham||m&&m.sham)&&y(f,"sham",!0),d(s,c,f,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),d=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||d;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function d(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return d.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(d.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(d,"instance",{get:function(){return d._instance||(d._instance=new d),d._instance},enumerable:!0,configurable:!0}),d}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var d=v(o(147));l.byteSequence=d;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var c=v(o(237));l.set=c;var m=v(o(238));l.stack=m;var f=v(o(239));l.string=f},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=d;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=c;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(d,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+d+'" YAML type.')}),this.tag=d,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+d+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),d=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=d(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function d(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:d(e,e,x);b&&_&&!_(b);)b=d(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=d(e,g,_);S&&b&&!b(S);)S=d(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:d(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=d(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=d(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function c(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var x=m(e,!1);return w.Guard.isShadowRoot(x)?m(x._host,!0):x}return e._parent?m(e._parent):e}function f(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=m(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=c,l.tree_isEmpty=function(e){return c(e)===0},l.tree_rootNode=m,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=f,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),f(g,x,_))return!0;var b=m(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&m(e)===m(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=m(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&f(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),d=o(43),a=o(88),p=d.set,n=d.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,c=i.index++;return!u||c>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:c,done:!1}:s=="values"?{value:u[c],done:!1}:{value:[c,u[c]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(d,a,p){return w.f(d,a,y(1,p))}:function(d,a,p){return d[a]=p,d}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),d=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){d(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),d=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],c=s&&s.prototype;if(c){if(c[p]!==i)try{d(c,p,i)}catch{c[p]=i}if(c[n]||d(c,n,u),w[u]){for(var m in y)if(c[m]!==y[m])try{d(c,m,y[m])}catch{c[m]=y[m]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),d=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,c,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof c!="string"||y(m,"name")||w(m,"name",c),i(m).source=u.join(typeof c=="string"?c:"")),s!==v?(t?!g&&s[c]&&(e=!0):delete s[c],e?s[c]=m:w(s,c,m)):e?s[c]=m:d(c,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),d=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,c=y(i,0)?i[0]:p,m=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var f={length:-1};s?d(f,1,{enumerable:!0,get:p}):f[1]=1,u.call(f,c,m)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),d=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),c=o(157),m=o(101),f=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new d.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return c.AttrImpl._create(P,G)},l.create_text=function(P,G){return m.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return f.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(c){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&c[m],t=0;if(f)return f.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&t>=c.length&&(c=void 0),{value:c&&c[t++],done:!c}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),d=o(3),a=o(72),p=new Map;function n(c,m){if(m!==c._root&&y.tree_isAncestorOf(c._reference,m,!0)){if(c._pointerBeforeReference)for(;;){var f=y.tree_getFollowingNode(c._root,m);if(f!==null&&y.tree_isDescendantOf(c._root,f,!0)&&!y.tree_isDescendantOf(m,f,!0))return void(c._reference=f);if(f===null)return void(c._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(c._reference=m._parent);else{for(var t=m._previousSibling,e=y.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);c._reference=t}}}function i(c,m,f,t,e){if(d.Guard.isSlot(c)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;c._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(c))}}function u(c,m,f,t,e){if(d.Guard.isSlotable(c)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;c._name=t===null||t===""?"":t,a.shadowTree_isAssigned(c)&&a.shadowTree_assignSlotables(c._assignedSlot),a.shadowTree_assignASlot(c)}}function s(c,m,f,t){m==="id"&&t===null&&(c._uniqueIdentifier=f||void 0)}l.dom_runRemovingSteps=function(c,m){},l.dom_runCloningSteps=function(c,m,f,t){},l.dom_runAdoptingSteps=function(c,m){},l.dom_runAttributeChangeSteps=function(c,m,f,t,e){var g,x;w.dom.features.slots&&(u.call(c,c,m,f,t,e),i.call(c,c,m,f,t,e)),s.call(c,c,m,t,e);try{for(var _=v(c._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(c,c,m,f,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(c){},l.dom_runNodeIteratorPreRemovingSteps=function(c,m){n.call(c,c,m)},l.dom_hasSupportedTokens=function(c){return p.has(c)},l.dom_getSupportedTokens=function(c){return p.get(c)||new Set},l.dom_runEventConstructingSteps=function(c){},l.dom_runChildTextContentChangeSteps=function(c){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),d=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),c=o(13),m=o(18),f=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Re=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),m(_e);var Ae=e(xe,!0);return m(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){m(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Re&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),d||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Re=!0},useSimple:function(){Re=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(f(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(c(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),d=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var c=s.prototype=i.prototype;c.constructor=s;var m=c.toString,f=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(c,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=m.call(e);if(d(u,e))return"";var x=f?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),c=o(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||d.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(m)return!1}return f?-1:c||m?m:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&d.dom.rangeList.size!==0){var J=c.tree_index(N);try{for(var Y=v(d.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);d.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:c.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(d.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(d.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),d.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&f.shadowTree_isAssigned(C)&&f.shadowTree_assignSlotables(C._assignedSlot),d.dom.features.slots&&n.Guard.isShadowRoot(c.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),d.dom.features.slots&&c.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(f.shadowTree_assignSlotablesForATree(c.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(C)),d.dom.features.steps&&e.dom_runRemovingSteps(C,T),d.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=c.tree_getFirstDescendantNode(C,!1,!0);B!==null;)d.dom.features.steps&&e.dom_runRemovingSteps(B,C),d.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=c.tree_getNextDescendantNode(C,B,!1,!0);if(d.dom.features.mutationObservers)for(var M=c.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=c.tree_getNextAncestorNode(T,M,!0)}d.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),d.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(c.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),d.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),d.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var d,a="";for(d=0;d0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var d=[][w];return!!d&&v(function(){d.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var c=typeof Symbol=="function"&&Symbol.iterator,m=c&&s[c],f=0;if(m)return m.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,c){var m=typeof Symbol=="function"&&s[Symbol.iterator];if(!m)return s;var f,t,e=m.call(s),g=[];try{for(;(c===void 0||c-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(x){t={error:x}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],c=0;c/g,">");this.text(f)},s.prototype._serializeDocumentFragmentNS=function(c,m,f,t,e){var g,x;try{for(var _=v(c.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,m,f,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(c,m){var f,t;try{for(var e=v(c._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,m)}}catch(_){f={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},s.prototype._serializeDocumentType=function(c,m){if(m&&!i.xml_isPubidChar(c.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!i.xml_isLegalChar(c.systemId)||c.systemId.indexOf('"')!==-1&&c.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(c.name,c.publicId,c.systemId)},s.prototype._serializeProcessingInstruction=function(c,m){if(m&&(c.target.indexOf(":")!==-1||/^xml$/i.test(c.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!i.xml_isLegalChar(c.data)||c.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(c.target,c.data)},s.prototype._serializeCData=function(c,m){if(m&&c.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(c.data)},s.prototype._serializeAttributesNS=function(c,m,f,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(c.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=m.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(c,m){var f,t,e=[],g=m?{}:void 0;try{for(var x=v(c.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(m){if(m&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[b.localName]=!0),m&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,m)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,m)])}}catch(S){f={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}return e},s.prototype._recordNamespaceInformation=function(c,m,f){var t,e,g=null;try{for(var x=v(c.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(c,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,c),t},s.prototype._serializeAttributeValue=function(c,m){if(m&&c!==null&&!i.xml_isLegalChar(c))throw new Error("Invalid characters in attribute value.");return c===null?"":c.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,x=t.call(m),_=[];try{for(;(f===void 0||f-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),d=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var m=y.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var m,f,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(c("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(c("document.F=Object")),f.close(),f.F);for(var e=d.length;e--;)delete m.prototype[d[e]];return m()};a[u]=!0,E.exports=Object.create||function(f,t){var e;return f!==null?(s.prototype=w(f),e=new s,s.prototype=null,e[u]=f):e=m(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(d,a,p){d&&!w(d=p?d:d.prototype,y)&&v(d,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),d=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[d]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),d=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=d("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,d=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return d.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),d=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),c=u.flags;return"/"+s+"/"+String(c===void 0&&u instanceof RegExp&&!("flags"in a)?d.call(u):c)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(1),a=o(2),p=function(n){function i(u,s){var c=n.call(this,u)||this;return c._writerOptions=d.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),c}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var c,m,f,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[m+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[f>1?m+(t++).toString():m]=u;return t},i.prototype.beginElement=function(u){var s,c,m=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=m,s));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,u)?f[u].length!==0&&d.isArray(f[u][0])?f[u].push(m):f[u]=[f[u],m]:this._currentList.push(((c={})[u]=m,c))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var c,m;if(this._currentList.length===0)this._currentList.push({"@":(c={},c[u]=s,c)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][u]=s:this._currentList.push({"@":(m={},m[u]=s,m)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?d.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?d.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var c=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":c});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?d.isArray(m["?"])?m["?"].push(c):m["?"]=[m["?"],c]:this._currentList.push({"?":c})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?d.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,d){y===null?this._nullItems[d]=!0:(this._items[y]||(this._items[y]={}),this._items[y][d]=!0)},w.prototype.has=function(y,d){return y===null?this._nullItems[d]===!0:!!this._items[y]&&this._items[y][d]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,c=i.call(p),m=[];try{for(;(n===void 0||n-- >0)&&!(u=c.next()).done;)m.push(u.value)}catch(f){s={error:f}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(s)throw s.error}}return m};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),d=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,c=v(d.eventTarget_flattenMore(u),3),m=c[0],f=c[1],t=c[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},d.eventTarget_addEventListener(this,{type:n,callback:s,capture:m,passive:f,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=d.eventTarget_flatten(u);if(i)for(var c=0;c=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,x,_=e.call(f),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var d=o(309);l.createCB=d.createCB,l.fragmentCB=d.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(d){var a=w(this,d);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,d){try{w(v,y,d)}catch{v[y]=d}return d}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,d){return w[y]||(w[y]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(d,a){var p=v(d);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,d){if(v(w),y===void 0)return w;switch(d){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),d=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),c=o(131),m=c.IteratorPrototype,f=c.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!f&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),m!==Object.prototype&&N.next&&(u||y(N)===m||(d?d(N,m):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(f||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:f||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),d=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),c=u("slice"),m=s("slice",{ACCESSORS:!0,0:0,1:2}),f=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!c||!m},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=d(g,T),I=d(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[f])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&c[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),f=new RegExp("^(?:"+b+")",_)),s&&(f=new RegExp("^"+b+"$(?!\\s)",_)),i&&(m=g.lastIndex),t=a.call(x?f:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),s&&t&&t.length>1&&p.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,d(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=f;return P!==void 0&&(P=y(P),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=c(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var d in this._items)y._items[d]=this._items[d].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,d){var a=d===null?this._nullItems:this._items[d]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},d=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),c=o(7),m=o(152),f=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return f.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return f.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return f.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!f.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?c.namespace.HTML:null;return f.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return f.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},x.prototype.createTextNode=function(_){return f.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return f.create_cdataSection(this,_)},x.prototype.createComment=function(_){return f.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!f.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return f.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return f.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return f.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!f.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),f.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=d(f.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=f.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return f.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=f.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=f.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=f.create_nodeList(_),s.isFunction(S)?(C._filter=f.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=f.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=f.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},d=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,x=t.call(m),_=[];try{for(;(f===void 0||f-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),c=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[m++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(c){c===void 0&&(c="");var m=u.call(this,c)||this;return m._name="",m._assignedSlot=null,m}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var c,m,f="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){c={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(c)throw c.error}}return f},enumerable:!0,configurable:!0}),s.prototype.splitText=function(c){return p.text_split(this,c)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(c,m){m===void 0&&(m="");var f=new s(m);return f._nodeDocument=c,f},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",d.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(d){this._activeFlag=!1,this._root=d,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),d=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,c=n.length-1;c>=0;){if(n[c].rootOfClosedTree&&s++,n[c].invocationTarget===i){u=c;break}n[c].slotInClosedTree&&s--,c--}var m=s,f=s;for(c=u-1;c>=0;)n[c].rootOfClosedTree&&m++,m<=f&&p.unshift(n[c].invocationTarget),n[c].slotInClosedTree&&--m0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),d=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),c=o(52),m=o(37);l.document_elementInterface=function(f,t){return p.ElementImpl},l.document_internalCreateElementNS=function(f,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),c.element_createAnElement(f,S,_,b,C,!0)},l.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var x=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(f,!0,!0);_!==null;){if(_._nodeDocument=t,d.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&d.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(f,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],c=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&c>=i.length&&(i=void 0),{value:i&&i[c++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),d=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,c){var m,f,t=a.tree_nodeLength(i);if(u>t)throw new d.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+c+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=c.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=c.length-s)}}catch(b){m={error:b}}finally{try{x&&!x.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var c=a.tree_nodeLength(i);if(u>c)throw new d.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+c+", Node is "+i.nodeName+".");return u+s>c?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,c,m=u.call(n),f=[];try{for(;(i===void 0||i-- >0)&&!(s=m.next()).done;)f.push(s.value)}catch(t){c={error:t}}finally{try{s&&!s.done&&(u=m.return)&&u.call(m)}finally{if(c)throw c.error}}return f},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(7);function a(n){var i=d.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,c,m,f;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(m=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){m={error:C}}finally{try{b&&!b.done&&(f=_.return)&&f.call(_)}finally{if(m)throw m.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(c=t.return)&&c.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var d=new v.DOMImplementation().createDocument(null,"root",null);return d.documentElement&&d.removeChild(d.documentElement),d},l.sanitizeInput=function(d,a){if(d==null)return d;if(a===void 0)return d+"";var p="";d+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=d.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(d.charAt(n),n,d)}else p+=y.isString(a)?a:a(d.charAt(n),n,d)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var d=o(102);l.AbstractRange=d.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var c=o(100);l.DocumentFragment=c.DocumentFragmentImpl;var m=o(98);l.Document=m.DocumentImpl;var f=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(c.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(c.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),d=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,c=null;return y.isFunction(i)?c=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(m){return c=u.parse(n,m)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(m,f){if(y.isFunction(f)&&(f=f.apply(u)),s.ignoreConverters||m.indexOf(s.convert.att)!==0)if(s.ignoreConverters||m.indexOf(s.convert.text)!==0)if(s.ignoreConverters||m.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||m.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||m.indexOf(s.convert.ins)!==0){if(!((y.isArray(f)||y.isSet(f))&&y.isEmpty(f))){if((y.isMap(f)||y.isObject(f))&&y.isEmpty(f))c=u.element(n,void 0,u.sanitize(m))||c;else if(s.keepNullNodes||f!=null)if(y.isArray(f)||y.isSet(f))y.forEachArray(f,function(_){var b={};b[m]=_,c=u.parse(n,b)},u);else if(y.isMap(f)||y.isObject(f))(t=u.element(n,void 0,u.sanitize(m)))&&(c=t,u.parse(t,f));else if(f!=null&&f!==""){var t;(t=u.element(n,void 0,u.sanitize(m)))&&(c=t,u.text(t,u._decodeText(u.sanitize(f))))}else c=u.element(n,void 0,u.sanitize(m))||c}}else if(y.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),x=e===-1?"":f.substr(e+1);c=u.instruction(n,u.sanitize(g),u.sanitize(x))||c}else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);c=u.instruction(n,u.sanitize(S),u.sanitize(C))||c},u):y.forEachObject(f,function(_,b){return c=u.instruction(n,u.sanitize(_),u.sanitize(b))||c},u);else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(_){return c=u.comment(n,u.sanitize(_))||c},u):c=u.comment(n,u.sanitize(f))||c;else y.isArray(f)||y.isSet(f)?y.forEachArray(f,function(_){return c=u.cdata(n,u.sanitize(_))||c},u):c=u.cdata(n,u.sanitize(f))||c;else c=y.isMap(f)||y.isObject(f)?u.parse(n,f):u.text(n,u._decodeText(u.sanitize(f)))||c;else if(m===s.convert.att){if(y.isArray(f)||y.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+n._debugInfo());y.forEachObject(f,function(_,b){c=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||c})}else c=u.attribute(n,void 0,u.sanitize(m.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(f)))||c},this):(s.keepNullNodes||i!=null)&&(c=this.text(n,this._decodeText(this.sanitize(i)))||c),c||n},p}(o(75).BaseReader);l.ObjectReader=d},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,d=w(y)&&w(y.createElement);E.exports=function(a){return d?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),d=o(15);E.exports=function(a,p){for(var n=w(p),i=d.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),d=function(a){return function(p,n,i){var u,s=v(p),c=w(s.length),m=y(i,c);if(a&&n!=n){for(;c>m;)if((u=s[m++])!=u)return!0}else for(;c>m;m++)if((a||m in s)&&s[m]===n)return a||m||0;return!a&&-1}};E.exports={includes:d(!0),indexOf:d(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[d(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},d=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),d=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||d(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(d,a){var p;return w(d)&&(typeof(p=d.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),d=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:d&&(!(v=d.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=d.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),d=v("unscopables"),a=Array.prototype;a[d]==null&&y.f(a,d,{configurable:!0,value:w(null)}),E.exports=function(p){a[d][p]=!0}},function(E,l,o){"use strict";var v,w,y,d=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=d(d(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),d=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=d?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,d=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),d=a instanceof Array}catch{}return function(p,n){return v(p),w(n),d?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(d,a,p){var n=v(a);n in d?w.f(d,n,y(0,p)):d[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),d=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:d?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(d){return function(a,p){var n,i,u=String(w(a)),s=v(p),c=u.length;return s<0||s>=c?d?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===c||(i=u.charCodeAt(s+1))<56320||i>57343?d?u.charAt(s):n:d?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(d){return y(w(d))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),d=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),c=o(62),m=o(209);E.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,x=f.indexOf("Weak")!==-1,_=g?"set":"add",b=w[f],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];d(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(f,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,f,g,_),a.REQUIRED=!0;else if(y(f,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,f);var X=m(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[f]=C,v({global:!0,forced:C!=b},T),c(C,f),x||e.setStrong(C,f,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),d=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(m){d(m,n,{value:{objectID:"O"+ ++i,weakData:{}}})},c=E.exports={REQUIRED:!1,fastKey:function(m,f){if(!w(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!y(m,n)){if(!u(m))return"F";if(!f)return"E";s(m)}return m[n].objectID},getWeakData:function(m,f){if(!y(m,n)){if(!u(m))return!0;if(!f)return!1;s(m)}return m[n].weakData},onFreeze:function(m){return p&&c.REQUIRED&&u(m)&&!y(m,n)&&s(m),m}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),d=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,c,m){var f,t,e,g,x,_,b,S=d(u,s,c?2:1);if(m)f=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=c?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}f=t.call(i)}for(_=f.next;!(b=_.call(f)).done;)if(typeof(x=p(f,S,b.value,c))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),d=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,c=o(43),m=c.set,f=c.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),m(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=f(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=d(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=f(e),b=f(x);n(t,e,function(S,C){m(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,d=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,c=n("endsWith");w({target:"String",proto:!0,forced:!!(i||c||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!c},{endsWith:function(m){var f=String(p(this));a(m);var t=arguments.length>1?arguments[1]:void 0,e=d(f.length),g=t===void 0?e:s(d(t),e),x=String(m);return u?u.call(f,x,g):f.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),d=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function f(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Re=0;ReM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Re){var tt=Re.length;if(tt<=4096)return String.fromCharCode.apply(String,Re);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,d){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(d===void 0||d-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],d=0;d=65&&a<=90&&(y[d]=a+32)}},l.byteUppercase=function(y){for(var d=0;d=97&&a<=122&&(y[d]=a-32)}},l.byteCaseInsensitiveMatch=function(y,d){if(y.length!==d.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,d){for(var a=0;;){if(a>=y.length)return!1;if(a>=d.length)return!0;if(y[a]!==d[a])return!1;a++}},l.byteLessThan=function(y,d){for(var a=0;;){if(a>=y.length)return!1;if(a>=d.length)return!0;var p=y[a],n=d[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),d=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),c=null;return i&&(c=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),c&&s.appendChild(c),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var c=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(c);var m=y.create_text(i,n);c.appendChild(m)}var f=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(f),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,d.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),d=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new d.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(d){return!!d&&d._nodeType!==void 0},y.isDocumentNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(d){if(!y.isNode(d))return!1;var a=d._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(d){return y.isNode(d)&&(d._nodeType===v.NodeType.Text||d._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.CData},y.isCommentNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(d){return y.isNode(d)&&d._nodeType===v.NodeType.Element},y.isCustomElementNode=function(d){return y.isElementNode(d)&&d._customElementState==="custom"},y.isShadowRoot=function(d){return!!d&&d.host!==void 0},y.isMouseEvent=function(d){return!!d&&d.screenX!==void 0&&d.screenY!=null},y.isSlotable=function(d){return!!d&&d._name!==void 0&&d._assignedSlot!==void 0&&(y.isTextNode(d)||y.isElementNode(d))},y.isSlot=function(d){return!!d&&d._name!==void 0&&d._assignedNodes!==void 0&&y.isElementNode(d)},y.isWindow=function(d){return!!d&&d.navigator!==void 0},y.isEventListener=function(d){return!!d&&d.handleEvent!==void 0},y.isRegisteredObserver=function(d){return!!d&&d.observer!==void 0&&d.options!==void 0},y.isTransientRegisteredObserver=function(d){return!!d&&d.source!==void 0&&y.isRegisteredObserver(d)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(d,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(d,a)},function(d,a){function p(){this.constructor=d}v(d,a),d.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(d){function a(){return d.call(this)||this}return w(a,d),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,d=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return d.isNumber(B)?N(B):d.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Re=0;Re<8;Re++)Be&&B[Re]===0||(Be&&(Be=!1),q!==Re?(M+=B[Re].toString(16),Re!==7&&(M+=":")):(M+=Re===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Re=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Re.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Re,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new d.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,m);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(Pt){de={error:Pt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else f.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),c);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||f.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(f.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=d.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(Pt){Se={error:Pt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(f.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(d.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||d.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Re=Be.next();!Re.done;Re=Be.next()){var tt=Re.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Re&&!Re.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new d.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Re=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Re===null)Re=tt;else{if(Re===0)return e("Invalid IP v6 address."),null;Re=10*Re+tt}if(Re>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Re===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Re,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(d.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(d.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=d.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Re=Be.value;Re===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Re)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,m)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,m)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(d.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(d.utf8Encode(Se[0])),Re=Se[1];Re=D(d.utf8Encode(Re)),oe!==""&&(oe+="&"),oe+=Be+"="+Re}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),d=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return d.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){d.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),d=o(34),a=o(12),p=function(n){function i(u,s,c){var m=n.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=u,m._publicId=s,m._systemId=c,m}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),d=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),d=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var c=v(this._items),m=c.next();!m.done;m=c.next()){var f=m.value;p.call(n,f,s++,this)}}catch(t){i={error:t}}finally{try{m&&!m.done&&(u=c.return)&&u.call(c)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),c=function(m){function f(){var t=m.call(this)||this,e=d.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],d.dom.rangeList.add(t),t}return w(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){i.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return i.range_extract(this)},f.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return i.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},f.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},f.prototype.detach=function(){d.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(p.AbstractRangeImpl);l.RangeImpl=c,u.idl_defineConst(c.prototype,"START_TO_START",0),u.idl_defineConst(c.prototype,"START_TO_END",1),u.idl_defineConst(c.prototype,"END_TO_END",2),u.idl_defineConst(c.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),d=o(0),a=function(p){function n(i,u,s){var c=p.call(this,i)||this;return c._iteratorCollection=void 0,c._reference=u,c._pointerBeforeReference=s,d.nodeIterator_iteratorList().add(c),c}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return d.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return d.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){d.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),d=o(103),a=o(0),p=function(n){function i(u,s){var c=n.call(this,u)||this;return c._current=s,c}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var c=a.traversal_filter(this,u);c!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,c=a.traversal_filter(this,u);if(c===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var c=null,m=u;m!==null;){if(m===this._root)return null;if((c=m._nextSibling)!==null){u=c;break}m=m._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(d.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function d(){}return d.prototype.acceptNode=function(a){return v.FilterResult.Accept},d._create=function(){return new d},d.FILTER_ACCEPT=1,d.FILTER_REJECT=2,d.FILTER_SKIP=3,d.SHOW_ALL=4294967295,d.SHOW_ELEMENT=1,d.SHOW_ATTRIBUTE=2,d.SHOW_TEXT=4,d.SHOW_CDATA_SECTION=8,d.SHOW_ENTITY_REFERENCE=16,d.SHOW_ENTITY=32,d.SHOW_PROCESSING_INSTRUCTION=64,d.SHOW_COMMENT=128,d.SHOW_DOCUMENT=256,d.SHOW_DOCUMENT_TYPE=512,d.SHOW_DOCUMENT_FRAGMENT=1024,d.SHOW_NOTATION=2048,d}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,d,a,p,n,i,u,s,c){this._type=y,this._target=d,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=c}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,d,a,p,n,i,u,s,c){return new w(y,d,a,p,n,i,u,s,c)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),d=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,c=a.element_getAnAttributeValue(i,s),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,x){t===m._attribute._localName&&x===null&&(g?m._tokenSet=a.orderedSet_parse(g):m._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,c,c,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,c=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(c===i)return t;c++}}catch(e){u={error:e}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],c=0;c=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&d<=57343&&(w++,(y=1024*(y-55296)+d-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&d<=122||d>=65&&d<=90||d===95||d>=192&&d<=214||d>=216&&d<=246||d>=248&&d<=767||d>=880&&d<=893||d>=895&&d<=8191||d>=8204&&d<=8205||d>=8304&&d<=8591||d>=11264&&d<=12271||d>=12289&&d<=55295||d>=63744&&d<=64975||d>=65008&&d<=65533)&&(y===0||!(d===45||d===46||d>=48&&d<=57||d===183||d>=768&&d<=879||d>=8255&&d<=8256))){if(y===0||d!==58){if(d>=55296&&d<=56319&&y=56320&&a<=57343&&(y++,(d=1024*(d-55296)+a-56320+65536)>=65536&&d<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&d<=57343&&(w++,(y=1024*(y-55296)+d-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(d,a){var p=d[0],n=d[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),d=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,c){var m=null;s!==""&&(m=a.create_text(c._nodeDocument,s)),i.mutation_replaceAll(m,c)},l.node_clone=function s(c,m,f){var t,e,g,x,_;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=c._nodeDocument),y.Guard.isElementNode(c)){_=u.element_createAnElement(m,c._localName,c._namespace,c._namespacePrefix,c._is,!1);try{for(var b=v(c._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,m);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(c)){var T=a.create_document();T._encoding=c._encoding,T._contentType=c._contentType,T._URL=c._URL,T._origin=c._origin,T._type=c._type,T._mode=c._mode,_=T}else if(y.Guard.isDocumentTypeNode(c))_=a.create_documentType(m,c._name,c._publicId,c._systemId);else if(y.Guard.isAttrNode(c)){var N=a.create_attr(m,c.localName);N._namespace=c._namespace,N._namespacePrefix=c._namespacePrefix,N._value=c._value,_=N}else _=y.Guard.isExclusiveTextNode(c)?a.create_text(m,c._data):y.Guard.isCDATASectionNode(c)?a.create_cdataSection(m,c._data):y.Guard.isCommentNode(c)?a.create_comment(m,c._data):y.Guard.isProcessingInstructionNode(c)?a.create_processingInstruction(m,c._target,c._data):y.Guard.isDocumentFragmentNode(c)?a.create_documentFragment(m):Object.create(c);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,m=_):_._nodeDocument=m,w.dom.features.steps&&n.dom_runCloningSteps(_,c,m,f),f)try{for(var I=v(c._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,m,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(c,m){var f,t,e,g;if(c._nodeType!==m._nodeType)return!1;if(y.Guard.isDocumentTypeNode(c)&&y.Guard.isDocumentTypeNode(m)){if(c._name!==m._name||c._publicId!==m._publicId||c._systemId!==m._systemId)return!1}else if(y.Guard.isElementNode(c)&&y.Guard.isElementNode(m)){if(c._namespace!==m._namespace||c._namespacePrefix!==m._namespacePrefix||c._localName!==m._localName||c._attributeList.length!==m._attributeList.length)return!1}else if(y.Guard.isAttrNode(c)&&y.Guard.isAttrNode(m)){if(c._namespace!==m._namespace||c._localName!==m._localName||c._value!==m._value)return!1}else if(y.Guard.isProcessingInstructionNode(c)&&y.Guard.isProcessingInstructionNode(m)){if(c._target!==m._target||c._data!==m._data)return!1}else if(y.Guard.isCharacterDataNode(c)&&y.Guard.isCharacterDataNode(m)&&c._data!==m._data)return!1;if(y.Guard.isElementNode(c)&&y.Guard.isElementNode(m)){var x={};try{for(var _=v(c._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){f={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(f)throw f.error}}try{for(var S=v(m._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(c._children.size!==m._children.size)return!1;for(var I=c._children[Symbol.iterator](),R=m._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,c){return s==="*"?a.create_htmlCollection(c):c._nodeDocument._type==="html"?a.create_htmlCollection(c,function(m){return m._namespace===d.namespace.HTML&&m._qualifiedName===s.toLowerCase()||m._namespace!==d.namespace.HTML&&m._qualifiedName===s}):a.create_htmlCollection(c,function(m){return m._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,c,m){return s===""&&(s=null),s==="*"&&c==="*"?a.create_htmlCollection(m):s==="*"?a.create_htmlCollection(m,function(f){return f._localName===c}):c==="*"?a.create_htmlCollection(m,function(f){return f._namespace===s}):a.create_htmlCollection(m,function(f){return f._localName===c&&f._namespace===s})},l.node_listOfElementsWithClassNames=function(s,c){var m=p.orderedSet_parse(s);if(m.size===0)return a.create_htmlCollection(c,function(){return!1});var f=c._nodeDocument._mode!=="quirks";return a.create_htmlCollection(c,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,m,f)})},l.node_locateANamespacePrefix=function s(c,m){if(c._namespace===m&&c._namespacePrefix!==null)return c._namespacePrefix;for(var f=0;f=u.length&&(u=void 0),{value:u&&u[m++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),d=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var c;return s===void 0&&(s=!1),(c={})[Symbol.iterator]=function(){for(var m=u;m&&y.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!s&&m===u&&(m=y.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=y.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},c},l.text_contiguousExclusiveTextNodes=function(u,s){var c;return s===void 0&&(s=!1),(c={})[Symbol.iterator]=function(){for(var m=u;m&&y.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!s&&m===u&&(m=y.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=y.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},c},l.text_descendantTextContent=function(u){for(var s="",c=p.tree_getFirstDescendantNode(u,!1,!1,function(m){return y.Guard.isTextNode(m)});c!==null;)s+=c._data,c=p.tree_getNextDescendantNode(u,c,!1,!1,function(m){return y.Guard.isTextNode(m)});return s},l.text_split=function(u,s){var c,m,f=u._data.length;if(s>f)throw new d.IndexSizeError;var t=f-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){c={error:T}}finally{try{b&&!b.done&&(m=_.return)&&m.call(_)}finally{if(c)throw c.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),d=o(48),a=[].join,p=w!=Object,n=d("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,d=String.fromCodePoint;v({target:"String",stat:!0,forced:!!d&&d.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(d,a){var p=typeof Symbol=="function"&&d[Symbol.iterator];if(!p)return d;var n,i,u=p.call(d),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(c){i={error:c}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function d(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return d.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&d.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},d.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?d.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},d.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},d.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},d.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},d.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},d.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},d.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},d.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},d.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},d.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},d.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);d.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},d.prototype.eof=function(){return this._index>=this._length},d.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},d.prototype.skipSpace=function(){for(;!this.eof()&&d.isSpace(this._str[this._index]);)this._index++},d.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},d.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+oe+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}y.isArray=E;function w(Q){return typeof Q=="boolean"}y.isBoolean=w;function D(Q){return Q===null}y.isNull=D;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function M(Q){return typeof Q=="symbol"}y.isSymbol=M;function k(Q){return Q===void 0}y.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}y.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,oe=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],oe].join(" ")}y.log=function(){console.log("%s - %s",ve(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,oe){if(!oe||!$(oe))return Q;for(var le=Object.keys(oe),fe=le.length;fe--;)Q[le[fe]]=oe[le[fe]];return Q};function ne(Q,oe){return Object.prototype.hasOwnProperty.call(Q,oe)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,y){},{}],13:[function(v,S,y){(function(g){function s(l,u){for(var f=0,m=l.length-1;m>=0;m--){var p=l[m];p==="."?l.splice(m,1):p===".."?(l.splice(m,1),f++):f&&(l.splice(m,1),f--)}if(u)for(;f--;f)l.unshift("..");return l}y.resolve=function(){for(var l="",u=!1,f=arguments.length-1;f>=-1&&!u;f--){var m=f>=0?arguments[f]:g.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(p){return!!p}),!u).join("/"),(u?"/":"")+l||"."},y.normalize=function(l){var u=y.isAbsolute(l),f=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&f&&(l+="/"),(u?"/":"")+l},y.isAbsolute=function(l){return l.charAt(0)==="/"},y.join=function(){var l=Array.prototype.slice.call(arguments,0);return y.normalize(i(l,function(u,f){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},y.relative=function(l,u){l=y.resolve(l).substr(1),u=y.resolve(u).substr(1);function f(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=f(l.split("/")),p=f(u.split("/")),t=Math.min(m.length,p.length),e=t,_=0;_=1;--t)if(u=l.charCodeAt(t),u===47){if(!p){m=t;break}}else p=!1;return m===-1?f?"/":".":f&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,f=-1,m=!0,p;for(p=l.length-1;p>=0;--p)if(l.charCodeAt(p)===47){if(!m){u=p+1;break}}else f===-1&&(m=!1,f=p+1);return f===-1?"":l.slice(u,f)}y.basename=function(l,u){var f=h(l);return u&&f.substr(-1*u.length)===u&&(f=f.substr(0,f.length-u.length)),f},y.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,f=0,m=-1,p=!0,t=0,e=l.length-1;e>=0;--e){var _=l.charCodeAt(e);if(_===47){if(!p){f=e+1;break}continue}m===-1&&(p=!1,m=e+1),_===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===f+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var f=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Pi=="object"&&typeof Us=="object"?Us.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Pi=="object"?Pi.xmlbuilder2=a():c.xmlbuilder2=a()})(Pi,function(){return function(c){var a={};function r(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,r),S.l=!0,S.exports}return r.m=c,r.c=a,r.d=function(v,S,y){r.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:y})},r.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},r.t=function(v,S){if(1&S&&(v=r(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(r.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var g in v)r.d(y,g,function(s){return v[s]}.bind(null,g));return y},r.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return r.d(S,"a",S),S},r.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},r.p="",r(r.s=184)}([function(c,a,r){"use strict";function v(S){for(var y in S)a.hasOwnProperty(y)||(a[y]=S[y])}Object.defineProperty(a,"__esModule",{value:!0}),v(r(240)),v(r(251)),v(r(175)),v(r(107)),v(r(29)),v(r(73)),v(r(106)),v(r(30)),v(r(252)),v(r(52)),v(r(97)),v(r(253)),v(r(37)),v(r(51)),v(r(173)),v(r(176)),v(r(172)),v(r(108)),v(r(254)),v(r(255)),v(r(256)),v(r(72)),v(r(177)),v(r(105)),v(r(17)),v(r(257)),v(r(12)),v(r(174))},function(c,a,r){"use strict";var v=this&&this.__values||function(e){var _=typeof Symbol=="function"&&Symbol.iterator,b=_&&e[_],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(212);a.FixedSizeSet=S.FixedSizeSet;var y=r(213);a.ObjectCache=y.ObjectCache;var g=r(214);a.CompareCache=g.CompareCache;var s=r(215);a.Lazy=s.Lazy;var h=r(216);function i(e,_,b){if(p(e))e.forEach(function(E,w){return _.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&_.call(b,x,e[x])}function o(e){var _,b;if(l(e))return e;if(f(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){_={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(_)throw _.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var _=typeof e;return!!e&&(_==="function"||_==="object")}function f(e){return Array.isArray(e)}function m(e){return e instanceof Set}function p(e){return e instanceof Map}function t(e){if(u(e)){var _=Object.getPrototypeOf(e),b=_.constructor;return _&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,_){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),_[b++]=E>>18|240,_[b++]=E>>12&63|128}else _[b++]=E>>12|224;_[b++]=E>>6&63|128}_[b++]=63&E|128}}return _.subarray(0,b)},a.utf8Decode=function(e){for(var _="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)_+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,_+=String.fromCharCode(x>>10|55296),_+=String.fromCharCode(1023&x|56320)}}return _}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(241);a.Cast=v.Cast;var S=r(150);a.Guard=S.Guard;var y=r(242);a.EmptySet=y.EmptySet},function(c,a,r){var v=r(11),S=r(55).f,y=r(21),g=r(25),s=r(80),h=r(119),i=r(123);c.exports=function(o,l){var u,f,m,p,t,e=o.target,_=o.global,b=o.stat;if(u=_?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(f in l){if(p=l[f],m=o.noTargetGet?(t=S(u,f))&&t.value:u[f],!i(_?f:e+(b?".":"#")+f,o.forced)&&m!==void 0){if(typeof p==typeof m)continue;h(p,m)}(o.sham||m&&m.sham)&&y(p,"sham",!0),g(u,f,p,o)}}},function(c,a,r){var v=r(11),S=r(81),y=r(14),g=r(58),s=r(86),h=r(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||g;c.exports=function(u){return y(i,u)||(s&&y(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(1),S=r(29),y=function(){function g(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return g.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(g.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(g,"instance",{get:function(){return g._instance||(g._instance=new g),g._instance},enumerable:!0,configurable:!0}),g}();a.dom=y.instance},function(c,a,r){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var _ in t)Object.hasOwnProperty.call(t,_)&&(e[_]=t[_]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(r(228));a.base64=S;var y=v(r(146));a.byte=y;var g=v(r(147));a.byteSequence=g;var s=v(r(96));a.codePoint=s;var h=v(r(232));a.json=h;var i=v(r(233));a.list=i;var o=v(r(234));a.map=o;var l=v(r(235));a.namespace=l;var u=v(r(236));a.queue=u;var f=v(r(237));a.set=f;var m=v(r(238));a.stack=m;var p=v(r(239));a.string=p},function(c,a){c.exports=function(r){try{return!!r()}catch{return!0}}},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=y;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(y);a.DOMStringSizeError=g;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(y);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(y);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(y);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(y);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(y);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(y);a.InvalidStateError=u;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(y);a.InvalidModificationError=f;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(y);a.NamespaceError=m;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(y);a.InvalidAccessError=p;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(y);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(y);a.TypeMismatchError=e;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(y);a.SecurityError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(y);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(y);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(y);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(y);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(y);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(y);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(y);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(y);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(y);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(y);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(y);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(y);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(y);a.InvalidCharacterError=Y},function(c,a,r){"use strict";var v=r(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];c.exports=function(g,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+g+'" YAML type.')}),this.tag=g,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+g+'" YAML type.')}},function(c,a,r){(function(v){var S=function(y){return y&&y.Math==Math&&y};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,y){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(c,a){c.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(c,a){var r={}.hasOwnProperty;c.exports=function(v,S){return r.call(v,S)}},function(c,a,r){var v=r(16),S=r(115),y=r(18),g=r(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(y(h),i=g(i,!0),y(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,r){var v=r(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,r){"use strict";var v=this&&this.__values||function(e){var _=typeof Symbol=="function"&&Symbol.iterator,b=_&&e[_],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),y=r(2);function g(e,_,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(_)&&S.Guard.isShadowRoot(_.shadowRoot)&&_.shadowRoot._firstChild)return _.shadowRoot._firstChild;if(_._firstChild)return _._firstChild;if(_===e)return null;if(_._nextSibling)return _._nextSibling;for(var x=_._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,_,b,x){_===void 0&&(_=!1),b===void 0&&(b=!1);for(var E=_?e:g(e,e,b);E&&x&&!x(E);)E=g(e,E,b);return E}function i(e,_,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=g(e,_,x);w&&E&&!E(w);)w=g(e,w,x);return w}function o(e,_,b,x){var E;return _===void 0&&(_=!1),b===void 0&&(b=!1),_||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=_?e:g(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=g(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=g(e,w,b),D}}},E):s()}function l(e,_,b){_===void 0&&(_=!1);for(var x=_?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,_,b,x){b===void 0&&(b=!1);for(var E=_._parent;E&&x&&!x(E);)E=E._parent;return E}function f(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,_){if(_===void 0&&(_=!1),_){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function p(e,_,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===_)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var _=m(e),b=0,x=h(_);x!==null;){if(b++,x===e)return b;x=i(_,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,_,b,x){var E;return _===void 0&&(_=!1),b===void 0&&(b=!1),_||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,_,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,_,b){var x;return _===void 0&&(_=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!_&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,_,b){var x;return _===void 0&&(_=!1),_||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,_,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,_,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,_){if(e===_)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(_,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,_){if(_._firstChild)return _._firstChild;if(_._nextSibling)return _._nextSibling;for(;;){var b=_._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;_=b}},a.tree_getPrecedingNode=function(e,_){return _===e?null:_._previousSibling?(_=_._previousSibling)._lastChild?_._lastChild:_:_._parent},a.tree_isConstrained=function e(_){var b,x,E,w,D,T;switch(_._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var M=v(_._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(_._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!_.hasChildNodes()}try{for(var Y=v(_._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=f,a.tree_isEmpty=function(e){return f(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,_,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===_)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=p,a.tree_isHostIncludingAncestorOf=function e(_,b,x){if(x===void 0&&(x=!1),p(_,b,x))return!0;var E=m(_);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,_,b){return b===void 0&&(b=!1),e!==_?e._parent!==null&&e._parent===_._parent:!!b},a.tree_isPreceding=function(e,_){var b=t(e),x=t(_);return b!==-1&&x!==-1&&m(e)===m(_)&&xb},a.tree_isParentOf=function(e,_){return e._parent===_},a.tree_isChildOf=function(e,_){return _._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var _=0;e._previousSibling!==null;)_++,e=e._previousSibling;return _},a.tree_retarget=function(e,_){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||_&&S.Guard.isNode(_)&&p(b,_,!0,!0))return e;e=b.host}}},function(c,a,r){var v=r(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,r){"use strict";var v=r(24),S=r(130),y=r(49),g=r(43),s=r(88),h=g.set,i=g.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,f=o.index++;return!l||f>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:f,done:!1}:u=="values"?{value:l[f],done:!1}:{value:[f,l[f]],done:!1}},"values"),y.Arguments=y.Array,S("keys"),S("values"),S("entries")},function(c,a,r){var v=r(90),S=r(25),y=r(202);v||S(Object.prototype,"toString",y,{unsafe:!0})},function(c,a,r){var v=r(16),S=r(15),y=r(40);c.exports=v?function(g,s,h){return S.f(g,s,y(1,h))}:function(g,s,h){return g[s]=h,g}},function(c,a,r){"use strict";var v=r(137).charAt,S=r(43),y=r(88),g=S.set,s=S.getterFor("String Iterator");y(String,"String",function(h){g(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,r){var v=r(11),S=r(203),y=r(19),g=r(21),s=r(5),h=s("iterator"),i=s("toStringTag"),o=y.values;for(var l in S){var u=v[l],f=u&&u.prototype;if(f){if(f[h]!==o)try{g(f,h,o)}catch{f[h]=o}if(f[i]||g(f,i,l),S[l]){for(var m in y)if(f[m]!==y[m])try{g(f,m,y[m])}catch{f[m]=y[m]}}}}},function(c,a,r){var v=r(41),S=r(35);c.exports=function(y){return v(S(y))}},function(c,a,r){var v=r(11),S=r(21),y=r(14),g=r(80),s=r(117),h=r(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,f,m,p){var t=!!p&&!!p.unsafe,e=!!p&&!!p.enumerable,_=!!p&&!!p.noTargetGet;typeof m=="function"&&(typeof f!="string"||y(m,"name")||S(m,"name",f),o(m).source=l.join(typeof f=="string"?f:"")),u!==v?(t?!_&&u[f]&&(e=!0):delete u[f],e?u[f]=m:S(u,f,m)):e?u[f]=m:g(f,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,r){var v=r(47),S=Math.min;c.exports=function(y){return y>0?S(v(y),9007199254740991):0}},function(c,a,r){var v=r(35);c.exports=function(S){return Object(v(S))}},function(c,a,r){var v=r(16),S=r(8),y=r(14),g=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(y(s,i))return s[i];o||(o={});var l=[][i],u=!!y(o,"ACCESSORS")&&o.ACCESSORS,f=y(o,0)?o[0]:h,m=y(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var p={length:-1};u?g(p,1,{enumerable:!0,get:h}):p[1]=1,l.call(p,f,m)})}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(148),S=r(149),y=r(151),g=r(98),s=r(153),h=r(154),i=r(155),o=r(99),l=r(100),u=r(156),f=r(157),m=r(101),p=r(158),t=r(159),e=r(160),_=r(161),b=r(162),x=r(163),E=r(164),w=r(165),D=r(166),T=r(167),N=r(168),I=r(169),M=r(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new y.XMLDocumentImpl},a.create_document=function(){return new g.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return f.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return p.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),_.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,r){"use strict";var v=this&&this.__values||function(f){var m=typeof Symbol=="function"&&Symbol.iterator,p=m&&f[m],t=0;if(p)return p.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(17),g=r(3),s=r(72),h=new Map;function i(f,m){if(m!==f._root&&y.tree_isAncestorOf(f._reference,m,!0)){if(f._pointerBeforeReference)for(;;){var p=y.tree_getFollowingNode(f._root,m);if(p!==null&&y.tree_isDescendantOf(f._root,p,!0)&&!y.tree_isDescendantOf(m,p,!0))return void(f._reference=p);if(p===null)return void(f._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(f._reference=m._parent);else{for(var t=m._previousSibling,e=y.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);f._reference=t}}}function o(f,m,p,t,e){if(g.Guard.isSlot(f)&&m==="name"&&e===null){if(t===p||t===null&&p===""||t===""&&p===null)return;f._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function l(f,m,p,t,e){if(g.Guard.isSlotable(f)&&m==="slot"&&e===null){if(t===p||t===null&&p===""||t===""&&p===null)return;f._name=t===null||t===""?"":t,s.shadowTree_isAssigned(f)&&s.shadowTree_assignSlotables(f._assignedSlot),s.shadowTree_assignASlot(f)}}function u(f,m,p,t){m==="id"&&t===null&&(f._uniqueIdentifier=p||void 0)}a.dom_runRemovingSteps=function(f,m){},a.dom_runCloningSteps=function(f,m,p,t){},a.dom_runAdoptingSteps=function(f,m){},a.dom_runAttributeChangeSteps=function(f,m,p,t,e){var _,b;S.dom.features.slots&&(l.call(f,f,m,p,t,e),o.call(f,f,m,p,t,e)),u.call(f,f,m,t,e);try{for(var x=v(f._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(f,f,m,p,t,e)}catch(w){_={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(_)throw _.error}}},a.dom_runInsertionSteps=function(f){},a.dom_runNodeIteratorPreRemovingSteps=function(f,m){i.call(f,f,m)},a.dom_hasSupportedTokens=function(f){return h.has(f)},a.dom_getSupportedTokens=function(f){return h.get(f)||new Set},a.dom_runEventConstructingSteps=function(f){},a.dom_runChildTextContentChangeSteps=function(f){}},function(c,a,r){"use strict";var v=r(4),S=r(11),y=r(46),g=r(44),s=r(16),h=r(86),i=r(124),o=r(8),l=r(14),u=r(59),f=r(13),m=r(18),p=r(27),t=r(24),e=r(56),_=r(40),b=r(60),x=r(61),E=r(82),w=r(190),D=r(85),T=r(55),N=r(15),I=r(79),M=r(21),k=r(25),G=r(81),$=r(57),Y=r(45),z=r(58),X=r(5),H=r(125),ee=r(126),re=r(62),de=r(43),ve=r(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),oe=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=y("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),_e=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return oe(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:_(0,!1)})):(l(xe,ne)||L(xe,ne,_(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,_(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),g||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,_e[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(_e,xe))return _e[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(p(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(f(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,r){"use strict";var v=r(4),S=r(16),y=r(11),g=r(14),s=r(13),h=r(15).f,i=r(119),o=y.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[_]=!0),_};i(u,o);var f=u.prototype=o.prototype;f.constructor=u;var m=f.toString,p=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,_=m.call(e);if(g(l,e))return"";var b=p?_.slice(7,-1):_.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,r){r(126)("iterator")},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(p,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,_){e.__proto__=_}||function(e,_){for(var b in _)_.hasOwnProperty(b)&&(e[b]=_[b])})(p,t)},function(p,t){function e(){this.constructor=p}v(p,t),p.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(p){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&p[t],_=0;if(e)return e.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(6),s=r(2),h=r(70),i=r(3),o=r(9),l=r(0),u=r(152),f=r(12),m=function(p){function t(){var e=p.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,p),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||g.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,_,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return p?-1:f||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,r){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},y=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var oe=v(T._children),le=oe.next();!le.done;le=oe.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=oe.return)&&G.call(oe)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),_.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&g.dom.rangeList.size!==0){var $=f.tree_index(N);try{for(var Y=v(g.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);g.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(g.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(g.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),oe=Q.next();!oe.done;oe=Q.next()){var le=oe.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{oe&&!oe.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),g.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&p.shadowTree_isAssigned(D)&&p.shadowTree_assignSlotables(D._assignedSlot),g.dom.features.slots&&i.Guard.isShadowRoot(f.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&p.shadowTree_signalASlotChange(T),g.dom.features.slots&&f.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(p.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),p.shadowTree_assignSlotablesForATree(D)),g.dom.features.steps&&e.dom_runRemovingSteps(D,T),g.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=f.tree_getFirstDescendantNode(D,!1,!0);L!==null;)g.dom.features.steps&&e.dom_runRemovingSteps(L,D),g.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=f.tree_getNextDescendantNode(D,L,!1,!0);if(g.dom.features.mutationObservers)for(var R=f.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=f.tree_getNextAncestorNode(T,R,!0)}g.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),g.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var oe=v(N._children),le=oe.next();!le.done;le=oe.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=oe.return)&&Y.call(oe)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;_.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),g.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&_.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),g.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,r){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,y){var g,s="";for(g=0;g0?v:r)(S)}},function(c,a,r){"use strict";var v=r(8);c.exports=function(S,y){var g=[][S];return!!g&&v(function(){g.call(null,y||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,r){"use strict";r(31),r(32),r(33),r(220),r(64),r(19),r(65),r(20),r(68),r(66),r(92),r(144),r(22),r(94),r(23);var v=this&&this.__values||function(u){var f=typeof Symbol=="function"&&Symbol.iterator,m=f&&u[f],p=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&p>=u.length&&(u=void 0),{value:u&&u[p++],done:!u}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,f){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var p,t,e=m.call(u),_=[];try{for(;(f===void 0||f-- >0)&&!(p=e.next()).done;)_.push(p.value)}catch(b){t={error:b}}finally{try{p&&!p.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return _},y=this&&this.__spread||function(){for(var u=[],f=0;f/g,">");this.text(p)},u.prototype._serializeDocumentFragmentNS=function(f,m,p,t,e){var _,b;try{for(var x=v(f.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,p,t,e)}}catch(D){_={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(_)throw _.error}}},u.prototype._serializeDocumentFragment=function(f,m){var p,t;try{for(var e=v(f._children),_=e.next();!_.done;_=e.next()){var b=_.value;this._serializeNode(b,m)}}catch(x){p={error:x}}finally{try{_&&!_.done&&(t=e.return)&&t.call(e)}finally{if(p)throw p.error}}},u.prototype._serializeDocumentType=function(f,m){if(m&&!o.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},u.prototype._serializeProcessingInstruction=function(f,m){if(m&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},u.prototype._serializeCData=function(f,m){if(m&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},u.prototype._serializeAttributesNS=function(f,m,p,t,e,_){var b,x,E=[],w=_?new s.LocalNameSet:void 0;try{for(var D=v(f.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(_||e||N.namespaceURI!==null){if(_&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");_&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(_&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(_&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,p):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,_)]));if(_&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,_)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,_)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(f,m){var p,t,e=[],_=m?{}:void 0;try{for(var b=v(f.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&_&&E.localName in _)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&_&&(_[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){p={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(p)throw p.error}}return e},u.prototype._recordNamespaceInformation=function(f,m,p){var t,e,_=null;try{for(var b=v(f.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){_=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),p[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return _},u.prototype._generatePrefix=function(f,m,p){var t="ns"+p.value.toString();return p.value++,m.set(t,f),t},u.prototype._serializeAttributeValue=function(f,m){if(m&&f!==null&&!o.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,r){"use strict";var v=this&&this.__values||function(m){var p=typeof Symbol=="function"&&Symbol.iterator,t=p&&m[p],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,p){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,_,b=t.call(m),x=[];try{for(;(p===void 0||p-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){_={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(_)throw _.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),g=r(3),s=r(7),h=r(29),i=r(17),o=r(97);function l(){var m=y.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,p,t,e,_=y.dom.window;_._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(_._mutationObservers),x=s.set.clone(_._signalSlots);s.set.empty(_._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+p+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var p,t;m=v?function(_){_.write(f("")),_.close();var b=_.parentWindow.Object;return _=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(p=t.contentWindow.document).open(),p.write(f("document.F=Object")),p.close(),p.F);for(var e=g.length;e--;)delete m.prototype[g[e]];return m()};s[l]=!0,c.exports=Object.create||function(p,t){var e;return p!==null?(u.prototype=S(p),e=new u,u.prototype=null,e[l]=p):e=m(),t===void 0?e:y(e,t)}},function(c,a,r){var v=r(121),S=r(84);c.exports=Object.keys||function(y){return v(y,S)}},function(c,a,r){var v=r(15).f,S=r(14),y=r(5)("toStringTag");c.exports=function(g,s,h){g&&!S(g=h?g:g.prototype,y)&&v(g,y,{configurable:!0,value:s})}},function(c,a,r){var v=r(8),S=r(5),y=r(129),g=S("species");c.exports=function(s){return y>=51||!v(function(){var h=[];return(h.constructor={})[g]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,r){"use strict";var v=r(4),S=r(122).indexOf,y=r(48),g=r(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=y("indexOf"),o=g("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(16),S=r(15).f,y=Function.prototype,g=y.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in y)&&S(y,"name",{configurable:!0,get:function(){try{return g.call(this).match(s)[1]}catch{return""}}})},function(c,a,r){"use strict";var v=r(25),S=r(18),y=r(8),g=r(136),s=RegExp.prototype,h=s.toString,i=y(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),f=l.flags;return"/"+u+"/"+String(f===void 0&&l instanceof RegExp&&!("flags"in s)?g.call(l):f)},{unsafe:!0})},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(138),r(20),r(66),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),y=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(1),s=r(2),h=function(i){function o(l,u){var f=i.call(this,l)||this;return f._writerOptions=g.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var f,m,p,t,e,_,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=y(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(_=b.return)&&_.call(b)}finally{if(e)throw e.error}}else u[p>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,f,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var p=this._currentList[this._currentList.length-1];this._isElementNode(p,l)?p[l].length!==0&&g.isArray(p[l][0])?p[l].push(m):p[l]=[p[l],m]:this._currentList.push(((f={})[l]=m,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var f,m;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[l]=u,f)});else{var p=this._currentList[this._currentList.length-1];this._isAttrNode(p)?p["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?g.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?g.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var f=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":f});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?g.isArray(m["?"])?m["?"].push(f):m["?"]=[m["?"],f]:this._currentList.push({"?":f})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?g.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(r(50).BaseWriter);a.ObjectWriter=h},function(c,a,r){"use strict";var v=r(4),S=r(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(y,g){y===null?this._nullItems[g]=!0:(this._items[y]||(this._items[y]={}),this._items[y][g]=!0)},S.prototype.has=function(y,g){return y===null?this._nullItems[g]===!0:!!this._items[y]&&this._items[y][g]===!0},S}();a.LocalNameSet=v},function(c,a,r){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,f=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=f.next()).done;)m.push(l.value)}catch(p){u={error:p}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=r(9),y=r(3),g=r(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,f=v(g.eventTarget_flattenMore(l),3),m=f[0],p=f[1],t=f[2];o&&(u=y.Guard.isEventListener(o)?o:{handleEvent:o},g.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:p,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=g.eventTarget_flatten(l);if(o)for(var f=0;f=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(p,t){var e=typeof Symbol=="function"&&p[Symbol.iterator];if(!e)return p;var _,b,x=e.call(p),E=[];try{for(;(t===void 0||t-- >0)&&!(_=x.next()).done;)E.push(_.value)}catch(w){b={error:w}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},y=this&&this.__spread||function(){for(var p=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();a.BaseReader=S},function(c,a,r){"use strict";var v=r(39);c.exports=v.DEFAULT=new v({include:[r(54)],explicit:[r(299),r(300),r(301)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=r(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var y=r(183);a.builder=y.builder,a.create=y.create,a.fragment=y.fragment,a.convert=y.convert;var g=r(309);a.createCB=g.createCB,a.fragmentCB=g.fragmentCB},function(c,a){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}c.exports=r},function(c,a,r){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,y=S&&!v.call({1:2},1);a.f=y?function(g){var s=S(this,g);return!!s&&s.enumerable}:v},function(c,a,r){var v=r(11),S=r(21);c.exports=function(y,g){try{S(v,y,g)}catch{v[y]=g}return g}},function(c,a,r){var v=r(44),S=r(118);(c.exports=function(y,g){return S[y]||(S[y]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,r){var v=r(121),S=r(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(y){return v(y,S)}},function(c,a,r){var v=r(47),S=Math.max,y=Math.min;c.exports=function(g,s){var h=v(g);return h<0?S(h+s,0):y(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,r){var v=r(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,r){var v=r(127);c.exports=function(S,y,g){if(v(S),y===void 0)return S;switch(g){case 0:return function(){return S.call(y)};case 1:return function(s){return S.call(y,s)};case 2:return function(s,h){return S.call(y,s,h)};case 3:return function(s,h,i){return S.call(y,s,h,i)}}return function(){return S.apply(y,arguments)}}},function(c,a,r){"use strict";var v=r(4),S=r(195),y=r(132),g=r(133),s=r(62),h=r(21),i=r(25),o=r(5),l=r(44),u=r(49),f=r(131),m=f.IteratorPrototype,p=f.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(_,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!p&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=_.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!p&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new _)),m!==Object.prototype&&N.next&&(l||y(N)===m||(g?g(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(p||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:p||$},I);return I}},function(c,a,r){"use strict";var v=r(4),S=r(13),y=r(59),g=r(83),s=r(26),h=r(24),i=r(134),o=r(5),l=r(63),u=r(28),f=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),p=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!m},{slice:function(_,b){var x,E,w,D=h(this),T=s(D.length),N=g(_,T),I=g(b===void 0?T:b,T);if(y(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!y(x.prototype)?S(x)&&(x=x[p])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!_.multiline||_.multiline&&f[_.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),p=new RegExp("^(?:"+E+")",x)),u&&(p=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=_.lastIndex),t=s.call(b?p:_,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=_.lastIndex,_.lastIndex+=t[0].length):_.lastIndex=0:o&&t&&(_.lastIndex=_.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],p,function(){for(e=1;e]*>)/g,p=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,_,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=_(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,g(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=p;return k!==void 0&&(k=y(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=f(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var y=new S;for(var g in this._items)y._items[g]=this._items[g].slice(0);return y._nullItems=this._nullItems.slice(0),y},S.prototype.get=function(y,g){var s=g===null?this._nullItems:this._items[g]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((_e=W[ae]).shadowAdjustedTarget!==null){q=_e;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(_e=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(_e,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=_.length&&(_=void 0),{value:_&&_[E++],done:!_}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(_,b){var x=typeof Symbol=="function"&&_[Symbol.iterator];if(!x)return _;var E,w,D=x.call(_),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=r(6),h=r(2),i=r(9),o=r(34),l=r(3),u=r(1),f=r(7),m=r(152),p=r(0),t=r(12),e=function(_){function b(){var x=_.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,_),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=p.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=y(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return p.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return p.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return p.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!p.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return p.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return p.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return p.create_documentFragment(this)},b.prototype.createTextNode=function(x){return p.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return p.create_cdataSection(this,x)},b.prototype.createComment=function(x){return p.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!p.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return p.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return p.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return p.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!p.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),p.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=g(p.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=p.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return p.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=p.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=p.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=p.create_nodeList(x),u.isFunction(w)?(D._filter=p.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=p.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=p.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(m,p){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,_,b=t.call(m),x=[];try{for(;(p===void 0||p-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){_={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(_)throw _.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=r(2),h=r(34),i=r(9),o=r(7),l=r(0),u=r(12),f=function(m){function p(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(p,m),Object.defineProperty(p.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),p.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(p.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),p.prototype.getAttributeNames=function(){var t,e,_=[];try{for(var b=y(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;_.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return _},p.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},p.prototype.getAttributeNS=function(t,e){var _=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return _?_._value:null},p.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var _=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(2),s=r(71),h=r(0),i=r(12),o=function(l){function u(f){f===void 0&&(f="");var m=l.call(this,f)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var f,m,p="";try{for(var t=y(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())p+=e.value._data}catch(_){f={error:_}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(f)throw f.error}}return p},enumerable:!0,configurable:!0}),u.prototype.splitText=function(f){return h.text_split(this,f)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(f,m){m===void 0&&(m="");var p=new u(m);return p._nodeDocument=f,p},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",g.NodeType.Text)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=function(){function y(g){this._activeFlag=!1,this._root=g,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();a.TraverserImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(0),y=r(12),g=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,f=i.length-1;f>=0;){if(i[f].rootOfClosedTree&&u++,i[f].invocationTarget===o){l=f;break}i[f].slotInClosedTree&&u--,f--}var m=u,p=u;for(f=l-1;f>=0;)i[f].rootOfClosedTree&&m++,m<=p&&h.unshift(i[f].invocationTarget),i[f].slotInClosedTree&&--m0)&&!(_=x.next()).done;)E.push(_.value)}catch(w){b={error:w}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(p){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&p[t],_=0;if(e)return e.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(6),g=r(3),s=r(1),h=r(99),i=r(73),o=r(17),l=r(173),u=r(30),f=r(52),m=r(37);a.document_elementInterface=function(p,t){return h.ElementImpl},a.document_internalCreateElementNS=function(p,t,e,_){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return _!==void 0&&(D=s.isString(_)?_:_.is),f.element_createAnElement(p,w,x,E,D,!0)},a.document_adopt=function(p,t){var e,_;if(p._nodeDocument!==t||p._parent!==null){var b=p._nodeDocument;if(p._parent&&m.mutation_remove(p,p._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(p,!0,!0);x!==null;){if(x._nodeDocument=t,g.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(_=E.return)&&_.call(E)}finally{if(e)throw e.error}}y.dom.features.customElements&&g.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),y.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(p,x,!0,!0)}}}},function(c,a,r){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],f=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&f>=o.length&&(o=void 0),{value:o&&o[f++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(3),g=r(9),s=r(17),h=r(51),i=r(30);a.characterData_replaceData=function(o,l,u,f){var m,p,t=s.tree_nodeLength(o);if(l>t)throw new g.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+f+o._data.substring(l+u);o._data=e;try{for(var _=v(S.dom.rangeList),b=_.next();!b.done;b=_.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=f.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=f.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(p=_.return)&&p.call(_)}finally{if(m)throw m.error}}S.dom.features.steps&&y.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var f=s.tree_nodeLength(o);if(l>f)throw new g.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+f+", Node is "+o.nodeName+".");return l+u>f?o._data.substr(l):o._data.substr(l,u)}},function(c,a,r){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,f,m=l.call(i),p=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)p.push(u.value)}catch(t){f={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(f)throw f.error}}return p},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(7);function s(i){var o=g.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,f,m,p;try{for(var t=y(o),e=t.next();!e.done;e=t.next()){var _=e.value,b=!1;try{for(var x=(m=void 0,y(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===_){b=!0;break}}else if(w.toUpperCase()===_.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(p=x.return)&&p.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,r){"use strict";r(179),Object.defineProperty(a,"__esModule",{value:!0});var v=r(262),S=r(110),y=r(1);S.dom.setFeatures(!1),a.createDocument=function(){var g=new v.DOMImplementation().createDocument(null,"root",null);return g.documentElement&&g.removeChild(g.documentElement),g},a.sanitizeInput=function(g,s){if(g==null)return g;if(s===void 0)return g+"";var h="";g+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=g.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=y.isString(s)?s:s(g.charAt(i),i,g)}else h+=y.isString(s)?s:s(g.charAt(i),i,g)}return h}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(1),S=r(153);a.AbortController=S.AbortControllerImpl;var y=r(154);a.AbortSignal=y.AbortSignalImpl;var g=r(102);a.AbstractRange=g.AbstractRangeImpl;var s=r(157);a.Attr=s.AttrImpl;var h=r(158);a.CDATASection=h.CDATASectionImpl;var i=r(71);a.CharacterData=i.CharacterDataImpl;var o=r(263),l=r(159);a.Comment=l.CommentImpl;var u=r(171);a.CustomEvent=u.CustomEventImpl;var f=r(100);a.DocumentFragment=f.DocumentFragmentImpl;var m=r(98);a.Document=m.DocumentImpl;var p=r(264),t=r(155);a.DocumentType=t.DocumentTypeImpl;var e=r(6);a.dom=e.dom;var _=r(148);a.DOMImplementation=_.DOMImplementationImpl;var b=r(170);a.DOMTokenList=b.DOMTokenListImpl;var x=r(99);a.Element=x.ElementImpl;var E=r(104);a.Event=E.EventImpl;var w=r(70);a.EventTarget=w.EventTargetImpl;var D=r(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=r(265);a.MutationObserver=T.MutationObserverImpl;var N=r(169);a.MutationRecord=N.MutationRecordImpl;var I=r(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=r(168);a.NodeFilter=M.NodeFilterImpl;var k=r(34);a.Node=k.NodeImpl;var G=r(166);a.NodeIterator=G.NodeIteratorImpl;var $=r(162);a.NodeList=$.NodeListImpl;var Y=r(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=r(266),X=r(267),H=r(268),ee=r(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=r(165);a.Range=re.RangeImpl;var de=r(156);a.ShadowRoot=de.ShadowRootImpl;var ve=r(269),ne=r(270);a.StaticRange=ne.StaticRangeImpl;var Q=r(101);a.Text=Q.TextImpl;var oe=r(103);a.Traverser=oe.TraverserImpl;var le=r(167);a.TreeWalker=le.TreeWalkerImpl;var fe=r(149);a.Window=fe.WindowImpl;var P=r(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,p.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,p.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,r){"use strict";r(64),r(20),r(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(1),g=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,f=null;return y.isFunction(o)?f=this.parse(i,o.apply(this)):y.isArray(o)||y.isSet(o)?y.forEachArray(o,function(m){return f=l.parse(i,m)},this):y.isMap(o)||y.isObject(o)?y.forEachObject(o,function(m,p){if(y.isFunction(p)&&(p=p.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((y.isArray(p)||y.isSet(p))&&y.isEmpty(p))){if((y.isMap(p)||y.isObject(p))&&y.isEmpty(p))f=l.element(i,void 0,l.sanitize(m))||f;else if(u.keepNullNodes||p!=null)if(y.isArray(p)||y.isSet(p))y.forEachArray(p,function(x){var E={};E[m]=x,f=l.parse(i,E)},l);else if(y.isMap(p)||y.isObject(p))(t=l.element(i,void 0,l.sanitize(m)))&&(f=t,l.parse(t,p));else if(p!=null&&p!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(f=t,l.text(t,l._decodeText(l.sanitize(p))))}else f=l.element(i,void 0,l.sanitize(m))||f}}else if(y.isString(p)){var e=p.indexOf(" "),_=e===-1?p:p.substr(0,e),b=e===-1?"":p.substr(e+1);f=l.instruction(i,l.sanitize(_),l.sanitize(b))||f}else y.isArray(p)||y.isSet(p)?y.forEachArray(p,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);f=l.instruction(i,l.sanitize(w),l.sanitize(D))||f},l):y.forEachObject(p,function(x,E){return f=l.instruction(i,l.sanitize(x),l.sanitize(E))||f},l);else y.isArray(p)||y.isSet(p)?y.forEachArray(p,function(x){return f=l.comment(i,l.sanitize(x))||f},l):f=l.comment(i,l.sanitize(p))||f;else y.isArray(p)||y.isSet(p)?y.forEachArray(p,function(x){return f=l.cdata(i,l.sanitize(x))||f},l):f=l.cdata(i,l.sanitize(p))||f;else f=y.isMap(p)||y.isObject(p)?l.parse(i,p):l.text(i,l._decodeText(l.sanitize(p)))||f;else if(m===u.convert.att){if(y.isArray(p)||y.isSet(p))throw new Error("Invalid attribute: "+p.toString()+". "+i._debugInfo());y.forEachObject(p,function(x,E){f=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||f})}else f=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(p)))||f},this):(u.keepNullNodes||o!=null)&&(f=this.text(i,this._decodeText(this.sanitize(o)))||f),f||i},h}(r(75).BaseReader);a.ObjectReader=g},function(c,a,r){"use strict";var v=r(39);c.exports=new v({explicit:[r(286),r(287),r(288)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,r){var v=r(16),S=r(8),y=r(116);c.exports=!v&&!S(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,r){var v=r(11),S=r(13),y=v.document,g=S(y)&&S(y.createElement);c.exports=function(s){return g?y.createElement(s):{}}},function(c,a,r){var v=r(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return S.call(y)}),c.exports=v.inspectSource},function(c,a,r){var v=r(11),S=r(80),y=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=y},function(c,a,r){var v=r(14),S=r(187),y=r(55),g=r(15);c.exports=function(s,h){for(var i=S(h),o=g.f,l=y.f,u=0;ul;)v(o,i=h[l++])&&(~y(u,i)||u.push(i));return u}},function(c,a,r){var v=r(24),S=r(26),y=r(83),g=function(s){return function(h,i,o){var l,u=v(h),f=S(u.length),m=y(o,f);if(s&&i!=i){for(;f>m;)if((l=u[m++])!=l)return!0}else for(;f>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:g(!0),indexOf:g(!1)}},function(c,a,r){var v=r(8),S=/#|\.prototype\./,y=function(o,l){var u=s[g(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},g=y.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=y.data={},h=y.NATIVE="N",i=y.POLYFILL="P";c.exports=y},function(c,a,r){var v=r(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,r){var v=r(5);a.f=v},function(c,a,r){var v=r(120),S=r(14),y=r(125),g=r(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||g(h,s,{value:y.f(s)})}},function(c,a){c.exports=function(r){if(typeof r!="function")throw TypeError(String(r)+" is not a function");return r}},function(c,a,r){var v=r(13),S=r(59),y=r(5)("species");c.exports=function(g,s){var h;return S(g)&&(typeof(h=g.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[y])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,r){var v,S,y=r(11),g=r(193),s=y.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:g&&(!(v=g.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=g.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,r){var v=r(5),S=r(60),y=r(15),g=v("unscopables"),s=Array.prototype;s[g]==null&&y.f(s,g,{configurable:!0,value:S(null)}),c.exports=function(h){s[g][h]=!0}},function(c,a,r){"use strict";var v,S,y,g=r(132),s=r(21),h=r(14),i=r(5),o=r(44),l=i("iterator"),u=!1;[].keys&&("next"in(y=[].keys())?(S=g(g(y)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,r){var v=r(14),S=r(27),y=r(57),g=r(196),s=y("IE_PROTO"),h=Object.prototype;c.exports=g?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,r){var v=r(18),S=r(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,g=!1,s={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),g=s instanceof Array}catch{}return function(h,i){return v(h),S(i),g?y.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,r){"use strict";var v=r(56),S=r(15),y=r(40);c.exports=function(g,s,h){var i=v(s);i in g?S.f(g,i,y(0,h)):g[i]=h}},function(c,a,r){var v=r(90),S=r(42),y=r(5)("toStringTag"),g=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),y))=="string"?i:g?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,r){"use strict";var v=r(18);c.exports=function(){var S=v(this),y="";return S.global&&(y+="g"),S.ignoreCase&&(y+="i"),S.multiline&&(y+="m"),S.dotAll&&(y+="s"),S.unicode&&(y+="u"),S.sticky&&(y+="y"),y}},function(c,a,r){var v=r(47),S=r(35),y=function(g){return function(s,h){var i,o,l=String(S(s)),u=v(h),f=l.length;return u<0||u>=f?g?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===f||(o=l.charCodeAt(u+1))<56320||o>57343?g?l.charAt(u):i:g?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:y(!1),charAt:y(!0)}},function(c,a,r){var v=r(4),S=r(27),y=r(61);v({target:"Object",stat:!0,forced:r(8)(function(){y(1)})},{keys:function(g){return y(S(g))}})},function(c,a,r){"use strict";var v=r(4),S=r(11),y=r(123),g=r(25),s=r(140),h=r(141),i=r(142),o=r(13),l=r(8),u=r(208),f=r(62),m=r(209);c.exports=function(p,t,e){var _=p.indexOf("Map")!==-1,b=p.indexOf("Weak")!==-1,x=_?"set":"add",E=S[p],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];g(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(p,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,p,_,x),s.REQUIRED=!0;else if(y(p,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,p);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,_),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),_&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[p]=D,v({global:!0,forced:D!=E},T),f(D,p),b||e.setStrong(D,p,_),D}},function(c,a,r){var v=r(45),S=r(13),y=r(14),g=r(15).f,s=r(58),h=r(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){g(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},f=c.exports={REQUIRED:!1,fastKey:function(m,p){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!y(m,i)){if(!l(m))return"F";if(!p)return"E";u(m)}return m[i].objectID},getWeakData:function(m,p){if(!y(m,i)){if(!l(m))return!0;if(!p)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&f.REQUIRED&&l(m)&&!y(m,i)&&u(m),m}};v[i]=!0},function(c,a,r){var v=r(18),S=r(205),y=r(26),g=r(87),s=r(206),h=r(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,f,m){var p,t,e,_,b,x,E,w=g(l,u,f?2:1);if(m)p=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,_=y(o.length);_>e;e++)if((b=f?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}p=t.call(o)}for(x=p.next;!(E=x.call(p)).done;)if(typeof(b=h(p,w,E.value,f))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(r,v,S){if(!(r instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return r}},function(c,a,r){"use strict";var v=r(15).f,S=r(60),y=r(210),g=r(87),s=r(142),h=r(141),i=r(88),o=r(211),l=r(16),u=r(140).fastKey,f=r(43),m=f.set,p=f.getterFor;c.exports={getConstructor:function(t,e,_,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,_)}),E=p(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return y(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=g(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),y(x.prototype,_?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,_){var b=e+" Iterator",x=p(e),E=p(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},_?"entries":"values",!_,!0),o(e)}}},function(c,a,r){"use strict";var v,S=r(4),y=r(55).f,g=r(26),s=r(222),h=r(35),i=r(224),o=r(44),l="".endsWith,u=Math.min,f=i("endsWith");S({target:"String",proto:!0,forced:!!(o||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(m){var p=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=g(p.length),_=t===void 0?e:u(g(t),e),b=String(m);return l?l.call(p,b,_):p.slice(_-b.length,_)===b}})},function(c,a,r){"use strict";(function(v){var S=r(229),y=r(230),g=r(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function p(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return oe(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return oe(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function _(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function _e(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,_e.push(me),_e.push(ae);return _e}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:_e>223?3:_e>191?2:1;if(R+Re<=B)switch(Re){case 1:_e<128&&(Ae=_e);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&_e)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&_e)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&_e)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),_e=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),y.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),y.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),y.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),y.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),y.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),y.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,r(78))},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,r){"use strict";var v=this&&this.__read||function(y,g){var s=typeof Symbol=="function"&&y[Symbol.iterator];if(!s)return y;var h,i,o=s.call(y),l=[];try{for(;(g===void 0||g-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var y=[],g=0;g=65&&s<=90&&(y[g]=s+32)}},a.byteUppercase=function(y){for(var g=0;g=97&&s<=122&&(y[g]=s-32)}},a.byteCaseInsensitiveMatch=function(y,g){if(y.length!==g.length)return!1;for(var s=0;s=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(y,g){for(var s=0;;){if(s>=y.length)return!1;if(s>=g.length)return!0;if(y[s]!==g[s])return!1;s++}},a.byteLessThan=function(y,g){for(var s=0;;){if(s>=y.length)return!1;if(s>=g.length)return!0;var h=y[s],i=g[s];if(hi)return!1;s++}},a.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,S(y))}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(6),S=r(7),y=r(0),g=r(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return y.namespace_validate(i),y.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=y.create_xmlDocument(),f=null;return o&&(f=y.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),f&&u.appendChild(f),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=y.create_document();o._type="html",o._contentType="text/html",o.appendChild(y.create_documentType(o,"html","",""));var l=y.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=y.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var f=y.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(f);var m=y.create_text(o,i);f.appendChild(m)}var p=y.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(p),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,g.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(70),g=r(1),s=r(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new g.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(y.EventTargetImpl);a.WindowImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=function(){function y(){}return y.isNode=function(g){return!!g&&g._nodeType!==void 0},y.isDocumentNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(g){if(!y.isNode(g))return!1;var s=g._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},y.isTextNode=function(g){return y.isNode(g)&&(g._nodeType===v.NodeType.Text||g._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.CData},y.isCommentNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(g){return y.isNode(g)&&g._nodeType===v.NodeType.Element},y.isCustomElementNode=function(g){return y.isElementNode(g)&&g._customElementState==="custom"},y.isShadowRoot=function(g){return!!g&&g.host!==void 0},y.isMouseEvent=function(g){return!!g&&g.screenX!==void 0&&g.screenY!=null},y.isSlotable=function(g){return!!g&&g._name!==void 0&&g._assignedSlot!==void 0&&(y.isTextNode(g)||y.isElementNode(g))},y.isSlot=function(g){return!!g&&g._name!==void 0&&g._assignedNodes!==void 0&&y.isElementNode(g)},y.isWindow=function(g){return!!g&&g.navigator!==void 0},y.isEventListener=function(g){return!!g&&g.handleEvent!==void 0},y.isRegisteredObserver=function(g){return!!g&&g.observer!==void 0&&g.options!==void 0},y.isTransientRegisteredObserver=function(g){return!!g&&g.source!==void 0&&y.isRegisteredObserver(g)},y}();a.Guard=S},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(g,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(g,s)},function(g,s){function h(){this.constructor=g}v(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var y=function(g){function s(){return g.call(this)||this}return S(s,g),s}(r(98).DocumentImpl);a.XMLDocumentImpl=y},function(c,a,r){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),_e=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)_e.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return _e};Object.defineProperty(a,"__esModule",{value:!0});var y,g=r(1),s=r(243),h=r(7),i=r(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){y!==void 0&&y.call(null,"Validation Error: "+L)}function _(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),_e=me.next();!_e.done;_e=me.next())ae+="/"+_e.value}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return g.isNumber(L)?N(L):g.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,_e=0;_e<8;_e++)if(L[_e]===0){ae=1;for(var Ae=_e+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=_e)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,_e,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new g.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(_e=xe.return)&&_e.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else p.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),f);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||p.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(p.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=g.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(p.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(g.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||g.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},_e=L.split(".");if(_e[_e.length-1]===""&&(me.value=!0,_e.length>1&&_e.pop()),_e.length>4)return L;var Ae=[];try{for(var Re=v(_e),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new g.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var _e=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)_e=16*_e+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=_e,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(_e){R={error:_e}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function oe(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var _e=parseInt(g.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=_e,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return oe(g.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=g.utf8Encode(L),me="";try{for(var _e=v(ae),Ae=_e.next();!Ae.done;Ae=_e.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=_e.return)&&W.call(_e)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],_e=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(_e)),_e=[]):_e.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}_e.length!==0&&me.push(Uint8Array.from(_e));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&_e<=57||_e>=65&&_e<=90||_e===95||_e>=97&&_e<=122?String.fromCodePoint(_e):Q(_e)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){y=L},a.newURL=_,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),_e=me.next();!_e.done;_e=me.next())ae+=fe(_e.value,m)}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),_e=me.next();!_e.done;_e=me.next())ae+=fe(_e.value,m)}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=oe,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(g.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),_e=me.next();!_e.done;_e=me.next()){var Ae=_e.value,Re=C(g.utf8Encode(Ae[0])),je=Ae[1];je=C(g.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(0),S=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();a.AbortControllerImpl=S},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(70),g=r(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return g.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){g.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(2),g=r(34),s=r(12),h=function(i){function o(l,u,f){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=f,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(1),g=r(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(1),g=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var f=v(this._items),m=f.next();!m.done;m=f.next()){var p=m.value;h.call(i,p,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!y.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!y.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(6),s=r(2),h=r(102),i=r(9),o=r(0),l=r(12),u=r(3),f=function(m){function p(){var t=m.call(this)||this,e=g.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],g.dom.rangeList.add(t),t}return S(p,m),Object.defineProperty(p.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),p.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},p.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},p.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},p.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},p.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},p.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},p.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},p.prototype.selectNode=function(t){o.range_select(t,this)},p.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},p.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var _,b;switch(t){case s.HowToCompare.StartToStart:_=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:_=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:_=this._end,b=e._end;break;case s.HowToCompare.EndToStart:_=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(_,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},p.prototype.deleteContents=function(){var t,e,_,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=y(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){_={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(_)throw _.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},p.prototype.extractContents=function(){return o.range_extract(this)},p.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},p.prototype.insertNode=function(t){return o.range_insert(t,this)},p.prototype.surroundContents=function(t){var e,_;try{for(var b=y(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(_=b.return)&&_.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},p.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},p.prototype.detach=function(){g.dom.rangeList.delete(this)},p.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var _=[t,e];return o.boundaryPoint_position(_,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(_,this._end)!==s.BoundaryPosition.After},p.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var _=[t,e];return o.boundaryPoint_position(_,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(_,this._end)===s.BoundaryPosition.After?1:0},p.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var _=o.tree_index(t);return o.boundaryPoint_position([e,_],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,_+1],this._start)===s.BoundaryPosition.After},p.prototype.toString=function(){var t,e,_="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(_+=this._startNode._data.substring(this._startOffset));try{for(var b=y(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(_+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(_+=this._endNode._data.substring(0,this._endOffset)),_},p._create=function(t,e){var _=new p;return t&&(_._start=t),e&&(_._end=e),_},p.START_TO_START=0,p.START_TO_END=1,p.END_TO_END=2,p.END_TO_START=3,p}(h.AbstractRangeImpl);a.RangeImpl=f,l.idl_defineConst(f.prototype,"START_TO_START",0),l.idl_defineConst(f.prototype,"START_TO_END",1),l.idl_defineConst(f.prototype,"END_TO_END",2),l.idl_defineConst(f.prototype,"END_TO_START",3)},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(103),g=r(0),s=function(h){function i(o,l,u){var f=h.call(this,o)||this;return f._iteratorCollection=void 0,f._reference=l,f._pointerBeforeReference=u,g.nodeIterator_iteratorList().add(f),f}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return g.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return g.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){g.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(y.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(2),g=r(103),s=r(0),h=function(i){function o(l,u){var f=i.call(this,l)||this;return f._current=u,f}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===y.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var f=s.traversal_filter(this,l);f!==y.FilterResult.Reject&&l._lastChild;)l=l._lastChild,f=s.traversal_filter(this,l);if(f===y.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===y.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=y.FilterResult.Accept;;){for(;u!==y.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===y.FilterResult.Accept)return this._current=l,l;for(var f=null,m=l;m!==null;){if(m===this._root)return null;if((f=m._nextSibling)!==null){l=f;break}m=m._parent}if((u=s.traversal_filter(this,l))===y.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(g.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(12),y=function(){function g(){}return g.prototype.acceptNode=function(s){return v.FilterResult.Accept},g._create=function(){return new g},g.FILTER_ACCEPT=1,g.FILTER_REJECT=2,g.FILTER_SKIP=3,g.SHOW_ALL=4294967295,g.SHOW_ELEMENT=1,g.SHOW_ATTRIBUTE=2,g.SHOW_TEXT=4,g.SHOW_CDATA_SECTION=8,g.SHOW_ENTITY_REFERENCE=16,g.SHOW_ENTITY=32,g.SHOW_PROCESSING_INSTRUCTION=64,g.SHOW_COMMENT=128,g.SHOW_DOCUMENT=256,g.SHOW_DOCUMENT_TYPE=512,g.SHOW_DOCUMENT_FRAGMENT=1024,g.SHOW_NOTATION=2048,g}();a.NodeFilterImpl=y,S.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(y.prototype,"FILTER_REJECT",2),S.idl_defineConst(y.prototype,"FILTER_SKIP",3),S.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(y.prototype,"SHOW_TEXT",4),S.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(y.prototype,"SHOW_ENTITY",32),S.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(y.prototype,"SHOW_COMMENT",128),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(y,g,s,h,i,o,l,u,f){this._type=y,this._target=g,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=f}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(y,g,s,h,i,o,l,u,f){return new S(y,g,s,h,i,o,l,u,f)},S}();a.MutationRecordImpl=v},function(c,a,r){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(9),g=r(7),s=r(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,f=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(p,t,e,_,b){t===m._attribute._localName&&b===null&&(_?m._tokenSet=s.orderedSet_parse(_):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,f,f,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,f=0;try{for(var m=v(this._tokenSet),p=m.next();!p.done;p=m.next()){var t=p.value;if(f===o)return t;f++}}catch(e){l={error:e}}finally{try{p&&!p.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(S===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&S=56320&&g<=57343&&(S++,(y=1024*(y-55296)+g-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,y=0;y=97&&g<=122||g>=65&&g<=90||g===95||g>=192&&g<=214||g>=216&&g<=246||g>=248&&g<=767||g>=880&&g<=893||g>=895&&g<=8191||g>=8204&&g<=8205||g>=8304&&g<=8591||g>=11264&&g<=12271||g>=12289&&g<=55295||g>=63744&&g<=64975||g>=65008&&g<=65533)&&(y===0||!(g===45||g===46||g>=48&&g<=57||g===183||g>=768&&g<=879||g>=8255&&g<=8256))){if(y===0||g!==58){if(g>=55296&&g<=56319&&y=56320&&s<=57343&&(y++,(g=1024*(g-55296)+s-56320+65536)>=65536&&g<=983039))continue}return!1}if(S||y===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&S=56320&&g<=57343&&(S++,(y=1024*(y-55296)+g-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(17);a.boundaryPoint_position=function y(g,s){var h=g[0],i=g[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[p++],done:!u}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(3),g=r(7),s=r(29),h=r(108),i=r(30),o=r(37),l=r(52);a.node_stringReplaceAll=function(u,f){var m=null;u!==""&&(m=s.create_text(f._nodeDocument,u)),o.mutation_replaceAll(m,f)},a.node_clone=function u(f,m,p){var t,e,_,b,x;if(m===void 0&&(m=null),p===void 0&&(p=!1),m===null&&(m=f._nodeDocument),y.Guard.isElementNode(f)){x=l.element_createAnElement(m,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var E=v(f._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=s.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,x=T}else if(y.Guard.isDocumentTypeNode(f))x=s.create_documentType(m,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=s.create_attr(m,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,x=N}else x=y.Guard.isExclusiveTextNode(f)?s.create_text(m,f._data):y.Guard.isCDATASectionNode(f)?s.create_cdataSection(m,f._data):y.Guard.isCommentNode(f)?s.create_comment(m,f._data):y.Guard.isProcessingInstructionNode(f)?s.create_processingInstruction(m,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?s.create_documentFragment(m):Object.create(f);if(y.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,f,m,p),p)try{for(var I=v(f._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){_={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(_)throw _.error}}return x},a.node_equals=function u(f,m){var p,t,e,_;if(f._nodeType!==m._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(m)){if(f._name!==m._name||f._publicId!==m._publicId||f._systemId!==m._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(m)){if(f._namespace!==m._namespace||f._namespacePrefix!==m._namespacePrefix||f._localName!==m._localName||f._attributeList.length!==m._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(m)){if(f._namespace!==m._namespace||f._localName!==m._localName||f._value!==m._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(m)){if(f._target!==m._target||f._data!==m._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(m)&&f._data!==m._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(m)){var b={};try{for(var x=v(f._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){p={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(p)throw p.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(_=w.return)&&_.call(w)}finally{if(e)throw e.error}}}if(f._children.size!==m._children.size)return!1;for(var I=f._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,f){return u==="*"?s.create_htmlCollection(f):f._nodeDocument._type==="html"?s.create_htmlCollection(f,function(m){return m._namespace===g.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==g.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(f,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,f,m){return u===""&&(u=null),u==="*"&&f==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(p){return p._localName===f}):f==="*"?s.create_htmlCollection(m,function(p){return p._namespace===u}):s.create_htmlCollection(m,function(p){return p._localName===f&&p._namespace===u})},a.node_listOfElementsWithClassNames=function(u,f){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(f,function(){return!1});var p=f._nodeDocument._mode!=="quirks";return s.create_htmlCollection(f,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,p)})},a.node_locateANamespacePrefix=function u(f,m){if(f._namespace===m&&f._namespacePrefix!==null)return f._namespacePrefix;for(var p=0;p=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(3),g=r(9),s=r(29),h=r(17),i=r(107),o=r(37);a.text_contiguousTextNodes=function(l,u){var f;return u===void 0&&(u=!1),(f={})[Symbol.iterator]=function(){for(var m=l;m&&y.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=y.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var p={done:!1,value:m};return m=y.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,p}}},f},a.text_contiguousExclusiveTextNodes=function(l,u){var f;return u===void 0&&(u=!1),(f={})[Symbol.iterator]=function(){for(var m=l;m&&y.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=y.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var p={done:!1,value:m};return m=y.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,p}}},f},a.text_descendantTextContent=function(l){for(var u="",f=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return y.Guard.isTextNode(m)});f!==null;)u+=f._data,f=h.tree_getNextDescendantNode(l,f,!1,!1,function(m){return y.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var f,m,p=l._data.length;if(u>p)throw new g.IndexSizeError;var t=p-u,e=i.characterData_substringData(l,u,t),_=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(_,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=_,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=_,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){f={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(f)throw f.error}}}return i.characterData_replaceData(l,u,t,""),_}},function(c,a,r){"use strict";var v=r(4),S=r(41),y=r(24),g=r(48),s=[].join,h=S!=Object,i=g("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(y(this),o===void 0?",":o)}})},function(c,a,r){var v=r(4),S=r(83),y=String.fromCharCode,g=String.fromCodePoint;v({target:"String",stat:!0,forced:!!g&&g.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?y(h):y(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,r){"use strict";var v=this&&this.__read||function(g,s){var h=typeof Symbol=="function"&&g[Symbol.iterator];if(!h)return g;var i,o,l=h.call(g),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(f){o={error:f}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=r(111),y=function(){function g(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return g.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&g.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},g.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?g.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},g.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},g.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},g.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},g.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},g.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},g.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},g.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},g.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},g.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},g.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);g.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},g.prototype.eof=function(){return this._index>=this._length},g.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},g.prototype.skipSpace=function(){for(;!this.eof()&&g.isSpace(this._str[this._index]);)this._index++},g.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},g.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},d.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},d}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),d=o(77),a=o(109);function p(s,c){var m=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),f=n(s)?c:s,t=a.createDocument();u(t,m);var e=new d.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function n(s){if(!w.isPlainObject(s))return!1;for(var c in s)if(s.hasOwnProperty(c)&&!v.XMLBuilderOptionKeys.has(c))return!1;return!0}function i(s){s===void 0&&(s={});var c=w.applyDefaults(s,v.DefaultBuilderOptions);if(c.convert.att.length===0||c.convert.ins.length===0||c.convert.text.length===0||c.convert.cdata.length===0||c.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return c}function u(s,c,m){var f=s;f._xmlBuilderOptions=c,f._isFragment=m}l.builder=function(s,c){var m=i(n(s)?s:v.DefaultBuilderOptions),f=y.Guard.isNode(s)||w.isArray(s)?s:c;if(f===void 0)throw new Error("Invalid arguments.");if(w.isArray(f)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),d=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),c=o(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=d.applyDefaults(d.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(d.isObject(t))return new c.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();l.XMLBuilderImpl=m},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),d=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(d(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),d=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=d(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return d&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return d.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),d=o(28),a=y("every"),p=d("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),d=o(28),a=y("filter"),p=d("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),d=o(28),a=!0,p=d("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),d=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),d(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),d=o(28),a=y("map"),p=d("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),d=o(28),a=y("reduce"),p=d("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),d=o(26),a=function(p){return function(n,i,u,s){v(i);var c=w(n),m=y(c),f=d(c.length),t=p?f-1:0,e=p?-1:1;if(u<2)for(;;){if(t in m){s=m[t],t+=e;break}if(t+=e,p?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:f>t;t+=e)t in m&&(s=i(s,m[t],t,c));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),d=o(28),a=y("some"),p=d("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),d=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||d[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(d){if(d!=null)return d[y]||d["@@iterator"]||w[v(d)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,d,a){try{return a?y(v(d)[0],d[1]):y(d)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,d={next:function(){return{done:!!y++}},return:function(){w=!0}};d[v]=function(){return this},Array.from(d,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,d,a){var p,n;return w&&typeof(p=d.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,d){for(var a in y)v(w,a,y[a],d);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),d=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;d&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(d,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(m){return function(f){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=d.length&&(d=void 0),{value:d&&d[n++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function d(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return d.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},d.prototype.delete=function(a){return this._items.delete(a)},d.prototype.has=function(a){return this._items.has(a)},d.prototype.clear=function(){this._items.clear()},Object.defineProperty(d.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),d.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},d.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},d.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},d.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},d.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(d.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),d}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(d,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(m){return function(f){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=d.length&&(d=void 0),{value:d&&d[n++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function d(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return d.prototype.get=function(a){return this._items.get(a)},d.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},d.prototype.delete=function(a){return this._items.delete(a)},d.prototype.has=function(a){return this._items.has(a)},d.prototype.clear=function(){this._items.clear()},Object.defineProperty(d.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),d.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},d.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},d.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},d.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},d.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(d.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),d}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,d){if(this._items.get(y)===d)return!0;if(this._items.get(d)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,d):this._items.set(d,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var d=o(260);l.JSONWriter=d.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),d=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new d.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!d(g))return!1;var x=g[m];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,d){return RegExp(y,d)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(d){var a;return v(d)&&((a=d[y])!==void 0?!!a:w(d)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),d=o(93),a=o(21),p=y("species"),n=!w(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",c=!w(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(m,f,t,e){var g=y(m),x=!w(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||m==="replace"&&(!n||!i||s)||m==="split"&&!c){var b=/./[g],S=t(g,""[m],function(N,I,R,P,G){return I.exec===d?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,m,C),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,d){return y+(d?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,d){var a=y.exec;if(typeof a=="function"){var p=a.call(y,d);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,d)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),c=s[0],m=s[1];return 3*(c+m)/4-m},l.toByteArray=function(u){var s,c,m=n(u),f=m[0],t=m[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,f,t)),g=0,x=t>0?f-4:f;for(c=0;c>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(c)]<<2|w[u.charCodeAt(c+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(c)]<<10|w[u.charCodeAt(c+1)]<<4|w[u.charCodeAt(c+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,c=u.length,m=c%3,f=[],t=0,e=c-m;te?e:t+16383));return m===1?(s=u[c-1],f.push(v[s>>2]+v[s<<4&63]+"==")):m===2&&(s=(u[c-2]<<8)+u[c-1],f.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),f.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=d.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var c=u.indexOf("=");return c===-1&&(c=s),[c,c===s?0:4-c%4]}function i(u,s,c){for(var m,f,t=[],e=s;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,d){var a,p,n=8*d-y-1,i=(1<>1,s=-7,c=w?d-1:0,m=w?-1:1,f=o[v+c];for(c+=m,a=f&(1<<-s)-1,f>>=-s,s+=n;s>0;a=256*a+o[v+c],c+=m,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+c],c+=m,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(f?-1:1);p+=Math.pow(2,y),a-=u}return(f?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,d,a){var p,n,i,u=8*a-d-1,s=(1<>1,m=d===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+c>=1?m/i:m*Math.pow(2,1-c))*i>=2&&(p++,i/=2),p+c>=s?(n=0,p=s):p+c>=1?(n=(v*i-1)*Math.pow(2,d),p+=c):(n=v*Math.pow(2,c-1)*Math.pow(2,d),p=0));d>=8;o[w+f]=255&n,f+=t,n/=256,d-=8);for(p=p<0;o[w+f]=255&p,f+=t,p/=256,u-=8);o[w+f-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&d[a],n=0;if(p)return p.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&n>=d.length&&(d=void 0),{value:d&&d[n++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(d){var a,p;if(d===null||w.isString(d)||w.isNumber(d))return d;if(w.isArray(d)){var n=new Array;try{for(var i=v(d),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(f){a={error:f}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(d)){n=new Map;for(var c in d)if(d.hasOwnProperty(c)){var m=d[c];n.set(c,y(m))}return n}return d}l.parseJSONFromBytes=function(d){var a=w.utf8Decode(d);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(d){var a=JSON.stringify.call(void 0,d);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(d){return y(JSON.parse.call(void 0,d))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,c,m={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;m;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,u=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(s=m.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=c.next()).done;)m.push(u.value)}catch(f){s={error:f}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(s)throw s.error}}return m},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,c=0;try{for(var m=d(p),f=m.next();!f.done;f=m.next()){var t=f.value;if(a.isFunction(n))n.call(null,t)&&(p[c]=i);else if(t===n)return void(p[c]=i);c++}}catch(e){u={error:e}}finally{try{f&&!f.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=d(p),c=s.next();!c.done;c=s.next()){var m=c.value;if(a.isFunction(n)){if(n.call(null,m))return!0}else if(m===n)return!0}}catch(f){i={error:f}}finally{try{c&&!c.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var c=d(p),m=c.next();!m.done;m=c.next()){var f=m.value;n.call(null,f)&&s++}}catch(t){i={error:t}}finally{try{m&&!m.done&&(u=c.return)&&u.call(c)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,c,m,f;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,d(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=d(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return c=t.sent(),m={error:c},[3,9];case 8:try{u&&!u.done&&(f=i.return)&&f.call(i)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,c,m={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;m;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,u=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(s=m.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,c=i.call(p),m=[];try{for(;(n===void 0||n-- >0)&&!(u=c.next()).done;)m.push(u.value)}catch(f){s={error:f}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(s)throw s.error}}return m},d=this&&this.__spread||function(){for(var p=[],n=0;n0&&c[c.length-1])||x[0]!==6&&x[0]!==2)){f=0;continue}if(x[0]===3&&(!c||x[1]>c[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,c,m=u.call(n),f=[];try{for(;(i===void 0||i-- >0)&&!(s=m.next()).done;)f.push(s.value)}catch(t){c={error:t}}finally{try{s&&!s.done&&(u=m.return)&&u.call(m)}finally{if(c)throw c.error}}return f},d=this&&this.__spread||function(){for(var n=[],i=0;i=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),d=o(146),a=o(1);function p(f,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function c(f,t,e){if(!a.isArray(t))return c(f,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(f,t){return u(f)===u(t)},l.asciiEncode=function(f){return console.assert(i(f),"asciiEncode requires an ASCII string."),n(f)},l.asciiDecode=function(f){var t,e;try{for(var g=v(f),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(d.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(f)},l.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(f){return f.replace(/\r\n/g,` +Input: `+this.err.str)},g.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},g}();a.XMLStringLexer=y},function(c,a,r){"use strict";var v=r(39);c.exports=new v({include:[r(182)]})},function(c,a,r){"use strict";var v=r(39);c.exports=new v({include:[r(113)],implicit:[r(289),r(290),r(291),r(292)]})},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(91),S=r(1),y=r(3),g=r(77),s=r(109);function h(u,f){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),p=i(u)?f:u,t=s.createDocument();l(t,m);var e=new g.XMLBuilderImpl(t);return p!==void 0&&e.ele(p),e}function i(u){if(!S.isPlainObject(u))return!1;for(var f in u)if(u.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function o(u){u===void 0&&(u={});var f=S.applyDefaults(u,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function l(u,f,m){var p=u;p._xmlBuilderOptions=f,p._isFragment=m}a.builder=function(u,f){var m=o(i(u)?u:v.DefaultBuilderOptions),p=y.Guard.isNode(u)||S.isArray(u)?u:f;if(p===void 0)throw new Error("Invalid arguments.");if(S.isArray(p)){for(var t=[],e=0;e0)&&!(_=x.next()).done;)E.push(_.value)}catch(w){b={error:w}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(p){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&p[t],_=0;if(e)return e.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(91),g=r(1),s=r(217),h=r(2),i=r(3),o=r(0),l=r(109),u=r(7),f=r(276),m=function(){function p(t){this._domNode=t}return Object.defineProperty(p.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),p.prototype.set=function(t){return this._options=g.applyDefaults(g.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},p.prototype.ele=function(t,e,_){var b,x,E,w,D,T;if(g.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=_?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},p.prototype._updateNamespace=function(t){var e,_,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(_=I.return)&&_.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new p(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(p.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),p.prototype._debugInfo=function(t){var e=this.node,_=e.parentNode;t=t||e.nodeName;var b=_?_.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(p.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),p}();a.XMLBuilderImpl=m},function(c,a,r){var v=r(11),S=r(117),y=v.WeakMap;c.exports=typeof y=="function"&&/native code/.test(S(y))},function(c,a,r){var v=r(46),S=r(82),y=r(85),g=r(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(g(s)),i=y.f;return i?h.concat(i(s)):h}},function(c,a,r){var v=r(16),S=r(15),y=r(18),g=r(61);c.exports=v?Object.defineProperties:function(s,h){y(s);for(var i,o=g(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,r){var v=r(46);c.exports=v("document","documentElement")},function(c,a,r){var v=r(24),S=r(82).f,y={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return g&&y.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return g.slice()}}(s):S(v(s))}},function(c,a,r){"use strict";var v=r(4),S=r(36).every,y=r(48),g=r(28),s=y("every"),h=g("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(4),S=r(36).filter,y=r(63),g=r(28),s=y("filter"),h=g("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(46);c.exports=v("navigator","userAgent")||""},function(c,a,r){"use strict";var v=r(4),S=r(36).find,y=r(130),g=r(28),s=!0,h=g("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(c,a,r){"use strict";var v=r(131).IteratorPrototype,S=r(60),y=r(40),g=r(62),s=r(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:y(1,l)}),g(i,u,!1,!0),s[u]=h,i}},function(c,a,r){var v=r(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,r){var v=r(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,r){"use strict";var v=r(4),S=r(36).map,y=r(63),g=r(28),s=y("map"),h=g("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(4),S=r(200).left,y=r(48),g=r(28),s=y("reduce"),h=g("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){var v=r(127),S=r(27),y=r(41),g=r(26),s=function(h){return function(i,o,l,u){v(o);var f=S(i),m=y(f),p=g(f.length),t=h?p-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:p<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:p>t;t+=e)t in m&&(u=o(u,m[t],t,f));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,r){"use strict";var v=r(4),S=r(36).some,y=r(48),g=r(28),s=y("some"),h=g("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,r){"use strict";var v=r(90),S=r(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,r){var v=r(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,r){var v=r(5),S=r(49),y=v("iterator"),g=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||g[y]===s)}},function(c,a,r){var v=r(135),S=r(49),y=r(5)("iterator");c.exports=function(g){if(g!=null)return g[y]||g["@@iterator"]||S[v(g)]}},function(c,a,r){var v=r(18);c.exports=function(S,y,g,s){try{return s?y(v(g)[0],g[1]):y(g)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,r){var v=r(5)("iterator"),S=!1;try{var y=0,g={next:function(){return{done:!!y++}},return:function(){S=!0}};g[v]=function(){return this},Array.from(g,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,r){var v=r(13),S=r(133);c.exports=function(y,g,s){var h,i;return S&&typeof(h=g.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(y,i),y}},function(c,a,r){var v=r(25);c.exports=function(S,y,g){for(var s in y)v(S,s,y[s],g);return S}},function(c,a,r){"use strict";var v=r(46),S=r(15),y=r(5),g=r(16),s=y("species");c.exports=function(h){var i=v(h),o=S.f;g&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,r){"use strict";var v=this&&this.__generator||function(g,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function f(m){return function(p){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=g.length&&(g=void 0),{value:g&&g[i++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function g(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return g.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},g.prototype.delete=function(s){return this._items.delete(s)},g.prototype.has=function(s){return this._items.has(s)},g.prototype.clear=function(){this._items.clear()},Object.defineProperty(g.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),g.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},g.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},g.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},g.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},g.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(g.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),g}();a.FixedSizeSet=y},function(c,a,r){"use strict";var v=this&&this.__generator||function(g,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function f(m){return function(p){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=g.length&&(g=void 0),{value:g&&g[i++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=function(){function g(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return g.prototype.get=function(s){return this._items.get(s)},g.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},g.prototype.delete=function(s){return this._items.delete(s)},g.prototype.has=function(s){return this._items.has(s)},g.prototype.clear=function(){this._items.clear()},Object.defineProperty(g.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),g.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},g.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},g.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},g.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},g.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(g.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),g}();a.ObjectCache=y},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return S.prototype.check=function(y,g){if(this._items.get(y)===g)return!0;if(this._items.get(g)===y)return!1;var s=Math.random()<.5;if(s?this._items.set(y,g):this._items.set(g,y),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(218);a.MapWriter=v.MapWriter;var S=r(258);a.XMLWriter=S.XMLWriter;var y=r(67);a.ObjectWriter=y.ObjectWriter;var g=r(260);a.JSONWriter=g.JSONWriter;var s=r(261);a.YAMLWriter=s.YAMLWriter},function(c,a,r){"use strict";r(19),r(219),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(1),g=r(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=y.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new g.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(y.isArray(o)){for(var l=0;l=51||!S(function(){var _=[];return _[m]=!1,_.concat()[0]!==_}),t=l("concat"),e=function(_){if(!g(_))return!1;var b=_[m];return b!==void 0?!!b:y(_)};v({target:"Array",proto:!0,forced:!p||!t},{concat:function(_){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,r){"use strict";var v=r(8);function S(y,g){return RegExp(y,g)}a.UNSUPPORTED_Y=v(function(){var y=S("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var y=S("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(c,a,r){var v=r(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,r){var v=r(13),S=r(42),y=r(5)("match");c.exports=function(g){var s;return v(g)&&((s=g[y])!==void 0?!!s:S(g)=="RegExp")}},function(c,a,r){var v=r(5)("match");c.exports=function(S){var y=/./;try{"/./"[S](y)}catch{try{return y[v]=!1,"/./"[S](y)}catch{}}return!1}},function(c,a,r){"use strict";r(68);var v=r(25),S=r(8),y=r(5),g=r(93),s=r(21),h=y("species"),i=!S(function(){var m=/./;return m.exec=function(){var p=[];return p.groups={a:"7"},p},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=y("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",f=!S(function(){var m=/(?:)/,p=m.exec;m.exec=function(){return p.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,p,t,e){var _=y(m),b=!S(function(){var N={};return N[_]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[_]=/./[_]),I.exec=function(){return N=!0,null},I[_](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!f){var E=/./[_],w=t(_,""[m],function(N,I,M,k,G){return I.exec===g?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,_,p==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[_],"sham",!0)}},function(c,a,r){"use strict";var v=r(137).charAt;c.exports=function(S,y,g){return y+(g?v(S,y).length:1)}},function(c,a,r){var v=r(42),S=r(93);c.exports=function(y,g){var s=y.exec;if(typeof s=="function"){var h=s.call(y,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(y,g)}},function(c,a,r){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=r(96);a.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},a.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,r(145).Buffer)},function(c,a,r){"use strict";a.byteLength=function(l){var u=i(l),f=u[0],m=u[1];return 3*(f+m)/4-m},a.toByteArray=function(l){var u,f,m=i(l),p=m[0],t=m[1],e=new y(function(x,E,w){return 3*(E+w)/4-w}(0,p,t)),_=0,b=t>0?p-4:p;for(f=0;f>16&255,e[_++]=u>>8&255,e[_++]=255&u;return t===2&&(u=S[l.charCodeAt(f)]<<2|S[l.charCodeAt(f+1)]>>4,e[_++]=255&u),t===1&&(u=S[l.charCodeAt(f)]<<10|S[l.charCodeAt(f+1)]<<4|S[l.charCodeAt(f+2)]>>2,e[_++]=u>>8&255,e[_++]=255&u),e},a.fromByteArray=function(l){for(var u,f=l.length,m=f%3,p=[],t=0,e=f-m;te?e:t+16383));return m===1?(u=l[f-1],p.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[f-2]<<8)+l[f-1],p.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),p.join("")};for(var v=[],S=[],y=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=g.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var f=l.indexOf("=");return f===-1&&(f=u),[f,f===u?0:4-f%4]}function o(l,u,f){for(var m,p,t=[],e=u;e>18&63]+v[p>>12&63]+v[p>>6&63]+v[63&p]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(r,v,S,y,g){var s,h,i=8*g-y-1,o=(1<>1,u=-7,f=S?g-1:0,m=S?-1:1,p=r[v+f];for(f+=m,s=p&(1<<-u)-1,p>>=-u,u+=i;u>0;s=256*s+r[v+f],f+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=y;u>0;h=256*h+r[v+f],f+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(p?-1:1);h+=Math.pow(2,y),s-=l}return(p?-1:1)*h*Math.pow(2,s-y)},a.write=function(r,v,S,y,g,s){var h,i,o,l=8*s-g-1,u=(1<>1,m=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=y?0:s-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+f>=1?m/o:m*Math.pow(2,1-f))*o>=2&&(h++,o/=2),h+f>=u?(i=0,h=u):h+f>=1?(i=(v*o-1)*Math.pow(2,g),h+=f):(i=v*Math.pow(2,f-1)*Math.pow(2,g),h=0));g>=8;r[S+p]=255&i,p+=t,i/=256,g-=8);for(h=h<0;r[S+p]=255&h,p+=t,h/=256,l-=8);r[S+p-t]|=128*e}},function(c,a){var r={}.toString;c.exports=Array.isArray||function(v){return r.call(v)=="[object Array]"}},function(c,a,r){"use strict";var v=this&&this.__values||function(g){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&g[s],i=0;if(h)return h.call(g);if(g&&typeof g.length=="number")return{next:function(){return g&&i>=g.length&&(g=void 0),{value:g&&g[i++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function y(g){var s,h;if(g===null||S.isString(g)||S.isNumber(g))return g;if(S.isArray(g)){var i=new Array;try{for(var o=v(g),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(y(u))}}catch(p){s={error:p}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(g)){i=new Map;for(var f in g)if(g.hasOwnProperty(f)){var m=g[f];i.set(f,y(m))}return i}return g}a.parseJSONFromBytes=function(g){var s=S.utf8Decode(g);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(g){var s=JSON.stringify.call(void 0,g);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(g){return y(JSON.parse.call(void 0,g))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(c,a,r){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,f,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(t){return function(e){return function(_){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&_[0]?l.return:_[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,_[1])).done)return u;switch(l=0,u&&(_=[2&_[0],u.value]),_[0]){case 0:case 1:u=_;break;case 4:return m.label++,{value:_[1],done:!1};case 5:m.label++,l=_[1],_=[0];continue;case 7:_=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||_[0]!==6&&_[0]!==2)){m=0;continue}if(_[0]===3&&(!u||_[1]>u[0]&&_[1]0)&&!(l=f.next()).done;)m.push(l.value)}catch(p){u={error:p}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,y(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,f=0;try{for(var m=g(h),p=m.next();!p.done;p=m.next()){var t=p.value;if(s.isFunction(i))i.call(null,t)&&(h[f]=o);else if(t===i)return void(h[f]=o);f++}}catch(e){l={error:e}}finally{try{p&&!p.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=g(h),f=u.next();!f.done;f=u.next()){var m=f.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(p){o={error:p}}finally{try{f&&!f.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var f=g(h),m=f.next();!m.done;m=f.next()){var p=m.value;i.call(null,p)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,f,m,p;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,g(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=g(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),m={error:f},[3,9];case 8:try{l&&!l.done&&(p=o.return)&&p.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,y([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,r){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,f,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return f={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function p(t){return function(e){return function(_){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&_[0]?l.return:_[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,_[1])).done)return u;switch(l=0,u&&(_=[2&_[0],u.value]),_[0]){case 0:case 1:u=_;break;case 4:return m.label++,{value:_[1],done:!1};case 5:m.label++,l=_[1],_=[0];continue;case 7:_=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||_[0]!==6&&_[0]!==2)){m=0;continue}if(_[0]===3&&(!u||_[1]>u[0]&&_[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,f=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=f.next()).done;)m.push(l.value)}catch(p){u={error:p}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(u)throw u.error}}return m},g=this&&this.__spread||function(){for(var h=[],i=0;i0&&f[f.length-1])||b[0]!==6&&b[0]!==2)){p=0;continue}if(b[0]===3&&(!f||b[1]>f[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,f,m=l.call(i),p=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)p.push(u.value)}catch(t){f={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(f)throw f.error}}return p},g=this&&this.__spread||function(){for(var i=[],o=0;o=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(96),y=r(147),g=r(146),s=r(1);function h(p,t){for(var e=0;;){var _=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return _}function u(p){return p.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(p,t,e){if(!s.isArray(t))return f(p,Array.from(t),e);for(var _="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return _},a.asciiCaseInsensitiveMatch=function(p,t){return l(p)===l(t)},a.asciiEncode=function(p){return console.assert(o(p),"asciiEncode requires an ASCII string."),i(p)},a.asciiDecode=function(p){var t,e;try{for(var _=v(p),b=_.next();!b.done;b=_.next()){var x=b.value;console.assert(g.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=_.return)&&e.call(_)}finally{if(t)throw t.error}}return y.isomorphicDecode(p)},a.stripNewlines=function(p){return p.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(p){return p.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(f){return s(f.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=c,l.skipASCIIWhitespace=m,l.strictlySplit=function f(t,e){if(!a.isArray(t))return f(Array.from(t),e);var g={position:0},x=[],_=c(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,d){d._abortedFlag||d._abortAlgorithms.add(y)},l.abort_remove=function(y,d){d._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var d,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){d={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(d)throw d.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(d){if(v.Guard.isNode(d))return d;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(d){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(d){return!1},y.prototype.forEach=function(d,a){},y.prototype.has=function(d){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var d=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=d.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(c)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(m);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(d){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(c[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=f(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?m(N/700):N>>1,N+=m(N/I);N>455;P+=36)N=m(N/35);return m(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),m(ne/I)>n-Q&&t("overflow"),Q+=m(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&rem((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(f(b(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,d){return Object.prototype.hasOwnProperty.call(y,d)}E.exports=function(y,d,a,p){d=d||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(d);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var c=0;c=0?(m=g.substr(0,x),f=g.substr(x+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(d(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(c){return s+encodeURIComponent(v(c))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=d.length&&(d=void 0),{value:d&&d[n++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(d){return w.isBoolean(d)?d:d.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(d){var a=y(d),p=!1,n=!1;return w.isBoolean(d)||(p=d.once||!1,n=d.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(d,a){if(a.callback!==null){for(var p=0;p=d.length&&(d=void 0),{value:d&&d[n++],done:!d}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(d,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=c.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),m.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=c.node_clone(H);m.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));m.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;m.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=c.node_clone(Y))._data=s.characterData_substringData(Y,0,z),m.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=c.node_clone(he),m.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),m.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==d.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==d.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=c.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),m.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=c.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),m.mutation_append(D,G);else if(ee!==null){var D=c.node_clone(ee);m.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));m.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=c.node_clone(q);m.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=c.node_clone(z))._data=s.characterData_substringData(z,0,X),m.mutation_append(D,G)):me!==null&&(D=c.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),m.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=f.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&m.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,m.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,d){for(var a=d?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=d?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=d?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,d){var a=y._current;if(a===y._root)return null;for(;;){for(var p=d?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=d?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=d?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var m in c)c.hasOwnProperty(m)&&(s[m]=c[m])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),d=o(2),a=o(50),p=o(3),n=function(i){function u(s,c){var m=i.call(this,s)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=y.applyDefaults(c,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==d.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,c,m){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,c,m){this._beginLine(),this._refs.markup+=c&&m?"':c?"':m?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,c,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!c&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(m||c||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":c||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,c){var m=s+'="'+c+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,c){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var c=this._writerOptions.indent.repeat(s);return this._indentation[s]=c,c},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var d=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(d+=d))1&p&&(a+=d);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(67),a=o(1),p=function(n){function i(u,s){var c=n.call(this,u)||this;return c._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),c}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),c=new d.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(c,this._writerOptions)},i.prototype._convertObject=function(u,s,c){var m,f,t=this;c===void 0&&(c=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,c+1)+this._beginLine(s,c+1)+this._convertObject(C,s,c+1),_0?new Array(c).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var c=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(m){return s+=c._descendantCount(m,s)},this):a.isObject(u)?a.forEachObject(u,function(m,f){return s+=c._descendantCount(f,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var d=o(67),a=o(1),p=function(n){function i(u,s){var c=n.call(this,u)||this;if(c._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),c._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(c._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return c}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),c=new d.ObjectWriter(this._builderOptions,s).serialize(u),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(c,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},i.prototype._convertObject=function(u,s,c,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,c,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,c,!0):g+=this._val(b)+this._endLine(s)}}catch(S){f={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}else a.forEachObject(u,function(S,C){m?(g+=e._key(S),m=!1):g+=e._beginLine(s,c)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,c+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,c){c===void 0&&(c=!1);var m=u.offset+s+1,f=new Array(m).join(u.indent);return c?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function d(){}return d.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),d=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;d.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var c=!1,m=i,f=function(x){var _,b;if(x.observer===t){c=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;d.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=m}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}c||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),c=s.next();!c.done;c=s.next()){var m=c.value;d.list.remove(m._registeredObserverList,function(f){return f.observer===u})}}catch(f){n={error:f}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var d=v.Cast.asNode(this)._previousSibling;d;){if(v.Guard.isElementNode(d))return d;d=d._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var d=v.Cast.asNode(this)._nextSibling;d;){if(v.Guard.isElementNode(d))return d;d=d._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function d(){}return d.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},d}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),d=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var c=s.value;w.Guard.isElementNode(c)&&i++}}catch(m){p={error:m}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(c=t.return)&&c.call(t)}finally{if(f)throw f.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,c=s&&u[s],m=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&m>=u.length&&(u=void 0),{value:u&&u[m++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),d=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var c,m,f,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==d.TokenType.EOF;){switch(_.type){case d.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case d.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case d.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case d.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case d.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case d.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case d.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(c=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){c={error:M}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(c)throw c.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(f=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){f={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(f)throw f.error}}R.selfClosing||(x=ie);break;case d.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,c=s&&u[s],m=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&m>=u.length&&(u=void 0),{value:u&&u[m++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),d=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,c){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var m=new d.NamespacePrefixMap;m.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,m,{value:1},c)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,c)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,c,m,f,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,c,m,f,t);case w.NodeType.Document:return this._serializeDocumentNS(s,c,m,f,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,c,m,f,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,c){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,c);case w.NodeType.Document:return this._serializeDocument(s,c);case w.NodeType.Comment:return this._serializeComment(s,c);case w.NodeType.Text:return this._serializeText(s,c);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,c);case w.NodeType.DocumentType:return this._serializeDocumentType(s,c);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,c);case w.NodeType.CData:return this._serializeCData(s,c);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,c,m,f,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=m.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=c,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,f)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,f,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,c,m,f,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,c,m,f,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,c){if(c&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,c){if(c&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},u.prototype._serializeDocumentFragmentNS=function(s,c,m,f,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,c,m,f,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,c){if(c&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(c&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,c){if(c&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(c&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,c){if(c&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,c,m,f,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=c.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&c.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||c.hasPrefix(T.prefix)&&!c.has(T.prefix,N)?this._generatePrefix(N,c,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,c,m){var f,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),c.has(C,T)))continue;c.set(C,T),m[C]=T||""}}}catch(N){f={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},u.prototype._generatePrefix=function(s,c,m){var f="ns"+m.value;return m.value++,c.set(f,s),f},u.prototype._serializeAttributeValue=function(s,c){if(c&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var m="",f=0;f"?">":t}return m},u.prototype._serializeElement=function(s,c){var m,f;if(c&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,c),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,c)}}catch(S){m={error:S}}finally{try{_&&!_.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}return g+=""},u.prototype._serializeDocument=function(s,c){var m,f;if(c&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,c)}}catch(_){m={error:_}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},u.prototype._serializeDocumentFragment=function(s,c){var m,f,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,c)}}catch(_){m={error:_}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},u.prototype._serializeAttributes=function(s,c){var m,f,t="",e=c?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(c&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(c&&e&&(e[_.localName]=!0),c&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,c)+'"'}}catch(b){m={error:b}}finally{try{x&&!x.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var d=o(281);l.YAMLReader=d.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,c){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(s,c)},function(s,c){function m(){this.constructor=s}v(s,c),s.prototype=c===null?Object.create(c):(m.prototype=c.prototype,new m)}),y=this&&this.__read||function(s,c){var m=typeof Symbol=="function"&&s[Symbol.iterator];if(!m)return s;var f,t,e=m.call(s),g=[];try{for(;(c===void 0||c-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(x){t={error:x}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},d=this&&this.__values||function(s){var c=typeof Symbol=="function"&&Symbol.iterator,m=c&&s[c],f=0;if(m)return m.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function c(){return s!==null&&s.apply(this,arguments)||this}return w(c,s),c.prototype._parse=function(m,f){for(var t,e,g,x,_=new a.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),b=m,S=m,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,d(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===m.node&&(b=D);try{for(var L=(g=void 0,d(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},c}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),d=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},c={},m=Symbol();return s[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){c[f]=f}),i({},s)[m]!=7||y(i({},c)).join("")!="abcdefghijklmnopqrst"})?function(s,c){for(var m=p(s),f=arguments.length,t=1,e=d.f,g=a.f;f>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(m[x]=_[x]);return m}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),d=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=d},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var c in s)s.hasOwnProperty(c)&&(u[c]=s[c])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),d=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var c=a.safeLoad(s);if(c===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,c)},i}(d.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(d){return function(){throw new Error("Function "+d+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),d=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,c=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(D){return Object.prototype.toString.call(D)}function f(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),c.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!f(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),f(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else f(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Re)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(f(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Re,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!f(q));break}if(f(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>d/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;id/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var d,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(d=this.getSnippet())&&(a+=`: -`+d),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function d(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),d=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),d.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(d){return d!==null&&(w.exec(d)!==null||y.exec(d)!==null)},construct:function(d){var a,p,n,i,u,s,c,m,f=0,t=null;if((a=w.exec(d))===null&&(a=y.exec(d)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],c=+a[6],a[7]){for(f=a[7].slice(0,3);f.length<3;)f+="0";f=+f}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),m=new Date(Date.UTC(p,n,i,u,s,c,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(d){return d.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(d){if(d===null)return!1;var a,p,n=0,i=d.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(d){var a,p,n=d.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,c=[];for(a=0;a>16&255),c.push(s>>8&255),c.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(c.push(s>>16&255),c.push(s>>8&255),c.push(255&s)):p===18?(c.push(s>>10&255),c.push(s>>2&255)):p===12&&c.push(s>>4&255),v?v.from?v.from(c):new v(c):c},predicate:function(d){return v&&v.isBuffer(d)},represent:function(d){var a,p,n="",i=0,u=d.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+d[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(d){if(d===null)return!0;var a,p,n,i,u,s=[],c=d;for(a=0,p=c.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,d=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(d&&(a=d[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var d="("+y+")",a=v.parse(d,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var d,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),d=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(d[0]+1,d[1]-1)):new Function(n,"return "+a.slice(d[0],d[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function d(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,d),p.loaded=!0,p.exports}return d.m=w,d.c=y,d.p="",d(0)}([function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(1),p=d(3),n=d(8),i=d(15);function u(c,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,x=!1;if(m){x=typeof m.comment=="boolean"&&m.comment;var _=typeof m.attachComment=="boolean"&&m.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,m.comment=!0,g=e)}var b,S=!1;m&&typeof m.sourceType=="string"&&(S=m.sourceType==="module"),b=m&&typeof m.jsx=="boolean"&&m.jsx?new p.JSXParser(c,m,g):new n.Parser(c,m,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(c,m,f){var t=m||{};return t.sourceType="module",u(c,t,f)},y.parseScript=function(c,m,f){var t=m||{};return t.sourceType="script",u(c,t,f)},y.tokenize=function(c,m,f){var t,e=new i.Tokenizer(c,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=d(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],c=this.leading.length-1;c>=0;--c){var m=this.leading[c];u.end.offset>=m.start&&(s.unshift(m.comment),this.leading.splice(c,1),this.trailing.splice(c,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var c=this.trailing[s];c.start>=i.end.offset&&u.unshift(c.comment)}return this.trailing.length=0,u}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=i.end.offset&&(u=m.node.trailingComments,delete m.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=i.start.offset;)u=f.node,this.stack.pop();if(u){for(var c=(u.leadingComments?u.leadingComments.length:0)-1;c>=0;--c){var m=u.leadingComments[c];m.range[1]<=i.start.offset&&(s.unshift(m),u.leadingComments.splice(c,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(c=this.leading.length-1;c>=0;--c){var f;(f=this.leading[c]).start<=i.start.offset&&(s.unshift(f.comment),this.leading.splice(c,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),c=this.findLeadingComments(u);c.length>0&&(i.leadingComments=c),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",c={type:s,value:i.value};if(i.range&&(c.range=i.range),i.loc&&(c.loc=i.loc),this.comments.push(c),this.attach){var m={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(m.comment.loc=i.loc),i.type=s,this.leading.push(m),this.trailing.push(m)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,d){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=d(4),i=d(5),u=d(6),s=d(7),c=d(8),m=d(13),f=d(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!f.XHTMLEntities[R]||(b=f.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(c.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var d={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&d.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&d.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var c=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=c;var m=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=m;var f=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=f;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var c=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=c;var m=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=m;var f=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=f;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Ft=ye==="||"||ye==="&&";this.type=Ft?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Ft){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Ft};y.ForStatement=ne;var Q=function(ye,Oe,$e,Ft){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Ft,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Ft){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Ft,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Ft,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Ft,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Re=function(ye,Oe,$e,Ft,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Ft,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Re;var tt=function(ye,Oe,$e,Ft){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Ft}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var Pt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=Pt;var Jn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Jn;var $n=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=$n},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(9),p=d(10),n=d(11),i=d(7),u=d(12),s=d(2),c=d(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},f.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},f}();y.Parser=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(d,a){if(!d)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var d=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,c=this.constructError(s,i);return c.index=p,c.lineNumber=n,c.description=u,c},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(9),p=d(4),n=d(11);function i(c){return"0123456789abcdef".indexOf(c.toLowerCase())}function u(c){return"01234567".indexOf(c)}var s=function(){function c(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return c.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},c.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},c.prototype.eof=function(){return this.index>=this.length},c.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},c.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},c.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(x)),e},c.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},c.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},c.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},c.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},c.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},c.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},c.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},c.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(f)},c.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},c.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=p.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&p.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),p.Character.isIdentifierPart(f));)t+=m=p.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&p.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},c.prototype.octalToDecimal=function(m){var f=m!=="0",t=u(m);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:f}},c.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},c.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},c.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},c.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(f)||p.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},c.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(p.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},c.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=y.length&&(y=void 0),{value:y&&y[h++],done:!y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(97);a.abort_add=function(y,g){g._abortedFlag||g._abortAlgorithms.add(y)},a.abort_remove=function(y,g){g._abortAlgorithms.delete(y)},a.abort_signalAbort=function(y){var g,s;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var h=v(y._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(y)}catch(o){g={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(g)throw g.error}}y._abortAlgorithms.clear(),S.event_fireAnEvent("abort",y)}}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(150),S=function(){function y(){}return y.asNode=function(g){if(v.Guard.isNode(g))return g;throw new Error("Invalid object. Node expected.")},y}();a.Cast=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(g){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(g){return!1},y.prototype.forEach=function(g,s){},y.prototype.has=function(g){return!1},y.prototype[Symbol.iterator]=function(){return new S},y.prototype.entries=function(){return new S},y.prototype.keys=function(){return new S},y.prototype.values=function(){return new S},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();a.EmptySet=v;var S=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,r){"use strict";var v=r(245),S=r(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof y?x.format():y.prototype.format.call(x)},a.Url=y;var g=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=r(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof y)return x;var D=new y;return D.parse(x,E,w),D}y.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[oe];if(!Q.match(f)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!p[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var oe=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(oe==="."||oe==="..")||oe==="",fe=0,P=ne.length;P>=0;P--)(oe=ne[P])==="."?ne.splice(P,1):oe===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},y.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,r){(function(v,S){var y;(function(g){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,p=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function _(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=p((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=p(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,oe=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=oe?1:z>=oe+26?26:z-oe));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;oe=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,oe=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,oe.push(p(E(ee+Q%ne,0))),X=m(Q/ne);oe.push(p(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return oe.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return _(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return _(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(y=function(){return h}.call(a,r,a,v))===void 0||(v.exports=y)})()}).call(this,r(246)(c),r(78))},function(c,a){c.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(c,a,r){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,r){"use strict";a.decode=a.parse=r(249),a.encode=a.stringify=r(250)},function(c,a,r){"use strict";function v(y,g){return Object.prototype.hasOwnProperty.call(y,g)}c.exports=function(y,g,s,h){g=g||"&",s=s||"=";var i={};if(typeof y!="string"||y.length===0)return i;var o=/\+/g;y=y.split(g);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=y.length;l>0&&u>l&&(u=l);for(var f=0;f=0?(m=_.substr(0,b),p=_.substr(b+1)):(m=_,p=""),t=decodeURIComponent(m),e=decodeURIComponent(p),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(c,a,r){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?y(g(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?y(s[l],function(f){return u+encodeURIComponent(v(f))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function y(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=g.length&&(g=void 0),{value:g&&g[i++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1);function y(g){return S.isBoolean(g)?g:g.capture||!1}a.eventTarget_flatten=y,a.eventTarget_flattenMore=function(g){var s=y(g),h=!1,i=!1;return S.isBoolean(g)||(h=g.once||!1,i=g.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(g,s){if(s.callback!==null){for(var h=0;h=g.length&&(g=void 0),{value:g&&g[i++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(1),y=r(29);a.parentNode_convertNodesIntoANode=function(g,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},y=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var oe,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(_(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))oe=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");oe=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=f.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=f.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=f.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=f.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[oe,le],E._end=[oe,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=_,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==g.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==g.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=f.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(oe=de.value,w)){ee=oe;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var oe;if(b(oe=ne[Q],w)){ve=oe;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(_(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=f.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=f.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=f.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=f.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=f.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=p.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!_(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(9);a.selectors_scopeMatchASelectorsString=function(S,y){throw new v.NotSupportedError}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(2),S=r(105);a.treeWalker_traverseChildren=function(y,g){for(var s=g?y._current._firstChild:y._current._lastChild;s!==null;){var h=S.traversal_filter(y,s);if(h===v.FilterResult.Accept)return y._current=s,s;if(h===v.FilterResult.Skip){var i=g?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=g?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===y._root||l===y._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(y,g){var s=y._current;if(s===y._root)return null;for(;;){for(var h=g?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(y,s);if(i===v.FilterResult.Accept)return y._current=s,s;h=g?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=g?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===y._root||S.traversal_filter(y,s)===v.FilterResult.Accept)return null}}},function(c,a,r){"use strict";r(89),r(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var m in f)f.hasOwnProperty(m)&&(u[m]=f[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(1),g=r(2),s=r(50),h=r(3),i=function(o){function l(u,f){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==g.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,f,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,f,m){this._beginLine(),this._refs.markup+=f&&m?"':f?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,f,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!m){for(var p=!0,t=!0,e=this.currentNode.firstChild,_=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){p=!1,t=!1;break}_++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&p&&(_<=1&&b===0||_===0),this._refs.emptyNode=t}(m||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,f){var m=u+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,f){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var f=this._writerOptions.indent.repeat(u);return this._indentation[u]=f,f},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,r){"use strict";var v=r(47),S=r(35);c.exports="".repeat||function(y){var g=String(S(this)),s="",h=v(y);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(g+=g))1&h&&(s+=g);return s}},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),y=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(67),s=r(1),h=function(i){function o(l,u){var f=i.call(this,l)||this;return f._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),f}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new g.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},o.prototype._convertObject=function(l,u,f){var m,p,t=this;f===void 0&&(f=0);var e="",_=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=y(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,f+1)+this._beginLine(u,f+1)+this._convertObject(D,u,f+1),x0?new Array(f).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var f=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=f._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,p){return u+=f._descendantCount(p,u)},this):u++,u},o}(r(50).BaseWriter);a.JSONWriter=h},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(178),r(89),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),y=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var g=r(67),s=r(1),h=function(i){function o(l,u){var f=i.call(this,l)||this;if(f._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new g.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,f,m){var p,t,e=this;m===void 0&&(m=!1);var _="";if(s.isArray(l))try{for(var b=y(l),x=b.next();!x.done;x=b.next()){var E=x.value;_+=this._beginLine(u,f,!0),s.isObject(E)?s.isEmpty(E)?_+='""'+this._endLine(u):_+=this._convertObject(E,u,f,!0):_+=this._val(E)+this._endLine(u)}}catch(w){p={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(p)throw p.error}}else s.forEachObject(l,function(w,D){m?(_+=e._key(w),m=!1):_+=e._beginLine(u,f)+e._key(w),s.isObject(D)?s.isEmpty(D)?_+=' ""'+e._endLine(u):_+=e._endLine(u)+e._convertObject(D,u,f+1):_+=" "+e._val(D)+e._endLine(u)},this);return _},o.prototype._beginLine=function(l,u,f){f===void 0&&(f=!1);var m=l.offset+u+1,p=new Array(m).join(l.indent);return f?p.substr(0,p.length-2)+"-"+p.substr(-1,1):p},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(r(50).BaseWriter);a.YAMLWriter=h},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),r(110).dom.setFeatures(!0);var v=r(110);a.DOMImplementation=v.DOMImplementation;var S=r(271);a.DOMParser=S.DOMParser;var y=r(274);a.XMLSerializer=y.XMLSerializer},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=r(0),y=function(){function g(){}return g.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(6),y=r(3),g=r(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;g.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var f=!1,m=o,p=function(b){var x,E;if(b.observer===t){f=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;g.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),_=e.next();!_.done;_=e.next())p(_.value)}catch(b){l={error:b}}finally{try{_&&!_.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}f||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),f=u.next();!f.done;f=u.next()){var m=f.value;g.list.remove(m._registeredObserverList,function(p){return p.observer===l})}}catch(p){i={error:p}}finally{try{f&&!f.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var g=v.Cast.asNode(this)._previousSibling;g;){if(v.Guard.isElementNode(g))return g;g=g._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var g=v.Cast.asNode(this)._nextSibling;g;){if(v.Guard.isElementNode(g))return g;g=g._nextSibling}return null},enumerable:!0,configurable:!0}),y}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(3),S=r(0),y=function(){function g(){}return g.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},g}();a.NonElementParentNodeImpl=y},function(c,a,r){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(3),y=r(0),g=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return y.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var f=u.value;S.Guard.isElementNode(f)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(_){p={error:_}}finally{try{m&&!m.done&&(f=t.return)&&f.call(t)}finally{if(p)throw p.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,f=u&&l[u],m=0;if(f)return f.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=r(180),g=r(111),s=r(7),h=r(0),i=r(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var f,m,p,t,e=new y.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),_=h.create_document(),b=_,x=e.nextToken();x.type!==g.TokenType.EOF;){switch(x.type){case g.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case g.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(_.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case g.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(_.createCDATASection(D.data));break;case g.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(_.createComment(T.data));break;case g.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(_.createProcessingInstruction(N.target,N.data));break;case g.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(_.createTextNode(this._decodeText(I.data)));break;case g.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){f={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(f)throw f.error}}var oe=Y!==null?_.createElementNS(Y,M.name):_.createElement(M.name);b.appendChild(oe);var le=new i.LocalNameSet;try{for(var fe=(p=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=oe.lookupNamespaceURI(ne))!==null&&oe.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?oe.setAttributeNS(L,re,this._decodeAttributeValue(de)):oe.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){p={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(p)throw p.error}}M.selfClosing||(b=oe);break;case g.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return _},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,r){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,f=u&&l[u],m=0;if(f)return f.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=r(2),y=r(69),g=r(95),s=r(9),h=r(7),i=r(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,f){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new g.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},f)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,f)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,f,m,p,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,f,m,p,t);case S.NodeType.Document:return this._serializeDocumentNS(u,f,m,p,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,f,m,p,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,f){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,f);case S.NodeType.Document:return this._serializeDocument(u,f);case S.NodeType.Comment:return this._serializeComment(u,f);case S.NodeType.Text:return this._serializeText(u,f);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,f);case S.NodeType.DocumentType:return this._serializeDocumentType(u,f);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,f);case S.NodeType.CData:return this._serializeCData(u,f);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,f,m,p,t){var e,_;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=f,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,p)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,p,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,p,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(_=Y.return)&&_.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,f,m,p,t){var e,_;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,f,m,p,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(_=x.return)&&_.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,f){if(f&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,f){if(f&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",p=0;p"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,f,m,p,t){var e,_,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,f,m,p,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(_=x.return)&&_.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,f){if(f&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,f){if(f&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,f){if(f&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,f,m,p,t,e){var _,b,x="",E=e?new y.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in p)||p[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){_={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(_)throw _.error}}return x},l.prototype._recordNamespaceInformation=function(u,f,m){var p,t,e=null;try{for(var _=v(u.attributes),b=_.next();!b.done;b=_.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),f.has(D,T)))continue;f.set(D,T),m[D]=T||""}}}catch(N){p={error:N}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(p)throw p.error}}return e},l.prototype._generatePrefix=function(u,f,m){var p="ns"+m.value;return m.value++,f.set(p,u),p},l.prototype._serializeAttributeValue=function(u,f){if(f&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",p=0;p"?">":t}return m},l.prototype._serializeElement=function(u,f){var m,p;if(f&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,_="<"+e;if(_+=this._serializeAttributes(u,f),u._children.size===0&&(_+="/",t=!0),_+=">",t)return _;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;_+=this._serializeNode(E,f)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(p=b.return)&&p.call(b)}finally{if(m)throw m.error}}return _+=""},l.prototype._serializeDocument=function(u,f){var m,p;if(f&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),_=e.next();!_.done;_=e.next()){var b=_.value;t+=this._serializeNode(b,f)}}catch(x){m={error:x}}finally{try{_&&!_.done&&(p=e.return)&&p.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,f){var m,p,t="";try{for(var e=v(u._children),_=e.next();!_.done;_=e.next()){var b=_.value;t+=this._serializeNode(b,f)}}catch(x){m={error:x}}finally{try{_&&!_.done&&(p=e.return)&&p.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,f){var m,p,t="",e=f?{}:void 0;try{for(var _=v(u.attributes),b=_.next();!b.done;b=_.next()){var x=b.value;if(f&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[x.localName]=!0),f&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,f)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(p=_.return)&&p.call(_)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(277);a.XMLReader=v.XMLReader;var S=r(112);a.ObjectReader=S.ObjectReader;var y=r(280);a.JSONReader=y.JSONReader;var g=r(281);a.YAMLReader=g.YAMLReader},function(c,a,r){"use strict";r(31),r(32),r(33),r(19),r(65),r(20),r(22),r(23);var v,S=this&&this.__extends||(v=function(u,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,p){m.__proto__=p}||function(m,p){for(var t in p)p.hasOwnProperty(t)&&(m[t]=p[t])})(u,f)},function(u,f){function m(){this.constructor=u}v(u,f),u.prototype=f===null?Object.create(f):(m.prototype=f.prototype,new m)}),y=this&&this.__read||function(u,f){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var p,t,e=m.call(u),_=[];try{for(;(f===void 0||f-- >0)&&!(p=e.next()).done;)_.push(p.value)}catch(b){t={error:b}}finally{try{p&&!p.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return _},g=this&&this.__values||function(u){var f=typeof Symbol=="function"&&Symbol.iterator,m=f&&u[f],p=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&p>=u.length&&(u=void 0),{value:u&&u[p++],done:!u}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=r(180),h=r(111),i=r(7),o=r(0),l=function(u){function f(){return u!==null&&u.apply(this,arguments)||this}return S(f,u),f.prototype._parse=function(m,p){for(var t,e,_,b,x=new s.XMLStringLexer(p,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=y(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,g(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=y(ve.value,2),Q=ne[0],oe=ne[1];if(Q=this.sanitize(Q),oe=this.sanitize(oe),Q==="xmlns")ee=oe;else{var le=y(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=oe),re[P]=oe)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(_=void 0,g(z.attributes)),L=B.next();!L.done;L=B.next()){var R=y(L.value,2);Q=R[0],oe=R[1],Q=this.sanitize(Q),oe=this.sanitize(oe);var q=y(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(oe)):this.attribute(C,void 0,Q,this._decodeAttributeValue(oe))}}catch(ae){_={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(_)throw _.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},f}(r(75).BaseReader);a.XMLReader=l},function(c,a,r){var v=r(4),S=r(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,r){"use strict";var v=r(16),S=r(8),y=r(61),g=r(85),s=r(79),h=r(27),i=r(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},f={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(p){f[p]=p}),o({},u)[m]!=7||y(o({},f)).join("")!="abcdefghijklmnopqrst"})?function(u,f){for(var m=h(u),p=arguments.length,t=1,e=g.f,_=s.f;p>t;)for(var b,x=i(arguments[t++]),E=e?y(x).concat(e(x)):y(x),w=E.length,D=0;w>D;)b=E[D++],v&&!_.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(112),g=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new y.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(r(75).BaseReader);a.JSONReader=g},function(c,a,r){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var f in u)u.hasOwnProperty(f)&&(l[f]=u[f])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var y=r(112),g=r(75),s=r(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var f=s.safeLoad(u);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(l,f)},o}(g.BaseReader);a.YAMLReader=h},function(c,a,r){"use strict";var v=r(283);c.exports=v},function(c,a,r){"use strict";var v=r(284),S=r(303);function y(g){return function(){throw new Error("Function "+g+" is deprecated and cannot be used.")}}c.exports.Type=r(10),c.exports.Schema=r(39),c.exports.FAILSAFE_SCHEMA=r(113),c.exports.JSON_SCHEMA=r(182),c.exports.CORE_SCHEMA=r(181),c.exports.DEFAULT_SAFE_SCHEMA=r(54),c.exports.DEFAULT_FULL_SCHEMA=r(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=r(53),c.exports.MINIMAL_SCHEMA=r(113),c.exports.SAFE_SCHEMA=r(54),c.exports.DEFAULT_SCHEMA=r(76),c.exports.scan=y("scan"),c.exports.parse=y("parse"),c.exports.compose=y("compose"),c.exports.addConstructor=y("addConstructor")},function(c,a,r){"use strict";var v=r(38),S=r(53),y=r(285),g=r(54),s=r(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function p(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function _(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new y(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),f.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!p(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),p(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else p(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!_(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||_(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&_(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&_(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&_(Ue))break;if(p(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),_e=0,Ae=C.implicitTypes.length;_e tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function oe(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!p(q));break}if(p(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>g/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;og/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",y)+s+l+i+` +`+v.repeat(" ",y+this.position-h+s.length)+"^"},S.prototype.toString=function(y){var g,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),y||(g=this.getSnippet())&&(s+=`: +`+g),s},c.exports=S},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var y=S.length;return y===1&&S==="~"||y===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var y=S.length;return y===4&&(S==="true"||S==="True"||S==="TRUE")||y===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(38),S=r(10);function y(s){return 48<=s&&s<=55}function g(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,r){"use strict";var v=r(38),S=r(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),g=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!y.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),g.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,r){"use strict";var v=r(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(g){return g!==null&&(S.exec(g)!==null||y.exec(g)!==null)},construct:function(g){var s,h,i,o,l,u,f,m,p=0,t=null;if((s=S.exec(g))===null&&(s=y.exec(g)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],f=+s[6],s[7]){for(p=s[7].slice(0,3);p.length<3;)p+="0";p=+p}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,f,p)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(g){return g.toISOString()}})},function(c,a,r){"use strict";var v=r(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,r){"use strict";var v;try{v=r(145).Buffer}catch{}var S=r(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(g){if(g===null)return!1;var s,h,i=0,o=g.length,l=y;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(g){var s,h,i=g.replace(/[\r\n=]/g,""),o=i.length,l=y,u=0,f=[];for(s=0;s>16&255),f.push(u>>8&255),f.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(f.push(u>>16&255),f.push(u>>8&255),f.push(255&u)):h===18?(f.push(u>>10&255),f.push(u>>2&255)):h===12&&f.push(u>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(g){return v&&v.isBuffer(g)},represent:function(g){var s,h,i="",o=0,l=g.length,u=y;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+g[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,r){"use strict";var v=r(10),S=Object.prototype.hasOwnProperty,y=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(g){if(g===null)return!0;var s,h,i,o,l,u=[],f=g;for(s=0,h=f.length;s3||y[y.length-s.length-1]!=="/"))},construct:function(S){var y=S,g=/\/([gim]*)$/.exec(S),s="";return y[0]==="/"&&(g&&(s=g[1]),y=y.slice(1,y.length-s.length-1)),new RegExp(y,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var y="/"+S.source+"/";return S.global&&(y+="g"),S.multiline&&(y+="m"),S.ignoreCase&&(y+="i"),y}})},function(c,a,r){"use strict";var v;try{v=r(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=r(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var g="("+y+")",s=v.parse(g,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var g,s="("+y+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),g=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(g[0]+1,g[1]-1)):new Function(i,"return "+s.slice(g[0],g[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(c,a,r){var v;v=function(){return function(S){var y={};function g(s){if(y[s])return y[s].exports;var h=y[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,g),h.loaded=!0,h.exports}return g.m=S,g.c=y,g.p="",g(0)}([function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(1),h=g(3),i=g(8),o=g(15);function l(f,m,p){var t=null,e=function(T,N){p&&p(T,N),t&&t.visit(T,N)},_=typeof p=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,_=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(f,m,_):new i.Parser(f,m,_);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}y.parse=l,y.parseModule=function(f,m,p){var t=m||{};return t.sourceType="module",l(f,t,p)},y.parseScript=function(f,m,p){var t=m||{};return t.sourceType="script",l(f,t,p)},y.tokenize=function(f,m,p){var t,e=new o.Tokenizer(f,m);t=[];try{for(;;){var _=e.getNextToken();if(!_)break;p&&(_=p(_)),t.push(_)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=g(2);y.Syntax=u.Syntax,y.version="4.0.1"},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],f=this.leading.length-1;f>=0;--f){var m=this.leading[f];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var f=this.trailing[u];f.start>=o.end.offset&&l.unshift(f.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var p=m.node.trailingComments[0];p&&p.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(p=this.stack[this.stack.length-1])&&p.start>=o.start.offset;)l=p.node,this.stack.pop();if(l){for(var f=(l.leadingComments?l.leadingComments.length:0)-1;f>=0;--f){var m=l.leadingComments[f];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(f,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(f=this.leading.length-1;f>=0;--f){var p;(p=this.leading[f]).start<=o.start.offset&&(u.unshift(p.comment),this.leading.splice(f,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),f=this.findLeadingComments(l);f.length>0&&(o.leadingComments=f),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",f={type:u,value:o.value};if(o.range&&(f.range=o.range),o.loc&&(f.loc=o.loc),this.comments.push(f),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();y.CommentHandler=h},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,y,g){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,b){_.__proto__=b}||function(_,b){for(var x in b)b.hasOwnProperty(x)&&(_[x]=b[x])},function(_,b){function x(){this.constructor=_}s(_,b),_.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(y,"__esModule",{value:!0});var i=g(4),o=g(5),l=g(6),u=g(7),f=g(8),m=g(13),p=g(14);function t(_){var b;switch(_.type){case l.JSXSyntax.JSXIdentifier:b=_.name;break;case l.JSXSyntax.JSXNamespacedName:var x=_;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=_;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(_){function b(x,E,w){return _.call(this,x,E,w)||this}return h(b,_),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():_.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!p.XHTMLEntities[M]||(E=p.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return _.prototype.isStartOfExpression.call(this)||this.match("<")},b}(f.Parser);y.JSXParser=e},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var g={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&g.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&g.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};y.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};y.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};y.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};y.JSXIdentifier=u;var f=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};y.JSXMemberExpression=f;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};y.JSXAttribute=m;var p=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};y.JSXNamespacedName=p;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};y.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};y.JSXSpreadAttribute=e;var _=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};y.JSXText=_},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};y.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};y.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};y.AssignmentPattern=u;var f=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};y.AsyncArrowFunctionExpression=f;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=m;var p=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=p;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};y.BinaryExpression=e;var _=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};y.BlockStatement=_;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};y.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};y.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};y.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};y.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};y.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};y.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};y.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};y.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};y.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};y.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};y.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};y.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};y.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};y.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};y.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var oe=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};y.FunctionExpression=oe;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};y.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};y.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};y.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};y.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};y.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};y.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};y.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};y.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=me;var _e=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};y.NewExpression=_e;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};y.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};y.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};y.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};y.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};y.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};y.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};y.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};y.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};y.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};y.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};y.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};y.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};y.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};y.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};y.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};y.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};y.WhileStatement=Ut;var ai=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};y.WithStatement=ai;var si=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};y.YieldExpression=si},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(9),h=g(10),i=g(11),o=g(7),l=g(12),u=g(2),f=g(13),m=function(){function p(t,e,_){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=_,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return p.prototype.throwError=function(t){for(var e=[],_=1;_0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},p.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,_=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=_,this.context.firstCoverInitializedNameError=b,x},p.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,_=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&_,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},p.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},p.prototype.parsePrimaryExpression=function(){var t,e,_,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),_=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,_));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),_=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",_));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),_=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,_));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),_=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,_,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},p.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},p.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var _=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(_)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},p.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,_=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=_,b},p.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var _=this.parseFormalParameters(),b=this.parsePropertyMethod(_);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,_.params,b,!1))},p.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,_=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=_,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},p.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),_=this.nextToken();switch(_.type){case 8:case 6:this.context.strict&&_.octal&&this.tolerateUnexpectedToken(_,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(_);t=this.finalize(e,new o.Literal(_.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(_.value));break;case 7:_.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(_);break;default:t=this.throwUnexpectedToken(_)}return t},p.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},p.prototype.parseObjectProperty=function(t){var e,_=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(_,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(_,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(_,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(_,new o.Property(e,x,w,E,D,T))},p.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],_={value:!1};!this.match("}");)e.push(this.parseObjectProperty(_)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},p.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),_=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:_,cooked:b},e.tail))},p.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),_=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:_,cooked:b},e.tail))},p.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],_=[],b=this.parseTemplateHead();for(_.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),_.push(b);return this.finalize(t,new o.TemplateLiteral(_,e))},p.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,_=[];if(this.match("..."))t=this.parseRestElement(_),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,_.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},p.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var _=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=_,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},p.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var _=0;_")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(_,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(_,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(_=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},p.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var _=[];for(_.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),_.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(_))}return e},p.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},p.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},p.prototype.parseLexicalBinding=function(t,e){var _=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(_,new o.VariableDeclarator(b,x))},p.prototype.parseBindingList=function(t,e){for(var _=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),_.push(this.parseLexicalBinding(t,e));return _},p.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},p.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),_=this.nextToken().value;s.assert(_==="let"||_==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(_,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,_))},p.prototype.parseBindingRestElement=function(t,e){var _=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(_,new o.RestElement(b))},p.prototype.parseArrayPattern=function(t,e){var _=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(_,new o.ArrayPattern(b))},p.prototype.parsePropertyPattern=function(t,e){var _,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;_=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),_=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",_,E,b,!1,w))},p.prototype.parseObjectPattern=function(t,e){var _=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(_,new o.ObjectPattern(b))},p.prototype.parsePattern=function(t,e){var _;return this.match("[")?_=this.parseArrayPattern(t,e):this.match("{")?_=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),_=this.parseVariableIdentifier(e)),_},p.prototype.parsePatternWithDefault=function(t,e){var _=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(_),new o.AssignmentPattern(b,E))}return b},p.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),_=this.nextToken();return _.type===4&&_.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(_,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(_):_.type!==3?this.context.strict&&_.type===4&&this.scanner.isStrictModeReservedWord(_.value)?this.tolerateUnexpectedToken(_,i.Messages.StrictReservedWord):(this.context.strict||_.value!=="let"||t!=="var")&&this.throwUnexpectedToken(_):(this.context.isModule||this.context.await)&&_.type===3&&_.value==="await"&&this.tolerateUnexpectedToken(_),this.finalize(e,new o.Identifier(_.value))},p.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),_=this.parsePattern([],"var");this.context.strict&&_.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(_.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):_.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(_,b))},p.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},_=[];for(_.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),_.push(this.parseVariableDeclaration(e));return _},p.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},p.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},p.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},p.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},p.prototype.parseIfStatement=function(){var t,e=this.createNode(),_=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),_=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,_))},p.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var _=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(_,b))},p.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var _=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(_,t))},p.prototype.parseForStatement=function(){var t,e,_,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),_=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,_=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,_)):w?this.finalize(D,new o.ForInStatement(t,e,_)):this.finalize(D,new o.ForOfStatement(t,e,_))},p.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var _=this.parseVariableIdentifier();e=_;var b="$"+_.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,_.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},p.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var _=this.parseVariableIdentifier(),b="$"+_.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,_.name),e=_}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},p.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},p.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var _=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(_,t))},p.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var _=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)_.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,_))},p.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var _=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=_,this.finalize(t,new o.SwitchStatement(e,b))},p.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),_=this.parseExpression();if(_.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=_,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(_);return this.finalize(e,t)},p.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},p.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],_=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(_);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,_.params,b,!1))},p.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var _=this.parseFormalParameters();_.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):_.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(_);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,_.params,b,!1))},p.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var _=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(_);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,_.params,b,!0))},p.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},p.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,_=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(_=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,_))},p.prototype.parseClassElement=function(t){var e=this.lookahead,_=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(_,new o.MethodDefinition(x,w,E,b,T))},p.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},p.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},p.prototype.parseClassDeclaration=function(t){var e=this.createNode(),_=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=_,this.finalize(e,new o.ClassDeclaration(b,x,E))},p.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var _=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(_,b,x))},p.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},p.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},p.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),_=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,_))},p.prototype.parseImportSpecifier=function(){var t,e,_=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(_,new o.ImportSpecifier(e,t))},p.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},p.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},p.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},p.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var _=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?_=_.concat(this.parseNamedImports()):this.match("*")?_.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(_.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?_.push(this.parseImportNamespaceSpecifier()):this.match("{")?_=_.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(_,t))},p.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),_=e;return this.matchContextualKeyword("as")&&(this.nextToken(),_=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,_))},p.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var _=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(_))}else this.matchKeyword("class")?(_=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(_))):this.matchContextualKeyword("async")?(_=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(_))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),_=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(_)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(_=void 0,this.lookahead.value){case"let":case"const":_=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":_=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(_,[],null))}else if(this.matchAsyncFunction())_=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(_,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},p}();y.Parser=m},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(g,s){if(!g)throw new Error("ASSERT: "+s)}},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var g=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,f=this.constructError(u,o);return f.index=h,f.lineNumber=i,f.description=l,f},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();y.ErrorHandler=g},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(9),h=g(4),i=g(11);function o(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function l(f){return"01234567".indexOf(f)}var u=function(){function f(m,p){this.source=m,this.errorHandler=p,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},f.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},f.prototype.skipSingleLineComment=function(m){var p,t,e=[];for(this.trackComment&&(e=[],p=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var _=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(_)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[p+m,this.index-1],range:[p,this.index-1],loc:t};e.push(b)}return _===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[p+m,this.index],range:[p,this.index],loc:t},e.push(b)),e},f.prototype.skipMultiLineComment=function(){var m,p,t=[];for(this.trackComment&&(t=[],m=this.index-2,p={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){p.end={line:this.lineNumber,column:this.index-this.lineStart};var _={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:p};t.push(_)}return t}++this.index}else++this.index}return this.trackComment&&(p.end={line:this.lineNumber,column:this.index-this.lineStart},_={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:p},t.push(_)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var p=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,p=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),p=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(p&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},f.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},f.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},f.prototype.codePointAt=function(m){var p=this.source.charCodeAt(m);if(p>=55296&&p<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(p=1024*(p-55296)+t-56320+65536)}return p},f.prototype.scanHexEscape=function(m){for(var p=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(p)},f.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var p=this.source.charCodeAt(this.index);if(p===92)return this.index=m,this.getComplexIdentifier();if(p>=55296&&p<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(p))break;++this.index}return this.source.slice(m,this.index)},f.prototype.getComplexIdentifier=function(){var m,p=this.codePointAt(this.index),t=h.Character.fromCodePoint(p);for(this.index+=t.length,p===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(p=this.codePointAt(this.index),h.Character.isIdentifierPart(p));)t+=m=h.Character.fromCodePoint(p),this.index+=m.length,p===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},f.prototype.octalToDecimal=function(m){var p=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(p=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:p}},f.prototype.scanIdentifier=function(){var m,p=this.index,t=this.source.charCodeAt(p)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&p+t.length!==this.index){var e=this.index;this.index=p,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},f.prototype.scanPunctuator=function(){var m=this.index,p=this.source[this.index];switch(p){case"(":case"{":p==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,p="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(p=this.source.substr(this.index,4))===">>>="?this.index+=4:(p=p.substr(0,3))==="==="||p==="!=="||p===">>>"||p==="<<="||p===">>="||p==="**="?this.index+=3:(p=p.substr(0,2))==="&&"||p==="||"||p==="=="||p==="!="||p==="+="||p==="-="||p==="*="||p==="/="||p==="++"||p==="--"||p==="<<"||p===">>"||p==="&="||p==="|="||p==="^="||p==="%="||p==="<="||p===">="||p==="=>"||p==="**"?this.index+=2:(p=this.source[this.index],"<>=!+-*%&|^/".indexOf(p)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},f.prototype.scanHexLiteral=function(m){for(var p="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)p+=this.source[this.index++];return p.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+p,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},f.prototype.scanBinaryLiteral=function(m){for(var p,t="";!this.eof()&&((p=this.source[this.index])==="0"||p==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(p=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(p)||h.Character.isDecimalDigit(p))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},f.prototype.scanOctalLiteral=function(m,p){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},c.prototype.scanRegExpBody=function(){var m=this.source[this.index];a.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],p.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),f+=m;else if(p.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},c.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!p.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},c}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,d){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=d(10),p=d(12),n=d(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(c){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(c)>=0},s.prototype.isRegexStart=function(){var c=this.values[this.values.length-1],m=c!==null;switch(c){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},s.prototype.push=function(c){c.type===7||c.type===4?(c.value==="{"?this.curly=this.values.length:c.value==="("&&(this.paren=this.values.length),this.values.push(c.value)):this.values.push(null)},s}(),u=function(){function s(c,m){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new p.Scanner(c,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var c=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(c(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`):m+=x}return p||this.throwUnexpectedToken(),e||this.curlyStack.pop(),{type:10,value:this.source.slice(t+1,this.index-b),cooked:m,head:e,tail:_,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},f.prototype.testRegExp=function(m,p){var t=m,e=this;p.indexOf("u")>=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(_,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,p)}catch{return null}},f.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var p=this.source[this.index++],t=!1,e=!1;!this.eof();)if(p+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),p+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),p.substr(1,p.length-2)},f.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var p=this.source[this.index];if(!h.Character.isIdentifierPart(p.charCodeAt(0)))break;if(++this.index,p!=="\\"||this.eof())m+=p;else if((p=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=u},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(S,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,y,g){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var s=g(10),h=g(12),i=g(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},u.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],m=f!==null;switch(f){case"this":case"]":m=!1;break;case")":var p=this.values[this.paren-1];m=p==="if"||p==="while"||p==="for"||p==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},u}(),l=function(){function u(f,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(f,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,oe=oe&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,oe=oe&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&_(k)?5:ve?4:3:oe&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(f(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),oe=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(oe||de||P===""?"":` +`)+D(P,re),oe=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=_(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=m(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},d=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),c=o(69),m=o(3),f=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new f.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=d(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(m.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):m.Guard.isCommentNode(b)?this.com(b.data):m.Guard.isCDATASectionNode(b)?this.dat(b.data):m.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new c.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(d,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(d,a)},function(d,a){function p(){this.constructor=d}v(d,a),d.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(d){function a(p){var n=d.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,d),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(d,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(d,a)},function(d,a){function p(){this.constructor=d}v(d,a),d.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(d){function a(p){var n=d.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,d),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var d=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function m(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return m(this,e,!0)},a.prototype.rawListeners=function(e){return m(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},a.prototype.listenerCount=f,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var xp=Ws((Hn,Si)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,c=2,m=1,f=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Re="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,Pt=RegExp(_t.source),Jn=RegExp(st.source),$n=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ft=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ba=RegExp(Pr.source),Kn=/^\s+/,Ai=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Di=/\{\n\/\* \[wrapped with (.+)\] \*/,Ea=/,? & /,wa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kt=/[()=,{}\[\]\/\s]/,At=/\\(\\)?/g,Sa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Aa=/^0b[01]+$/i,Vn=/^\[object .+?Constructor\]$/,Da=/^0o[0-7]+$/i,Ca=/^(?:0|[1-9]\d*)$/,Ta=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_n=/($^)/,Na=/['\n\r\u2028\u2029\\]/g,xn="\\ud800-\\udfff",Fa="\\u0300-\\u036f",Oa="\\ufe20-\\ufe2f",Ia="\\u20d0-\\u20ff",Ci=Fa+Oa+Ia,Ti="\\u2700-\\u27bf",Ni="a-z\\xdf-\\xf6\\xf8-\\xff",ka="\\xac\\xb1\\xd7\\xf7",Pa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ba="\\u2000-\\u206f",La=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Fi="A-Z\\xc0-\\xd6\\xd8-\\xde",Oi="\\ufe0e\\ufe0f",Ii=ka+Pa+Ba+La,zt="['\u2019]",Yn="["+xn+"]",Qn="["+Ii+"]",tn="["+Ci+"]",ki="\\d+",rn="["+Ti+"]",Pi="["+Ni+"]",Bi="[^"+xn+Ii+ki+Ti+Ni+Fi+"]",bn="\\ud83c[\\udffb-\\udfff]",Ra="(?:"+tn+"|"+bn+")",Li="[^"+xn+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Fi+"]",le="\\u200d",be="(?:"+Pi+"|"+Bi+")",Ie="(?:"+Z+"|"+Bi+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",Dt=Ra+"?",bt="["+Oi+"]?",Sp="(?:"+le+"(?:"+[Li,F,j].join("|")+")"+bt+Dt+")*",Ap="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=bt+Dt+Sp,Cp="(?:"+[rn,F,j].join("|")+")"+au,Tp="(?:"+[Li+tn+"?",tn,F,j,Yn].join("|")+")",Np=RegExp(zt,"g"),Fp=RegExp(tn,"g"),Ma=RegExp(bn+"(?="+bn+")|"+Tp+au,"g"),Op=RegExp([Z+"?"+Pi+"+"+Qe+"(?="+[Qn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Qn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Dp,Ap,ki,Cp].join("|"),"g"),Ip=RegExp("["+le+xn+Ci+Oi+"]"),kp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Bp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Re]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Re]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Lp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Rp={"&":"&","<":"<",">":">",'"':""","'":"'"},Mp={"&":"&","<":"<",">":">",""":'"',"'":"'"},jp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Up=parseFloat,zp=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,qp=typeof self=="object"&&self&&self.Object===Object&&self,Ot=su||qp||Function("return this")(),ja=typeof Hn=="object"&&Hn&&!Hn.nodeType&&Hn,nn=ja&&typeof Si=="object"&&Si&&!Si.nodeType&&Si,uu=nn&&nn.exports===ja,Ua=uu&&su.process,ir=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ua&&Ua.binding&&Ua.binding("util")}catch{}}(),lu=ir&&ir.isArrayBuffer,cu=ir&&ir.isDate,fu=ir&&ir.isMap,pu=ir&&ir.isRegExp,hu=ir&&ir.isSet,du=ir&&ir.isTypedArray;function Vt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Gp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function za(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function Eu(fe,Ee){for(var ve=fe.length;ve--&&En(Ee,fe[ve],0)>-1;);return ve}function Qp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Zp=Xa(Lp),eh=Xa(Rp);function th(fe){return"\\"+jp[fe]}function rh(fe,Ee){return fe==null?E:fe[Ee]}function wn(fe){return Ip.test(fe)}function nh(fe){return kp.test(fe)}function ih(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ka(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function wu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Xh(r,h){var A=this.__data__,O=eo(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=zh,br.prototype.delete=qh,br.prototype.get=Gh,br.prototype.has=Wh,br.prototype.set=Xh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function ur(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Kd(r),!se)return qt(r,te)}else{var Fe=Lt(r),ke=Fe==L||Fe==B;if(Xr(r))return ol(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:Sl(r),!se)return pe?Md(r,sd(te,r)):Rd(r,Bu(te,r))}else{if(!ht[Fe])return U?r:{};te=Vd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Zl(r)?r.forEach(function(He){te.add(ur(He,h,A,He,r,V))}):Yl(r)&&r.forEach(function(He,nt){te.set(nt,ur(He,h,A,nt,r,V))});var Xe=De?pe?bs:xs:pe?Wt:It,et=Ce?E:Xe(r);return or(et||r,function(He,nt){et&&(nt=He,He=r[nt]),oi(te,nt,ur(He,h,A,nt,r,V))}),te}function ud(r){var h=It(r);return function(A){return Lu(A,r,h)}}function Lu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Ru(r,h,A){if(typeof r!="function")throw new ar(w);return pi(function(){r.apply(E,A)},h)}function ai(r,h,A,O){var U=-1,V=Ri,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Yt(A))),O?(V=za,te=!1):h.length>=o&&(V=Zn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:tc(O);A0&&A(se)?h>1?kt(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var rs=fl(),Uu=fl(!0);function gr(r,h){return r&&rs(r,h,It)}function ns(r,h){return r&&Uu(r,h,It)}function ro(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function fd(r,h){return r!=null&&ft.call(r,h)}function pd(r,h){return r!=null&&h in pt(r)}function hd(r,h,A){return r>=Bt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Ji.call(se,pe,1),Ji.call(r,pe,1);return r}function Yu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Ji.call(r,U,1):hs(r,U)}}return r}function cs(r,h){return r+Vi(Ou()*(h-r+1))}function Dd(r,h,A,O){for(var U=-1,V=Nt(Ki((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function fs(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=Vi(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Ts(Cl(r,h,Xt),r+"")}function Cd(r){return Pu(kn(r))}function Td(r,h){var A=kn(r);return ho(A,un(h,0,A.length))}function li(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Zt(te)&&(A?te<=h:te=o){var De=h?null:qd(r);if(De)return ji(De);te=!1,U=Zn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:lr(r,h,A)}var il=_h||function(r){return Ot.clearTimeout(r)};function ol(r,h){if(h)return r.slice();var A=r.length,O=Du?Du(A):new r.constructor(A);return r.copy(O),O}function vs(r){var h=new r.constructor(r.byteLength);return new Xi(h).set(new Xi(r)),h}function kd(r,h){var A=h?vs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Pd(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Bd(r){return ii?pt(ii.call(r)):{}}function al(r,h){var A=h?vs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function sl(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Zt(r),te=h!==E,se=h===null,pe=h===h,De=Zt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ul(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Nt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function dl(r){return Ar(function(h){var A=h.length,O=A,U=sr.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new ar(w);if(U&&!te&&fo(V)=="wrapper")var te=new sr([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&c?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Qd(r){return Ye(r)||pn(r)||!!(Nu&&r&&r[Nu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Ca.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function ho(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,jl(r,A)});function Ul(r){var h=$(r);return h.__chain__=!0,h}function l0(r,h){return h(r),r}function mo(r,h){return h(r)}var c0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return ts(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:mo,args:[U],thisArg:E}),new sr(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function f0(){return Ul(this)}function p0(){return new sr(this.value(),this.__chain__)}function h0(){this.__values__===E&&(this.__values__=ec(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function d0(){return this}function m0(r){for(var h,A=this;A instanceof Zi;){var O=kl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function y0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:mo,args:[Ns],thisArg:E}),new sr(h,this.__chain__)}return this.thru(Ns)}function v0(){return rl(this.__wrapped__,this.__actions__)}var g0=ao(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function _0(r,h,A){var O=Ye(r)?mu:ld;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function x0(r,h){var A=Ye(r)?Lr:ju;return A(r,Ge(h,3))}var b0=hl(Pl),E0=hl(Bl);function w0(r,h){return kt(yo(r,h),1)}function S0(r,h){return kt(yo(r,h),Y)}function A0(r,h,A){return A=A===E?1:Ze(A),kt(yo(r,h),A)}function zl(r,h){var A=Ye(r)?or:zr;return A(r,Ge(h,3))}function ql(r,h){var A=Ye(r)?Wp:Mu;return A(r,Ge(h,3))}var D0=ao(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function C0(r,h,A,O){r=Gt(r)?r:kn(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Nt(U+A,0)),bo(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&En(r,h,A)>-1}var T0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Vt(h,te,A):si(te,h,A)}),V}),N0=ao(function(r,h,A){wr(r,A,h)});function yo(r,h){var A=Ye(r)?yt:Xu;return A(r,Ge(h,3))}function F0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ku(r,h,A))}var O0=ao(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function I0(r,h,A){var O=Ye(r)?qa:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function k0(r,h,A){var O=Ye(r)?Xp:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,Mu)}function P0(r,h){var A=Ye(r)?Lr:ju;return A(r,_o(Ge(h,3)))}function B0(r){var h=Ye(r)?Pu:Cd;return h(r)}function L0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?id:Td;return O(r,h)}function R0(r){var h=Ye(r)?od:Fd;return h(r)}function M0(r){if(r==null)return 0;if(Gt(r))return bo(r)?Sn(r):r.length;var h=Lt(r);return h==M||h==Be?r.size:ss(r).length}function j0(r,h,A){var O=Ye(r)?Ga:Od;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var U0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Ku(r,kt(h,1),[])}),vo=xh||function(){return Ot.Date.now()};function z0(r,h){if(typeof h!="function")throw new ar(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Gl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Wl(r,h){var A;if(typeof h!="function")throw new ar(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Os=rt(function(r,h,A){var O=m;if(A.length){var U=Mr(A,On(Os));O|=x}return Sr(r,O,h,A,U)}),Xl=rt(function(r,h,A){var O=m|f;if(A.length){var U=Mr(A,On(Xl));O|=x}return Sr(h,O,r,A,U)});function Hl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Jl.placeholder,O}function $l(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new ar(w);h=fr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Nt(fr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=pi(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,hc=h-yr;return Fe?Bt(hc,V-Nr):hc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=vo();if(He(wt))return ot(wt);se=pi(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function er(){se!==E&&il(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(vo())}function tr(){var wt=vo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return il(se),se=pi(nt,h),Ue(pe)}return se===E&&(se=pi(nt,h)),te}return tr.cancel=er,tr.flush=jt,tr}var q0=rt(function(r,h){return Ru(r,1,h)}),G0=rt(function(r,h,A){return Ru(r,fr(h)||0,A)});function W0(r){return Sr(r,C)}function go(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new ar(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(go.Cache||Er),A}go.Cache=Er;function _o(r){if(typeof r!="function")throw new ar(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function X0(r){return Wl(2,r)}var H0=Id(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Yt(Ge())):yt(kt(h,1),Yt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Bt(O.length,A);++U=h}),pn=qu(function(){return arguments}())?qu:function(r){return xt(r)&&ft.call(r,"callee")&&!Tu.call(r,"callee")},Ye=ve.isArray,sy=lu?Yt(lu):md;function Gt(r){return r!=null&&xo(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function uy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=Eh||Gs,ly=cu?Yt(cu):yd;function cy(r){return xt(r)&&r.nodeType===1&&!hi(r)}function fy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||In(r)||pn(r)))return!r.length;var h=Lt(r);if(h==M||h==Be)return!r.size;if(fi(r))return!ss(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function py(r,h){return ui(r,h)}function hy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ui(r,h,E,A):!!O}function ks(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!hi(r)}function dy(r){return typeof r=="number"&&Fu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Vl(r){return typeof r=="number"&&r==Ze(r)}function xo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Yl=fu?Yt(fu):gd;function my(r,h){return r===h||as(r,h,ws(h))}function yy(r,h,A){return A=typeof A=="function"?A:E,as(r,h,ws(h),A)}function vy(r){return Ql(r)&&r!=+r}function gy(r){if(tm(r))throw new Ke(v);return Gu(r)}function _y(r){return r===null}function xy(r){return r==null}function Ql(r){return typeof r=="number"||xt(r)&&Rt(r)==q}function hi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Hi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&qi.call(A)==yh}var Ps=pu?Yt(pu):_d;function by(r){return Vl(r)&&r>=-z&&r<=z}var Zl=hu?Yt(hu):xd;function bo(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Re}function Zt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var In=du?Yt(du):bd;function Ey(r){return r===E}function wy(r){return xt(r)&&Lt(r)==we}function Sy(r){return xt(r)&&Rt(r)==at}var Ay=co(us),Dy=co(function(r,h){return r<=h});function ec(r){if(!r)return[];if(Gt(r))return bo(r)?hr(r):qt(r);if(ei&&r[ei])return ih(r[ei]());var h=Lt(r),A=h==M?Ka:h==Be?ji:kn;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=fr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function tc(r){return r?un(Ze(r),0,ee):0}function fr(r){if(typeof r=="number")return r;if(Zt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=xu(r);var A=Aa.test(r);return A||Da.test(r)?zp(r.slice(2),A?2:8):vr.test(r)?H:+r}function rc(r){return _r(r,Wt(r))}function Cy(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Qt(r)}var Ty=Nn(function(r,h){if(fi(h)||Gt(h)){_r(h,It(h),r);return}for(var A in h)ft.call(h,A)&&oi(r,A,h[A])}),nc=Nn(function(r,h){_r(h,Wt(h),r)}),Eo=Nn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Ny=Nn(function(r,h,A,O){_r(h,It(h),r,O)}),Fy=Ar(ts);function Oy(r,h){var A=Tn(r);return h==null?A:Bu(A,h)}var Iy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,bs(r),A),O&&(A=ur(A,n|i|u,Gd));for(var U=h.length;U--;)hs(A,h[U]);return A});function Vy(r,h){return oc(r,_o(Ge(h)))}var Yy=Ar(function(r,h){return r==null?{}:Sd(r,h)});function oc(r,h){if(r==null)return{};var A=yt(bs(r),function(O){return[O]});return h=Ge(h),Vu(r,A,function(O,U){return h(O,U[0])})}function Qy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Ou();return Bt(r+U*(h-r+Up("1e-"+((U+"").length-1))),h)}return cs(r,h)}var lv=Fn(function(r,h,A){return h=h.toLowerCase(),r+(A?uc(h):h)});function uc(r){return Rs(ct(r).toLowerCase())}function lc(r){return r=ct(r),r&&r.replace(Ta,Zp).replace(Fp,"")}function cv(r,h,A){r=ct(r),h=Qt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function fv(r){return r=ct(r),r&&Jn.test(r)?r.replace(st,eh):r}function pv(r){return r=ct(r),r&&ba.test(r)?r.replace(Pr,"\\$&"):r}var hv=Fn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),dv=Fn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),mv=pl("toLowerCase");function yv(r,h,A){r=ct(r),h=Ze(h);var O=h?Sn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return lo(Vi(U),A)+r+lo(Ki(U),A)}function vv(r,h,A){r=ct(r),h=Ze(h);var O=h?Sn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Ps(h))&&(h=Qt(h),!h&&wn(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Sv=Fn(function(r,h,A){return r+(A?" ":"")+Rs(h)});function Av(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Qt(h),r.slice(A,A+h.length)==h}function Dv(r,h,A){var O=$.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=Eo({},h,O,_l);var U=Eo({},h.imports,O.imports,_l),V=It(U),te=$a(U,V),se,pe,De=0,Ce=h.interpolate||_n,Fe="__p += '",ke=Va((h.escape||_n).source+"|"+Ce.source+"|"+(Ce===Oe?Sa:_n).source+"|"+(h.evaluate||_n).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Bp+"]")+` -`;r.replace(ke,function(He,nt,ot,er,jt,tr){return ot||(ot=er),Fe+=r.slice(De,tr).replace(Na,th),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=tr+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,oe,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(oe);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,oe){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(oe);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,oe,le){var fe,P,C="",B=ne.tag;for(fe=0,P=oe.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=r(91),h=r(1),i=r(183),o=r(0),l=r(7),u=r(95),f=r(69),m=r(3),p=r(305),t=r(306),e=r(307),_=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new p.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=g(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=y(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=y(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new f.LocalNameSet:void 0;try{for(var $=y(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=y(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(r(114).BaseCBWriter);a.XMLCBWriter=y},function(c,a,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(g,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(g,s)},function(g,s){function h(){this.constructor=g}v(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var y=function(g){function s(h){var i=g.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,g),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.JSONCBWriter=y},function(c,a,r){"use strict";r(74);var v,S=this&&this.__extends||(v=function(g,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(g,s)},function(g,s){function h(){this.constructor=g}v(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var y=function(g){function s(h){var i=g.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,g),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(r(114).BaseCBWriter);a.YAMLCBWriter=y},function(c,a,r){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,y=S&&typeof S.apply=="function"?S.apply:function(e,_,b){return Function.prototype.apply.call(e,_,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var g=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,_,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",_,b.listener?b.listener:b),w=e._events),D=w[_]),D===void 0)D=w[_]=b,++e._eventsCount;else if(typeof D=="function"?D=w[_]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(_)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=_,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,_,b){var x={fired:!1,wrapFn:void 0,target:e,type:_,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,_,b){var x=e._events;if(x===void 0)return[];var E=x[_];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=_[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,_);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===_||b[w].listener===_){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,_[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,_){return typeof e.listenerCount=="function"?e.listenerCount(_):p.call(e,_)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=r(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var Gp=Ns((oi,Bi)=>{(function(){var c,a="4.17.21",r=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",y="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,f=2,m=1,p=2,t=4,e=8,_=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",p],["curry",e],["curryRight",_],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",oe="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",_e="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ai=RegExp(ft.source),si=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,aa=RegExp(Gr.source),ui=/^\s+/,Mi=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ri=/\{\n\/\* \[wrapped with (.+)\] \*/,sa=/,? & /,ua=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,la=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,li=/^\[object .+?Constructor\]$/,fa=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,da=/['\n\r\u2028\u2029\\]/g,Pn="\\ud800-\\udfff",ma="\\u0300-\\u036f",va="\\ufe20-\\ufe2f",ya="\\u20d0-\\u20ff",ji=ma+va+ya,Ui="\\u2700-\\u27bf",zi="a-z\\xdf-\\xf6\\xf8-\\xff",ga="\\xac\\xb1\\xd7\\xf7",_a="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xa="\\u2000-\\u206f",ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qi="A-Z\\xc0-\\xd6\\xd8-\\xde",Gi="\\ufe0e\\ufe0f",Wi=ga+_a+xa+ba,$t="['\u2019]",ci="["+Pn+"]",fi="["+Wi+"]",fn="["+ji+"]",Xi="\\d+",pn="["+Ui+"]",Hi="["+zi+"]",$i="[^"+Pn+Wi+Xi+Ui+zi+qi+"]",kn="\\ud83c[\\udffb-\\udfff]",Ea="(?:"+fn+"|"+kn+")",Ji="[^"+Pn+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+qi+"]",ce="\\u200d",Ee="(?:"+Hi+"|"+$i+")",Le="(?:"+Z+"|"+$i+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=Ea+"?",Ct="["+Gi+"]?",$p="(?:"+ce+"(?:"+[Ji,O,j].join("|")+")"+Ct+Ot+")*",Jp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Kp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",su=Ct+Ot+$p,Vp="(?:"+[pn,O,j].join("|")+")"+su,Yp="(?:"+[Ji+fn+"?",fn,O,j,ci].join("|")+")",Qp=RegExp($t,"g"),Zp=RegExp(fn,"g"),wa=RegExp(kn+"(?="+kn+")|"+Yp+su,"g"),eh=RegExp([Z+"?"+Hi+"+"+rt+"(?="+[fi,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[fi,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Kp,Jp,Xi,Vp].join("|"),"g"),th=RegExp("["+ce+Pn+ji+Gi+"]"),rh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ih=-1,gt={};gt[Ge]=gt[Fe]=gt[se]=gt[xe]=gt[be]=gt[Ne]=gt[Ce]=gt[ze]=gt[Ue]=!0,gt[ne]=gt[Q]=gt[K]=gt[le]=gt[We]=gt[fe]=gt[C]=gt[B]=gt[R]=gt[q]=gt[ae]=gt[Ae]=gt[Re]=gt[je]=gt[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var oh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ah={"&":"&","<":"<",">":">",'"':""","'":"'"},sh={"&":"&","<":"<",">":">",""":'"',"'":"'"},uh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lh=parseFloat,ch=parseInt,uu=typeof global=="object"&&global&&global.Object===Object&&global,fh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=uu||fh||Function("return this")(),Sa=typeof oi=="object"&&oi&&!oi.nodeType&&oi,hn=Sa&&typeof Bi=="object"&&Bi&&!Bi.nodeType&&Bi,lu=hn&&hn.exports===Sa,Aa=lu&&uu.process,cr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Aa&&Aa.binding&&Aa.binding("util")}catch{}}(),cu=cr&&cr.isArrayBuffer,fu=cr&&cr.isDate,pu=cr&&cr.isMap,hu=cr&&cr.isRegExp,du=cr&&cr.isSet,mu=cr&&cr.isTypedArray;function tr(pe,we,ge){switch(ge.length){case 0:return pe.call(we);case 1:return pe.call(we,ge[0]);case 2:return pe.call(we,ge[0],ge[1]);case 3:return pe.call(we,ge[0],ge[1],ge[2])}return pe.apply(we,ge)}function ph(pe,we,ge,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Ca(pe,we,ge){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return ge}function wu(pe,we){for(var ge=pe.length;ge--&&Ln(we,pe[ge],0)>-1;);return ge}function bh(pe,we){for(var ge=pe.length,Me=0;ge--;)pe[ge]===we&&++Me;return Me}var Eh=Oa(oh),wh=Oa(ah);function Sh(pe){return"\\"+uh[pe]}function Ah(pe,we){return pe==null?c:pe[we]}function Bn(pe){return th.test(pe)}function Ch(pe){return rh.test(pe)}function Dh(pe){for(var we,ge=[];!(we=pe.next()).done;)ge.push(we.value);return ge}function ka(pe){var we=-1,ge=Array(pe.size);return pe.forEach(function(Me,Ze){ge[++we]=[Ze,Me]}),ge}function Su(pe,we){return function(ge){return pe(we(ge))}}function $r(pe,we){for(var ge=-1,Me=pe.length,Ze=0,ht=[];++ge-1}function dd(n,d){var A=this.__data__,F=po(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Or.prototype.clear=cd,Or.prototype.delete=fd,Or.prototype.get=pd,Or.prototype.has=hd,Or.prototype.set=dd;function Fr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function dr(n,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(n,F,U,V):A(n)),te!==c)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=gm(n),!ue)return Jt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(en(n))return al(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Al(n),!ue)return he?sm(n,Od(te,n)):am(n,Bu(te,n))}else{if(!yt[Ie])return U?n:{};te=_m(n,Ie,ue)}}V||(V=new xr);var qe=V.get(n);if(qe)return qe;V.set(n,te),ec(n)?n.forEach(function(Je){te.add(dr(Je,d,A,Je,n,V))}):Ql(n)&&n.forEach(function(Je,st){te.set(st,dr(Je,d,A,st,n,V))});var $e=De?he?as:os:he?Vt:Mt,it=Te?c:$e(n);return fr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),gi(te,st,dr(Je,d,A,st,n,V))}),te}function Fd(n){var d=Mt(n);return function(A){return Mu(A,n,d)}}function Mu(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===c&&!(U in n)||!V(te))return!1}return!0}function Ru(n,d,A){if(typeof n!="function")throw new pr(S);return Ai(function(){n.apply(c,A)},d)}function _i(n,d,A,F){var U=-1,V=Ki,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=Ca,te=!1):d.length>=r&&(V=pi,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:rc(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var za=pl(),zu=pl(!0);function Ar(n,d){return n&&za(n,d,Mt)}function qa(n,d){return n&&zu(n,d,Mt)}function mo(n,d){return Xr(d,function(A){return Br(n[A])})}function gn(n,d){d=Qr(d,n);for(var A=0,F=d.length;n!=null&&Ad}function kd(n,d){return n!=null&&mt.call(n,d)}function Ld(n,d){return n!=null&&d in vt(n)}function Bd(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new vn(te&&Te):c}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&oo.call(ue,he,1),oo.call(n,he,1);return n}function Qu(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?oo.call(n,U,1):Qa(n,U)}}return n}function Ka(n,d){return n+uo(Iu()*(d-n+1))}function Kd(n,d,A,F){for(var U=-1,V=kt(so((d-n)/(A||1)),0),te=ge(V);V--;)te[F?V:++U]=n,n+=A;return te}function Va(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=uo(d/2),d&&(n+=n);while(d);return A}function at(n,d){return hs(Tl(n,d,Yt),n+"")}function Vd(n){return Lu(Hn(n))}function Yd(n,d){var A=Hn(n);return Co(A,yn(d,0,A.length))}function Ei(n,d,A,F){if(!bt(n))return n;d=Qr(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=ge(U);++F>>1,te=n[V];te!==null&&!ir(te)&&(A?te<=d:te=r){var De=d?null:fm(n);if(De)return Yi(De);te=!1,U=pi,he=new vn}else he=d?[]:ue;e:for(;++F=F?n:mr(n,d,A)}var ol=qh||function(n){return Bt.clearTimeout(n)};function al(n,d){if(d)return n.slice();var A=n.length,F=Du?Du(A):new n.constructor(A);return n.copy(F),F}function rs(n){var d=new n.constructor(n.byteLength);return new no(d).set(new no(n)),d}function rm(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function nm(n){var d=new n.constructor(n.source,cn.exec(n));return d.lastIndex=n.lastIndex,d}function im(n){return yi?vt(yi.call(n)):{}}function sl(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function ul(n,d){if(n!==d){var A=n!==c,F=n===null,U=n===n,V=ir(n),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function ll(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=ge(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=n.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function ml(n){return kr(function(d){var A=d.length,F=A,U=hr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new pr(S);if(U&&!te&&So(V)=="wrapper")var te=new hr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&f?new vn:c;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function bm(n){return tt(n)||bn(n)||!!(Ou&&n&&n[Ou])}function Lr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&pa.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(c,arguments)}}function Co(n,d){var A=-1,F=n.length,U=F-1;for(d=d===c?F:d;++A1?n[d-1]:c;return A=typeof A=="function"?(n.pop(),A):c,Ul(n,A)});function zl(n){var d=J(n);return d.__chain__=!0,d}function I0(n,d){return d(n),n}function Do(n,d){return d(n)}var P0=kr(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return Ua(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Do,args:[U],thisArg:c}),new hr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function k0(){return zl(this)}function L0(){return new hr(this.value(),this.__chain__)}function B0(){this.__values__===c&&(this.__values__=tc(this.value()));var n=this.__index__>=this.__values__.length,d=n?c:this.__values__[this.__index__++];return{done:n,value:d}}function M0(){return this}function R0(n){for(var d,A=this;A instanceof fo;){var F=kl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function j0(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Do,args:[ds],thisArg:c}),new hr(d,this.__chain__)}return this.thru(ds)}function U0(){return nl(this.__wrapped__,this.__actions__)}var z0=_o(function(n,d,A){mt.call(n,A)?++n[A]:Ir(n,A,1)});function q0(n,d,A){var F=tt(n)?vu:Id;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}function G0(n,d){var A=tt(n)?Xr:Uu;return A(n,Xe(d,3))}var W0=dl(Ll),X0=dl(Bl);function H0(n,d){return Rt(To(n,d),1)}function $0(n,d){return Rt(To(n,d),Y)}function J0(n,d,A){return A=A===c?1:nt(A),Rt(To(n,d),A)}function ql(n,d){var A=tt(n)?fr:Vr;return A(n,Xe(d,3))}function Gl(n,d){var A=tt(n)?hh:ju;return A(n,Xe(d,3))}var K0=_o(function(n,d,A){mt.call(n,A)?n[A].push(d):Ir(n,A,[d])});function V0(n,d,A,F){n=Kt(n)?n:Hn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Po(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&Ln(n,d,A)>-1}var Y0=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Kt(n)?ge(n.length):[];return Vr(n,function(te){V[++F]=U?tr(d,te,A):xi(te,d,A)}),V}),Q0=_o(function(n,d,A){Ir(n,A,d)});function To(n,d){var A=tt(n)?xt:Hu;return A(n,Xe(d,3))}function Z0(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Vu(n,d,A))}var ev=_o(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function tv(n,d,A){var F=tt(n)?Da:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Vr)}function rv(n,d,A){var F=tt(n)?dh:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,ju)}function nv(n,d){var A=tt(n)?Xr:Uu;return A(n,Fo(Xe(d,3)))}function iv(n){var d=tt(n)?Lu:Vd;return d(n)}function ov(n,d,A){(A?Wt(n,d,A):d===c)?d=1:d=nt(d);var F=tt(n)?Dd:Yd;return F(n,d)}function av(n){var d=tt(n)?Td:Zd;return d(n)}function sv(n){if(n==null)return 0;if(Kt(n))return Po(n)?Mn(n):n.length;var d=qt(n);return d==R||d==Re?n.size:Ha(n).length}function uv(n,d,A){var F=tt(n)?Ta:em;return A&&Wt(n,d,A)&&(d=c),F(n,Xe(d,3))}var lv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Wt(n,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Vu(n,Rt(d,1),[])}),No=Gh||function(){return Bt.Date.now()};function cv(n,d){if(typeof d!="function")throw new pr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Wl(n,d,A){return d=A?c:d,d=n&&d==null?n.length:d,Pr(n,E,c,c,c,c,d)}function Xl(n,d){var A;if(typeof d!="function")throw new pr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=c),A}}var vs=at(function(n,d,A){var F=m;if(A.length){var U=$r(A,Wn(vs));F|=b}return Pr(n,F,d,A,U)}),Hl=at(function(n,d,A){var F=m|p;if(A.length){var U=$r(A,Wn(Hl));F|=b}return Pr(d,F,n,A,U)});function $l(n,d,A){d=A?c:d;var F=Pr(n,e,c,c,c,c,c,d);return F.placeholder=$l.placeholder,F}function Jl(n,d,A){d=A?c:d;var F=Pr(n,_,c,c,c,c,c,d);return F.placeholder=Jl.placeholder,F}function Kl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new pr(S);d=yr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(yr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var Er=F,Rr=U;return F=U=c,De=Tt,te=n.apply(Rr,Er),te}function $e(Tt){return De=Tt,ue=Ai(st,d),Te?qe(Tt):te}function it(Tt){var Er=Tt-he,Rr=Tt-De,dc=d-Er;return Ie?zt(dc,V-Rr):dc}function Je(Tt){var Er=Tt-he,Rr=Tt-De;return he===c||Er>=d||Er<0||Ie&&Rr>=V}function st(){var Tt=No();if(Je(Tt))return lt(Tt);ue=Ai(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&ol(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(No())}function ar(){var Tt=No(),Er=Je(Tt);if(F=arguments,U=this,he=Tt,Er){if(ue===c)return $e(he);if(Ie)return ol(ue),ue=Ai(st,d),qe(he)}return ue===c&&(ue=Ai(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var fv=at(function(n,d){return Ru(n,1,d)}),pv=at(function(n,d,A){return Ru(n,yr(d)||0,A)});function hv(n){return Pr(n,D)}function Oo(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new pr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(Oo.Cache||Fr),A}Oo.Cache=Fr;function Fo(n){if(typeof n!="function")throw new pr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function dv(n){return Xl(2,n)}var mv=tm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=Gu(function(){return arguments}())?Gu:function(n){return St(n)&&mt.call(n,"callee")&&!Nu.call(n,"callee")},tt=ge.isArray,Ov=cu?rr(cu):Rd;function Kt(n){return n!=null&&Io(n.length)&&!Br(n)}function Dt(n){return St(n)&&Kt(n)}function Fv(n){return n===!0||n===!1||St(n)&&Gt(n)==le}var en=Xh||Ts,Iv=fu?rr(fu):jd;function Pv(n){return St(n)&&n.nodeType===1&&!Ci(n)}function kv(n){if(n==null)return!0;if(Kt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||en(n)||Xn(n)||bn(n)))return!n.length;var d=qt(n);if(d==R||d==Re)return!n.size;if(Si(n))return!Ha(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function Lv(n,d){return bi(n,d)}function Bv(n,d,A){A=typeof A=="function"?A:c;var F=A?A(n,d):c;return F===c?bi(n,d,c,A):!!F}function gs(n){if(!St(n))return!1;var d=Gt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ci(n)}function Mv(n){return typeof n=="number"&&Fu(n)}function Br(n){if(!bt(n))return!1;var d=Gt(n);return d==B||d==L||d==oe||d==_e}function Yl(n){return typeof n=="number"&&n==nt(n)}function Io(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Ql=pu?rr(pu):zd;function Rv(n,d){return n===d||Xa(n,d,us(d))}function jv(n,d,A){return A=typeof A=="function"?A:c,Xa(n,d,us(d),A)}function Uv(n){return Zl(n)&&n!=+n}function zv(n){if(Sm(n))throw new Ze(v);return Wu(n)}function qv(n){return n===null}function Gv(n){return n==null}function Zl(n){return typeof n=="number"||St(n)&&Gt(n)==q}function Ci(n){if(!St(n)||Gt(n)!=ae)return!1;var d=io(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&eo.call(A)==jh}var _s=hu?rr(hu):qd;function Wv(n){return Yl(n)&&n>=-z&&n<=z}var ec=du?rr(du):Gd;function Po(n){return typeof n=="string"||!tt(n)&&St(n)&&Gt(n)==je}function ir(n){return typeof n=="symbol"||St(n)&&Gt(n)==ot}var Xn=mu?rr(mu):Wd;function Xv(n){return n===c}function Hv(n){return St(n)&&qt(n)==Se}function $v(n){return St(n)&&Gt(n)==ct}var Jv=wo($a),Kv=wo(function(n,d){return n<=d});function tc(n){if(!n)return[];if(Kt(n))return Po(n)?_r(n):Jt(n);if(hi&&n[hi])return Dh(n[hi]());var d=qt(n),A=d==R?ka:d==Re?Yi:Hn;return A(n)}function Mr(n){if(!n)return n===0?n:0;if(n=yr(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=Mr(n),A=d%1;return d===d?A?d-A:d:0}function rc(n){return n?yn(nt(n),0,ee):0}function yr(n){if(typeof n=="number")return n;if(ir(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=bu(n);var A=ca.test(n);return A||fa.test(n)?ch(n.slice(2),A?2:8):Sr.test(n)?H:+n}function nc(n){return Cr(n,Vt(n))}function Vv(n){return n?yn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":nr(n)}var Yv=qn(function(n,d){if(Si(d)||Kt(d)){Cr(d,Mt(d),n);return}for(var A in d)mt.call(d,A)&&gi(n,A,d[A])}),ic=qn(function(n,d){Cr(d,Vt(d),n)}),ko=qn(function(n,d,A,F){Cr(d,Vt(d),n,F)}),Qv=qn(function(n,d,A,F){Cr(d,Mt(d),n,F)}),Zv=kr(Ua);function ey(n,d){var A=zn(n);return d==null?A:Bu(A,d)}var ty=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(n,as(n),A),F&&(A=dr(A,i|o|l,pm));for(var U=d.length;U--;)Qa(A,d[U]);return A});function _y(n,d){return ac(n,Fo(Xe(d)))}var xy=kr(function(n,d){return n==null?{}:$d(n,d)});function ac(n,d){if(n==null)return{};var A=xt(as(n),function(F){return[F]});return d=Xe(d),Yu(n,A,function(F,U){return d(F,U[0])})}function by(n,d,A){d=Qr(d,n);var F=-1,U=d.length;for(U||(U=1,n=c);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Iu();return zt(n+U*(d-n+lh("1e-"+((U+"").length-1))),d)}return Ka(n,d)}var Iy=Gn(function(n,d,A){return d=d.toLowerCase(),n+(A?lc(d):d)});function lc(n){return Es(dt(n).toLowerCase())}function cc(n){return n=dt(n),n&&n.replace(ha,Eh).replace(Zp,"")}function Py(n,d,A){n=dt(n),d=nr(d);var F=n.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function ky(n){return n=dt(n),n&&ai.test(n)?n.replace(ft,wh):n}function Ly(n){return n=dt(n),n&&aa.test(n)?n.replace(Gr,"\\$&"):n}var By=Gn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),My=Gn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),Ry=hl("toLowerCase");function jy(n,d,A){n=dt(n),d=nt(d);var F=d?Mn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return Eo(uo(U),A)+n+Eo(so(U),A)}function Uy(n,d,A){n=dt(n),d=nt(d);var F=d?Mn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!_s(d))&&(d=nr(d),!d&&Bn(n))?Zr(_r(n),0,A):n.split(d,A)):[]}var $y=Gn(function(n,d,A){return n+(A?" ":"")+Es(d)});function Jy(n,d,A){return n=dt(n),A=A==null?0:yn(nt(A),0,n.length),d=nr(d),n.slice(A,A+d.length)==d}function Ky(n,d,A){var F=J.templateSettings;A&&Wt(n,d,A)&&(d=c),n=dt(n),d=ko({},d,F,xl);var U=ko({},d.imports,F.imports,xl),V=Mt(U),te=Pa(U,V),ue,he,De=0,Te=d.interpolate||In,Ie="__p += '",Be=La((d.escape||In).source+"|"+Te.source+"|"+(Te===Pe?la:In).source+"|"+(d.evaluate||In).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ih+"]")+` +`;n.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=n.slice(De,ar).replace(da,Sh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Kt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(y);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=fc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,ks(et))throw et;return et}function Cv(r){return ct(r).toLowerCase()}function Tv(r){return ct(r).toUpperCase()}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return xu(r);if(!r||!(h=Qt(h)))return r;var O=hr(r),U=hr(h),V=bu(O,U),te=Eu(O,U)+1;return Wr(O,V,te).join("")}function Fv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Su(r)+1);if(!r||!(h=Qt(h)))return r;var O=hr(r),U=Eu(O,hr(h))+1;return Wr(O,0,U).join("")}function Ov(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Kn,"");if(!r||!(h=Qt(h)))return r;var O=hr(r),U=bu(O,hr(h));return Wr(O,U).join("")}function Iv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Qt(h.omission):O}r=ct(r);var V=r.length;if(wn(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-Sn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Ps(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Va(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Qt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function kv(r){return r=ct(r),r&&Pt.test(r)?r.replace(_t,uh):r}var Pv=Fn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Rs=pl("toUpperCase");function cc(r,h,A){return r=ct(r),h=A?E:h,h===E?nh(r)?fh(r):$p(r):r.match(h)||[]}var fc=rt(function(r,h){try{return Vt(r,E,h)}catch(A){return ks(A)?A:new Ke(A)}}),Bv=Ar(function(r,h){return or(h,function(A){A=xr(A),wr(r,A,Os(r[A],r))}),r});function Lv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new ar(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Bt(r,ee);h=Ge(h),r-=ee;for(var U=Ja(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:mo,args:[Fe],thisArg:E}),new sr(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),or(["pop","push","shift","sort","splice","unshift"],function(r){var h=Ui[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Cn,O)||(Cn[O]=[]),Cn[O].push({name:h,func:A})}}),Cn[so(E,f).name]=[{name:"wrapper",func:E}],it.prototype.clone=kh,it.prototype.reverse=Ph,it.prototype.value=Bh,$.prototype.at=c0,$.prototype.chain=f0,$.prototype.commit=p0,$.prototype.next=h0,$.prototype.plant=m0,$.prototype.reverse=y0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=v0,$.prototype.first=$.prototype.head,ei&&($.prototype[ei]=d0),$},jr=ph();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ot._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,ja._=jr):Ot._=jr}).call(Hn)});var Mb={};Ag(Mb,{default:()=>Lb,options:()=>wp,setup:()=>Bb,teardown:()=>Rb});module.exports=Dg(Mb);var xb=Ut(require("k6/encoding")),bb=require("k6"),Eb=Ut(require("k6/http"));var Cg=typeof global=="object"&&global&&global.Object===Object&&global,So=Cg;var Tg=typeof self=="object"&&self&&self.Object===Object&&self,Ng=So||Tg||Function("return this")(),Ct=Ng;var Fg=Ct.Symbol,Fr=Fg;var mc=Object.prototype,Og=mc.hasOwnProperty,Ig=mc.toString,di=Fr?Fr.toStringTag:void 0;function kg(E){var l=Og.call(E,di),o=E[di];try{E[di]=void 0;var v=!0}catch{}var w=Ig.call(E);return v&&(l?E[di]=o:delete E[di]),w}var yc=kg;var Pg=Object.prototype,Bg=Pg.toString;function Lg(E){return Bg.call(E)}var vc=Lg;var Rg="[object Null]",Mg="[object Undefined]",gc=Fr?Fr.toStringTag:void 0;function jg(E){return E==null?E===void 0?Mg:Rg:gc&&gc in Object(E)?yc(E):vc(E)}var rr=jg;function Ug(E){return E!=null&&typeof E=="object"}var pr=Ug;var zg="[object Symbol]";function qg(E){return typeof E=="symbol"||pr(E)&&rr(E)==zg}var Pn=qg;function Gg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=g_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Ic=b_;function E_(E){return function(){return E}}var kc=E_;var w_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Ln=w_;var S_=Ln?function(E,l){return Ln(E,"toString",{configurable:!0,enumerable:!1,value:kc(l),writable:!0})}:Ao,Pc=S_;var A_=Ic(Pc),Bc=A_;var D_=9007199254740991,C_=/^(?:0|[1-9]\d*)$/;function T_(E,l){var o=typeof E;return l=l??D_,!!l&&(o=="number"||o!="symbol"&&C_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=R_}var No=M_;function j_(E){return E!=null&&No(E.length)&&!Bn(E)}var Jr=j_;function U_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&To(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var zc=U_;function z_(E){return Uc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,d=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,d&&zc(o[0],o[1],d)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var df=lx;function cx(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var mf=cx;function zn(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ap=E=>new Qs(new URL(E||"").search).object();var up=(E,l,o)=>(v,w,y,d)=>{let a=o||{};return l&&Lo(a,{headers:{Authorization:l.header}}),sp.default.request(v,op(E,w),y,Lo(a,d))};var cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),gb=Ut(eu());var _b=Ut(Wn()),fp=(E=10,l)=>(0,cp.randomString)(E,l);var Mo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=require("k6/http");var jo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Uo=class{settings;constructor(l){this.settings=new jo(l)}};var zo=class{v0;constructor(l){this.v0=new Uo(l)}};var qo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var Go=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var Wo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Xo=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Ho=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new qo(l),this.spaces=new Go(l),this.systemtags=new Wo(l),this.systemtagsRelations=new Xo(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Jo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var $o=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Ko=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Vo=class{tags;constructor(l){this.tags=new Ko(l)}};var Yo=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Vo(l)}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Zo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var ea=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var ta=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Jo(l),this.drives=new $o(l),this.extensions=new Yo(l),this.groups=new Qo(l),this.me=new Zo(l),this.users=new ea(l)}};var ra=class{v1;constructor(l){this.v1=new ta(l)}};var na=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Ro({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ia=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var oa=class{shares;sharees;constructor(l){this.shares=new ia(l),this.sharees=new na(l)}};var aa=class{v1;constructor(l){this.v1=new oa(l)}};var sa=class{filesSharing;constructor(l){this.filesSharing=new aa(l)}};var ua=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ca=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var fa=class{users;groups;roles;constructor(l){this.users=new ca(l),this.groups=new ua(l),this.roles=new la(l)}};var pa=class{cloud;apps;constructor(l){this.cloud=new fa(l),this.apps=new sa(l)}};var ha=class{v2;constructor(l){this.v2=new pa(l)}};var da=class{ocs;graph;dav;api;constructor(l){this.ocs=new ha(l),this.graph=new ra(l),this.dav=new Ho(l),this.api=new zo(l)}};var ma={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=Ut(require("k6/encoding")),xi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${pp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var ya=require("k6"),va=Ut(require("k6/http"));var bi=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=va.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:fp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,ya.fail)(this.#i),o}getCode(l){let o=`${l}?${Ro({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=va.default.get(o,{redirects:0}),w=Zr(ap(v.headers.Location),"code");return(v.status!==302||!w)&&(0,ya.fail)(l),w}getToken(l){let o=va.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,ya.fail)(this.#o),v}};var dp=require("k6"),ru=require("k6"),nu=require("k6"),mn=require("k6"),mp=Ut(Wn()),yp=require("k6"),ga=require("k6"),Ei=Ut(Wn()),_a=require("k6"),yn=require("k6"),iu=Ut(Wn()),vn=require("k6"),Le={ocis:"ocis",occ:"occ",nc:"nc"},$t=(E,...l)=>l.includes(E);var wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!$t(this.#t,Le.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,dp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!$t(this.#t,Le.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,ru.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!$t(this.#t,Le.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,ru.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Le.ocis:l=this.#e.graph.v1.groups.create(E);break;case Le.occ:case Le.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,nu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Le.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Le.occ:case Le.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,nu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Le.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Le.occ:case Le.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Le.ocis:o=this.#e.dav.spaces.create(E,l);break;case Le.occ:case Le.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Le.ocis:o=this.#e.dav.spaces.download(E,l);break;case Le.occ:case Le.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,mp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Le.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Le.occ:case Le.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:d})=>d===207}),y}delete(E,l){let o;switch(this.#t){case Le.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Le.occ:case Le.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Le.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Le.occ:case Le.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!$t(this.#t,Le.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,yp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ga.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Le.ocis:case Le.occ:y=this.#e.dav.files.report(E,(0,Ei.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Le.nc:y=this.#e.dav.search((0,Ei.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ga.check)(y,{"client -> search.resource - status":({status:d})=>d===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Le.ocis:w=this.#e.dav.files.report(E,(0,Ei.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Le.occ:case Le.nc:w=this.#e.dav.files.report(E,(0,Ei.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ga.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Nb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,_a.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,_a.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,_a.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!$t(this.#t,Le.occ,Le.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!$t(this.#t,Le.occ,Le.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!$t(this.#t,Le.occ,Le.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,iu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Le.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Le.occ:case Le.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Le.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Le.occ:case Le.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!$t(this.#t,Le.occ,Le.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,iu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Ob=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!$t(this.#t,Le.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!$t(this.#t,Le.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!$t(this.#t,Le.occ,Le.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Le.ocis:l=this.#e.graph.v1.users.create(E);break;case Le.occ:case Le.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Le.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Le.occ:case Le.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!$t(this.#t,Le.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},Xn=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ma.openIDConnect:w=new bi(v,E);break;case ma.basicAuth:w=new xi(v);break}let y=up(E,w,{jar:new hp.CookieJar}),d=new da(y);this.application=new wb(l,d),this.drive=new Sb(l,d),this.group=new Ab(l,d),this.resource=new Db(l,d),this.role=new Cb(l,d),this.search=new Tb(l,d),this.share=new Nb(d),this.tag=new Fb(l,d),this.user=new Ob(l,d)}};var Ib=Ut(require("k6/http"));var kb=require("https://jslib.k6.io/url/1.0.0/index.js"),Pb=require("k6/experimental/timers"),vp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),gp=Ut(eu());var _p=Ut(Wn());var gn=(E=10,l)=>(0,vp.randomString)(E,l),ou=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return gp.query(l,E).map(o=>Ys(o)?void 0:o)},wi=(E,l)=>{let o=_p.create(l).end({format:"object"});return ou(E,o)};var bp=require("k6"),Ep=Ut(require("k6/execution")),xa=Ut(xp()),St={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Mo.basicAuth?Mo.basicAuth:Mo.openIDConnect,clientVersion:Le[__ENV.CLIENT_VERSION]||Le.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT)||2,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT)||2},k6:{vus:1,insecureSkipTLSVerify:!0}},wp=St.k6;function Bb(){let E=St.adminUser,l=new Xn(St.baseURL,St.clientVersion,St.authAdapter,E),o=(0,xa.times)(wp.vus||1,()=>{let v={login:gn(),password:gn()};l.user.create(v),l.user.enable(v.login);let y=new Xn(St.baseURL,St.clientVersion,St.authAdapter,v).user.drives(),[d=v.login]=ou("$.value[?(@.driveType === 'personal')].id",y?.body);return{credential:v,home:d}});return{adminCredential:E,userInfos:o}}function Lb({userInfos:E,adminCredential:l}){let o=[],v={},{home:w,credential:y}=E[Ep.default.vu.idInTest-1],d=new Xn(St.baseURL,St.clientVersion,St.authAdapter,y),a=new Xn(St.baseURL,St.clientVersion,St.authAdapter,l),p=(0,xa.times)(St.assets.folderCount,()=>gn()),n=(0,xa.times)(St.assets.textDocumentCount,()=>[gn(),".txt"].join("")),i=u=>{if(St.clientVersion===Le.ocis)return u;let s=d.tag.list(),[{"oc:id":c}={"oc:id":""}]=wi(`$..[?(@['oc:display-name'] === '${u}')]`,s?.body);if(c)return c;let{headers:{"Content-Location":m}}=d.tag.create(u)||{headers:{"Content-Location":""}};return m.split("/").pop()};[...p,...n].forEach(u=>{let s=u.match(/\.[0-9a-z]+$/i),c=i(gn());s?d.resource.upload(w,u,gn()):d.resource.create(w,u),o.push(()=>{a.tag.delete(c),d.resource.delete(w,u)});let m=d.resource.propfind(w,u),[f]=wi("$..['oc:fileid']",m.body);d.tag.assign(f,c);let t=()=>{let x=[];return $t(St.clientVersion,Le.occ,Le.nc)?x=wi(`$..[?(@['oc:id'] === '${c}')]['oc:id']`,d.tag.get(f)?.body):x=wi("$..['oc:tags']",d.resource.propfind(w,u).body),x[0]},e=t();v["test -> tag - assign"]=()=>e===c,d.tag.unassign(f,c);let g=t();v["test -> tag - unassign"]=()=>g===void 0}),o.forEach(u=>u()),(0,bp.check)(void 0,v)}function Rb({userInfos:E,adminCredential:l}){let o=new Xn(St.baseURL,St.clientVersion,St.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=pc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,gs(it))throw it;return it}function Vy(n){return dt(n).toLowerCase()}function Yy(n){return dt(n).toUpperCase()}function Qy(n,d,A){if(n=dt(n),n&&(A||d===c))return bu(n);if(!n||!(d=nr(d)))return n;var F=_r(n),U=_r(d),V=Eu(F,U),te=wu(F,U)+1;return Zr(F,V,te).join("")}function Zy(n,d,A){if(n=dt(n),n&&(A||d===c))return n.slice(0,Au(n)+1);if(!n||!(d=nr(d)))return n;var F=_r(n),U=wu(F,_r(d))+1;return Zr(F,0,U).join("")}function eg(n,d,A){if(n=dt(n),n&&(A||d===c))return n.replace(ui,"");if(!n||!(d=nr(d)))return n;var F=_r(n),U=Eu(F,_r(d));return Zr(F,U).join("")}function tg(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}n=dt(n);var V=n.length;if(Bn(n)){var te=_r(n);V=te.length}if(A>=V)return n;var ue=A-Mn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):n.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),_s(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=La(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(n.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function rg(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Fh):n}var ng=Gn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),Es=hl("toUpperCase");function fc(n,d,A){return n=dt(n),d=A?c:d,d===c?Ch(n)?kh(n):yh(n):n.match(d)||[]}var pc=at(function(n,d){try{return tr(n,c,d)}catch(A){return gs(A)?A:new Ze(A)}}),ig=kr(function(n,d){return fr(d,function(A){A=Dr(A),Ir(n,A,vs(n[A],n))}),n});function og(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new pr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Ia(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Do,args:[Ie],thisArg:c}),new hr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),fr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Qi[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(Un,F)||(Un[F]=[]),Un[F].push({name:d,func:A})}}),Un[xo(c,p).name]=[{name:"wrapper",func:c}],ut.prototype.clone=rd,ut.prototype.reverse=nd,ut.prototype.value=id,J.prototype.at=P0,J.prototype.chain=k0,J.prototype.commit=L0,J.prototype.next=B0,J.prototype.plant=R0,J.prototype.reverse=j0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=U0,J.prototype.first=J.prototype.head,hi&&(J.prototype[hi]=M0),J},Jr=Lh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,Sa._=Jr):Bt._=Jr}).call(oi)});var gS={};jt(gS,{default:()=>Hp,options:()=>Xp,setup:()=>vS,teardown:()=>yS});module.exports=Jg(gS);var up=Qt(require("k6/encoding")),ta=require("k6"),ra=Qt(require("k6/http"));var Kg=typeof global=="object"&&global&&global.Object===Object&&global,Bo=Kg;var Vg=typeof self=="object"&&self&&self.Object===Object&&self,Yg=Bo||Vg||Function("return this")(),Ft=Yg;var Qg=Ft.Symbol,jr=Qg;var vc=Object.prototype,Zg=vc.hasOwnProperty,e_=vc.toString,Di=jr?jr.toStringTag:void 0;function t_(c){var a=Zg.call(c,Di),r=c[Di];try{c[Di]=void 0;var v=!0}catch{}var S=e_.call(c);return v&&(a?c[Di]=r:delete c[Di]),S}var yc=t_;var r_=Object.prototype,n_=r_.toString;function i_(c){return n_.call(c)}var gc=i_;var o_="[object Null]",a_="[object Undefined]",_c=jr?jr.toStringTag:void 0;function s_(c){return c==null?c===void 0?a_:o_:_c&&_c in Object(c)?yc(c):gc(c)}var sr=s_;function u_(c){return c!=null&&typeof c=="object"}var gr=u_;var l_="[object Symbol]";function c_(c){return typeof c=="symbol"||gr(c)&&sr(c)==l_}var $n=c_;function f_(c,a){for(var r=-1,v=c==null?0:c.length,S=Array(v);++r0){if(++a>=U_)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Pc=G_;function W_(c){return function(){return c}}var kc=W_;var X_=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Kn=X_;var H_=Kn?function(c,a){return Kn(c,"toString",{configurable:!0,enumerable:!1,value:kc(a),writable:!0})}:Mo,Lc=H_;var $_=Pc(Lc),Bc=$_;var J_=9007199254740991,K_=/^(?:0|[1-9]\d*)$/;function V_(c,a){var r=typeof c;return a=a??J_,!!a&&(r=="number"||r!="symbol"&&K_.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=o1}var zo=a1;function s1(c){return c!=null&&zo(c.length)&&!Jn(c)}var rn=s1;function u1(c,a,r){if(!At(r))return!1;var v=typeof a;return(v=="number"?rn(r)&&Vn(a,r.length):v=="string"&&a in r)?tn(r[a],c):!1}var zc=u1;function l1(c){return Uc(function(a,r){var v=-1,S=r.length,y=S>1?r[S-1]:void 0,g=S>2?r[2]:void 0;for(y=c.length>3&&typeof y=="function"?(S--,y):void 0,g&&zc(r[0],r[1],g)&&(y=S<3?void 0:y,S=1),a=Object(a);++v-1}var df=Fx;function Ix(c,a){var r=this.__data__,v=on(r,c);return v<0?(++this.size,r.push([c,a])):r[v][1]=a,this}var mf=Ix;function ti(c){var a=-1,r=c==null?0:c.length;for(this.clear();++a(0,np.randomString)(c,a);var ie={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var ip=require("k6/http");var Bs=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Bs.URLSearchParams(Object.keys(c).map(r=>[r,String(c[r])])).toString(),Yo=c=>{let a=new URL(c).search,r=new Bs.URLSearchParams(a);return Object.fromEntries(r)};var Qo=c=>(a,r,v,S)=>{let y=Sn({},c.params);return c.authn&&An(y,"headers.Authorization",c.authn.header),c.params?.jar&&An(y,"jar",c.params.jar),(0,ip.request)(a,Tr(c.baseUrl,r),v,Sn(y,S))};var Ms=require("k6");var ke=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,Ms.check)(c.val,r,c.tags)};var lp=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var ap=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Zo=require("k6"),ea=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),r=this.getCode(a),v=this.getToken(r);this.cache={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.cache.token}getContinueURI(){let a=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Vo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),r=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!r)&&(0,Zo.fail)(this.logonURL),r}getCode(a){let r=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ea.default.get(r,{redirects:0}),S=Ht(Yo(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Zo.fail)(a),S}getToken(a){let r=ea.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(r.json(),"access_token",""),tokenType:Ht(r.json(),"token_type",""),idToken:Ht(r.json(),"id_token",""),expiresIn:Ht(r.json(),"expires_in",0)};return(r.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Zo.fail)(this.tokenURL),v}};var zs={};jt(zs,{POST__get_roles:()=>qb});var qb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var qs={};jt(qs,{SEARCH__search_for_resources:()=>Gb});var Gb=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var Gs={};jt(Gs,{DELETE__delete_resource:()=>$b,GET__download_resource:()=>Xb,MKCOL__create_resource:()=>Hb,MOVE__move_resource:()=>Jb,PROPFIND__get_properties_for_resource:()=>Kb,PUT__upload_resource:()=>Wb,REPORT__get_report_for_resources:()=>Vb});var Wb=(c,{resourceBytes:a,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,a),Xb=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),Hb=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),$b=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),Jb=(c,{toResourcePath:a,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),Kb=(c,{root:a,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,v),Vb=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a);var Ws={};jt(Ws,{DELETE__delete_resource:()=>eE,GET__download_resource:()=>Qb,MKCOL__create_resource:()=>Zb,MOVE__move_resource:()=>tE,PROPFIND__get_properties_for_resource:()=>rE,PUT__upload_resource:()=>Yb});var Yb=(c,{resourcePath:a,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,v),Qb=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),Zb=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),eE=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),tE=(c,{toResourcePath:a,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),rE=(c,{propfindXml:a,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,a);var Xs={};jt(Xs,{DELETE__delete_tag:()=>iE,POST__create_tag:()=>nE,PROPFIND__get_tags_with_properties:()=>oE});var nE=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),iE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),oE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Hs={};jt(Hs,{DELETE__remove_tag_from_resource:()=>sE,PROPFIND__get_tags_with_properties_for_resource:()=>uE,PUT__add_tag_to_resource:()=>aE});var aE=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),sE=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),uE=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a);var $s={};jt($s,{GET__get_applications:()=>lE});var lE=c=>c("GET","/graph/v1.0/applications");var Js={};jt(Js,{DELETE__delete_drive:()=>fE,POST__create_drive:()=>cE});var cE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),fE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Ks={};jt(Ks,{DELETE__remove_tags_from_resource:()=>hE,PUT__add_tags_to_resource:()=>pE});var pE=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),hE=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a}));var Vs={};jt(Vs,{DELETE__delete_group:()=>mE,POST__create_group:()=>dE});var dE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),mE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Ys={};jt(Ys,{GET__current_user:()=>yE,GET__get_current_user_drives:()=>vE});var vE=c=>c("GET","/graph/v1.0/me/drives"),yE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Qs={};jt(Qs,{DELETE__delete_user:()=>_E,POST__add_app_role_to_user:()=>xE,POST__create_user:()=>gE});var gE=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),_E=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),xE=(c,{resourceId:a,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:a}));var Zs={};jt(Zs,{DELETE__delete_group:()=>EE,POST__create_group:()=>bE});var bE=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),EE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{DELETE__delete_user:()=>AE,POST__create_user:()=>wE,PUT__enable_user:()=>SE});var wE=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),SE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),AE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{GET__search_for_sharees:()=>CE});var CE=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var ru={};jt(ru,{DELETE__delete_share:()=>NE,POST__accept_share:()=>TE,POST__create_share:()=>DE});var DE=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:v,shareReceiver:S},y)=>{let g={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:a.toString()};return y?.platform!==ie.ownCloudInfiniteScale&&(s=JSON.stringify(s),g["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:g})},TE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),NE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:zs}},dav:{...qs,files:Gs,spaces:Ws,systemtags:Xs,systemtags_relations:Hs},graph:{v1:{applications:$s,drives:Js,extensions:{org_libre_graph:{tags:Ks}},groups:Vs,me:Ys,users:Qs}},ocs:{v2:{apps:{cloud:{groups:Zs,users:eu},file_sharing:{v1:{sharees:tu,shares:ru}}}}}};var cp=Qt(ki());var Tp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Np=require("k6/http");var iu=require("https://jslib.k6.io/url/1.0.0/index.js"),na=require("k6"),Fp=Qt(js());var Ip=Qt(ki()),OE=Object.defineProperty,It=(c,a)=>{for(var r in a)OE(c,r,{get:a[r],enumerable:!0})},FE={};It(FE,{Adapter:()=>IE,BasicAuth:()=>PE,Kopano:()=>kE});var IE={kopano:"kopano",basicAuth:"basicAuth"},PE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${up.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},kE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),r=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+r.expiresIn-5),v})(),token:r}}return this.cache.token}getContinueURI(){let c=ra.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Vo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,ta.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,r=ra.default.get(a,{redirects:0}),v=Ht(Yo(r.headers.Location),"code");return(r.status!==302||!v)&&(0,ta.fail)(c),v}getToken(c){let a=ra.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),r={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!r.accessToken||!r.tokenType||!r.idToken||!r.expiresIn)&&(0,ta.fail)(this.tokenURL),r}},LE={};It(LE,{Client:()=>KE,EndpointClient:()=>wr});var wr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},BE=class extends wr{listApplications(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},ME=class extends wr{createDrive(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},RE=class extends wr{createGroup(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===r}),a}},jE=class extends wr{getMyProfile(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,cp.create)({version:"1.0",encoding:"UTF-8"}),UE={[ie.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[ie.ownCloudServer](){return this[ie.ownCloudInfiniteScale]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},sp={[ie.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){return this[ie.ownCloudInfiniteScale](c)},[ie.nextcloud](c){let{root:a,searchQuery:r,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(r).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},zE={[ie.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[ie.nextcloud](c){return this[ie.ownCloudServer](c)}},fp={[ie.ownCloudInfiniteScale](){return""},[ie.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},qE={[ie.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[ie.ownCloudServer](){return fp[ie.ownCloudServer]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},GE=class extends wr{createResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=UE[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},WE=class extends wr{getRoles(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},XE=class extends wr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case ie.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:sp[this.platform](c)});break;case ie.ownCloudServer:case ie.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:sp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:zE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},HE=class extends wr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},$E=class extends wr{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,y;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:y=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!y,val:y},{"client -> tag.createTag - status":g=>g?.status===201}),y}deleteTag(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:fp[this.platform]({})});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),a}getTagsForResource(c){let a=qE[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},JE=class extends wr{createUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case ie.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===a}),r}enableUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},KE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Qo({authn:a,baseUrl:c.baseUrl,params:{jar:new lp.CookieJar}});this.application=new BE(c.platform,r),this.drive=new ME(c.platform,r),this.group=new RE(c.platform,r),this.me=new jE(c.platform,r),this.resource=new GE(c.platform,r),this.role=new WE(c.platform,r),this.search=new XE(c.platform,r),this.share=new HE(c.platform,r),this.tag=new $E(c.platform,r),this.user=new JE(c.platform,r)}},nu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},VE={};It(VE,{ItemType:()=>Uw,Permission:()=>zw,ShareType:()=>jw,endpoints:()=>qw});var pp={};It(pp,{POST__get_roles:()=>YE});var YE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),hp={};It(hp,{SEARCH__search_for_resources:()=>QE});var QE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),dp={};It(dp,{DELETE__delete_resource:()=>rw,GET__download_resource:()=>ew,MKCOL__create_resource:()=>tw,MOVE__move_resource:()=>nw,PROPFIND__get_properties_for_resource:()=>iw,PUT__upload_resource:()=>ZE,REPORT__get_report_for_resources:()=>ow});var ZE=(c,{resourceBytes:a,root:r,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${r}/${v}`,a),ew=(c,{root:a,resourcePath:r})=>c("GET",`/remote.php/dav/files/${a}/${r}`),tw=(c,{resourcePath:a,root:r})=>c("MKCOL",`/remote.php/dav/files/${r}/${a}`),rw=(c,{resourcePath:a,root:r})=>c("DELETE",`/remote.php/dav/files/${r}/${a}`),nw=(c,{toResourcePath:a,root:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${r}/${a}`}}),iw=(c,{root:a,resourcePath:r,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${r}`,v),ow=(c,{reportXml:a,root:r})=>c("REPORT",`/remote.php/dav/files/${r}`,a),mp={};It(mp,{DELETE__delete_resource:()=>lw,GET__download_resource:()=>sw,MKCOL__create_resource:()=>uw,MOVE__move_resource:()=>cw,PROPFIND__get_properties_for_resource:()=>fw,PUT__upload_resource:()=>aw});var aw=(c,{resourcePath:a,driveId:r,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${r}/${a}`,v),sw=(c,{resourcePath:a,driveId:r})=>c("GET",`/remote.php/dav/spaces/${r}/${a}`),uw=(c,{resourcePath:a,driveId:r})=>c("MKCOL",`/remote.php/dav/spaces/${r}/${a}`),lw=(c,{resourcePath:a,driveId:r})=>c("DELETE",`/remote.php/dav/spaces/${r}/${a}`),cw=(c,{toResourcePath:a,driveId:r,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${r}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${r}/${a}`}}),fw=(c,{propfindXml:a,resourcePath:r,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${r}`,a),vp={};It(vp,{DELETE__delete_tag:()=>hw,POST__create_tag:()=>pw,PROPFIND__get_tags_with_properties:()=>dw});var pw=(c,{tagName:a,userAssignableTag:r=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:r,userVisible:S}),{headers:{"Content-Type":"application/json"}}),hw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),dw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),yp={};It(yp,{DELETE__remove_tag_from_resource:()=>vw,PROPFIND__get_tags_with_properties_for_resource:()=>yw,PUT__add_tag_to_resource:()=>mw});var mw=(c,{tagId:a,resourceId:r})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),vw=(c,{tagId:a,resourceId:r})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${r}/${a}`),yw=(c,{propfindXml:a,resourceId:r})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${r}`,a),gp={};It(gp,{GET__get_applications:()=>gw});var gw=c=>c("GET","/graph/v1.0/applications"),_p={};It(_p,{DELETE__delete_drive:()=>xw,POST__create_drive:()=>_w});var _w=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),xw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),xp={};It(xp,{DELETE__remove_tags_from_resource:()=>Ew,PUT__add_tags_to_resource:()=>bw});var bw=(c,{tagNames:a,resourceId:r})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),Ew=(c,{tagNames:a,resourceId:r})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:r,tags:a})),bp={};It(bp,{DELETE__delete_group:()=>Sw,POST__create_group:()=>ww});var ww=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),Sw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),Ep={};It(Ep,{GET__current_user:()=>Cw,GET__get_current_user_drives:()=>Aw});var Aw=c=>c("GET","/graph/v1.0/me/drives"),Cw=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),wp={};It(wp,{DELETE__delete_user:()=>Tw,POST__add_app_role_to_user:()=>Nw,POST__create_user:()=>Dw});var Dw=(c,{userLogin:a,userPassword:r})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:r}})),Tw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Nw=(c,{resourceId:a,principalId:r,appRoleId:v})=>c("POST",`/graph/v1.0/users/${r}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:r,resourceId:a})),Sp={};It(Sp,{DELETE__delete_group:()=>Fw,POST__create_group:()=>Ow});var Ow=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_user:()=>kw,POST__create_user:()=>Iw,PUT__enable_user:()=>Pw});var Iw=(c,{userPassword:a,userLogin:r})=>c("POST","/ocs/v2.php/cloud/users",{userid:r,password:a,email:`${r}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Pw=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),kw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{GET__search_for_sharees:()=>Lw});var Lw=(c,{searchQuery:a,searchItemType:r})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:r,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Dp={};It(Dp,{DELETE__delete_share:()=>Rw,POST__accept_share:()=>Mw,POST__create_share:()=>Bw});var Bw=(c,{shareReceiverPermission:a,shareType:r,shareResourcePath:v,shareReceiver:S},y)=>{let g={"OCS-APIRequest":"true"},s={path:v,shareType:r.toString(),shareWith:S,permissions:a.toString()};return y?.platform!==ie.ownCloudInfiniteScale&&(s=JSON.stringify(s),g["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:g})},Mw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Rw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),jw={user:0,group:1,publicLink:3,federatedCloudShare:6},Uw={file:"file",folder:"folder"},zw={read:0,update:2,create:4,delete:8,share:16,all:31},qw={api:{v0:{settings:pp}},dav:{...hp,files:dp,spaces:mp,systemtags:vp,systemtags_relations:yp},graph:{v1:{applications:gp,drives:_p,extensions:{org_libre_graph:{tags:xp}},groups:bp,me:Ep,users:wp}},ocs:{v2:{apps:{cloud:{groups:Sp,users:Ap},file_sharing:{v1:{sharees:Cp,shares:Dp}}}}}},Gw={};It(Gw,{check:()=>Vw,cleanURL:()=>Op,group:()=>Kw,objectToQueryString:()=>Hw,platformGuard:()=>Xw,queryJson:()=>Pp,queryStringToObject:()=>$w,queryXml:()=>Yw,randomString:()=>Ww,requestFactory:()=>Jw});var Ww=(c=10,a)=>(0,Tp.randomString)(c,a),Xw=c=>({isOwnCloudInfiniteScale:c===ie.ownCloudInfiniteScale,isOwnCloudServer:c===ie.ownCloudServer,isNextcloud:c===ie.nextcloud}),Op=(...c)=>c.join("/").replace(/(?new iu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),$w=c=>{let a=new URL(c).search,r=new iu.URLSearchParams(a);return Object.fromEntries(r)},Jw=c=>(a,r,v,S)=>{let y=Sn({},c.params);return c.authn&&An(y,"headers.Authorization",c.authn.header),c.params?.jar&&An(y,"jar",c.params.jar),(0,Np.request)(a,Op(c.baseUrl,r),v,Sn(y,S))},Kw=(c,a)=>(0,na.group)(c,()=>a(c)),Vw=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,na.check)(c.val,r,c.tags)},Pp=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Fp.query(r,c).map(v=>At(v)&&Ii(v)?void 0:v)},Yw=(c,a)=>{let r=Ip.create(a).end({format:"object"});return Pp(c,r)};var Qw=Qt(require("k6/encoding")),Zw=require("k6"),eS=Qt(require("k6/http"));var ia={kopano:"kopano",basicAuth:"basicAuth"};var Lp=require("k6/http");var Bp=Qt(ki());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},tS=class extends Nr{listApplications(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},rS=class extends Nr{createDrive(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":r=>r?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":r=>r?.status===204}),a}},nS=class extends Nr{createGroup(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:r})=>r===200}),a}deleteGroup(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),r=200;break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),r=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===r}),a}},iS=class extends Nr{getMyProfile(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Bp.create)({version:"1.0",encoding:"UTF-8"}),oS={[ie.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[ie.ownCloudServer](){return this[ie.ownCloudInfiniteScale]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},kp={[ie.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){return this[ie.ownCloudInfiniteScale](c)},[ie.nextcloud](c){let{root:a,searchQuery:r,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(r).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},aS={[ie.ownCloudInfiniteScale](c){let{tag:a,searchLimit:r=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(r.toString()).end()},[ie.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[ie.nextcloud](c){return this[ie.ownCloudServer](c)}},Mp={[ie.ownCloudInfiniteScale](){return""},[ie.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},sS={[ie.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[ie.ownCloudServer](){return Mp[ie.ownCloudServer]({})},[ie.nextcloud](){return this[ie.ownCloudServer]({})}},uS=class extends Nr{createResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:r})=>r===201}),a}deleteResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:r})=>r===204}),a}moveResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:r})=>r===201}),a}getResourceProperties(c){let a=oS[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:r},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),r}uploadResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:r})=>r===201}),a}downloadResource(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:r})=>r===200}),a}},lS=class extends Nr{getRoles(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":r=>r?.status===201}),a}},cS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:r})=>r===200}),a}searchForResources(c){let a;switch(this.platform){case ie.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:kp[this.platform](c)});break;case ie.ownCloudServer:case ie.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:kp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:r})=>r===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:aS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:r})=>r===207}),a}},fS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:r})=>r===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:r})=>r===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:r})=>r===200}),a}},pS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:r=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,y;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:y=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:r,userVisibleTag:v,canAssignTag:S});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!y,val:y},{"client -> tag.createTag - status":g=>g?.status===201}),y}deleteTag(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":r=>r?.status===204}),a}getTags(){let c;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Mp[this.platform]({})});break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===r}),a}removeTagFromResource(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case ie.ownCloudInfiniteScale:default:r=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===r}),a}getTagsForResource(c){let a=sS[this.platform]({}),r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case ie.ownCloudInfiniteScale:default:r=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:r},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),r}},hS=class extends Nr{createUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:r})=>r===200}),a}deleteUser(c){let a,r;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:r=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case ie.ownCloudInfiniteScale:default:r=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:r},{"client -> user.deleteUser - status":({status:v})=>v===a}),r}enableUser(c){let a;switch(this.platform){case ie.ownCloudServer:case ie.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case ie.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":r=>r?.status===200}),a}},ii=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let r=Qo({authn:a,baseUrl:c.baseUrl,params:{jar:new Lp.CookieJar}});this.application=new tS(c.platform,r),this.drive=new rS(c.platform,r),this.group=new nS(c.platform,r),this.me=new iS(c.platform,r),this.resource=new uS(c.platform,r),this.role=new lS(c.platform,r),this.search=new cS(c.platform,r),this.share=new fS(c.platform,r),this.tag=new pS(c.platform,r),this.user=new hS(c.platform,r)}};var Rp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var dS=require("k6/http");var mS=require("https://jslib.k6.io/url/1.0.0/index.js"),ou=require("k6"),zp=Qt(js());var qp=Qt(ki()),Fn=(c=10,a)=>(0,Rp.randomString)(c,a),jp=c=>({isOwnCloudInfiniteScale:c===ie.ownCloudInfiniteScale,isOwnCloudServer:c===ie.ownCloudServer,isNextcloud:c===ie.nextcloud});var Up=(c,a)=>{let r={...a};return c.skip&&Object.keys(r).forEach(v=>{r[`${v} -- (SKIPPED)`]=()=>!0,delete r[v]}),(0,ou.check)(c.val,r,c.tags)},au=(c,a)=>{if(!c||!a)return[];let r=a;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return zp.query(r,c).map(v=>At(v)&&Ii(v)?void 0:v)},Li=(c,a)=>{let r=qp.create(a).end({format:"object"});return au(c,r)};var Wp=Qt(require("k6/execution")),oa=Qt(Gp()),lr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ia.basicAuth?ia.basicAuth:ia.kopano,platform:nu[__ENV.PLATFORM]||nu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{folderCount:parseInt(__ENV.ASSETS_FOLDER_COUNT,10)||2,textDocumentCount:parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT,10)||2},k6:{vus:1,insecureSkipTLSVerify:!0}},Xp=lr.k6;function vS(){let c=new ii({...lr,userLogin:lr.admin.login,userPassword:lr.admin.password}),a=(0,oa.times)(Xp.vus||1,()=>{let[r,v]=[Fn(),Fn()];c.user.createUser({userLogin:r,userPassword:v}),c.user.enableUser({userLogin:r});let y=new ii({...lr,userLogin:r,userPassword:v}).me.getMyDrives(),[g=r]=au("$.value[?(@.driveType === 'personal')].id",y?.body);return{actorLogin:r,actorPassword:v,actorRoot:g}});return{adminData:{adminLogin:lr.admin.login,adminPassword:lr.admin.password},actorData:a}}function Hp({adminData:c,actorData:a}){let{actorLogin:r,actorPassword:v,actorRoot:S}=a[Wp.default.vu.idInTest-1],y=new ii({...lr,userLogin:r,userPassword:v}),g=new ii({...lr,userLogin:c.adminLogin,userPassword:c.adminPassword}),s=[],h={},i={...jp(lr.platform)},o=(0,oa.times)(lr.assets.folderCount,()=>Fn()),l=(0,oa.times)(lr.assets.textDocumentCount,()=>[Fn(),".txt"].join("")),u=f=>{if(i.isOwnCloudInfiniteScale)return f;let m=y.tag.getTags(),[{"oc:id":p}={"oc:id":""}]=Li(`$..[?(@['oc:display-name'] === '${f}')]`,m?.body);if(p)return p;let{headers:{"Content-Location":t}}=y.tag.createTag({tagName:f})||{headers:{"Content-Location":""}};return t.split("/").pop()};[...o,...l].forEach(f=>{let m=f.match(/\.[0-9a-z]+$/i),p=u(Fn());m?y.resource.uploadResource({root:S,resourcePath:f,resourceBytes:Fn()}):y.resource.createResource({root:S,resourcePath:f}),s.push(()=>{g.tag.deleteTag({tag:p}),y.resource.deleteResource({root:S,resourcePath:f})});let t=y.resource.getResourceProperties({root:S,resourcePath:f}),[e]=Li("$..['oc:fileid']",t.body);y.tag.addTagToResource({resourceId:e,tag:p});let _=()=>{let E=[],w=y.tag.getTagsForResource({resourceId:e,root:S,resourcePath:f});return i.isOwnCloudServer||i.isNextcloud?E=Li(`$..[?(@['oc:id'] === '${p}')]['oc:id']`,w.body):E=Li("$..['oc:tags']",w.body),E[0]},b=_();h["test -> tag - assign"]=()=>b===p,y.tag.removeTagFromResource({resourceId:e,tag:p});let x=_();h["test -> tag - unassign"]=()=>x===void 0}),s.forEach(f=>{f()}),Up({val:void 0},h)}function yS({adminData:c,actorData:a}){let r=new ii({...lr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{r.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/oc-share-upload-rename.js b/packages/k6-tests/artifacts/oc-share-upload-rename.js index 09225e2..c86e8e5 100644 --- a/packages/k6-tests/artifacts/oc-share-upload-rename.js +++ b/packages/k6-tests/artifacts/oc-share-upload-rename.js @@ -1,90 +1,90 @@ -"use strict";var Eg=Object.create;var bo=Object.defineProperty;var wg=Object.getOwnPropertyDescriptor;var Sg=Object.getOwnPropertyNames;var Ag=Object.getPrototypeOf,Dg=Object.prototype.hasOwnProperty;var Gs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Cg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},dc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Sg(l))!Dg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=wg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?Eg(Ag(E)):{},dc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),Tg=E=>dc(bo({},"__esModule",{value:!0}),E);var Zs=Gs((lp,Qs)=>{(function(E){if(typeof lp=="object"&&typeof Qs<"u")Qs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function k(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function $(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function q(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,$(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),$(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if($(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&k(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(k(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function z(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!$(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:k(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&k(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&k(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if($(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],$(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if($(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!q(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?P():F===40||F===41||F===59?D():F===39||F===34?z():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function $e(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?$e():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?$e():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function ze(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new ze(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function qe(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function Je(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ft(){return xe("."),Je()}function Pr(){var F;return xe("["),F=St(),xe("]"),F}function kr(){var F,j,Z;return Z=S,Te("new"),F=$n(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function xa(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?kr():ye(),C.allowIn=F;;){if(Ae("."))le=Ft(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=Pr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function $n(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?kr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=Pr(),j=b.createMemberExpression("[",j,Z)):(Z=Ft(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=xa(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!qe()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ba(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Ea(){var F,j,Z,le,be;return be=S,F=ba(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=Ea(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function wa(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=wa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Sa(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Jn(F){var j=[];do{if(j.push(Sa(F)),!Ae(","))break;we()}while(e<_);return j}function Aa(){var F;return Te("var"),F=Jn(),We(),b.createVariableDeclaration(F,"var")}function Da(F){var j,Z;return Z=S,Te(F),j=Jn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Ca(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Ta(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=qt(),je("else")?(we(),Z=qt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=qt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Na(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=qt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Fa(){var F,j,Z;return Z=S,F=we(),j=Jn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Oa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Fa(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=qt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):qe()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):qe()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):qe()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Ia(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=qt(),b.createWithStatement(F,j)}function Pa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=qt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function ka(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Pa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ba(){var F;return Te("throw"),qe()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function qt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Ca(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Oa(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Ta(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(ka(),be);case"throw":return b.markEnd(Ba(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(Aa(),be);case"while":return b.markEnd(Na(),be);case"with":return b.markEnd(Ia(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=qt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Da(S.value);case"function":return tn();default:return qt()}if(S.type!==a.EOF)return qt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function Pi(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function ki(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Pi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=La,m.parse=ki,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var $,Y,q,X,H,ee,re={},he,me,ne,Q;;){if(q=c[c.length-1],this.defaultActions[q]?X=this.defaultActions[q]:(($===null||typeof $>"u")&&($=G()),X=g[q]&&g[q][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[q])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var sg=Object.create;var ko=Object.defineProperty;var ug=Object.getOwnPropertyDescriptor;var lg=Object.getOwnPropertyNames;var cg=Object.getPrototypeOf,fg=Object.prototype.hasOwnProperty;var Ns=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports),jt=(l,i)=>{for(var t in i)ko(l,t,{get:i[t],enumerable:!0})},mc=(l,i,t,m)=>{if(i&&typeof i=="object"||typeof i=="function")for(let S of lg(i))!fg.call(l,S)&&S!==t&&ko(l,S,{get:()=>i[S],enumerable:!(m=ug(i,S))||m.enumerable});return l};var er=(l,i,t)=>(t=l!=null?sg(cg(l)):{},mc(i||!l||!l.__esModule?ko(t,"default",{value:l,enumerable:!0}):t,l)),pg=l=>mc(ko({},"__esModule",{value:!0}),l);var js=Ns((op,Ms)=>{(function(l){if(typeof op=="object"&&typeof Ms<"u")Ms.exports=l();else if(typeof define=="function"&&define.amd)define([],l);else{var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i=this,i.jsonpath=l()}})(function(){var l,i,t;return function m(S,_,y){function s(a,c){if(!_[a]){if(!S[a]){var u=typeof require=="function"&&require;if(!c&&u)return u(a,!0);if(h)return h(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var v=_[a]={exports:{}};S[a][0].call(v.exports,function(f){var r=S[a][1][f];return s(r||f)},v,v.exports,m,S,_,y)}return _[a].exports}for(var h=typeof require=="function"&&require,o=0;o",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],a={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function R(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(r&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Me(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return o.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?M():C():I(O)?M():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}v={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===a.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:a.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:a.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?a.LogicalExpression:a.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:a.BlockStatement,body:O}},createBreakStatement:function(O){return{type:a.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:a.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:a.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:a.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:a.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:a.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:a.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:a.EmptyStatement}},createExpressionStatement:function(O){return{type:a.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:a.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:a.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:a.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:a.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:a.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:a.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:a.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:a.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:a.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:a.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:a.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:a.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:a.Program,body:O}},createProperty:function(O,j,Z){return{type:a.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:a.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:a.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:a.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:a.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:a.ThisExpression}},createThrowStatement:function(O){return{type:a.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:a.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:a.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:a.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:a.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:a.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:a.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:a.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===a.Identifier||O.type===a.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(rr()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=r,Ee=w,ce=li(),j&&r&&ee(O[0].name)&&se(j,u.StrictParamName),r=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(r&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Ar()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=rr(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=rr(),E.markEnd(E.createProperty("init",j,ce),Le)}function oi(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===a.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?c.Data:j.kind==="get"?c.Get:c.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===c.Data?r&&Ee===c.Data?se({},u.StrictDuplicateProperty):Ee!==c.Data&&se({},u.AccessorDataProperty):Ee===c.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function ai(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return ai();if(Ce("["))return Et();if(Ce("{"))return oi();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)r&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Wi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function sa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Hr(),ce=w,Ee=Ri(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Hr(),Le=[Ot,ce,rt];(Ee=Ri(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Hr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function ua(){var O,j,Z,ce,Ee;return Ee=w,O=sa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=rr(),D.allowIn=j,be(":"),ce=rr(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function rr(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=ua(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),r&&j.type===a.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=rr(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=rr(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function fn(){var O,j;return j=w,be("{"),O=la(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Ar(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function ca(O){var j=null,Z,ce;return ce=w,Z=Ar(),r&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=rr()):Ce("=")&&(Se(),j=rr()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function ui(O){var j=[];do{if(j.push(ca(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=Kt(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Ar(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function ji(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Ar(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function Ui(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function _a(){var O,j;return r&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=Kt(),E.createWithStatement(O,j)}function ga(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function ci(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Hi(){var O,j;return Q(),ct(),j=w,r=!1,O=Xi(),E.markEnd(E.createProgram(O),j)}function kn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}kn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function $i(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=v,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Hi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(kn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=Ea,y.parse=$i,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in a)a.hasOwnProperty(O)&&(j[O]=a[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(m,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,v,f,r,e,g,b){r.ast||(r.ast=o,o.initialize());var x=g.length-1;switch(e){case 1:return r.ast.set({expression:{type:"root",value:g[x]}}),r.ast.unshift(),r.ast.yield();break;case 2:return r.ast.set({expression:{type:"root",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 3:return r.ast.unshift(),r.ast.yield();break;case 4:return r.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 5:break;case 6:break;case 7:r.ast.set({operation:"member"}),r.ast.push();break;case 8:r.ast.set({operation:"subscript"}),r.ast.push();break;case 9:r.ast.set({scope:"child"});break;case 10:r.ast.set({scope:"descendant"});break;case 11:break;case 12:r.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:r.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:r.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:r.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:r.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:r.ast.set({scope:"child"});break;case 20:r.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?r.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},r.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},r.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},r.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},r.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},r.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},r.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,v){if(v.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var v=this,f=[0],r=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,r.length=r.length-le,e.length=e.length-le}function G(){var le;return le=v.lexer.lex()||T,typeof le!="number"&&(le=v.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+$);switch(X[0]){case 1:c.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),$=null,Y?($=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(k){k.path=_.path.concat(k.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],k=function(G,$){s(G)?(G.forEach(function(Y,q){R.length>=T||C(q,Y,S)&&R.push({path:$.concat(q),value:Y})}),G.forEach(function(Y,q){R.length>=T||_&&k(Y,$.concat(q))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),r.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=r[r.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],r,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),r=r.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),r.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},a=function(){var u={EOF:1,parseError:function(v,f){if(this.yy.parser)this.yy.parser.parseError(v,f);else throw new Error(v)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var v=p.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var v=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),v=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+v+"^"},test_match:function(p,v){var f,r,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),r=p[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,v,f,r;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gv[0].length)){if(v=f,r=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(p=this.test_match(v,e[r]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,f,r,e){var g=e;switch(r){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=a;function c(){this.yy={}}return c.prototype=h,h.Parser=c,new c}();typeof m<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),y.exit(1));var a=m("fs").readFileSync(m("path").normalize(o[1]),"utf8");return _.parser.parse(a)},typeof S<"u"&&m.main===S&&_.main(y.argv.slice(1)))}).call(this,m("_process"))},{_process:14,fs:12,path:13}],2:[function(m,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(m,S,_){var y=m("./dict"),s=m("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(m.resolve("../include/module.js")),h.actionInclude=s.readFileSync(m.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(m,S,_){var y=m("./aesprim"),s=m("./slice"),h=m("static-eval"),o=m("underscore").uniq,a=function(){return this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},a.prototype.keys=Object.keys,a.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},a.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},a.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":r(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":r(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":r(function(){return!0}),"subscript-descendant-wildcard":r(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=m(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(R){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$..value")}},a.prototype._fns["subscript-child-string_literal"]=a.prototype._fns["member-child-identifier"],a.prototype._fns["member-descendant-numeric_literal"]=a.prototype._fns["subscript-descendant-string_literal"]=a.prototype._fns["member-descendant-identifier"];function c(x,E,w){var D=m("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),R=D.nodes(x.value,I);return R.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),R}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function v(x){return function(E,w,D,T){var N=E.value,I=E.path,R=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){R.length>=T||D(z,Y,w)&&R.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){R.length>=T||D(Y,G[Y],w)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function r(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),o(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=a},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(m,S,_){var y=m("assert"),s=m("./dict"),h=m("./parser"),o=m("./handlers"),a=function(){this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.parser=new h,this.handlers=new o},a.prototype.parse=function(p){return y.ok(c(p),"we need a path"),this.parser.parse(p)},a.prototype.parent=function(p,v){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var f=this.nodes(p,v)[0],r=f.path.pop();return this.value(p,f.path)},a.prototype.apply=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var r=this.nodes(p,v).sort(function(e,g){return g.path.length-e.path.length});return r.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),r},a.prototype.value=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),arguments.length>=3){var r=this.nodes(p,v).shift();if(!r)return this._vivify(p,v,f);var e=r.path.slice(-1).shift(),g=this.parent(p,this.stringify(r.path));g[e]=f}return this.query(p,this.stringify(v),1).shift()},a.prototype._vivify=function(p,v,f){var r=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var e=this.parser.parse(v).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=r.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=r.value(p,b)),w[E]=x};return g(e,f),this.query(p,v)[0]},a.prototype.query=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(c(v),"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.value});return r},a.prototype.paths=function(p,v,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.path});return r},a.prototype.nodes=function(p,v,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(v,"we need a path"),f===0)return[];var r=this.parser.parse(v),e=this.handlers,g=[{path:["$"],value:p}],b=[];return r.length&&r[0].expression.type=="root"&&r.shift(),r.length?(r.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==r.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},a.prototype.stringify=function(p){y.ok(p,"we need a path");var v="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(r){if(r.expression.type!="root"){var e=[r.scope,r.operation].join("-"),g=f[e],b;if(r.expression.type=="string_literal"?b=JSON.stringify(r.expression.value):b=r.expression.value,!g)throw new Error("couldn't find template "+e);v+=g.replace(/{{value}}/,b)}}),v},a.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,r){if(!(f=="$"&&r===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),v}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function c(p){return Object.prototype.toString.call(p)=="[object String]"}a.Handlers=o,a.Parser=h;var u=new a;u.JSONPath=a,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(m,S,_){var y=m("./grammar"),s=m("../generated/parser"),h=function(){var o=new s.Parser,a=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),a.apply(o,arguments)},o};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(m,S,_){S.exports=function(s,h,o,a){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof a=="string")throw new Error("step cannot be a string");var c=s.length;if(a===0)throw new Error("step cannot be zero");if(a=a?y(a):1,h=h<0?c+h:h,o=o<0?c+o:o,h=y(h===0?0:h||(a>0?0:c-1)),o=y(o===0?0:o||(a>0?c:-1)),h=a>0?Math.max(0,h):Math.min(c,h),o=a>0?Math.min(o,c):Math.max(-1,o),a>0&&o<=h)return[];if(a<0&&h<=o)return[];for(var u=[],p=h;p!=o&&!(a<0&&p<=o||a>0&&p>=o);p+=a)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(m,S,_){var y=m("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,o=S.exports=v;o.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,R=N.indexOf(` `+I);if(R>=0){var k=N.indexOf(` -`,R+1);N=N.substring(k+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=P)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),k(ue.showHidden)&&(ue.showHidden=!1),k(ue.depth)&&(ue.depth=2),k(ue.colors)&&(ue.colors=!1),k(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var P=t(Q,ie);if(P)return P;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),q(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(q(ie))return e(ie)}var M="",z=!1,W=["{","}"];if(b(ie)&&(z=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),q(ie)&&(M=" "+e(ie)),D.length===0&&(!z||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return z?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,z)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,P){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` -`).map(function(z){return" "+z}).join(` -`).substr(2):B=` -`+B.split(` -`).map(function(z){return" "+z}).join(` -`))):B=Q.stylize("[Circular]","special")),k(L)){if(D&&P.match(/^\d+$/))return B;L=JSON.stringify(""+P),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,P=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?ue[0]+(ie===""?"":ie+` +`,R+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(o.AssertionError,Error);function a(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function c(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!f(E[R],w[R]))return!1;return!0}o.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",o.strictEqual)},o.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",o.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}o.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(m,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var o=function(){};o.prototype=h.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(m,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(m,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=c.styles[ie];return le?"\x1B["+c.colors[le][0]+"m"+Q+"\x1B["+c.colors[le][1]+"m":Q}function p(Q,ie){return Q}function v(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=r(Q,ie);if(P)return P;var C=Object.keys(ie),B=v(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";M=" [Function"+ae+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,M,W)}function r(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` +`).map(function(q){return" "+q}).join(` +`).substr(2):L=` +`+L.split(` +`).map(function(q){return" "+q}).join(` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function k(Q){return Q===void 0}y.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}y.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function q(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=q;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof eu=="object"?eu.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(q,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(q,X)},function(q,X){function H(){this.constructor=q}v(q,X),q.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(q){function X(H,ee){ee===void 0&&(ee="");var re=q.call(this,ee)||this;return re.name=H,re}return w(X,q),X}(Error);l.DOMException=y;var m=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DOMStringSizeError",H)||this}return w(X,q),X}(y);l.DOMStringSizeError=m;var a=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,q),X}(y);l.WrongDocumentError=a;var p=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoDataAllowedError",H)||this}return w(X,q),X}(y);l.NoDataAllowedError=p;var n=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,q),X}(y);l.NoModificationAllowedError=n;var i=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,q),X}(y);l.NotSupportedError=i;var u=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InUseAttributeError",H)||this}return w(X,q),X}(y);l.InUseAttributeError=u;var s=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,q),X}(y);l.InvalidStateError=s;var f=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,q),X}(y);l.InvalidModificationError=f;var d=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,q),X}(y);l.NamespaceError=d;var c=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,q),X}(y);l.InvalidAccessError=c;var t=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"ValidationError",H)||this}return w(X,q),X}(y);l.ValidationError=t;var e=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TypeMismatchError",H)||this}return w(X,q),X}(y);l.TypeMismatchError=e;var g=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,q),X}(y);l.SecurityError=g;var x=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,q),X}(y);l.NetworkError=x;var _=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,q),X}(y);l.AbortError=_;var b=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,q),X}(y);l.URLMismatchError=b;var S=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,q),X}(y);l.QuotaExceededError=S;var C=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,q),X}(y);l.TimeoutError=C;var T=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,q),X}(y);l.InvalidNodeTypeError=T;var N=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,q),X}(y);l.DataCloneError=N;var I=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,q),X}(y);l.NotImplementedError=I;var R=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,q),X}(y);l.HierarchyRequestError=R;var k=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,q),X}(y);l.NotFoundError=k;var G=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,q),X}(y);l.IndexSizeError=G;var $=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,q),X}(y);l.SyntaxError=$;var Y=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,q),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{k&&!k.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{$&&!$.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),q=Y.next();!q.done;q=Y.next())if(!e(q.value))return!1}catch(X){C={error:X}}finally{try{q&&!q.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(k,G,$,Y){return n.DocumentTypeImpl._create(k,G,$,Y)},l.create_element=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlUnknownElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_documentFragment=function(k){return u.DocumentFragmentImpl._create(k)},l.create_shadowRoot=function(k,G){return s.ShadowRootImpl._create(k,G)},l.create_attr=function(k,G){return f.AttrImpl._create(k,G)},l.create_text=function(k,G){return d.TextImpl._create(k,G)},l.create_cdataSection=function(k,G){return c.CDATASectionImpl._create(k,G)},l.create_comment=function(k,G){return t.CommentImpl._create(k,G)},l.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},l.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},l.create_nodeList=function(k){return x.NodeListImpl._create(k)},l.create_nodeListStatic=function(k,G){return _.NodeListStaticImpl._create(k,G)},l.create_namedNodeMap=function(k){return b.NamedNodeMapImpl._create(k)},l.create_range=function(k,G){return S.RangeImpl._create(k,G)},l.create_nodeIterator=function(k,G,$){return C.NodeIteratorImpl._create(k,G,$)},l.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(k,G,$,Y,q,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,q,X,H,ee,re)},l.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),k=o(25),G=o(81),$=o(57),Y=o(45),q=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,P=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,z=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,$e=function(_e,xe){var Te=W[_e]=x(P.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof P},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!ze.call(Te,je)||at(_e,je,Te[je])}),_e},ze=function(_e){var xe=e(_e,!0),Te=z.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},qe=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=q(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),$e(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),k(P,"withoutSetter",function(_e){return $e(q(_e),_e)}),I.f=ze,N.f=at,T.f=qe,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return $e(X(_e),_e)},a&&(B(P.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||k(ce,"propertyIsEnumerable",ze,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:P}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=P(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:qe}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=P();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,k=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(z){k={error:z}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var P=v(T._children),D=P.next();!D.done;D=P.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(z){$={error:z}}finally{try{D&&!D.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(z){q={error:z}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(q)throw q.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,k;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var $=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),q=Y.next();!q.done;q=Y.next()){var X=q.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{q&&!q.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){k={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){$={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var ce=C._previousSibling,P=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var z=(q=void 0,v(M._registeredObserverList)),W=z.next();!W.done;W=z.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){q={error:de}}finally{try{W&&!W.done&&(X=z.return)&&X.call(z)}finally{if(q)throw q.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,P)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,k,G,$,Y,q,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){k={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){$={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),P=ce.next();!P.done;P=ce.next()){var D;if((D=P.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){q={error:oe}}finally{try{P&&!P.done&&(X=ce.return)&&X.call(ce)}finally{if(q)throw q.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var z=[];C._parent!==null&&(z.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,z,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),k=[];C&&C._nodeType===p.NodeType.DocumentFragment?k=Array.from(C._children):C!==null&&k.push(C);try{for(var G=v(R),$=G.next();!$.done;$=G.next())S($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){x={error:k}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var k=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,k=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",$=!1,Y=g.prototype,q=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&q||k(S),H=x=="Array"&&Y.entries||q;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&q&&q.name!=="values"&&($=!0,X=function(){return q.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:k("values"),keys:C?X:k("keys"),entries:k("entries")},T)for(R in I)(c||$||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||$},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var q=[];;){var X=i(R,k);if(X===null||(q.push(X),!$))break;String(X[0])===""&&(R.lastIndex=n(k,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=k.slice(re,ne)+P,re=ne+me.length)}return ee+k.slice(re)}];function C(T,N,I,R,k,G){var $=I+T.length,Y=R.length,q=c;return k!==void 0&&(k=y(k),q=d),e.call(G,q,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(q){G={error:q}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){z=ge;break}if(z!==null)if(p.Guard.isNode(z.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(z.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",k);for(oe=0;oe0&&(q=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=q.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,k),I._type=ee}}}function _(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var k=o(34);l.Node=k.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var $=o(162);l.NodeList=$.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var q=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var P=o(151);l.XMLDocument=P.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var q=S[Y];m(S,Y,Y=="add"?function(X){return q.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:q.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:function(X,H){return q.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,k=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),$=!x&&u(function(){for(var Y=new b,q=5;q--;)Y[_](q,q);return!Y.has(-0)});G||((C=t(function(Y,q){n(Y,C,c);var X=d(new b,Y,C);return q!=null&&p(q,X[_],X,g),X})).prototype=S,S.constructor=C),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,k,G=b(T),$=C(T,N);return $?$.value=I:(G.last=$={index:k=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),u?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},C=function(T,N){var I,R=b(T),k=s(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(P,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|P}function c(P,D){if(n.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var L=P.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(P).length;default:if(B)return ie(P).length;D=(""+D).toLowerCase(),B=!0}}function t(P,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return k(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),B=!0}}function e(P,D,L){var B=P[D];P[D]=P[L],P[L]=B}function g(P,D,L,B,M){if(P.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:P.length-1),L<0&&(L=P.length+L),L>=P.length){if(M)return-1;L=P.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(P,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,D,L):Uint8Array.prototype.lastIndexOf.call(P,D,L):x(P,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(P,D,L,B,M){var z,W=1,oe=P.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(P.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,$e){return W===1?tt[$e]:tt.readUInt16BE($e*W)}if(M){var Se=-1;for(z=L;zoe&&(L=oe-de),z=L;z>=0;z--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var z=D.length;if(z%2!=0)throw new TypeError("Invalid hex string");B>z/2&&(B=z/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,P.length-L),P,L,B)}function I(P,D,L){return D===0&&L===P.length?w.fromByteArray(P):w.fromByteArray(P.slice(D,L))}function R(P,D,L){L=Math.min(P.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(z=P[M+1]))==128&&(de=(31&ge)<<6|63&z)>127&&(Se=de);break;case 3:z=P[M+1],W=P[M+2],(192&z)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&z)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:z=P[M+1],W=P[M+2],oe=P[M+3],(192&z)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&z)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var $e="",we=0;we0&&(P=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(P+=" ... ")),""},n.prototype.compare=function(P,D,L,B,M){if(!n.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=P?P.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>P.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===P)return 0;for(var z=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(z,W),de=this.slice(B,M),ge=P.slice(D,L),Se=0;SeM)&&(L=M),P.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var z=!1;;)switch(B){case"hex":return _(this,P,D,L);case"utf8":case"utf-8":return b(this,P,D,L);case"ascii":return S(this,P,D,L);case"latin1":case"binary":return C(this,P,D,L);case"base64":return T(this,P,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,D,L);default:if(z)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),z=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,D,L){var B="";L=Math.min(P.length,L);for(var M=D;MB)&&(L=B);for(var M="",z=D;zL)throw new RangeError("Trying to access beyond buffer length")}function X(P,D,L,B,M,z){if(!n.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||DP.length)throw new RangeError("Index out of range")}function H(P,D,L,B){D<0&&(D=65535+D+1);for(var M=0,z=Math.min(P.length-L,2);M>>8*(B?M:1-M)}function ee(P,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,z=Math.min(P.length-L,4);M>>8*(B?M:3-M)&255}function re(P,D,L,B,M,z){if(L+B>P.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(P,D,L,B,M){return M||re(P,0,L,4),y.write(P,D,L,B,23,4),L+4}function me(P,D,L,B,M){return M||re(P,0,L,8),y.write(P,D,L,B,52,8),L+8}n.prototype.slice=function(P,D){var L,B=this.length;if((P=~~P)<0?(P+=B)<0&&(P=0):P>B&&(P=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[P+--D]*M;return B},n.prototype.readUInt8=function(P,D){return D||q(P,1,this.length),this[P]},n.prototype.readUInt16LE=function(P,D){return D||q(P,2,this.length),this[P]|this[P+1]<<8},n.prototype.readUInt16BE=function(P,D){return D||q(P,2,this.length),this[P]<<8|this[P+1]},n.prototype.readUInt32LE=function(P,D){return D||q(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},n.prototype.readUInt32BE=function(P,D){return D||q(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},n.prototype.readIntLE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=this[P],M=1,z=0;++z=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=D,M=1,z=this[P+--B];B>0&&(M*=256);)z+=this[P+--B]*M;return z>=(M*=128)&&(z-=Math.pow(2,8*D)),z},n.prototype.readInt8=function(P,D){return D||q(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},n.prototype.readInt16LE=function(P,D){D||q(P,2,this.length);var L=this[P]|this[P+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(P,D){D||q(P,2,this.length);var L=this[P+1]|this[P]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(P,D){return D||q(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},n.prototype.readInt32BE=function(P,D){return D||q(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},n.prototype.readFloatLE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!0,23,4)},n.prototype.readFloatBE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!1,23,4)},n.prototype.readDoubleLE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!0,52,8)},n.prototype.readDoubleBE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!1,52,8)},n.prototype.writeUIntLE=function(P,D,L,B){P=+P,D|=0,L|=0,B||X(this,P,D,L,Math.pow(2,8*L)-1,0);var M=1,z=0;for(this[D]=255&P;++z=0&&(z*=256);)this[D+M]=P/z&255;return D+L},n.prototype.writeUInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[D]=255&P,D+1},n.prototype.writeUInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeUInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeUInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=P>>>24,this[D+2]=P>>>16,this[D+1]=P>>>8,this[D]=255&P):ee(this,P,D,!0),D+4},n.prototype.writeUInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeIntLE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=0,W=1,oe=0;for(this[D]=255&P;++z>0)-oe&255;return D+L},n.prototype.writeIntBE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=L-1,W=1,oe=0;for(this[D+z]=255&P;--z>=0&&(W*=256);)P<0&&oe===0&&this[D+z+1]!==0&&(oe=1),this[D+z]=(P/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[D]=255&P,D+1},n.prototype.writeInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8,this[D+2]=P>>>16,this[D+3]=P>>>24):ee(this,P,D,!0),D+4},n.prototype.writeInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeFloatLE=function(P,D,L){return he(this,P,D,!0,L)},n.prototype.writeFloatBE=function(P,D,L){return he(this,P,D,!1,L)},n.prototype.writeDoubleLE=function(P,D,L){return me(this,P,D,!0,L)},n.prototype.writeDoubleBE=function(P,D,L){return me(this,P,D,!1,L)},n.prototype.copy=function(P,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=P.length&&(D=P.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),P.length-D=0;--M)P[M+D]=this[M+L];else if(z<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,P||(P=0),typeof P=="number")for(z=D;z55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&z.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&z.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&z.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&z.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;z.push(L)}else if(L<2048){if((D-=2)<0)break;z.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;z.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;z.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return z}function ue(P){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(P))}function ce(P,D,L,B){for(var M=0;M=D.length||M>=P.length);++M)D[M+L]=P[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,z=M&&B[M],W=0;if(z)return z.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var z=typeof Symbol=="function"&&B[Symbol.iterator];if(!z)return B;var W,oe,de=z.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(z=de.return)&&z.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var z,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",z=B,W=1;W<=4;W++)M=(z%256).toString()+M,W!==4&&(M="."+M),z=Math.floor(z/256);return M}function I(B){for(var M="",z=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(z=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),z!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,z,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var $e=/[\u0009\u000A\u000D]/g;$e.test(B)&&e("Input string contains tab or newline characters."),B=B.replace($e,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=z===void 0||z==="replacement"||z==="UTF-16BE"||z==="UTF-16LE"?"UTF-8":z,K="",ze=!1,qe=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),ze&&(K="%40"+K),ze=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ze&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||qe)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(qe=!0),ae.c()==="]"&&(qe=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),$(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&q(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))$(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!k(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&q(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function k(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function q(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&q(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var z=L(m.utf8Decode(ue(B)));if(z===null||t.test(z))return e("Invalid domain."),null;var W=re(z);return W===null||m.isNumber(W)?W:z}function ee(B,M){M===void 0&&(M={value:!1});var z=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),z=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),z=8),B===""?0:(z===10?/^[0-9]+$/:z===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,z):null}function re(B){var M,z,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(qe=ee(tt,de))===null)return B;Se.push(qe)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(z=Be.return)&&z.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var $e=0;$e255&&(e("Invalid IP v4 address."),$e=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),ze=K.next();!ze.done;ze=K.next()){var qe;we+=(qe=ze.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{ze&&!ze.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,z=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;z[W]=256*z[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;z[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var $e=W-oe;for(W=7;W!==0&&$e>0;)M=w([z[oe+$e-1],z[W]],2),z[W]=M[0],z[oe+$e-1]=M[1],W--,$e--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return z}function me(B){var M,z;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},z=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)z[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);z[W]=ge,W++,oe+=2}else z[W]=de,W++}return z.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var z,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){z={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(z)throw z.error}}return de}function P(B){var M,z,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(z=Se.return)&&z.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var $e=v(de),we=$e.next();!we.done;we=$e.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),ze=K!==-1?at.slice(0,K):at,qe=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var z=n.domainToASCII(B);return z===""?(e("Invalid domain name."),null):z}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,z){var W=R(B,M,z);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.username=oe},l.setThePassword=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.password=oe},l.isSingleDotPathSegment=k,l.isDoubleDotPathSegment=G,l.shorten=$,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=q,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,z){return z===void 0&&(z=!1),C(B,z)===C(M,z)},l.urlEncodedStringParser=function(B){return P(m.utf8Encode(B))},l.urlEncodedParser=P,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var z,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){z={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var z=R(M.path[0]);return z===null?a.OpaqueOrigin:B(z);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var z=n.domainToUnicode(B);return z===""&&e("Invalid domain name."),z},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var $=_;$._parent!==null&&!i.tree_isAncestorOf(S,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=i.tree_index($)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),q=Y.next();!q.done;q=Y.next()){var X;(X=q.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{q&&!q.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var k=s(R.value,d,!0);i.mutation_append(k,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch($){c={error:$}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch($){e={error:$}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!s(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function R(Q){return typeof Q=="symbol"}_.isSymbol=R;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=m("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=m("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,m("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(m,S,_){},{}],13:[function(m,S,_){(function(y){function s(c,u){for(var p=0,v=c.length-1;v>=0;v--){var f=c[v];f==="."?c.splice(v,1):f===".."?(c.splice(v,1),p++):p&&(c.splice(v,1),p--)}if(u)for(;p--;p)c.unshift("..");return c}_.resolve=function(){for(var c="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var v=p>=0?arguments[p]:y.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;c=v+"/"+c,u=v.charAt(0)==="/"}return c=s(o(c.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+c||"."},_.normalize=function(c){var u=_.isAbsolute(c),p=a(c,-1)==="/";return c=s(o(c.split("/"),function(v){return!!v}),!u).join("/"),!c&&!u&&(c="."),c&&p&&(c+="/"),(u?"/":"")+c},_.isAbsolute=function(c){return c.charAt(0)==="/"},_.join=function(){var c=Array.prototype.slice.call(arguments,0);return _.normalize(o(c,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(c,u){c=_.resolve(c).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var v=p(c.split("/")),f=p(u.split("/")),r=Math.min(v.length,f.length),e=r,g=0;g=1;--r)if(u=c.charCodeAt(r),u===47){if(!f){v=r;break}}else f=!1;return v===-1?p?"/":".":p&&v===1?"/":c.slice(0,v)};function h(c){typeof c!="string"&&(c=c+"");var u=0,p=-1,v=!0,f;for(f=c.length-1;f>=0;--f)if(c.charCodeAt(f)===47){if(!v){u=f+1;break}}else p===-1&&(v=!1,p=f+1);return p===-1?"":c.slice(u,p)}_.basename=function(c,u){var p=h(c);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(c){typeof c!="string"&&(c=c+"");for(var u=-1,p=0,v=-1,f=!0,r=0,e=c.length-1;e>=0;--e){var g=c.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}v===-1&&(f=!1,v=e+1),g===46?u===-1?u=e:r!==1&&(r=1):u!==-1&&(r=-1)}return u===-1||v===-1||r===0||r===1&&u===v-1&&u===p+1?"":c.slice(u,v)};function o(c,u){if(c.filter)return c.filter(u);for(var p=[],v=0;v1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:o}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:o;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:o;if(u.type==="CallExpression"){var T=c(u.callee);if(T===o||typeof T!="function")return o;var N=u.callee.object?c(u.callee.object):o;N===o&&(N=null);for(var I=[],r=0,e=u.arguments.length;r{(function(l,i){typeof Ii=="object"&&typeof Us=="object"?Us.exports=i():typeof define=="function"&&define.amd?define([],i):typeof Ii=="object"?Ii.xmlbuilder2=i():l.xmlbuilder2=i()})(Ii,function(){return function(l){var i={};function t(m){if(i[m])return i[m].exports;var S=i[m]={i:m,l:!1,exports:{}};return l[m].call(S.exports,S,S.exports,t),S.l=!0,S.exports}return t.m=l,t.c=i,t.d=function(m,S,_){t.o(m,S)||Object.defineProperty(m,S,{enumerable:!0,get:_})},t.r=function(m){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},t.t=function(m,S){if(1&S&&(m=t(m)),8&S||4&S&&typeof m=="object"&&m&&m.__esModule)return m;var _=Object.create(null);if(t.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:m}),2&S&&typeof m!="string")for(var y in m)t.d(_,y,function(s){return m[s]}.bind(null,y));return _},t.n=function(m){var S=m&&m.__esModule?function(){return m.default}:function(){return m};return t.d(S,"a",S),S},t.o=function(m,S){return Object.prototype.hasOwnProperty.call(m,S)},t.p="",t(t.s=184)}([function(l,i,t){"use strict";function m(S){for(var _ in S)i.hasOwnProperty(_)||(i[_]=S[_])}Object.defineProperty(i,"__esModule",{value:!0}),m(t(240)),m(t(251)),m(t(175)),m(t(107)),m(t(29)),m(t(73)),m(t(106)),m(t(30)),m(t(252)),m(t(52)),m(t(97)),m(t(253)),m(t(37)),m(t(51)),m(t(173)),m(t(176)),m(t(172)),m(t(108)),m(t(254)),m(t(255)),m(t(256)),m(t(72)),m(t(177)),m(t(105)),m(t(17)),m(t(257)),m(t(12)),m(t(174))},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(212);i.FixedSizeSet=S.FixedSizeSet;var _=t(213);i.ObjectCache=_.ObjectCache;var y=t(214);i.CompareCache=y.CompareCache;var s=t(215);i.Lazy=s.Lazy;var h=t(216);function o(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function a(e){var g,b;if(c(e))return e;if(p(e)){var x=[];try{for(var E=m(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(a(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=a(N)}return x}return e}function c(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function v(e){return e instanceof Set}function f(e){return e instanceof Map}function r(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}i.StringWalker=h.StringWalker,i.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},i.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.Before=0]="Before",m[m.Equal=1]="Equal",m[m.After=2]="After"}(i.BoundaryPosition||(i.BoundaryPosition={})),function(m){m[m.None=0]="None",m[m.Capturing=1]="Capturing",m[m.AtTarget=2]="AtTarget",m[m.Bubbling=3]="Bubbling"}(i.EventPhase||(i.EventPhase={})),function(m){m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=3]="Text",m[m.CData=4]="CData",m[m.EntityReference=5]="EntityReference",m[m.Entity=6]="Entity",m[m.ProcessingInstruction=7]="ProcessingInstruction",m[m.Comment=8]="Comment",m[m.Document=9]="Document",m[m.DocumentType=10]="DocumentType",m[m.DocumentFragment=11]="DocumentFragment",m[m.Notation=12]="Notation"}(i.NodeType||(i.NodeType={})),function(m){m[m.Disconnected=1]="Disconnected",m[m.Preceding=2]="Preceding",m[m.Following=4]="Following",m[m.Contains=8]="Contains",m[m.ContainedBy=16]="ContainedBy",m[m.ImplementationSpecific=32]="ImplementationSpecific"}(i.Position||(i.Position={})),function(m){m[m.Accept=1]="Accept",m[m.Reject=2]="Reject",m[m.Skip=3]="Skip"}(i.FilterResult||(i.FilterResult={})),function(m){m[m.All=4294967295]="All",m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=4]="Text",m[m.CDataSection=8]="CDataSection",m[m.EntityReference=16]="EntityReference",m[m.Entity=32]="Entity",m[m.ProcessingInstruction=64]="ProcessingInstruction",m[m.Comment=128]="Comment",m[m.Document=256]="Document",m[m.DocumentType=512]="DocumentType",m[m.DocumentFragment=1024]="DocumentFragment",m[m.Notation=2048]="Notation"}(i.WhatToShow||(i.WhatToShow={})),function(m){m[m.StartToStart=0]="StartToStart",m[m.StartToEnd=1]="StartToEnd",m[m.EndToEnd=2]="EndToEnd",m[m.EndToStart=3]="EndToStart"}(i.HowToCompare||(i.HowToCompare={}))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(241);i.Cast=m.Cast;var S=t(150);i.Guard=S.Guard;var _=t(242);i.EmptySet=_.EmptySet},function(l,i,t){var m=t(11),S=t(55).f,_=t(21),y=t(25),s=t(80),h=t(119),o=t(123);l.exports=function(a,c){var u,p,v,f,r,e=a.target,g=a.global,b=a.stat;if(u=g?m:b?m[e]||s(e,{}):(m[e]||{}).prototype)for(p in c){if(f=c[p],v=a.noTargetGet?(r=S(u,p))&&r.value:u[p],!o(g?p:e+(b?".":"#")+p,a.forced)&&v!==void 0){if(typeof f==typeof v)continue;h(f,v)}(a.sham||v&&v.sham)&&_(f,"sham",!0),y(u,p,f,a)}}},function(l,i,t){var m=t(11),S=t(81),_=t(14),y=t(58),s=t(86),h=t(124),o=S("wks"),a=m.Symbol,c=h?a:a&&a.withoutSetter||y;l.exports=function(u){return _(o,u)||(s&&_(a,u)?o[u]=a[u]:o[u]=c("Symbol."+u)),o[u]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new m.CompareCache,this._rangeList=new m.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),m.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();i.dom=_.instance},function(l,i,t){"use strict";var m=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var g in r)Object.hasOwnProperty.call(r,g)&&(e[g]=r[g]);return e.default=r,e};Object.defineProperty(i,"__esModule",{value:!0});var S=m(t(228));i.base64=S;var _=m(t(146));i.byte=_;var y=m(t(147));i.byteSequence=y;var s=m(t(96));i.codePoint=s;var h=m(t(232));i.json=h;var o=m(t(233));i.list=o;var a=m(t(234));i.map=a;var c=m(t(235));i.namespace=c;var u=m(t(236));i.queue=u;var p=m(t(237));i.set=p;var v=m(t(238));i.stack=v;var f=m(t(239));i.string=f},function(l,i){l.exports=function(t){try{return!!t()}catch{return!0}}},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(z,X){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}m(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);i.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);i.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);i.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);i.NoDataAllowedError=h;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);i.NoModificationAllowedError=o;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);i.NotSupportedError=a;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);i.InUseAttributeError=c;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);i.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);i.InvalidModificationError=p;var v=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);i.NamespaceError=v;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);i.InvalidAccessError=f;var r=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);i.ValidationError=r;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);i.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);i.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);i.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);i.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);i.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);i.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);i.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);i.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);i.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);i.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);i.HierarchyRequestError=R;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);i.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);i.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);i.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);i.InvalidCharacterError=Y},function(l,i,t){"use strict";var m=t(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];l.exports=function(y,s){var h,o;if(s=s||{},Object.keys(s).forEach(function(a){if(S.indexOf(a)===-1)throw new m('Unknown option "'+a+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,o={},h!==null&&Object.keys(h).forEach(function(a){h[a].forEach(function(c){o[String(c)]=a})}),o),_.indexOf(this.kind)===-1)throw new m('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(l,i,t){(function(m){var S=function(_){return _&&_.Math==Math&&_};l.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof m=="object"&&m)||Function("return this")()}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.idl_defineConst=function(m,S,_){Object.defineProperty(m,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(l,i){l.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},function(l,i){var t={}.hasOwnProperty;l.exports=function(m,S){return t.call(m,S)}},function(l,i,t){var m=t(16),S=t(115),_=t(18),y=t(56),s=Object.defineProperty;i.f=m?s:function(h,o,a){if(_(h),o=y(o,!0),_(a),S)try{return s(h,o,a)}catch{}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(h[o]=a.value),h}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function o(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function a(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function c(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e,g){if(g===void 0&&(g=!1),g){var b=v(e,!1);return S.Guard.isShadowRoot(b)?v(b._host,!0):b}return e._parent?v(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function r(e){for(var g=v(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=o(g,x)}return-1}i.tree_getFirstDescendantNode=h,i.tree_getNextDescendantNode=o,i.tree_getDescendantNodes=a,i.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=a(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},i.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},i.tree_getFirstAncestorNode=c,i.tree_getNextAncestorNode=u,i.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=c(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},i.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=c(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=c(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var R=b[--D];if(R!==x[--T])break;N=R}return N},i.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},i.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},i.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var R=m(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=R.return)&&x.call(R)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=m(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=m(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},i.tree_nodeLength=p,i.tree_isEmpty=function(e){return p(e)===0},i.tree_rootNode=v,i.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=o(e,E,b,x)}return!1},i.tree_isAncestorOf=f,i.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=v(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},i.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},i.tree_isPreceding=function(e,g){var b=r(e),x=r(g);return b!==-1&&x!==-1&&v(e)===v(g)&&xb},i.tree_isParentOf=function(e,g){return e._parent===g},i.tree_isChildOf=function(e,g){return g._parent===e},i.tree_previousSibling=function(e){return e._previousSibling},i.tree_nextSibling=function(e){return e._nextSibling},i.tree_firstChild=function(e){return e._firstChild},i.tree_lastChild=function(e){return e._lastChild},i.tree_treePosition=r,i.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},i.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=v(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S))throw TypeError(String(S)+" is not an object");return S}},function(l,i,t){"use strict";var m=t(24),S=t(130),_=t(49),y=t(43),s=t(88),h=y.set,o=y.getterFor("Array Iterator");l.exports=s(Array,"Array",function(a,c){h(this,{type:"Array Iterator",target:m(a),index:0,kind:c})},function(){var a=o(this),c=a.target,u=a.kind,p=a.index++;return!c||p>=c.length?(a.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:c[p],done:!1}:{value:[p,c[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(l,i,t){var m=t(90),S=t(25),_=t(202);m||S(Object.prototype,"toString",_,{unsafe:!0})},function(l,i,t){var m=t(16),S=t(15),_=t(40);l.exports=m?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(l,i,t){"use strict";var m=t(137).charAt,S=t(43),_=t(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,o=s(this),a=o.string,c=o.index;return c>=a.length?{value:void 0,done:!0}:(h=m(a,c),o.index+=h.length,{value:h,done:!1})})},function(l,i,t){var m=t(11),S=t(203),_=t(19),y=t(21),s=t(5),h=s("iterator"),o=s("toStringTag"),a=_.values;for(var c in S){var u=m[c],p=u&&u.prototype;if(p){if(p[h]!==a)try{y(p,h,a)}catch{p[h]=a}if(p[o]||y(p,o,c),S[c]){for(var v in _)if(p[v]!==_[v])try{y(p,v,_[v])}catch{p[v]=_[v]}}}}},function(l,i,t){var m=t(41),S=t(35);l.exports=function(_){return m(S(_))}},function(l,i,t){var m=t(11),S=t(21),_=t(14),y=t(80),s=t(117),h=t(43),o=h.get,a=h.enforce,c=String(String).split("String");(l.exports=function(u,p,v,f){var r=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof v=="function"&&(typeof p!="string"||_(v,"name")||S(v,"name",p),a(v).source=c.join(typeof p=="string"?p:"")),u!==m?(r?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=v:S(u,p,v)):e?u[p]=v:y(p,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&o(this).source||s(this)})},function(l,i,t){var m=t(47),S=Math.min;l.exports=function(_){return _>0?S(m(_),9007199254740991):0}},function(l,i,t){var m=t(35);l.exports=function(S){return Object(m(S))}},function(l,i,t){var m=t(16),S=t(8),_=t(14),y=Object.defineProperty,s={},h=function(o){throw o};l.exports=function(o,a){if(_(s,o))return s[o];a||(a={});var c=[][o],u=!!_(a,"ACCESSORS")&&a.ACCESSORS,p=_(a,0)?a[0]:h,v=_(a,1)?a[1]:void 0;return s[o]=!!c&&!S(function(){if(u&&!m)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,c.call(f,p,v)})}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(148),S=t(149),_=t(151),y=t(98),s=t(153),h=t(154),o=t(155),a=t(99),c=t(100),u=t(156),p=t(157),v=t(101),f=t(158),r=t(159),e=t(160),g=t(161),b=t(162),x=t(163),E=t(164),w=t(165),D=t(166),T=t(167),N=t(168),I=t(169),R=t(170);i.create_domImplementation=function(k){return m.DOMImplementationImpl._create(k)},i.create_window=function(){return S.WindowImpl._create()},i.create_xmlDocument=function(){return new _.XMLDocumentImpl},i.create_document=function(){return new y.DocumentImpl},i.create_abortController=function(){return new s.AbortControllerImpl},i.create_abortSignal=function(){return h.AbortSignalImpl._create()},i.create_documentType=function(k,G,$,Y){return o.DocumentTypeImpl._create(k,G,$,Y)},i.create_element=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_htmlUnknownElement=function(k,G,$,Y){return a.ElementImpl._create(k,G,$,Y)},i.create_documentFragment=function(k){return c.DocumentFragmentImpl._create(k)},i.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},i.create_attr=function(k,G){return p.AttrImpl._create(k,G)},i.create_text=function(k,G){return v.TextImpl._create(k,G)},i.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},i.create_comment=function(k,G){return r.CommentImpl._create(k,G)},i.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},i.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},i.create_nodeList=function(k){return b.NodeListImpl._create(k)},i.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},i.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},i.create_range=function(k,G){return w.RangeImpl._create(k,G)},i.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},i.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},i.create_nodeFilter=function(){return N.NodeFilterImpl._create()},i.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},i.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(l,i,t){"use strict";var m=this&&this.__values||function(p){var v=typeof Symbol=="function"&&Symbol.iterator,f=v&&p[v],r=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&r>=p.length&&(p=void 0),{value:p&&p[r++],done:!p}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(17),y=t(3),s=t(72),h=new Map;function o(p,v){if(v!==p._root&&_.tree_isAncestorOf(p._reference,v,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,v);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(v,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(v._previousSibling===null)v._parent!==null&&(p._reference=v._parent);else{for(var r=v._previousSibling,e=_.tree_getFirstDescendantNode(v._previousSibling,!0,!1);e!==null;)e!==null&&(r=e),e=_.tree_getNextDescendantNode(v._previousSibling,e,!0,!1);p._reference=r}}}function a(p,v,f,r,e){if(y.Guard.isSlot(p)&&v==="name"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function c(p,v,f,r,e){if(y.Guard.isSlotable(p)&&v==="slot"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,v,f,r){v==="id"&&r===null&&(p._uniqueIdentifier=f||void 0)}i.dom_runRemovingSteps=function(p,v){},i.dom_runCloningSteps=function(p,v,f,r){},i.dom_runAdoptingSteps=function(p,v){},i.dom_runAttributeChangeSteps=function(p,v,f,r,e){var g,b;S.dom.features.slots&&(c.call(p,p,v,f,r,e),a.call(p,p,v,f,r,e)),u.call(p,p,v,r,e);try{for(var x=m(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,v,f,r,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},i.dom_runInsertionSteps=function(p){},i.dom_runNodeIteratorPreRemovingSteps=function(p,v){o.call(p,p,v)},i.dom_hasSupportedTokens=function(p){return h.has(p)},i.dom_getSupportedTokens=function(p){return h.get(p)||new Set},i.dom_runEventConstructingSteps=function(p){},i.dom_runChildTextContentChangeSteps=function(p){}},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(46),y=t(44),s=t(16),h=t(86),o=t(124),a=t(8),c=t(14),u=t(59),p=t(13),v=t(18),f=t(27),r=t(24),e=t(56),g=t(40),b=t(60),x=t(61),E=t(82),w=t(190),D=t(85),T=t(55),N=t(15),I=t(79),R=t(21),k=t(25),G=t(81),$=t(57),Y=t(45),z=t(58),X=t(5),H=t(125),ee=t(126),re=t(62),de=t(43),ve=t(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,M=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Me=S.QObject,je=!Me||!Me.prototype||!Me.prototype.findChild,ot=s&&a(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=o?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),v(xe);var Ce=e(be,!0);return v(Ne),c(W,Ce)?(Ne.enumerable?(c(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(c(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){v(xe);var Ne=r(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&c(W,be)&&!c(ae,be))&&(!(Ne||!c(this,be)||!c(W,be)||c(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=r(xe),Ce=e(be,!0);if(Ne!==fe||!c(W,Ce)||c(ae,Ce)){var ze=B(Ne,Ce);return!ze||!c(W,Ce)||c(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=M(r(xe)),Ne=[];return ve(be,function(Ce){c(W,Ce)||c(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=M(be?ae:r(xe)),Ce=[];return ve(Ne,function(ze){!c(W,ze)||be&&!c(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),c(this,ne)&&c(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),m({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),m({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(c(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(c(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),m({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),m({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),m({target:"Object",stat:!0,forced:a(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&m({target:"JSON",stat:!0,forced:!h||a(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(l,i,t){"use strict";var m=t(4),S=t(16),_=t(11),y=t(14),s=t(13),h=t(15).f,o=t(119),a=_.Symbol;if(S&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var c={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new a(e):e===void 0?a():a(e);return e===""&&(c[g]=!0),g};o(u,a);var p=u.prototype=a.prototype;p.constructor=u;var v=p.toString,f=String(a("test"))=="Symbol(test)",r=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=v.call(e);if(y(c,e))return"";var b=f?g.slice(7,-1):g.replace(r,"$1");return b===""?void 0:b}}),m({global:!0,forced:!0},{Symbol:u})}},function(l,i,t){t(126)("iterator")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(f,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,r)},function(f,r){function e(){this.constructor=f}m(f,r),f.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}),_=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),s=t(2),h=t(70),o=t(3),a=t(9),c=t(0),u=t(152),p=t(12),v=function(f){function r(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(r,f),Object.defineProperty(r.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=c.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeName",{get:function(){return o.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:o.Guard.isAttrNode(this)?this._qualifiedName:o.Guard.isExclusiveTextNode(this)?"#text":o.Guard.isCDATASectionNode(this)?"#cdata-section":o.Guard.isProcessingInstructionNode(this)?this._target:o.Guard.isCommentNode(this)?"#comment":o.Guard.isDocumentNode(this)?"#document":o.Guard.isDocumentTypeNode(this)?this._name:o.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isConnected",{get:function(){return o.Guard.isElementNode(this)&&c.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),r.prototype.getRootNode=function(e){return c.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(r.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parentElement",{get:function(){return this._parent&&o.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),r.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(r.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textContent",{get:function(){return o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.text_descendantTextContent(this):o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.node_stringReplaceAll(e,this):o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,c.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),r.prototype.normalize=function(){for(var e,g,b,x,E=[],w=c.tree_getFirstDescendantNode(this,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=c.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});for(var D=0;DR;R++)if((r||R in T)&&(w=N(E=T[R],R,D),a)){if(c)G[R]=w;else if(w)switch(a){case 3:return!0;case 5:return E;case 6:return R;case 2:h.call(G,E)}else if(v)return!1}return f?-1:p||v?v:G}};l.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6)}},function(l,i,t){"use strict";var m=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,R,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=m(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=m(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=m(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var R,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=m(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){R={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&r.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var ve=m(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=m(v.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;o.Guard.isDocumentNode(T)&&o.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&o.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(T))&&o.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return o.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&o.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&o.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var M=p.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,m(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=p.tree_getNextAncestorNode(T,M,!0)}y.dom.features.mutationObservers&&(N||r.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&o.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}i.mutation_ensurePreInsertionValidity=b,i.mutation_preInsert=x,i.mutation_insert=E,i.mutation_append=function(D,T){return x(D,T,null)},i.mutation_replace=function(D,T,N){var I,R,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=m(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=m(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=m(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=m(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var M=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(N,W,q,M,L),D},i.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var R=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=m(R),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(T,k,R,null,null)},i.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},i.mutation_remove=w},function(l,i,t){"use strict";function m(S){return S==null}l.exports.isNothing=m,l.exports.isObject=function(S){return typeof S=="object"&&S!==null},l.exports.toArray=function(S){return Array.isArray(S)?S:m(S)?[]:[S]},l.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},l.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},l.exports.extend=function(S,_){var y,s,h,o;if(_)for(y=0,s=(o=Object.keys(_)).length;y0?m:t)(S)}},function(l,i,t){"use strict";var m=t(8);l.exports=function(S,_){var y=[][S];return!!y&&m(function(){y.call(null,_||function(){throw 1},1)})}},function(l,i){l.exports={}},function(l,i,t){"use strict";t(31),t(32),t(33),t(220),t(64),t(19),t(65),t(20),t(68),t(66),t(92),t(144),t(22),t(94),t(23);var m=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,v,f,r,e){var g,b;try{for(var x=m(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,v,f,r,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,v){var f,r;try{for(var e=m(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,v)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(r=e.return)&&r.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,v){if(v&&!a.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(v&&(!a.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,v){if(v&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(v&&(!a.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,v){if(v&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,v,f,r,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=m(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=v.get(N.prefix,I),I===o.namespace.XMLNS){if(N.value===o.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in r)||r[N.localName]!==N.value)&&v.has(N.localName,N.value))continue;if(g&&N.value===o.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||v.hasPrefix(N.prefix)&&!v.has(N.prefix,I)?this._generatePrefix(I,v,f):N.prefix,E.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!a.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,v){var f,r,e=[],g=v?{}:void 0;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(v){if(v&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(v&&g&&(g[E.localName]=!0),v&&(E.localName.indexOf(":")!==-1||!a.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,v,f){var r,e,g=null;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===o.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===o.namespace.XML||(N===""&&(N=null),v.has(T,N)))continue;v.set(T,N),f[T]=N||""}}}catch(I){r={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},u.prototype._generatePrefix=function(p,v,f){var r="ns"+f.value.toString();return f.value++,v.set(r,p),r},u.prototype._serializeAttributeValue=function(p,v){if(v&&p!==null&&!a.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();i.BaseWriter=c},function(l,i,t){"use strict";var m=this&&this.__values||function(v){var f=typeof Symbol=="function"&&Symbol.iterator,r=f&&v[f],e=0;if(r)return r.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&e>=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),y=t(3),s=t(7),h=t(29),o=t(17),a=t(97);function c(){var v=_.dom.window;v._mutationObserverMicrotaskQueued||(v._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var v,f,r,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(R){var k=s.list.clone(R._recordQueue);s.list.empty(R._recordQueue);for(var G=0;G"+f+"<\/script>"},v=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,r;v=m?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(m):((r=o("iframe")).style.display="none",h.appendChild(r),r.src="javascript:",(f=r.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete v.prototype[y[e]];return v()};s[c]=!0,l.exports=Object.create||function(f,r){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[c]=f):e=v(),r===void 0?e:_(e,r)}},function(l,i,t){var m=t(121),S=t(84);l.exports=Object.keys||function(_){return m(_,S)}},function(l,i,t){var m=t(15).f,S=t(14),_=t(5)("toStringTag");l.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&m(y,_,{configurable:!0,value:s})}},function(l,i,t){var m=t(8),S=t(5),_=t(129),y=S("species");l.exports=function(s){return _>=51||!m(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(l,i,t){"use strict";var m=t(4),S=t(122).indexOf,_=t(48),y=t(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,o=_("indexOf"),a=y("indexOf",{ACCESSORS:!0,1:0});m({target:"Array",proto:!0,forced:h||!o||!a},{indexOf:function(c){return h?s.apply(this,arguments)||0:S(this,c,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(16),S=t(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;m&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(l,i,t){"use strict";var m=t(25),S=t(18),_=t(8),y=t(136),s=RegExp.prototype,h=s.toString,o=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),a=h.name!="toString";(o||a)&&m(RegExp.prototype,"toString",function(){var c=S(this),u=String(c.source),p=c.flags;return"/"+u+"/"+String(p===void 0&&c instanceof RegExp&&!("flags"in s)?y.call(c):p)},{unsafe:!0})},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(138),t(20),t(66),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(1),s=t(2),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(c,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},a.prototype._process=function(c,u){var p,v,f,r,e,g,b;if(c.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;u[v+(r++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?v+(r++).toString():v]=c;return r},a.prototype.beginElement=function(c){var u,p,v=[];if(this._currentList.length===0)this._currentList.push(((u={})[c]=v,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,c)?f[c].length!==0&&y.isArray(f[c][0])?f[c].push(v):f[c]=[f[c],v]:this._currentList.push(((p={})[c]=v,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=v:this._listRegister.push(v),this._currentList=v},a.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},a.prototype.attribute=function(c,u){var p,v;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[c]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][c]=u:this._currentList.push({"@":(v={},v[c]=u,v)})}},a.prototype.comment=function(c){if(this._currentList.length===0)this._currentList.push({"!":c});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(c):u["!"]=[u["!"],c]:this._currentList.push({"!":c})}},a.prototype.text=function(c){if(this._currentList.length===0)this._currentList.push({"#":c});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(c):u["#"]=[u["#"],c]:this._currentList.push({"#":c})}},a.prototype.instruction=function(c,u){var p=u===""?c:c+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var v=this._currentList[this._currentList.length-1];this._isInstructionNode(v)?y.isArray(v["?"])?v["?"].push(p):v["?"]=[v["?"],p]:this._currentList.push({"?":p})}},a.prototype.cdata=function(c){if(this._currentList.length===0)this._currentList.push({$:c});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(c):u.$=[u.$,c]:this._currentList.push({$:c})}},a.prototype._isAttrNode=function(c){return"@"in c},a.prototype._isTextNode=function(c){return"#"in c},a.prototype._isCommentNode=function(c){return"!"in c},a.prototype._isInstructionNode=function(c){return"?"in c},a.prototype._isCDATANode=function(c){return"$"in c},a.prototype._isElementNode=function(c,u){return u in c},a.prototype._getAttrKey=function(){return this._builderOptions.convert.att},a.prototype._getNodeKey=function(c){switch(c){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},a}(t(50).BaseWriter);i.ObjectWriter=h},function(l,i,t){"use strict";var m=t(4),S=t(93);m({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();i.LocalNameSet=m},function(l,i,t){"use strict";var m=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v};Object.defineProperty(i,"__esModule",{value:!0});var S=t(9),_=t(3),y=t(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(o,a,c){c===void 0&&(c={passive:!1,once:!1,capture:!1});var u,p=m(y.eventTarget_flattenMore(c),3),v=p[0],f=p[1],r=p[2];a&&(u=_.Guard.isEventListener(a)?a:{handleEvent:a},y.eventTarget_addEventListener(this,{type:o,callback:u,capture:v,passive:f,once:r,removed:!1}))},h.prototype.removeEventListener=function(o,a,c){c===void 0&&(c={capture:!1});var u=y.eventTarget_flatten(c);if(a)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,r){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(r===void 0||r-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],r=0;r",amp:"&",quot:'"',apos:"'"},_}();i.BaseReader=S},function(l,i,t){"use strict";var m=t(39);l.exports=m.DEFAULT=new m({include:[t(54)],explicit:[t(299),t(300),t(301)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(185);i.XMLBuilderImpl=m.XMLBuilderImpl;var S=t(304);i.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=t(183);i.builder=_.builder,i.create=_.create,i.fragment=_.fragment,i.convert=_.convert;var y=t(309);i.createCB=y.createCB,i.fragmentCB=y.fragmentCB},function(l,i){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}l.exports=t},function(l,i,t){"use strict";var m={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!m.call({1:2},1);i.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:m},function(l,i,t){var m=t(11),S=t(21);l.exports=function(_,y){try{S(m,_,y)}catch{m[_]=y}return y}},function(l,i,t){var m=t(44),S=t(118);(l.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:m?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(l,i,t){var m=t(121),S=t(84).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(_){return m(_,S)}},function(l,i,t){var m=t(47),S=Math.max,_=Math.min;l.exports=function(y,s){var h=m(y);return h<0?S(h+s,0):_(h,s)}},function(l,i){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(l,i){i.f=Object.getOwnPropertySymbols},function(l,i,t){var m=t(8);l.exports=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())})},function(l,i,t){var m=t(127);l.exports=function(S,_,y){if(m(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,o){return S.call(_,s,h,o)}}return function(){return S.apply(_,arguments)}}},function(l,i,t){"use strict";var m=t(4),S=t(195),_=t(132),y=t(133),s=t(62),h=t(21),o=t(25),a=t(5),c=t(44),u=t(49),p=t(131),v=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,r=a("iterator"),e=function(){return this};l.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,R,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[r]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),v!==Object.prototype&&N.next&&(c||_(N)===v||(y?y(N,v):typeof N[r]!="function"&&h(N,r,e)),s(N,G,!0,!0),c&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),c&&!T||Y[r]===X||h(Y,r,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(R in I)(f||$||!(R in Y))&&o(Y,R,I[R]);else m({target:b,proto:!0,forced:f||$},I);return I}},function(l,i,t){"use strict";var m=t(4),S=t(13),_=t(59),y=t(83),s=t(26),h=t(24),o=t(134),a=t(5),c=t(63),u=t(28),p=c("slice"),v=u("slice",{ACCESSORS:!0,0:0,1:2}),f=a("species"),r=[].slice,e=Math.max;m({target:"Array",proto:!0,forced:!p||!v},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return r.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),a&&(v=g.lastIndex),r=s.call(b?f:g,D),b?r?(r.input=r.input.slice(w),r[0]=r[0].slice(w),r.index=g.lastIndex,g.lastIndex+=r[0].length):g.lastIndex=0:a&&r&&(g.lastIndex=g.global?r.index+r[0].length:v),u&&r&&r.length>1&&h.call(r[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;m("replace",2,function(r,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),R=T?.[r];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=a(R,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(R.lastIndex=o(k,y(R.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,R,k,G){var $=I+T.length,Y=R.length,z=f;return k!==void 0&&(k=_(k),z=v),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?R[de-1]===void 0?H.charAt(1):R[de-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,o=0;o=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,R,N,k),I._type=ee}}}function x(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(i,"__esModule",{value:!0});var s=t(6),h=t(2),o=t(9),a=t(34),c=t(3),u=t(1),p=t(7),v=t(152),f=t(0),r=t(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return v.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(c.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new o.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new o.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new o.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),c.Guard.isDocumentNode(x)||c.Guard.isShadowRoot(x))throw new o.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(c.Guard.isDocumentNode(x))throw new o.NotSupportedError;if(c.Guard.isShadowRoot(x))throw new o.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new o.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,g,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var s=t(2),h=t(34),o=t(9),a=t(7),c=t(0),u=t(12),p=function(v){function f(){var r=v.call(this)||this;return r._children=new Set,r._namespace=null,r._namespacePrefix=null,r._localName="",r._customElementState="undefined",r._customElementDefinition=null,r._is=null,r._shadowRoot=null,r._attributeList=c.create_namedNodeMap(r),r._attributeChangeSteps=[],r._name="",r._assignedSlot=null,r}return S(f,v),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return c.element_getAnAttributeValue(this,"id")},set:function(r){c.element_setAnAttributeValue(this,"id",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return c.element_getAnAttributeValue(this,"class")},set:function(r){c.element_setAnAttributeValue(this,"class",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var r=c.element_getAnAttributeByName("class",this);return r===null&&(r=c.create_attr(this._nodeDocument,"class")),c.create_domTokenList(this,r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return c.element_getAnAttributeValue(this,"slot")},set:function(r){c.element_setAnAttributeValue(this,"slot",r)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var r,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},f.prototype.getAttribute=function(r){var e=c.element_getAnAttributeByName(r,this);return e?e._value:null},f.prototype.getAttributeNS=function(r,e){var g=c.element_getAnAttributeByNamespaceAndLocalName(r,e,this);return g?g._value:null},f.prototype.setAttribute=function(r,e){if(!c.xml_isName(r))throw new o.InvalidCharacterError;this._namespace===a.namespace.HTML&&this._nodeDocument._type==="html"&&(r=r.toLowerCase());for(var g=null,b=0;b=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(2),s=t(71),h=t(0),o=t(12),a=function(c){function u(p){p===void 0&&(p="");var v=c.call(this,p)||this;return v._name="",v._assignedSlot=null,v}return S(u,c),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,v,f="";try{for(var r=_(h.text_contiguousTextNodes(this,!0)),e=r.next();!e.done;e=r.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(v=r.return)&&v.call(r)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,v){v===void 0&&(v="");var f=new u(v);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);i.TextImpl=a,o.idl_defineConst(a.prototype,"_nodeType",y.NodeType.Text)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();i.AbstractRangeImpl=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=m.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();i.TraverserImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(0),_=t(12),y=function(){function s(h,o){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=m.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,o&&(this._bubbles=o.bubbles||!1,this._cancelable=o.cancelable||!1,this._composedFlag=o.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],o=this._path;if(o.length===0)return h;var a=this._currentTarget;if(a===null)throw new Error("Event currentTarget is null.");h.push(a);for(var c=0,u=0,p=o.length-1;p>=0;){if(o[p].rootOfClosedTree&&u++,o[p].invocationTarget===a){c=p;break}o[p].slotInClosedTree&&u--,p--}var v=u,f=u;for(p=c-1;p>=0;)o[p].rootOfClosedTree&&v++,v<=f&&h.unshift(o[p].invocationTarget),o[p].slotInClosedTree&&--v0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),y=t(3),s=t(1),h=t(99),o=t(73),a=t(17),c=t(173),u=t(30),p=t(52),v=t(37);i.document_elementInterface=function(f,r){return h.ElementImpl},i.document_internalCreateElementNS=function(f,r,e,g){var b=m(c.namespace_validateAndExtract(r,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},i.document_adopt=function(f,r){var e,g;if(f._nodeDocument!==r||f._parent!==null){var b=f._nodeDocument;if(f._parent&&v.mutation_remove(f,f._parent),r!==b)for(var x=a.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=r,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=r}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&o.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,r]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=a.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(l,i,t){"use strict";var m=this&&this.__values||function(a){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&a[c],p=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&p>=a.length&&(a=void 0),{value:a&&a[p++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(9),s=t(17),h=t(51),o=t(30);i.characterData_replaceData=function(a,c,u,p){var v,f,r=s.tree_nodeLength(a);if(c>r)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+r+", Node is "+a.nodeName+".");c+u>r&&(u=r-c),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",a,null,null,a._data,[],[],null,null);var e=a._data.substring(0,c)+p+a._data.substring(c+u);a._data=e;try{for(var g=m(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===a&&x._start[1]>c&&x._start[1]<=c+u&&(x._start[1]=c),x._end[0]===a&&x._end[1]>c&&x._end[1]<=c+u&&(x._end[1]=c),x._start[0]===a&&x._start[1]>c+u&&(x._start[1]+=p.length-u),x._end[0]===a&&x._end[1]>c+u&&(x._end[1]+=p.length-u)}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}S.dom.features.steps&&_.Guard.isTextNode(a)&&a._parent!==null&&o.dom_runChildTextContentChangeSteps(a._parent)},i.characterData_substringData=function(a,c,u){var p=s.tree_nodeLength(a);if(c>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+p+", Node is "+a.nodeName+".");return c+u>p?a._data.substr(c):a._data.substr(c,u)}},function(l,i,t){"use strict";var m=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var o=[],a=0;a=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(7);function s(o){var a=y.string.splitAStringOnASCIIWhitespace(o);return new Set(a)}function h(o){return S(o).join(" ")}i.orderedSet_parse=s,i.orderedSet_serialize=h,i.orderedSet_sanitize=function(o){return h(s(o))},i.orderedSet_contains=function(o,a,c){var u,p,v,f;try{for(var r=_(a),e=r.next();!e.done;e=r.next()){var g=e.value,b=!1;try{for(var x=(v=void 0,_(o)),E=x.next();!E.done;E=x.next()){var w=E.value;if(c){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){v={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(v)throw v.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=r.return)&&p.call(r)}finally{if(u)throw u.error}}return!0}},function(l,i,t){"use strict";t(179),Object.defineProperty(i,"__esModule",{value:!0});var m=t(262),S=t(110),_=t(1);S.dom.setFeatures(!1),i.createDocument=function(){var y=new m.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},i.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var o=0;o=32&&a<=55295||a>=57344&&a<=65533)h+=y.charAt(o);else if(a>=55296&&a<=56319&&o=56320&&c<=57343?(a=1024*(a-55296)+c-56320+65536,h+=String.fromCodePoint(a),o++):h+=_.isString(s)?s:s(y.charAt(o),o,y)}else h+=_.isString(s)?s:s(y.charAt(o),o,y)}return h}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(153);i.AbortController=S.AbortControllerImpl;var _=t(154);i.AbortSignal=_.AbortSignalImpl;var y=t(102);i.AbstractRange=y.AbstractRangeImpl;var s=t(157);i.Attr=s.AttrImpl;var h=t(158);i.CDATASection=h.CDATASectionImpl;var o=t(71);i.CharacterData=o.CharacterDataImpl;var a=t(263),c=t(159);i.Comment=c.CommentImpl;var u=t(171);i.CustomEvent=u.CustomEventImpl;var p=t(100);i.DocumentFragment=p.DocumentFragmentImpl;var v=t(98);i.Document=v.DocumentImpl;var f=t(264),r=t(155);i.DocumentType=r.DocumentTypeImpl;var e=t(6);i.dom=e.dom;var g=t(148);i.DOMImplementation=g.DOMImplementationImpl;var b=t(170);i.DOMTokenList=b.DOMTokenListImpl;var x=t(99);i.Element=x.ElementImpl;var E=t(104);i.Event=E.EventImpl;var w=t(70);i.EventTarget=w.EventTargetImpl;var D=t(161);i.HTMLCollection=D.HTMLCollectionImpl;var T=t(265);i.MutationObserver=T.MutationObserverImpl;var N=t(169);i.MutationRecord=N.MutationRecordImpl;var I=t(164);i.NamedNodeMap=I.NamedNodeMapImpl;var R=t(168);i.NodeFilter=R.NodeFilterImpl;var k=t(34);i.Node=k.NodeImpl;var G=t(166);i.NodeIterator=G.NodeIteratorImpl;var $=t(162);i.NodeList=$.NodeListImpl;var Y=t(163);i.NodeListStatic=Y.NodeListStaticImpl;var z=t(266),X=t(267),H=t(268),ee=t(160);i.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=t(165);i.Range=re.RangeImpl;var de=t(156);i.ShadowRoot=de.ShadowRootImpl;var ve=t(269),ne=t(270);i.StaticRange=ne.StaticRangeImpl;var Q=t(101);i.Text=Q.TextImpl;var ie=t(103);i.Traverser=ie.TraverserImpl;var le=t(167);i.TreeWalker=le.TreeWalkerImpl;var fe=t(149);i.Window=fe.WindowImpl;var P=t(151);i.XMLDocument=P.XMLDocumentImpl,m.applyMixin(x.ElementImpl,a.ChildNodeImpl),m.applyMixin(o.CharacterDataImpl,a.ChildNodeImpl),m.applyMixin(r.DocumentTypeImpl,a.ChildNodeImpl),m.applyMixin(v.DocumentImpl,f.DocumentOrShadowRootImpl),m.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),m.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(o.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(v.DocumentImpl,X.NonElementParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),m.applyMixin(v.DocumentImpl,H.ParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),m.applyMixin(x.ElementImpl,H.ParentNodeImpl),m.applyMixin(Q.TextImpl,ve.SlotableImpl),m.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.EOF=0]="EOF",m[m.Declaration=1]="Declaration",m[m.DocType=2]="DocType",m[m.Element=3]="Element",m[m.Text=4]="Text",m[m.CDATA=5]="CDATA",m[m.PI=6]="PI",m[m.Comment=7]="Comment",m[m.ClosingTag=8]="ClosingTag"}(i.TokenType||(i.TokenType={}))},function(l,i,t){"use strict";t(64),t(20),t(66);var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){var c=this,u=this._builderOptions,p=null;return _.isFunction(a)?p=this.parse(o,a.apply(this)):_.isArray(a)||_.isSet(a)?_.forEachArray(a,function(v){return p=c.parse(o,v)},this):_.isMap(a)||_.isObject(a)?_.forEachObject(a,function(v,f){if(_.isFunction(f)&&(f=f.apply(c)),u.ignoreConverters||v.indexOf(u.convert.att)!==0)if(u.ignoreConverters||v.indexOf(u.convert.text)!==0)if(u.ignoreConverters||v.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||v.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||v.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=c.element(o,void 0,c.sanitize(v))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[v]=x,p=c.parse(o,E)},c);else if(_.isMap(f)||_.isObject(f))(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.parse(r,f));else if(f!=null&&f!==""){var r;(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.text(r,c._decodeText(c.sanitize(f))))}else p=c.element(o,void 0,c.sanitize(v))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=c.instruction(o,c.sanitize(g),c.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=c.instruction(o,c.sanitize(w),c.sanitize(D))||p},c):_.forEachObject(f,function(x,E){return p=c.instruction(o,c.sanitize(x),c.sanitize(E))||p},c);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.comment(o,c.sanitize(x))||p},c):p=c.comment(o,c.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.cdata(o,c.sanitize(x))||p},c):p=c.cdata(o,c.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?c.parse(o,f):c.text(o,c._decodeText(c.sanitize(f)))||p;else if(v===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+o._debugInfo());_.forEachObject(f,function(x,E){p=c.attribute(o,void 0,c.sanitize(x),c._decodeAttributeValue(c.sanitize(E)))||p})}else p=c.attribute(o,void 0,c.sanitize(v.substr(u.convert.att.length)),c._decodeAttributeValue(c.sanitize(f)))||p},this):(u.keepNullNodes||a!=null)&&(p=this.text(o,this._decodeText(this.sanitize(a)))||p),p||o},h}(t(75).BaseReader);i.ObjectReader=y},function(l,i,t){"use strict";var m=t(39);l.exports=new m({explicit:[t(286),t(287),t(288)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};i.BaseCBWriter=m},function(l,i,t){var m=t(16),S=t(8),_=t(116);l.exports=!m&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(l,i,t){var m=t(11),S=t(13),_=m.document,y=S(_)&&S(_.createElement);l.exports=function(s){return y?_.createElement(s):{}}},function(l,i,t){var m=t(118),S=Function.toString;typeof m.inspectSource!="function"&&(m.inspectSource=function(_){return S.call(_)}),l.exports=m.inspectSource},function(l,i,t){var m=t(11),S=t(80),_=m["__core-js_shared__"]||S("__core-js_shared__",{});l.exports=_},function(l,i,t){var m=t(14),S=t(187),_=t(55),y=t(15);l.exports=function(s,h){for(var o=S(h),a=y.f,c=_.f,u=0;uc;)m(a,o=h[c++])&&(~_(u,o)||u.push(o));return u}},function(l,i,t){var m=t(24),S=t(26),_=t(83),y=function(s){return function(h,o,a){var c,u=m(h),p=S(u.length),v=_(a,p);if(s&&o!=o){for(;p>v;)if((c=u[v++])!=c)return!0}else for(;p>v;v++)if((s||v in u)&&u[v]===o)return s||v||0;return!s&&-1}};l.exports={includes:y(!0),indexOf:y(!1)}},function(l,i,t){var m=t(8),S=/#|\.prototype\./,_=function(a,c){var u=s[y(a)];return u==o||u!=h&&(typeof c=="function"?m(c):!!c)},y=_.normalize=function(a){return String(a).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",o=_.POLYFILL="P";l.exports=_},function(l,i,t){var m=t(86);l.exports=m&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(l,i,t){var m=t(5);i.f=m},function(l,i,t){var m=t(120),S=t(14),_=t(125),y=t(15).f;l.exports=function(s){var h=m.Symbol||(m.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(l,i){l.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},function(l,i,t){var m=t(13),S=t(59),_=t(5)("species");l.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?m(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(l,i,t){var m,S,_=t(11),y=t(193),s=_.process,h=s&&s.versions,o=h&&h.v8;o?S=(m=o.split("."))[0]+m[1]:y&&(!(m=y.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=y.match(/Chrome\/(\d+)/))&&(S=m[1]),l.exports=S&&+S},function(l,i,t){var m=t(5),S=t(60),_=t(15),y=m("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),l.exports=function(h){s[y][h]=!0}},function(l,i,t){"use strict";var m,S,_,y=t(132),s=t(21),h=t(14),o=t(5),a=t(44),c=o("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(m=S):u=!0),m==null&&(m={}),a||h(m,c)||s(m,c,function(){return this}),l.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:u}},function(l,i,t){var m=t(14),S=t(27),_=t(57),y=t(196),s=_("IE_PROTO"),h=Object.prototype;l.exports=y?Object.getPrototypeOf:function(o){return o=S(o),m(o,s)?o[s]:typeof o.constructor=="function"&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?h:null}},function(l,i,t){var m=t(18),S=t(197);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,o){return m(h),S(o),y?_.call(h,o):h.__proto__=o,h}}():void 0)},function(l,i,t){"use strict";var m=t(56),S=t(15),_=t(40);l.exports=function(y,s,h){var o=m(s);o in y?S.f(y,o,_(0,h)):y[o]=h}},function(l,i,t){var m=t(90),S=t(42),_=t(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";l.exports=m?S:function(s){var h,o,a;return s===void 0?"Undefined":s===null?"Null":typeof(o=function(c,u){try{return c[u]}catch{}}(h=Object(s),_))=="string"?o:y?S(h):(a=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},function(l,i,t){"use strict";var m=t(18);l.exports=function(){var S=m(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(l,i,t){var m=t(47),S=t(35),_=function(y){return function(s,h){var o,a,c=String(S(s)),u=m(h),p=c.length;return u<0||u>=p?y?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===p||(a=c.charCodeAt(u+1))<56320||a>57343?y?c.charAt(u):o:y?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};l.exports={codeAt:_(!1),charAt:_(!0)}},function(l,i,t){var m=t(4),S=t(27),_=t(61);m({target:"Object",stat:!0,forced:t(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(123),y=t(25),s=t(140),h=t(141),o=t(142),a=t(13),c=t(8),u=t(208),p=t(62),v=t(209);l.exports=function(f,r,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!a(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!c(function(){new E().entries().next()}))))D=e.getConstructor(r,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,R=I[x](b?{}:-0,1)!=I,k=c(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&c(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=r(function(Y,z){o(Y,D,f);var X=v(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,m({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(l,i,t){var m=t(45),S=t(13),_=t(14),y=t(15).f,s=t(58),h=t(204),o=s("meta"),a=0,c=Object.isExtensible||function(){return!0},u=function(v){y(v,o,{value:{objectID:"O"+ ++a,weakData:{}}})},p=l.exports={REQUIRED:!1,fastKey:function(v,f){if(!S(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!_(v,o)){if(!c(v))return"F";if(!f)return"E";u(v)}return v[o].objectID},getWeakData:function(v,f){if(!_(v,o)){if(!c(v))return!0;if(!f)return!1;u(v)}return v[o].weakData},onFreeze:function(v){return h&&p.REQUIRED&&c(v)&&!_(v,o)&&u(v),v}};m[o]=!0},function(l,i,t){var m=t(18),S=t(205),_=t(26),y=t(87),s=t(206),h=t(207),o=function(a,c){this.stopped=a,this.result=c};(l.exports=function(a,c,u,p,v){var f,r,e,g,b,x,E,w=y(c,u,p?2:1);if(v)f=a;else{if(typeof(r=s(a))!="function")throw TypeError("Target is not iterable");if(S(r)){for(e=0,g=_(a.length);g>e;e++)if((b=p?w(m(E=a[e])[0],E[1]):w(a[e]))&&b instanceof o)return b;return new o(!1)}f=r.call(a)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof o)return b;return new o(!1)}).stop=function(a){return new o(!0,a)}},function(l,i){l.exports=function(t,m,S){if(!(t instanceof m))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return t}},function(l,i,t){"use strict";var m=t(15).f,S=t(60),_=t(210),y=t(87),s=t(142),h=t(141),o=t(88),a=t(211),c=t(16),u=t(140).fastKey,p=t(43),v=p.set,f=p.getterFor;l.exports={getConstructor:function(r,e,g,b){var x=r(function(T,N){s(T,x,e),v(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),c||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var R,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),c?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,R=E(T),k=u(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,c?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),c?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),R=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),c&&m(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(r,e,g){var b=e+" Iterator",x=f(e),E=f(b);o(r,e,function(w,D){v(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),a(e)}}},function(l,i,t){"use strict";var m,S=t(4),_=t(55).f,y=t(26),s=t(222),h=t(35),o=t(224),a=t(44),c="".endsWith,u=Math.min,p=o("endsWith");S({target:"String",proto:!0,forced:!!(a||p||(m=_(String.prototype,"endsWith"),!m||m.writable))&&!p},{endsWith:function(v){var f=String(h(this));s(v);var r=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=r===void 0?e:u(y(r),e),b=String(v);return c?c.call(f,b,g):f.slice(g-b.length,g)===b}})},function(l,i,t){"use strict";(function(m){var S=t(229),_=t(230),y=t(231);function s(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(o.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function r(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return R(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,M){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=M?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(M)return-1;B=P.length-1}else if(B<0){if(!M)return-1;B=0}if(typeof C=="string"&&(C=o.from(C,L)),o.isBuffer(C))return C.length===0?-1:b(P,C,B,L,M);if(typeof C=="number")return C&=255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,M);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,M){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(M){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Me=!0,je=0;jeM&&(L=M):L=M;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function R(P,C,B){B=Math.min(P.length,B);for(var L=[],M=C;M239?4:ge>223?3:ge>191?2:1;if(M+Me<=B)switch(Me){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[M+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[M+1],W=P[M+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[M+1],W=P[M+2],ae=P[M+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Me=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),M+=Me}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},o.prototype.compare=function(P,C,B,L,M){if(!o.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),M===void 0&&(M=this.length),C<0||B>P.length||L<0||M>this.length)throw new RangeError("out of range index");if(L>=M&&C>=B)return 0;if(L>=M)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(M>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,M),ge=P.slice(C,B),Ae=0;AeM)&&(B=M),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var M=C;ML)&&(B=L);for(var M="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,M,q){if(!o.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>M||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var M=0,q=Math.min(P.length-B,2);M>>8*(L?M:1-M)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var M=0,q=Math.min(P.length-B,4);M>>8*(L?M:3-M)&255}function re(P,C,B,L,M,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,M){return M||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,M){return M||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}o.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(M*=256);)L+=this[P+--C]*M;return L},o.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},o.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},o.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},o.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},o.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},o.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],M=1,q=0;++q=(M*=128)&&(L-=Math.pow(2,8*C)),L},o.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,M=1,q=this[P+--L];L>0&&(M*=256);)q+=this[P+--L]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*C)),q},o.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},o.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},o.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},o.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},o.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},o.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},o.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},o.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var M=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+M]=P/q&255;return C+B},o.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},o.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},o.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},o.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},o.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},o.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},o.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},o.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},o.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},o.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},o.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},o.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},o.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--M)P[M+C]=this[M+B];else if(q<1e3||!o.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!M){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}M=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),M=B;continue}B=65536+(M-55296<<10|B-56320)}else M&&(C-=3)>-1&&q.push(239,191,189);if(M=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var M=0;M=C.length||M>=P.length);++M)C[M+B]=P[M];return M}}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isASCIIByte=function(m){return m>=0&&m<=127}},function(l,i,t){"use strict";var m=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,o,a=s.call(_),c=[];try{for(;(y===void 0||y-- >0)&&!(h=a.next()).done;)c.push(h.value)}catch(u){o={error:u}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return c},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},i.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},i.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],o=y[s];if(h>=65&&h<=90&&(h+=32),o>=65&&o<=90&&(o+=32),h!==o)return!1}return!0},i.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},i.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],o=y[s];if(ho)return!1;s++}},i.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(6),S=t(7),_=t(0),y=t(12),s=function(){function h(o){this._associatedDocument=o||m.dom.window.document}return h.prototype.createDocumentType=function(o,a,c){return _.namespace_validate(o),_.create_documentType(this._associatedDocument,o,a,c)},h.prototype.createDocument=function(o,a,c){c===void 0&&(c=null);var u=_.create_xmlDocument(),p=null;return a&&(p=_.document_internalCreateElementNS(u,o,a)),c&&u.appendChild(c),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,o===S.namespace.HTML?u._contentType="application/xhtml+xml":o===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(o){var a=_.create_document();a._type="html",a._contentType="text/html",a.appendChild(_.create_documentType(a,"html","",""));var c=_.element_createAnElement(a,"html",S.namespace.HTML);a.appendChild(c);var u=_.element_createAnElement(a,"head",S.namespace.HTML);if(c.appendChild(u),o!==void 0){var p=_.element_createAnElement(a,"title",S.namespace.HTML);u.appendChild(p);var v=_.create_text(a,o);p.appendChild(v)}var f=_.element_createAnElement(a,"body",S.namespace.HTML);return c.appendChild(f),a._origin=this._associatedDocument._origin,a},h.prototype.hasFeature=function(){return!0},h._create=function(o){return new h(o)},h}();i.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),y=t(1),s=t(0),h=function(o){function a(){var c=o.call(this)||this;return c._signalSlots=new Set,c._mutationObserverMicrotaskQueued=!1,c._mutationObservers=new Set,c._iteratorList=new y.FixedSizeSet,c._associatedDocument=s.create_document(),c}return S(a,o),Object.defineProperty(a.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),a._create=function(){return new a},a}(_.EventTargetImpl);i.WindowImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===m.NodeType.Text||s===m.NodeType.ProcessingInstruction||s===m.NodeType.Comment||s===m.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===m.NodeType.Text||y._nodeType===m.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===m.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();i.Guard=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(t(98).DocumentImpl);i.XMLDocumentImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(L){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&L[M],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,M){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(i,"__esModule",{value:!0});var _,y=t(1),s=t(243),h=t(7),o=t(244),a={ftp:21,file:null,http:80,https:443,ws:80,wss:443},c=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,r=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in a}function x(L){return b(L.scheme)}function E(L){return a[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,M){var q,W;M===void 0&&(M=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=m(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),M||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var M="",q=L,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(L){for(var M="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Me=!1,je=0;je<8;je++)Me&&L[je]===0||(Me&&(Me=!1),q!==je?(M+=L[je].toString(16),je!==7&&(M+=":")):(M+=je===0?"::":":",Me=!0));return M}function R(L,M,q,W,ae){var me,ge,Ae,Me;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;M===void 0&&(M=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&M!==null&&M.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=M.scheme,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):M.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,se.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,m(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,v);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(se.c()){case"":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=h.list.clone(M.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(M===null||M.scheme!=="file"||X(se.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),c)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,m(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Me=Et.return)&&Me.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var M=L.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(L){var M=L.path;M.length!==0&&(L.scheme==="file"&&M.length===1&&Y(M[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,M){if(M===void 0&&(M=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(M)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||r.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,M){M===void 0&&(M={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(M.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(M.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var M,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Me=m(ge),je=Me.next();!je.done;je=Me.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){M={error:Fe}}finally{try{je&&!je.done&&(q=Me.return)&&q.call(Me)}finally{if(M)throw M.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=m(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var M,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Me=0;me.c()!=="";){var je=null;if(Me>0){if(!(me.c()==="."&&Me<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Me!==2&&Me!==4||W++}if(Me!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)M=S([q[ae+Ye-1],q[W]],2),q[W]=M[0],q[ae+Ye-1]=M[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=m(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,c)}catch(ge){M={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var M=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||M(L[ae+1])&&M(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,M){var q,W;if(!M.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=m(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Me){q={error:Me}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var M,q,W,ae,me=[],ge=[];try{for(var Ae=m(L),Me=Ae.next();!Me.done;Me=Ae.next()){var je=Me.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){M={error:be}}finally{try{Me&&!Me.done&&(q=Ae.return)&&q.call(Ae)}finally{if(M)throw M.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=m(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){M={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function B(L,M){M===void 0&&(M=!1);var q=o.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}i.setValidationErrorCallback=function(L){_=L},i.newURL=g,i.isSpecialScheme=b,i.isSpecial=x,i.defaultPort=E,i.includesCredentials=w,i.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},i.urlSerializer=D,i.hostSerializer=T,i.iPv4Serializer=N,i.iPv6Serializer=I,i.urlParser=function(L,M,q){var W=R(L,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},i.basicURLParser=R,i.setTheUsername=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},i.setThePassword=function(L,M){var q,W,ae="";try{for(var me=m(M),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,v)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},i.isSingleDotPathSegment=k,i.isDoubleDotPathSegment=G,i.shorten=$,i.isNormalizedWindowsDriveLetter=Y,i.isWindowsDriveLetter=z,i.startsWithAWindowsDriveLetter=X,i.hostParser=H,i.iPv4NumberParser=ee,i.iPv4Parser=re,i.iPv6Parser=de,i.opaqueHostParser=ve,i.resolveABlobURL=ne,i.percentEncode=Q,i.percentDecode=ie,i.stringPercentDecode=le,i.utf8PercentEncode=fe,i.hostEquals=function(L,M){return L===M},i.urlEquals=function(L,M,q){return q===void 0&&(q=!1),D(L,q)===D(M,q)},i.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},i.urlEncodedParser=P,i.urlEncodedByteSerializer=C,i.urlEncodedSerializer=function(L,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=m(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Me=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Me+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},i.origin=function L(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return s.OpaqueOrigin}},i.domainToASCII=B,i.domainToUnicode=function(L,M){M===void 0&&(M=!1);var q=o.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},i.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var M=L[0]+"://"+T(L[1]);return L[2]!==null&&(M+=":"+L[2].toString()),M}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(0),S=function(){function _(){this._signal=m.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){m.abort_signalAbort(this._signal)},_}();i.AbortControllerImpl=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),y=t(0),s=function(h){function o(){var a=h.call(this)||this;return a._abortedFlag=!1,a._abortAlgorithms=new Set,a}return S(o,h),Object.defineProperty(o.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(a){y.event_setterEventHandlerIDLAttribute(this,"onabort",a)},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);i.AbortSignalImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),y=t(34),s=t(12),h=function(o){function a(c,u,p){var v=o.call(this)||this;return v._name="",v._publicId="",v._systemId="",v._name=c,v._publicId=u,v._systemId=p,v}return S(a,o),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),a.prototype.before=function(){for(var c=[],u=0;u=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),y=t(0),s=function(){function h(o){return this._live=!0,this._filter=null,this._length=0,this._root=o,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(o){if(o<0||o>this.length-1)return null;if(o=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(o){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var o=0;return{next:function(){return o===this.length?{done:!0,value:null}:{done:!1,value:o++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator]();return{next:function(){return o.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator](),a=0;return{next:function(){var c=o.next();return c.done?{done:!0,value:null}:{done:!1,value:[a++,c.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,o){var a,c;o===void 0&&(o=S.dom.window);var u=0;try{for(var p=m(this._items),v=p.next();!v.done;v=p.next()){var f=v.value;h.call(o,f,u++,this)}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}},s.prototype.get=function(h,o,a){if(!_.isString(o))return Reflect.get(h,o,a);var c=Number(o);return isNaN(c)?Reflect.get(h,o,a):h._items[c]||void 0},s.prototype.set=function(h,o,a,c){if(!_.isString(o))return Reflect.set(h,o,a,c);var u=Number(o);return isNaN(u)?Reflect.set(h,o,a,c):u>=0&&u=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(6),s=t(2),h=t(102),o=t(9),a=t(0),c=t(12),u=t(3),p=function(v){function f(){var r=v.call(this)||this,e=y.dom.window._associatedDocument;return r._start=[e,0],r._end=[e,0],y.dom.rangeList.add(r),r}return S(f,v),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var r=this._start[0];!a.tree_isAncestorOf(this._end[0],r,!0);){if(r._parent===null)throw new Error("Parent node is null.");r=r._parent}return r},enumerable:!0,configurable:!0}),f.prototype.setStart=function(r,e){a.range_setTheStart(this,r,e)},f.prototype.setEnd=function(r,e){a.range_setTheEnd(this,r,e)},f.prototype.setStartBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r))},f.prototype.setStartAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r)+1)},f.prototype.setEndBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r))},f.prototype.setEndAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r)+1)},f.prototype.collapse=function(r){r?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(r){a.range_select(r,this)},f.prototype.selectNodeContents=function(r){if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;var e=a.tree_nodeLength(r);this._start=[r,0],this._end=[r,e]},f.prototype.compareBoundaryPoints=function(r,e){if(r!==s.HowToCompare.StartToStart&&r!==s.HowToCompare.StartToEnd&&r!==s.HowToCompare.EndToEnd&&r!==s.HowToCompare.EndToStart)throw new o.NotSupportedError;if(a.range_root(this)!==a.range_root(e))throw new o.WrongDocumentError;var g,b;switch(r){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new o.NotSupportedError}var x=a.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var r,e,g,b;if(!a.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))a.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var R=_(a.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&a.range_isContained(G,this)||I.push(X)}}catch(H){r={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(r)throw r.error}}if(a.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!a.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=a.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&a.characterData_replaceData(x,E,a.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&a.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&a.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return a.range_extract(this)},f.prototype.cloneContents=function(){return a.range_cloneTheContents(this)},f.prototype.insertNode=function(r){return a.range_insert(r,this)},f.prototype.surroundContents=function(r){var e,g;try{for(var b=_(a.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new o.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(r)||u.Guard.isDocumentTypeNode(r)||u.Guard.isDocumentFragmentNode(r))throw new o.InvalidNodeTypeError;var w=a.range_extract(this);r._children.size!==0&&a.mutation_replaceAll(null,r),a.range_insert(r,this),a.mutation_append(w,r),a.range_select(r,this)},f.prototype.cloneRange=function(){return a.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&a.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))throw new o.WrongDocumentError;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var g=[r,e];return a.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:a.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(r){if(a.tree_rootNode(r)!==a.range_root(this))return!1;var e=r._parent;if(e===null)return!0;var g=a.tree_index(r);return a.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&a.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var r,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(a.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(r,e){var g=new f;return r&&(g._start=r),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);i.RangeImpl=p,c.idl_defineConst(p.prototype,"START_TO_START",0),c.idl_defineConst(p.prototype,"START_TO_END",1),c.idl_defineConst(p.prototype,"END_TO_END",2),c.idl_defineConst(p.prototype,"END_TO_START",3)},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(103),y=t(0),s=function(h){function o(a,c,u){var p=h.call(this,a)||this;return p._iteratorCollection=void 0,p._reference=c,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(o,h),Object.defineProperty(o.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),o.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},o.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},o.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},o._create=function(a,c,u){return new o(a,c,u)},o}(_.TraverserImpl);i.NodeIteratorImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),y=t(103),s=t(0),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._current=u,p}return S(a,o),Object.defineProperty(a.prototype,"currentNode",{get:function(){return this._current},set:function(c){this._current=c},enumerable:!0,configurable:!0}),a.prototype.parentNode=function(){for(var c=this._current;c!==null&&c!==this._root;)if((c=c._parent)!==null&&s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c;return null},a.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},a.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},a.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},a.prototype.previousNode=function(){for(var c=this._current;c!==this._root;){for(var u=c._previousSibling;u;){c=u;for(var p=s.traversal_filter(this,c);p!==_.FilterResult.Reject&&c._lastChild;)c=c._lastChild,p=s.traversal_filter(this,c);if(p===_.FilterResult.Accept)return this._current=c,c;u=c._previousSibling}if(c===this._root||c._parent===null)return null;if(c=c._parent,s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c}return null},a.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},a.prototype.nextNode=function(){for(var c=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&c._firstChild;)if(c=c._firstChild,(u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c;for(var p=null,v=c;v!==null;){if(v===this._root)return null;if((p=v._nextSibling)!==null){c=p;break}v=v._parent}if((u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c}},a._create=function(c,u){return new a(c,u)},a}(y.TraverserImpl);i.TreeWalkerImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return m.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();i.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_,y,s,h,o,a,c,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=o,this._nextSibling=a,this._attributeName=c,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,o,a,c,u,p){return new S(_,y,s,h,o,a,c,u,p)},S}();i.MutationRecordImpl=m},function(l,i,t){"use strict";var m=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(9),y=t(7),s=t(0),h=function(){function o(a,c){this._element=a,this._attribute=c,this._tokenSet=new Set;var u=c._localName,p=s.element_getAnAttributeValue(a,u),v=this;this._element._attributeChangeSteps.push(function(f,r,e,g,b){r===v._attribute._localName&&b===null&&(g?v._tokenSet=s.orderedSet_parse(g):v._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(a,u,p,p,null)}return Object.defineProperty(o.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),o.prototype.item=function(a){var c,u,p=0;try{for(var v=m(this._tokenSet),f=v.next();!f.done;f=v.next()){var r=f.value;if(p===a)return r;p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}return null},o.prototype.contains=function(a){return this._tokenSet.has(a)},o.prototype.add=function(){for(var a,c,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},i.xml_isQName=function(m){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===m.length-1)return!1;S=!0}}return!0},i.xml_isLegalChar=function(m){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},i.xml_isPubidChar=function(m){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(17);i.boundaryPoint_position=function _(y,s){var h=y[0],o=y[1],a=s[0],c=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(a),"Boundary points must share the same root node."),h===a)return o===c?m.BoundaryPosition.Equal:o=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(7),s=t(29),h=t(108),o=t(30),a=t(37),c=t(52);i.node_stringReplaceAll=function(u,p){var v=null;u!==""&&(v=s.create_text(p._nodeDocument,u)),a.mutation_replaceAll(v,p)},i.node_clone=function u(p,v,f){var r,e,g,b,x;if(v===void 0&&(v=null),f===void 0&&(f=!1),v===null&&(v=p._nodeDocument),_.Guard.isElementNode(p)){x=c.element_createAnElement(v,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=m(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,v);c.element_append(D,x)}}catch(G){r={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(r)throw r.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(v,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(v,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(v,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(v,p._data):_.Guard.isCommentNode(p)?s.create_comment(v,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(v,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(v):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,v=x):x._nodeDocument=v,S.dom.features.steps&&o.dom_runCloningSteps(x,p,v,f),f)try{for(var I=m(p._children),R=I.next();!R.done;R=I.next()){var k=u(R.value,v,!0);a.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},i.node_equals=function u(p,v){var f,r,e,g;if(p._nodeType!==v._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(v)){if(p._name!==v._name||p._publicId!==v._publicId||p._systemId!==v._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){if(p._namespace!==v._namespace||p._namespacePrefix!==v._namespacePrefix||p._localName!==v._localName||p._attributeList.length!==v._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(v)){if(p._namespace!==v._namespace||p._localName!==v._localName||p._value!==v._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(v)){if(p._target!==v._target||p._data!==v._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(v)&&p._data!==v._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){var b={};try{for(var x=m(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(r=x.return)&&r.call(x)}finally{if(f)throw f.error}}try{for(var w=m(v._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==v._children.size)return!1;for(var I=p._children[Symbol.iterator](),R=v._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},i.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(v){return v._namespace===y.namespace.HTML&&v._qualifiedName===u.toLowerCase()||v._namespace!==y.namespace.HTML&&v._qualifiedName===u}):s.create_htmlCollection(p,function(v){return v._qualifiedName===u})},i.node_listOfElementsWithNamespace=function(u,p,v){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(v):u==="*"?s.create_htmlCollection(v,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(v,function(f){return f._namespace===u}):s.create_htmlCollection(v,function(f){return f._localName===p&&f._namespace===u})},i.node_listOfElementsWithClassNames=function(u,p){var v=h.orderedSet_parse(u);if(v.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(r){var e=r.classList;return h.orderedSet_contains(e._tokenSet,v,f)})},i.node_locateANamespacePrefix=function u(p,v){if(p._namespace===v&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(9),s=t(29),h=t(17),o=t(107),a=t(37);i.text_contiguousTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_contiguousExclusiveTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isExclusiveTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_descendantTextContent=function(c){for(var u="",p=h.tree_getFirstDescendantNode(c,!1,!1,function(v){return _.Guard.isTextNode(v)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(c,p,!1,!1,function(v){return _.Guard.isTextNode(v)});return u},i.text_split=function(c,u){var p,v,f=c._data.length;if(u>f)throw new y.IndexSizeError;var r=f-u,e=o.characterData_substringData(c,u,r),g=s.create_text(c._nodeDocument,e),b=c._parent;if(b!==null){a.mutation_insert(g,b,c._nextSibling);try{for(var x=m(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===c&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===c&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(c);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(v=x.return)&&v.call(x)}finally{if(p)throw p.error}}}return o.characterData_replaceData(c,u,r,""),g}},function(l,i,t){"use strict";var m=t(4),S=t(41),_=t(24),y=t(48),s=[].join,h=S!=Object,o=y("join",",");m({target:"Array",proto:!0,forced:h||!o},{join:function(a){return s.call(_(this),a===void 0?",":a)}})},function(l,i,t){var m=t(4),S=t(83),_=String.fromCharCode,y=String.fromCodePoint;m({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,o=[],a=arguments.length,c=0;a>c;){if(h=+arguments[c++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");o.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return o.join("")}})},function(l,i,t){"use strict";var m=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var o,a,c=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(o=c.next()).done;)u.push(o.value)}catch(p){a={error:p}}finally{try{o&&!o.done&&(h=c.return)&&h.call(c)}finally{if(a)throw a.error}}return u};Object.defineProperty(i,"__esModule",{value:!0});var S=t(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",o="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:o};var a=m(this.attribute(),2),c=a[0],u=a[1];c==="version"?s=u:c==="encoding"?h=u:c==="standalone"?o=u:this.throwError("Invalid attribute name: "+c)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var o=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:o,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var o=this.attribute();h.push(o)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var o=0;othis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var o=this._index;this._indexthis._index){u=o.index;break}throw this.err={line:a,col:this._index-c,index:this._index,str:this._str.substring(c,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(i.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=b.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var q=b.parentNode;if(q===null)throw new Error("Parent node is null."+this._debugInfo());q.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,k,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();i.XMLStringLexer=_},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(182)]})},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(113)],implicit:[t(289),t(290),t(291),t(292)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(91),S=t(1),_=t(3),y=t(77),s=t(109);function h(u,p){var v=a(u===void 0||o(u)?u:m.DefaultBuilderOptions),f=o(u)?p:u,r=s.createDocument();c(r,v);var e=new y.XMLBuilderImpl(r);return f!==void 0&&e.ele(f),e}function o(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!m.XMLBuilderOptionKeys.has(p))return!1;return!0}function a(u){u===void 0&&(u={});var p=S.applyDefaults(u,m.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function c(u,p,v){var f=u;f._xmlBuilderOptions=p,f._isFragment=v}i.builder=function(u,p){var v=a(o(u)?u:m.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var r=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(91),y=t(1),s=t(217),h=t(2),o=t(3),a=t(0),c=t(109),u=t(7),p=t(276),v=function(){function f(r){this._domNode=r}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(r){return this._options=y.applyDefaults(y.applyDefaults(this._options,r,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(r,e,g){var b,x,E,w,D,T;if(y.isObject(r))return new p.ObjectReader(this._options).parse(this,r);if(r!==null&&/^\s*0&&(r===void 0&&(r=e.slice(b+1)),e=e.slice(0,b)),r===void 0)r=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(r!==null&&r[0]==="@"){var x=r.slice(1);if((r=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[r,e]},f.prototype._updateNamespace=function(r){var e,g,b,x,E=this._domNode;if(o.Guard.isElementNode(E)&&r!==null&&E.namespaceURI!==r){var w=m(a.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=a.create_element(this._doc,T,r,D);try{for(var I=S(E.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=m(a.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),o.Guard.isElementNode(ee)){var re=m(a.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var r=this.node;if(o.Guard.isDocumentNode(r))return r;var e=r.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(r){var e=this.node,g=e.parentNode;r=r||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+r+">, parent: <"+b+">":"node: <"+r+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var r=this._doc;if(r._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return r._xmlBuilderOptions},set:function(r){this._doc._xmlBuilderOptions=r},enumerable:!0,configurable:!0}),f}();i.XMLBuilderImpl=v},function(l,i,t){var m=t(11),S=t(117),_=m.WeakMap;l.exports=typeof _=="function"&&/native code/.test(S(_))},function(l,i,t){var m=t(46),S=t(82),_=t(85),y=t(18);l.exports=m("Reflect","ownKeys")||function(s){var h=S.f(y(s)),o=_.f;return o?h.concat(o(s)):h}},function(l,i,t){var m=t(16),S=t(15),_=t(18),y=t(61);l.exports=m?Object.defineProperties:function(s,h){_(s);for(var o,a=y(h),c=a.length,u=0;c>u;)S.f(s,o=a[u++],h[o]);return s}},function(l,i,t){var m=t(46);l.exports=m("document","documentElement")},function(l,i,t){var m=t(24),S=t(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];l.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(m(s))}},function(l,i,t){"use strict";var m=t(4),S=t(36).every,_=t(48),y=t(28),s=_("every"),h=y("every");m({target:"Array",proto:!0,forced:!s||!h},{every:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(36).filter,_=t(63),y=t(28),s=_("filter"),h=y("filter");m({target:"Array",proto:!0,forced:!s||!h},{filter:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(46);l.exports=m("navigator","userAgent")||""},function(l,i,t){"use strict";var m=t(4),S=t(36).find,_=t(130),y=t(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),m({target:"Array",proto:!0,forced:s||!h},{find:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(l,i,t){"use strict";var m=t(131).IteratorPrototype,S=t(60),_=t(40),y=t(62),s=t(49),h=function(){return this};l.exports=function(o,a,c){var u=a+" Iterator";return o.prototype=S(m,{next:_(1,c)}),y(o,u,!1,!0),s[u]=h,o}},function(l,i,t){var m=t(8);l.exports=!m(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(l,i,t){"use strict";var m=t(4),S=t(36).map,_=t(63),y=t(28),s=_("map"),h=y("map");m({target:"Array",proto:!0,forced:!s||!h},{map:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(200).left,_=t(48),y=t(28),s=_("reduce"),h=y("reduce",{1:0});m({target:"Array",proto:!0,forced:!s||!h},{reduce:function(o){return S(this,o,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(127),S=t(27),_=t(41),y=t(26),s=function(h){return function(o,a,c,u){m(a);var p=S(o),v=_(p),f=y(p.length),r=h?f-1:0,e=h?-1:1;if(c<2)for(;;){if(r in v){u=v[r],r+=e;break}if(r+=e,h?r<0:f<=r)throw TypeError("Reduce of empty array with no initial value")}for(;h?r>=0:f>r;r+=e)r in v&&(u=a(u,v[r],r,p));return u}};l.exports={left:s(!1),right:s(!0)}},function(l,i,t){"use strict";var m=t(4),S=t(36).some,_=t(48),y=t(28),s=_("some"),h=y("some");m({target:"Array",proto:!0,forced:!s||!h},{some:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(90),S=t(135);l.exports=m?{}.toString:function(){return"[object "+S(this)+"]"}},function(l,i){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(l,i,t){var m=t(5),S=t(49),_=m("iterator"),y=Array.prototype;l.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(l,i,t){var m=t(135),S=t(49),_=t(5)("iterator");l.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[m(y)]}},function(l,i,t){var m=t(18);l.exports=function(S,_,y,s){try{return s?_(m(y)[0],y[1]):_(y)}catch(o){var h=S.return;throw h!==void 0&&m(h.call(S)),o}}},function(l,i,t){var m=t(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[m]=function(){return this},Array.from(y,function(){throw 2})}catch{}l.exports=function(s,h){if(!h&&!S)return!1;var o=!1;try{var a={};a[m]=function(){return{next:function(){return{done:o=!0}}}},s(a)}catch{}return o}},function(l,i,t){var m=t(13),S=t(133);l.exports=function(_,y,s){var h,o;return S&&typeof(h=y.constructor)=="function"&&h!==s&&m(o=h.prototype)&&o!==s.prototype&&S(_,o),_}},function(l,i,t){var m=t(25);l.exports=function(S,_,y){for(var s in _)m(S,s,_[s],y);return S}},function(l,i,t){"use strict";var m=t(46),S=t(15),_=t(5),y=t(16),s=_("species");l.exports=function(h){var o=m(h),a=S.f;y&&o&&!o[s]&&a(o,s,{configurable:!0,get:function(){return this}})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(y,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var o=this;this._items.forEach(function(a){return s.call(h,a,a,o)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();i.FixedSizeSet=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(y,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var o=this._items.keys().next();o.done||this._items.delete(o.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(o,a){return s.call(h,a,o)})},y.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();i.ObjectCache=_},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();i.CompareCache=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();i.Lazy=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();i.StringWalker=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(218);i.MapWriter=m.MapWriter;var S=t(258);i.XMLWriter=S.XMLWriter;var _=t(67);i.ObjectWriter=_.ObjectWriter;var y=t(260);i.JSONWriter=y.JSONWriter;var s=t(261);i.YAMLWriter=s.YAMLWriter},function(l,i,t){"use strict";t(19),t(219),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=t(67),s=function(h){function o(a,c){var u=h.call(this,a)||this;return u._writerOptions=_.applyDefaults(c,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(o,h),o.prototype.serialize=function(a){var c=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,c).serialize(a);return this._convertObject(u)},o.prototype._convertObject=function(a){if(_.isArray(a)){for(var c=0;c=51||!S(function(){var g=[];return g[v]=!1,g.concat()[0]!==g}),r=c("concat"),e=function(g){if(!y(g))return!1;var b=g[v];return b!==void 0?!!b:_(g)};m({target:"Array",proto:!0,forced:!f||!r},{concat:function(g){var b,x,E,w,D,T=s(this),N=a(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");o(N,I++,D)}return N.length=I,N}})},function(l,i,t){"use strict";var m=t(8);function S(_,y){return RegExp(_,y)}i.UNSUPPORTED_Y=m(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),i.BROKEN_CARET=m(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(l,i,t){var m=t(223);l.exports=function(S){if(m(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(l,i,t){var m=t(13),S=t(42),_=t(5)("match");l.exports=function(y){var s;return m(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(l,i,t){var m=t(5)("match");l.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[m]=!1,"/./"[S](_)}catch{}}return!1}},function(l,i,t){"use strict";t(68);var m=t(25),S=t(8),_=t(5),y=t(93),s=t(21),h=_("species"),o=!S(function(){var v=/./;return v.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(v,"$")!=="7"}),a="a".replace(/./,"$0")==="$0",c=_("replace"),u=!!/./[c]&&/./[c]("a","$0")==="",p=!S(function(){var v=/(?:)/,f=v.exec;v.exec=function(){return f.apply(this,arguments)};var r="ab".split(v);return r.length!==2||r[0]!=="a"||r[1]!=="b"});l.exports=function(v,f,r,e){var g=_(v),b=!S(function(){var N={};return N[g]=function(){return 7},""[v](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return v==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||v==="replace"&&(!o||!a||u)||v==="split"&&!p){var E=/./[g],w=r(g,""[v],function(N,I,R,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:a,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];m(String.prototype,v,D),m(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(l,i,t){"use strict";var m=t(137).charAt;l.exports=function(S,_,y){return _+(y?m(S,_).length:1)}},function(l,i,t){var m=t(42),S=t(93);l.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(m(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(l,i,t){"use strict";(function(m){Object.defineProperty(i,"__esModule",{value:!0});var S=t(96);i.forgivingBase64Encode=function(_){return m.from(_).toString("base64")},i.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?m.from(_,"base64").toString("utf8"):null)}}).call(this,t(145).Buffer)},function(l,i,t){"use strict";i.byteLength=function(c){var u=o(c),p=u[0],v=u[1];return 3*(p+v)/4-v},i.toByteArray=function(c){var u,p,v=o(c),f=v[0],r=v[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,r)),g=0,b=r>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return r===2&&(u=S[c.charCodeAt(p)]<<2|S[c.charCodeAt(p+1)]>>4,e[g++]=255&u),r===1&&(u=S[c.charCodeAt(p)]<<10|S[c.charCodeAt(p+1)]<<4|S[c.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},i.fromByteArray=function(c){for(var u,p=c.length,v=p%3,f=[],r=0,e=p-v;re?e:r+16383));return v===1?(u=c[p-1],f.push(m[u>>2]+m[u<<4&63]+"==")):v===2&&(u=(c[p-2]<<8)+c[p-1],f.push(m[u>>10]+m[u>>4&63]+m[u<<2&63]+"=")),f.join("")};for(var m=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function a(c,u,p){for(var v,f,r=[],e=u;e>18&63]+m[f>>12&63]+m[f>>6&63]+m[63&f]);return r.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(l,i){i.read=function(t,m,S,_,y){var s,h,o=8*y-_-1,a=(1<>1,u=-7,p=S?y-1:0,v=S?-1:1,f=t[m+p];for(p+=v,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+t[m+p],p+=v,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+t[m+p],p+=v,u-=8);if(s===0)s=1-c;else{if(s===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=c}return(f?-1:1)*h*Math.pow(2,s-_)},i.write=function(t,m,S,_,y,s){var h,o,a,c=8*s-y-1,u=(1<>1,v=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,r=_?1:-1,e=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(o=isNaN(m)?1:0,h=u):(h=Math.floor(Math.log(m)/Math.LN2),m*(a=Math.pow(2,-h))<1&&(h--,a*=2),(m+=h+p>=1?v/a:v*Math.pow(2,1-p))*a>=2&&(h++,a/=2),h+p>=u?(o=0,h=u):h+p>=1?(o=(m*a-1)*Math.pow(2,y),h+=p):(o=m*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;t[S+f]=255&o,f+=r,o/=256,y-=8);for(h=h<0;t[S+f]=255&h,f+=r,h/=256,c-=8);t[S+f-r]|=128*e}},function(l,i){var t={}.toString;l.exports=Array.isArray||function(m){return t.call(m)=="[object Array]"}},function(l,i,t){"use strict";var m=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],o=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&o>=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var o=new Array;try{for(var a=m(y),c=a.next();!c.done;c=a.next()){var u=c.value;o.push(_(u))}}catch(f){s={error:f}}finally{try{c&&!c.done&&(h=a.return)&&h.call(a)}finally{if(s)throw s.error}}return o}if(S.isObject(y)){o=new Map;for(var p in y)if(y.hasOwnProperty(p)){var v=y[p];o.set(p,_(v))}return o}return y}i.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},i.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},i.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},i.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},_=this&&this.__spread||function(){for(var h=[],o=0;o=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(1);i.append=function(h,o){h.push(o)},i.extend=function(h,o){h.push.apply(h,_(o))},i.prepend=function(h,o){h.unshift(o)},i.replace=function(h,o,a){var c,u,p=0;try{for(var v=y(h),f=v.next();!f.done;f=v.next()){var r=f.value;if(s.isFunction(o))o.call(null,r)&&(h[p]=a);else if(r===o)return void(h[p]=a);p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}},i.insert=function(h,o,a){h.splice(a,0,o)},i.remove=function(h,o){for(var a=h.length;a--;){var c=h[a];if(s.isFunction(o))o.call(null,c)&&h.splice(a,1);else if(c===o)return void h.splice(a,1)}},i.empty=function(h){h.length=0},i.contains=function(h,o){var a,c;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var v=p.value;if(s.isFunction(o)){if(o.call(null,v))return!0}else if(v===o)return!0}}catch(f){a={error:f}}finally{try{p&&!p.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}return!1},i.size=function(h,o){var a,c;if(o===void 0)return h.length;var u=0;try{for(var p=y(h),v=p.next();!v.done;v=p.next()){var f=v.value;o.call(null,f)&&u++}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}return u},i.isEmpty=function(h){return h.length===0},i.forEach=function(h,o){var a,c,u,p,v,f;return m(this,function(r){switch(r.label){case 0:return o!==void 0?[3,2]:[5,y(h)];case 1:return r.sent(),[3,9];case 2:r.trys.push([2,7,8,9]),a=y(h),c=a.next(),r.label=3;case 3:return c.done?[3,6]:(u=c.value,o.call(null,u)?[4,u]:[3,5]);case 4:r.sent(),r.label=5;case 5:return c=a.next(),[3,3];case 6:return[3,9];case 7:return p=r.sent(),v={error:p},[3,9];case 8:try{c&&!c.done&&(f=a.return)&&f.call(a)}finally{if(v)throw v.error}return[7];case 9:return[2]}})},i.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},i.sortInAscendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?-1:1})},i.sortInDescendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?1:-1})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(g){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&g[0]?c.return:g[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,g[1])).done)return u;switch(c=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return v.label++,{value:g[1],done:!1};case 5:v.label++,c=g[1],g=[0];continue;case 7:g=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){v=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},y=this&&this.__spread||function(){for(var h=[],o=0;o0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var o=[],a=0;a=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(96),_=t(147),y=t(146),s=t(1);function h(f,r){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,r,e){if(!s.isArray(r))return p(f,Array.from(r),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return g},i.asciiCaseInsensitiveMatch=function(f,r){return c(f)===c(r)},i.asciiEncode=function(f){return console.assert(a(f),"asciiEncode requires an ASCII string."),o(f)},i.asciiDecode=function(f){var r,e;try{for(var g=m(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){r={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(r)throw r.error}}return _.isomorphicDecode(f)},i.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},i.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var k=m.exec(I);if(k){var G=(k=k[0]).toLowerCase();this.protocol=G,I=I.substr(k.length)}if(S||k||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=I.substr(0,2)==="//";!$||k&&t[k]||(I=I.substr(2),this.slashes=!0)}if(!t[k]&&($||k&&!e[k])){for(var Y,q,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),P=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),P.unshift(D[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),ce++):ce&&(ne.splice(P,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function _(N){return e(N,function(I){var R="";return I>65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var k=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;k+=36)N=d(N/35);return d(k+36*N/(N+38))}function C(N){var I,R,k,G,$,Y,q,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&t("not-basic"),he.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=q<=ie?1:q>=ie+26?26:q-ie));q+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-$,I=he.length+1,$==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,k,G,$,Y,q,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,$=72,Y=0;Y=I&&red((n-R)/(me=k+1))&&t("overflow"),R+=(q-I)*me,I=q,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),$=S(R,me,k==G),R=0,++k}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var P=v(X._children),D=P.next();!D.done;D=P.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=$;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,$,i.tree_nodeLength(G)-$),d.mutation_append(B,k),s.characterData_replaceData(G,$,i.tree_nodeLength(G)-$,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,k);var M=_(n.create_range([G,$],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var z=v(ce),W=z.next();!W.done;W=z.next()){var oe=W.value;d.mutation_append(oe,k)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=z.return)&&R.call(z)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,q),d.mutation_append(B,k),s.characterData_replaceData(Y,0,q,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,k),M=_(n.create_range([he,0],[Y,q])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],k}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,k,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var $=S._startNode,Y=S._startOffset,q=S._endNode,X=S._endOffset;$===q&&p.Guard.isCharacterDataNode($)&&((D=f.node_clone($))._data=s.characterData_substringData($,Y,X-Y),d.mutation_append(D,G));for(var H=$;!i.tree_isAncestorOf(q,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(q,$,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf($,q,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),P=ce.next();!P.done;P=ce.next())if(g(z=P.value,S)){if(p.Guard.isDocumentTypeNode(z))throw new a.HierarchyRequestError;ue.push(z)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone($))._data=s.characterData_substringData($,Y,i.tree_nodeLength($)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([$,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var z=M.value,D=f.node_clone(z);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=B.return)&&k.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(q))._data=s.characterData_substringData(q,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[q,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var k=v(S._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===S._startOffset){I=$;break}R++}}catch(q){C={error:q}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,k=v(p.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!p.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),q={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),q[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),P=ce.next();!P.done;P=ce.next()){var D=v(P.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=q[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{P&&!P.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var k=s.prefix,G=null;if(k===null&&R===N||(G=C.get(k,R)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):k!==null?(k in T&&(k=this._generatePrefix(R,C,c)),C.set(k,R),x+=_+=k+":"+s.localName,x+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var $=R===p.namespace.HTML;if($&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):$||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!($&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{q&&!q.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var k=C;S=this.cdata(S,this.sanitize(k.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var $=C;S=this.instruction(S,this.sanitize($.target),this.sanitize($.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var q=C,X=this.sanitize(q.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(q.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],P=ue[1];ce==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(q.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var z=y(i.namespace_extractQName(Q),2),W=(ce=z[0],P=z[1],null);ce==="xmlns"||ce===null&&P==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}q.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function k(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,z,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),z=parseInt(M[1],10),W=parseInt(M[2],10),z!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&k(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,z;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],z=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(z)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=z}};function $(D,L,B,M){var z,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,z=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentze)&&(Q(K,ze,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(q(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>ze&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=ze+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");qe=Ne=K.position}else c(Te)?($(K,qe,Ne,!0),re(K,H(K,!1,ze)),qe=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var ze,qe,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),ze=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===ze&&R(K,"name of an alias node must contain at least one character"),qe=K.input.slice(ze,K.position),K.anchorMap.hasOwnProperty(qe)||R(K,'unidentified alias "'+qe+'"'),K.result=K.anchorMap[qe],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,ze,qe){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||qe&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=ze){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&($(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return $(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):$e===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,z,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(z=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),z=D.input.charCodeAt(D.position),!(D.lineIndent>0||z!==37));){for(oe=!0,z=D.input.charCodeAt(++D.position),L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");z!==0;){for(;t(z);)z=D.input.charCodeAt(++D.position);if(z===35){do z=D.input.charCodeAt(++D.position);while(z!==0&&!c(z));break}if(c(z))break;for(L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}z!==0&&X(D),p.call(G,B)?G[B](D,B,M):k(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&k(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,Je){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=Je};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,Je){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,Je){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,Je){var Ft=ye==="||"||ye==="&&";this.type=Ft?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=Je};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,Je){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassDeclaration=C;var T=function(ye,Oe,Je){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,Je){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=Je};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var k=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=k;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var $=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=$;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var q=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=q;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,Je){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=Je};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,Je){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=Je,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,Je){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=Je};y.ForOfStatement=me;var ne=function(ye,Oe,Je,Ft){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=Je,this.body=Ft};y.ForStatement=ne;var Q=function(ye,Oe,Je,Ft){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=Ft,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,Je,Ft){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=Ft,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,Je){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=Je};y.IfStatement=ce;var P=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=P;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var z=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=z;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,Je,Ft,Pr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=Je,this.kind=Ft,this.static=Pr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,Je,Ft,Pr,kr){this.type=a.Syntax.Property,this.key=Oe,this.computed=Je,this.value=Ft,this.kind=ye,this.method=Pr,this.shorthand=kr};y.Property=Le;var tt=function(ye,Oe,Je,Ft){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:Je,flags:Ft}};y.RegexLiteral=tt;var $e=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=$e;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var ze=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=ze;var qe=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=qe;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,Je){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=Je};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,Je){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=Je};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,k))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var k=_.pop();R>1;){var G=_.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,k=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,q)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(k),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&k[Q+1]!==" "}return he||me?$>9&&g(k)?5:me?4:3:ie&&!q(k)?1:2}function _(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var q=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-q),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(x(G,H,k.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,k.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],P=me[2];he=P[0]===" ",Q+=ce+(ie||he||P===""?"":` -`)+C(P,re),ie=he}return Q}(G,X),q));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`)},i.stripLeadingAndTrailingASCIIWhitespace=u,i.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},i.collectASequenceOfCodePoints=p,i.skipASCIIWhitespace=v,i.strictlySplit=function f(r,e){if(!s.isArray(r))return f(Array.from(r),e);var g={position:0},b=[],x=p(function(E){return e!==E},r,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(97);i.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},i.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},i.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=m(_._abortAlgorithms),o=h.next();!o.done;o=h.next())o.value.call(_)}catch(a){y={error:a}}finally{try{o&&!o.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(150),S=function(){function _(){}return _.asNode=function(y){if(m.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();i.Cast=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();i.EmptySet=m;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.SchemeStart=0]="SchemeStart",m[m.Scheme=1]="Scheme",m[m.NoScheme=2]="NoScheme",m[m.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",m[m.PathOrAuthority=4]="PathOrAuthority",m[m.Relative=5]="Relative",m[m.RelativeSlash=6]="RelativeSlash",m[m.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",m[m.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",m[m.Authority=9]="Authority",m[m.Host=10]="Host",m[m.Hostname=11]="Hostname",m[m.Port=12]="Port",m[m.File=13]="File",m[m.FileSlash=14]="FileSlash",m[m.FileHost=15]="FileHost",m[m.PathStart=16]="PathStart",m[m.Path=17]="Path",m[m.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",m[m.Query=19]="Query",m[m.Fragment=20]="Fragment"}(i.ParserState||(i.ParserState={})),i.OpaqueOrigin=["","",null,null]},function(l,i,t){"use strict";var m=t(245),S=t(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=b,i.resolve=function(x,E){return b(x,!1,!0).resolve(E)},i.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},i.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},i.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),a=["'"].concat(o),c=["%","/","?",";","#"].concat(a),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},r={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=t(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(v);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=m.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=a.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(l,i,t){(function(m,S){var _;(function(y){i&&i.nodeType,m&&m.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,o=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,f=String.fromCharCode;function r(N){throw new RangeError(p[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var R="";return I>65535&&(R+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,R){var k=0;for(N=R?v(N/700):N>>1,N+=v(N/I);N>455;k+=36)N=v(N/35);return v(k+36*N/(N+38))}function D(N){var I,R,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&r("not-basic"),de.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=ve&&r("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>v((o-ne)/Y))&&r("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>v(o/(ee=36-H))&&r("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),v(ne/I)>o-Q&&r("overflow"),Q+=v(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,R,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,R=0,$=72,Y=0;Y=I&&rev((o-R)/(ve=k+1))&&r("overflow"),R+=(z-I)*ve,I=z,Y=0;Yo&&r("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=v(Q/ne);ie.push(f(E(X,0))),$=w(R,ve,k==G),R=0,++k}++R,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return c.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return a.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(i,t,i,m))===void 0||(m.exports=_)})()}).call(this,t(246)(l),t(78))},function(l,i){l.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(l,i,t){"use strict";l.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},function(l,i,t){"use strict";i.decode=i.parse=t(249),i.encode=i.stringify=t(250)},function(l,i,t){"use strict";function m(_,y){return Object.prototype.hasOwnProperty.call(_,y)}l.exports=function(_,y,s,h){y=y||"&",s=s||"=";var o={};if(typeof _!="string"||_.length===0)return o;var a=/\+/g;_=_.split(y);var c=1e3;h&&typeof h.maxKeys=="number"&&(c=h.maxKeys);var u=_.length;c>0&&u>c&&(u=c);for(var p=0;p=0?(v=g.substr(0,b),f=g.substr(b+1)):(v=g,f=""),r=decodeURIComponent(v),e=decodeURIComponent(f),m(o,r)?S(o[r])?o[r].push(e):o[r]=[o[r],e]:o[r]=e}return o};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(l,i,t){"use strict";var m=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};l.exports=function(s,h,o,a){return h=h||"&",o=o||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(c){var u=encodeURIComponent(m(c))+o;return S(s[c])?_(s[c],function(p){return u+encodeURIComponent(m(p))}).join(h):u+encodeURIComponent(m(s[c]))}).join(h):a?encodeURIComponent(m(a))+o+encodeURIComponent(m(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var o=[],a=0;a=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}i.eventTarget_flatten=_,i.eventTarget_flattenMore=function(y){var s=_(y),h=!1,o=!1;return S.isBoolean(y)||(h=y.once||!1,o=y.passive||!1),[s,o,h]},i.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[o++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1),_=t(29);i.parentNode_convertNodesIntoANode=function(y,s){for(var h,o,a=null,c=0;c=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),R=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return R},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=m(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(a.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!a.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+a.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,a.tree_nodeLength(G)-$),v.mutation_append(L,k),u.characterData_replaceData(G,$,a.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);v.mutation_append(L,k);var M=x(o.create_range([G,$],[H,a.tree_nodeLength(H)]));v.mutation_append(M,L)}try{for(var q=m(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;v.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),v.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),v.mutation_append(L,k),M=x(o.create_range([de,0],[Y,z])),v.mutation_append(M,L)),E._start=[ie,le],E._end=[ie,le],k}i.range_collapsed=r,i.range_root=e,i.range_isContained=g,i.range_isPartiallyContained=b,i.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},i.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},i.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=a.tree_index(E);w._start=[D,T],w._end=[D,T+1]},i.range_extract=x,i.range_cloneTheContents=function E(w){var D,T,N,I,R,k,G=o.create_documentFragment(w._startNode._nodeDocument);if(r(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),v.mutation_append(C,G));for(var H=$;!a.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!a.tree_isAncestorOf(z,$,!0))try{for(var re=m(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!a.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=m(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,a.tree_nodeLength($)-Y),v.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);v.mutation_append(C,G);var B=E(o.create_range([$,Y],[ee,a.tree_nodeLength(ee)]));v.mutation_append(B,C)}try{for(var L=m(le),M=L.next();!M.done;M=L.next()){var q=M.value,C=p.node_clone(q);v.mutation_append(C,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=L.return)&&k.call(L)}finally{if(R)throw R.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),v.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(o.create_range([ve,0],[z,X])),v.mutation_append(B,C)),G},i.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var R=0;try{for(var k=m(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===w._startOffset){I=$;break}R++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}v.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&v.mutation_remove(E,E._parent);var Y=I===null?a.tree_nodeLength(N):a.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=a.tree_nodeLength(E):Y++,v.mutation_preInsert(E,N,I),r(w)&&(w._end=[N,Y])},i.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w},i.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(9);i.selectors_scopeMatchASelectorsString=function(S,_){throw new m.NotSupportedError}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(105);i.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===m.FilterResult.Accept)return _._current=s,s;if(h===m.FilterResult.Skip){var o=y?s._firstChild:s._lastChild;if(o!==null){s=o;continue}}for(;s!==null;){var a=y?s._nextSibling:s._previousSibling;if(a!==null){s=a;break}var c=s._parent;if(c===null||c===_._root||c===_._current)return null;s=c}}return null},i.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var o=S.traversal_filter(_,s);if(o===m.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,o!==m.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===m.FilterResult.Accept)return null}}},function(l,i,t){"use strict";t(89),t(74);var m,S=this&&this.__extends||(m=function(a,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)p.hasOwnProperty(v)&&(u[v]=p[v])})(a,c)},function(a,c){function u(){this.constructor=a}m(a,c),a.prototype=c===null?Object.create(c):(u.prototype=c.prototype,new u)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),y=t(2),s=t(50),h=t(3),o=function(a){function c(u,p){var v=a.call(this,u)||this;return v._indentation={},v._lengthToLastNewline=0,v._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),v}return S(c,a),c.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},c.prototype.declaration=function(u,p,v){this._beginLine(),this._refs.markup+='",this._endLine()},c.prototype.docType=function(u,p,v){this._beginLine(),this._refs.markup+=p&&v?"':p?"':v?"':"",this._endLine()},c.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},c.prototype.openTagEnd=function(u,p,v){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!v){for(var f=!0,r=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,r=!1;break}g++}e.data!==""&&(r=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=r}(v||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=v?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},c.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},c.prototype.attribute=function(u,p){var v=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+v.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+v):this._refs.markup+=" "+v},c.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},c.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},c.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},c.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},c.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},c}(s.BaseWriter);i.XMLWriter=o},function(l,i,t){"use strict";var m=t(47),S=t(35);l.exports="".repeat||function(_){var y=String(S(this)),s="",h=m(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(c);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},a.prototype._convertObject=function(c,u,p){var v,f,r=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(c);if(s.isArray(c)){e+="[";var b=c.length,x=0;try{for(var E=_(c),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(c.indent):""},a.prototype._endLine=function(c,u){return c.prettyPrint?c.newline:""},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a.prototype._isLeafNode=function(c){return this._descendantCount(c)<=1},a.prototype._descendantCount=function(c,u){var p=this;return u===void 0&&(u=0),s.isArray(c)?s.forEachArray(c,function(v){return u+=p._descendantCount(v,u)},this):s.isObject(c)?s.forEachObject(c,function(v,f){return u+=p._descendantCount(f,u)},this):u++,u},a}(t(50).BaseWriter);i.JSONWriter=h},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(89),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var y=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(c),v=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return v.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(v=v.slice(0,-this._writerOptions.newline.length)),v},a.prototype._convertObject=function(c,u,p,v){var f,r,e=this;v===void 0&&(v=!1);var g="";if(s.isArray(c))try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}else s.forEachObject(c,function(w,D){v?(g+=e._key(w),v=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},a.prototype._beginLine=function(c,u,p){p===void 0&&(p=!1);var v=c.offset+u+1,f=new Array(v).join(c.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},a.prototype._endLine=function(c){return c.newline},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a}(t(50).BaseWriter);i.YAMLWriter=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),t(110).dom.setFeatures(!0);var m=t(110);i.DOMImplementation=m.DOMImplementation;var S=t(271);i.DOMParser=S.DOMParser;var _=t(274);i.XMLSerializer=_.XMLSerializer},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),y=t(7),s=function(){function h(o){this._nodeList=[],this._recordQueue=[],this._callback=o;var a=S.dom.window;y.set.append(a._mutationObservers,this)}return h.prototype.observe=function(o,a){var c,u;if((a=a||{childList:!1,subtree:!1}).attributeOldValue===void 0&&a.attributeFilter===void 0||a.attributes!==void 0||(a.attributes=!0),a.characterDataOldValue!==void 0&&a.characterData===void 0&&(a.characterData=!0),!a.childList&&!a.attributes&&!a.characterData)throw new TypeError;if(a.attributeOldValue&&!a.attributes)throw new TypeError;if(a.attributeFilter!==void 0&&!a.attributes)throw new TypeError;if(a.characterDataOldValue&&!a.characterData)throw new TypeError;var p=!1,v=a,f=function(b){var x,E;if(b.observer===r){p=!0;try{for(var w=(x=void 0,m(r._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=v}},r=this;try{for(var e=m(o._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){c={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(c)throw c.error}}p||(o._registeredObserverList.push({observer:this,options:a}),this._nodeList.push(o))},h.prototype.disconnect=function(){var o,a,c=this;try{for(var u=m(this._nodeList),p=u.next();!p.done;p=u.next()){var v=p.value;y.list.remove(v._registeredObserverList,function(f){return f.observer===c})}}catch(f){o={error:f}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var o=this._recordQueue;return this._recordQueue=[],o},h}();i.MutationObserverImpl=s},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._previousSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=m.Cast.asNode(this)._nextSibling;y;){if(m.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();i.NonDocumentTypeChildNodeImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(m.Cast.asNode(this),!1,!1,function(o){return m.Guard.isElementNode(o)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(m.Cast.asNode(this),h,!1,!1,function(o){return m.Guard.isElementNode(o)})}return null},y}();i.NonElementParentNodeImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,o=h&&s[h],a=0;if(o)return o.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,o,a=0;try{for(var c=m(S.Cast.asNode(this)._children),u=c.next();!u.done;u=c.next()){var p=u.value;S.Guard.isElementNode(p)&&a++}}catch(v){h={error:v}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(h)throw h.error}}return a},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],o=0;o0)&&!(v=r.next()).done;)e.push(v.value)}catch(g){f={error:g}}finally{try{v&&!v.done&&(p=r.return)&&p.call(r)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(180),y=t(111),s=t(7),h=t(0),o=t(69),a=function(){function c(){}return c.prototype.parse=function(u){for(var p,v,f,r,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var R=x,k=m(h.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=m(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=m(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(M){p={error:M}}finally{try{H&&!H.done&&(v=X.return)&&v.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);b.appendChild(ie);var le=new o.LocalNameSet;try{for(var fe=(f=void 0,S(R.attributes)),P=fe.next();!P.done;P=fe.next()){var C=m(P.value,2),B=(re=C[0],de=C[1],m(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(M){f={error:M}}finally{try{P&&!P.done&&(r=fe.return)&&r.call(fe)}finally{if(f)throw f.error}}R.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},c.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c}();i.XMLParserImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(275);i.XMLSerializer=m.XMLSerializerImpl},function(l,i,t){"use strict";var m=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(2),_=t(69),y=t(95),s=t(9),h=t(7),o=t(0),a=function(){function c(){}return c.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},c.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var v=new y.NamespacePrefixMap;v.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,v,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},c.prototype._serializeNodeNS=function(u,p,v,f,r){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,v,f,r);case S.NodeType.Document:return this._serializeDocumentNS(u,p,v,f,r);case S.NodeType.Comment:return this._serializeComment(u,r);case S.NodeType.Text:return this._serializeText(u,r);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,v,f,r);case S.NodeType.DocumentType:return this._serializeDocumentType(u,r);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,r);case S.NodeType.CData:return this._serializeCData(u,r);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeElementNS=function(u,p,v,f,r){var e,g;if(r&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=v.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,R=u.namespaceURI;if(I===R)N!==null&&(w=!0),b+=x=R===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&R===N||(G=D.get(k,R)),k==="xmlns"){if(r)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(R,D,f)),D.set(k,R),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,r)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(w=!0,I=R,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(R,r)+'"'):(I=R,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,r);var $=R===h.namespace.HTML;if($&&u.childNodes.length===0&&c._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=m(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,r)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},c.prototype._serializeDocumentNS=function(u,p,v,f,r){var e,g;if(r&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeComment=function(u,p){if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},c.prototype._serializeText=function(u,p){if(p&&!o.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var v="",f=0;f"?">":r}return v},c.prototype._serializeDocumentFragmentNS=function(u,p,v,f,r){var e,g,b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeDocumentType=function(u,p){if(p&&!o.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!o.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},c.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},c.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},c.prototype._serializeAttributesNS=function(u,p,v,f,r,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=m(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(r||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&r||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,v):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!o.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},c.prototype._recordNamespaceInformation=function(u,p,v){var f,r,e=null;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),v[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(r=g.return)&&r.call(g)}finally{if(f)throw f.error}}return e},c.prototype._generatePrefix=function(u,p,v){var f="ns"+v.value;return v.value++,p.set(f,u),f},c.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!o.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var v="",f=0;f"?">":r}return v},c.prototype._serializeElement=function(u,p){var v,f;if(p&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var r=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",r=!0),g+=">",r)return g;try{for(var b=m(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){v={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(v)throw v.error}}return g+=""},c.prototype._serializeDocument=function(u,p){var v,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeDocumentFragment=function(u,p){var v,f,r="";try{for(var e=m(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeAttributes=function(u,p){var v,f,r="",e=p?{}:void 0;try{for(var g=m(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!o.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(v)throw v.error}}return r},c._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),c}();i.XMLSerializerImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(277);i.XMLReader=m.XMLReader;var S=t(112);i.ObjectReader=S.ObjectReader;var _=t(280);i.JSONReader=_.JSONReader;var y=t(281);i.YAMLReader=y.YAMLReader},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(65),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var r in f)f.hasOwnProperty(r)&&(v[r]=f[r])})(u,p)},function(u,p){function v(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}),_=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(180),h=t(111),o=t(7),a=t(0),c=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(v,f){for(var r,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=v,w=v,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var R=D;w=this.docType(w,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(a.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(r=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(a.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){r={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(r)throw r.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===v.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var M=_(L.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(a.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=o.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(t(75).BaseReader);i.XMLReader=c},function(l,i,t){var m=t(4),S=t(279);m({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(l,i,t){"use strict";var m=t(16),S=t(8),_=t(61),y=t(85),s=t(79),h=t(27),o=t(41),a=Object.assign,c=Object.defineProperty;l.exports=!a||S(function(){if(m&&a({b:1},a(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},v=Symbol();return u[v]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),a({},u)[v]!=7||_(a({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var v=h(u),f=arguments.length,r=1,e=y.f,g=s.f;f>r;)for(var b,x=o(arguments[r++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],m&&!g.call(x,b)||(v[b]=x[b]);return v}:a},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){return new _.ObjectReader(this._builderOptions).parse(o,JSON.parse(a))},h}(t(75).BaseReader);i.JSONReader=y},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),y=t(75),s=t(282),h=function(o){function a(){return o!==null&&o.apply(this,arguments)||this}return S(a,o),a.prototype._parse=function(c,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(c,p)},a}(y.BaseReader);i.YAMLReader=h},function(l,i,t){"use strict";var m=t(283);l.exports=m},function(l,i,t){"use strict";var m=t(284),S=t(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}l.exports.Type=t(10),l.exports.Schema=t(39),l.exports.FAILSAFE_SCHEMA=t(113),l.exports.JSON_SCHEMA=t(182),l.exports.CORE_SCHEMA=t(181),l.exports.DEFAULT_SAFE_SCHEMA=t(54),l.exports.DEFAULT_FULL_SCHEMA=t(76),l.exports.load=m.load,l.exports.loadAll=m.loadAll,l.exports.safeLoad=m.safeLoad,l.exports.safeLoadAll=m.safeLoadAll,l.exports.dump=S.dump,l.exports.safeDump=S.safeDump,l.exports.YAMLException=t(53),l.exports.MINIMAL_SCHEMA=t(113),l.exports.SAFE_SCHEMA=t(54),l.exports.DEFAULT_SCHEMA=t(76),l.exports.scan=_("scan"),l.exports.parse=_("parse"),l.exports.compose=_("compose"),l.exports.addConstructor=_("addConstructor")},function(l,i,t){"use strict";var m=t(38),S=t(53),_=t(285),y=t(54),s=t(76),h=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=/[\x85\u2028\u2029]/,c=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function v(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function r(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function R(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var M,q,W;C.version!==null&&R(C,"duplication of %YAML directive"),L.length!==1&&R(C,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&R(C,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var M,q;L.length!==2&&R(C,"TAG directive accepts exactly two arguments"),M=L[0],q=L[1],u.test(M)||R(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,M)&&R(C,'there is a previously declared suffix for "'+M+'" tag handle'),p.test(q)||R(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[M]=q}};function $(C,B,L,M){var q,W,ae,me;if(B1&&(C.result+=m.repeat(` +`,B-1))}function de(C,B){var L,M,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),M=C.input.charCodeAt(C.position);M!==0&&M===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),M=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),M=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&M!==0)R(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?R(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(r(xe)){do xe=K.input.charCodeAt(++K.position);while(r(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:R(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else R(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&R(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||R(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||R(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),r(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&R(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Me.kind+'", not "'+C.kind+'"'),Me.resolve(C.result)?(C.result=Me.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):R(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):R(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,M,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(M=[],(L=C.input.slice(B,C.position)).length<1&&R(C,"directive name must not be less than one character in length");q!==0;){for(;r(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);M.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,M):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&R(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&a.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(o="",a=this.position;ay/2-1){o=" ... ",a-=5;break}return c=this.buffer.slice(h,a),m.repeat(" ",_)+s+c+o+` +`+m.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},l.exports=S},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(38),S=t(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}l.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,o,a=s.length,c=0,u=!1;if(!a)return!1;if((h=s[c])!=="-"&&h!=="+"||(h=s[++c]),h==="0"){if(c+1===a)return!0;if((h=s[++c])==="b"){for(c++;c=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(l,i,t){"use strict";var m=t(38),S=t(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;l.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,o,a,c;return o=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,c=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){c.unshift(parseFloat(u,10))}),h=0,a=1,c.forEach(function(u){h+=u*a,a*=60}),o*h):o*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||m.isNegativeZero(s))},represent:function(s,h){var o;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(m.isNegativeZero(s))return"-0.0";return o=s.toString(10),y.test(o)?o.replace("e",".e"):o},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");l.exports=new m("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,o,a,c,u,p,v,f=0,r=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],o=+s[2]-1,a=+s[3],!s[4])return new Date(Date.UTC(h,o,a));if(c=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(r=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(r=-r)),v=new Date(Date.UTC(h,o,a,c,u,p,f)),r&&v.setTime(v.getTime()-r),v},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(l,i,t){"use strict";var m;try{m=t(145).Buffer}catch{}var S=t(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;l.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,o=0,a=y.length,c=_;for(h=0;h64)){if(s<0)return!1;o+=6}return o%8==0},construct:function(y){var s,h,o=y.replace(/[\r\n=]/g,""),a=o.length,c=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|c.indexOf(o.charAt(s));return(h=a%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),m?m.from?m.from(p):new m(p):p},predicate:function(y){return m&&m.isBuffer(y)},represent:function(y){var s,h,o="",a=0,c=y.length,u=_;for(s=0;s>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]),a=(a<<8)+y[s];return(h=c%3)===0?(o+=u[a>>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]):h===2?(o+=u[a>>10&63],o+=u[a>>4&63],o+=u[a<<2&63],o+=u[64]):h===1&&(o+=u[a>>2&63],o+=u[a<<4&63],o+=u[64],o+=u[64]),o}})},function(l,i,t){"use strict";var m=t(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;l.exports=new m("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,o,a,c,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(l,i,t){"use strict";var m;try{m=t(302)}catch{typeof window<"u"&&(m=window.esprima)}var S=t(10);l.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=m.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=m.parse(s,{range:!0}),o=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(a){o.push(a.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(o,s.slice(y[0]+1,y[1]-1)):new Function(o,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(l,i,t){var m;m=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),o=y(8),a=y(15);function c(p,v,f){var r=null,e=function(T,N){f&&f(T,N),r&&r.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(v){b=typeof v.comment=="boolean"&&v.comment;var x=typeof v.attachComment=="boolean"&&v.attachComment;(b||x)&&((r=new s.CommentHandler).attach=x,v.comment=!0,g=e)}var E,w=!1;v&&typeof v.sourceType=="string"&&(w=v.sourceType==="module"),E=v&&typeof v.jsx=="boolean"&&v.jsx?new h.JSXParser(p,v,g):new o.Parser(p,v,g);var D=w?E.parseModule():E.parseScript();return b&&r&&(D.comments=r.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=c,_.parseModule=function(p,v,f){var r=v||{};return r.sourceType="module",c(p,r,f)},_.parseScript=function(p,v,f){var r=v||{};return r.sourceType="script",c(p,r,f)},_.tokenize=function(p,v,f){var r,e=new a.Tokenizer(p,v);r=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),r.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(r.errors=e.errors()),r};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function o(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return o.prototype.insertInnerComments=function(a,c){if(a.type===s.Syntax.BlockStatement&&a.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var v=this.leading[p];c.end.offset>=v.start&&(u.unshift(v.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(a.innerComments=u)}},o.prototype.findTrailingComments=function(a){var c=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=a.end.offset&&c.unshift(p.comment)}return this.trailing.length=0,c}var v=this.stack[this.stack.length-1];if(v&&v.node.trailingComments){var f=v.node.trailingComments[0];f&&f.range[0]>=a.end.offset&&(c=v.node.trailingComments,delete v.node.trailingComments)}return c},o.prototype.findLeadingComments=function(a){for(var c,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=a.start.offset;)c=f.node,this.stack.pop();if(c){for(var p=(c.leadingComments?c.leadingComments.length:0)-1;p>=0;--p){var v=c.leadingComments[p];v.range[1]<=a.start.offset&&(u.unshift(v),c.leadingComments.splice(p,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=a.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},o.prototype.visitNode=function(a,c){if(!(a.type===s.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,c);var u=this.findTrailingComments(c),p=this.findLeadingComments(c);p.length>0&&(a.leadingComments=p),u.length>0&&(a.trailingComments=u),this.stack.push({node:a,start:c.start.offset})}},o.prototype.visitComment=function(a,c){var u=a.type[0]==="L"?"Line":"Block",p={type:u,value:a.value};if(a.range&&(p.range=a.range),a.loc&&(p.loc=a.loc),this.comments.push(p),this.attach){var v={comment:{type:u,value:a.value,range:[c.start.offset,c.end.offset]},start:c.start.offset};a.loc&&(v.comment.loc=a.loc),a.type=u,this.leading.push(v),this.trailing.push(v)}},o.prototype.visit=function(a,c){a.type==="LineComment"||a.type==="BlockComment"?this.visitComment(a,c):this.attach&&this.visitNode(a,c)},o}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var o=y(4),a=y(5),c=y(6),u=y(7),p=y(8),v=y(13),f=y(14);function r(g){var b;switch(g.type){case c.JSXSyntax.JSXIdentifier:b=g.name;break;case c.JSXSyntax.JSXNamespacedName:var x=g;b=r(x.namespace)+":"+r(x.name);break;case c.JSXSyntax.JSXMemberExpression:var E=g;b=r(E.object)+"."+r(E.property)}return b}v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||o.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!o.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!o.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var R=E.substr(1,E.length-2);T&&R.length>1?E=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?E=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!f.XHTMLEntities[R]||(E=f.XHTMLEntities[R])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==w;)D+=R==="&"?this.scanXHTMLEntity(w):R;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,o.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new a.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new a.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new a.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new a.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new a.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new a.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new a.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new a.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var o=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=o;var a=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=a;var c=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=c;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var v=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=v;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var r=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=r;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var o=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=o;var a=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=a;var c=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=c;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var v=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=v;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var r=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=r;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var R=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=R;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var M=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=M;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,Wr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=Wr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Me=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Me;var je=function(ye,Pe,Qe,Lt,Wr,Xr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=Wr,this.shorthand=Xr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var oi=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=oi;var ai=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=ai},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),o=y(11),a=y(7),c=y(12),u=y(2),p=y(13),v=function(){function f(r,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new c.Scanner(r,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(r){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||r===">>>="||r==="&="||r==="^="||r==="|="},f.prototype.isolateCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(r){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var r,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),r=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(null,g));break;case 10:r=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,r=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":r=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":r=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),r=this.finalize(b,new a.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:r=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?r=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?r=this.finalize(b,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?r=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),r=this.finalize(b,new a.ThisExpression)):r=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:r=this.throwUnexpectedToken(this.nextToken())}return r},f.prototype.parseSpreadElement=function(){var r=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(r,new a.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var r=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(r,new a.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(r){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=r.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&r.firstRestricted&&this.tolerateUnexpectedToken(r.firstRestricted,r.message),this.context.strict&&r.stricted&&this.tolerateUnexpectedToken(r.stricted,r.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var r=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(r,new a.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var r,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,o.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);r=this.finalize(e,new a.Literal(g.value,b));break;case 3:case 1:case 5:case 4:r=this.finalize(e,new a.Identifier(g.value));break;case 7:g.value==="["?(r=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):r=this.throwUnexpectedToken(g);break;default:r=this.throwUnexpectedToken(g)}return r},f.prototype.isPropertyKey=function(r,e){return r.type===u.Syntax.Identifier&&r.name===e||r.type===u.Syntax.Literal&&r.value===e},f.prototype.parseObjectProperty=function(r){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new a.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&R)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&R)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&R)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(r.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),r.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new a.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new a.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new a.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var r=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(r,new a.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var r=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var r=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(r,new a.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(r){switch(r.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:r.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(r.argument);break;case u.Syntax.ArrayExpression:r.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))r=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[r],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(r);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(r.type===u.Syntax.Identifier&&r.name==="yield"&&(b=!0,r={type:"ArrowParameterPlaceHolder",params:[r],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),r.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[r,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new a.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=D.length-1;e=D[R];for(var k=x.pop();R>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[R-1],e=this.finalize(I,new a.BinaryExpression(N,D[R-2],e)),R-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var r=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(r),new a.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(r,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(r,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(r,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(r,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=r.async,E=this.reinterpretAsCoverFormalsList(r);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),r=x?this.finalize(I,new a.AsyncArrowFunctionExpression(E.params,R,G)):this.finalize(I,new a.ArrowFunctionExpression(E.params,R,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&r.type===u.Syntax.Identifier){var $=r;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(r):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(this.startNode(e),new a.AssignmentExpression(Y,r,z)),this.context.firstCoverInitializedNameError=null}}return r},f.prototype.parseExpression=function(){var r=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(r),new a.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var r;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),r=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),r=this.parseImportDeclaration();break;case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"function":r=this.parseFunctionDeclaration();break;case"class":r=this.parseClassDeclaration();break;case"let":r=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:r=this.parseStatement()}else r=this.parseStatement();return r},f.prototype.parseBlock=function(){var r=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(r,new a.BlockStatement(e))},f.prototype.parseLexicalBinding=function(r,e){var g=this.createNode(),b=this.parsePattern([],r);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(o.Messages.StrictVarName);var x=null;return r==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new a.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(r,e){for(var g=[this.parseLexicalBinding(r,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(r,e));return g},f.prototype.isLexicalDeclaration=function(){var r=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(r),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(r){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,r);return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(r,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(r,e);return this.finalize(g,new a.RestElement(b))},f.prototype.parseArrayPattern=function(r,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(r,e));break}b.push(this.parsePatternWithDefault(r,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new a.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(r,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new a.Identifier(D.value));if(this.match("=")){r.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new a.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(r,e)):(r.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(r,e);return this.finalize(x,new a.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(r,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(r,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new a.ObjectPattern(b))},f.prototype.parsePattern=function(r,e){var g;return this.match("[")?g=this.parseArrayPattern(r,e):this.match("{")?g=this.parseObjectPattern(r,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),r.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(r,e){var g=this.lookahead,b=this.parsePattern(r,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new a.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(r){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,o.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||r!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new a.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(r){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(o.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||r.inFor||this.expect("="),this.finalize(e,new a.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(r){var e={inFor:r.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var r=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(r,new a.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var r=this.createNode();return this.expect(";"),this.finalize(r,new a.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var r=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var r,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new a.IfStatement(b,r,g))},f.prototype.parseDoWhileStatement=function(){var r=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(r,new a.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var r,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,r=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new a.WhileStatement(g,r))},f.prototype.parseForStatement=function(){var r,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new a.VariableDeclaration(N,R)))):(b=this.finalize(b,new a.Identifier(R)),this.nextToken(),r=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new a.SequenceExpression(G))}this.expect(";")}}if(r===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return r===void 0?this.finalize(D,new a.ForStatement(b,x,E,g)):w?this.finalize(D,new a.ForInStatement(r,e,g)):this.finalize(D,new a.ForOfStatement(r,e,g))},f.prototype.parseContinueStatement=function(){var r=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(r,new a.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var r=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(r,new a.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var r=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var r,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseStatement()),this.finalize(e,new a.WithStatement(g,r))},f.prototype.parseSwitchCase=function(){var r,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),r=null):(this.expectKeyword("case"),r=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new a.SwitchCase(r,g))},f.prototype.parseSwitchStatement=function(){var r=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(o.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(r,new a.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var r,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(o.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,o.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,o.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],r=new a.LabeledStatement(b,E)}else this.consumeSemicolon(),r=new a.ExpressionStatement(g);return this.finalize(e,r)},f.prototype.parseThrowStatement=function(){var r=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var r=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(o.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(o.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var r=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:r=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:r=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return r},f.prototype.parseYieldExpression=function(){var r=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(r,new a.YieldExpression(e,g))},f.prototype.parseClassElement=function(r){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,o.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&R&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,o.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,o.Messages.ConstructorSpecialMethod),r.value?this.throwUnexpectedToken(e,o.Messages.DuplicateConstructor):r.value=!0,b="constructor")),this.finalize(g,new a.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var r=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():r.push(this.parseClassElement(e));return this.expect("}"),r},f.prototype.parseClassBody=function(){var r=this.createNode(),e=this.parseClassElementList();return this.finalize(r,new a.ClassBody(e))},f.prototype.parseClassDeclaration=function(r){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=r&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new a.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var r=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(r,new a.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Module(e))},f.prototype.parseScript=function(){for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Script(e))},f.prototype.parseModuleSpecifier=function(){var r=this.createNode();this.lookahead.type!==8&&this.throwError(o.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(r,new a.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var r,e,g=this.createNode();return this.lookahead.type===3?(e=r=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=r=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new a.ImportSpecifier(e,r))},f.prototype.parseNamedImports=function(){this.expect("{");for(var r=[];!this.match("}");)r.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),r},f.prototype.parseImportDefaultSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName();return this.finalize(r,new a.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var r=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(r,new a.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var r,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)r=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),r=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new a.ImportDeclaration(g,r))},f.prototype.parseExportSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(r,new a.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var r,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);r=this.finalize(e,new a.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),r=this.finalize(e,new a.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),r=this.finalize(e,new a.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),r=this.finalize(e,new a.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),r=this.finalize(e,new a.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),r=this.finalize(e,new a.ExportNamedDeclaration(null,E,w))}return r},f}();_.Parser=v},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,o){var a=new Error(h);try{throw a}catch(c){Object.create&&Object.defineProperty&&(a=Object.create(c),Object.defineProperty(a,"column",{value:o}))}return a},s.prototype.createError=function(h,o,a,c){var u="Line "+o+": "+c,p=this.constructError(u,a);return p.index=h,p.lineNumber=o,p.description=c,p},s.prototype.throwError=function(h,o,a,c){throw this.createError(h,o,a,c)},s.prototype.tolerateError=function(h,o,a,c){var u=this.createError(h,o,a,c);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),o=y(11);function a(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function c(p){return"01234567".indexOf(p)}var u=function(){function p(v,f){this.source=v,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=v.length,this.index=0,this.lineNumber=v.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(v){this.index=v.index,this.lineNumber=v.lineNumber,this.lineStart=v.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(v){return v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.tolerateUnexpectedToken=function(v){v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.skipSingleLineComment=function(v){var f,r,e=[];for(this.trackComment&&(e=[],f=this.index-v,r={start:{line:this.lineNumber,column:this.index-this.lineStart-v},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+v,this.index-1],range:[f,this.index-1],loc:r};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+v,this.index],range:[f,this.index],loc:r},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var v,f,r=[];for(this.trackComment&&(r=[],v=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:f};r.push(g)}return r}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:f},r.push(g)),this.tolerateUnexpectedToken(),r},p.prototype.scanComments=function(){var v;this.trackComment&&(v=[]);for(var f=this.index===0;!this.eof();){var r=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(r))++this.index;else if(h.Character.isLineTerminator(r))++this.index,r===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(r===47)if((r=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(v=v.concat(e)),f=!0}else{if(r!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(v=v.concat(e))}else if(f&&r===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(v=v.concat(e))}else{if(r!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(v=v.concat(e))}}return v},p.prototype.isFutureReservedWord=function(v){switch(v){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(v){return v==="eval"||v==="arguments"},p.prototype.isKeyword=function(v){switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try"||v==="let";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}},p.prototype.codePointAt=function(v){var f=this.source.charCodeAt(v);if(f>=55296&&f<=56319){var r=this.source.charCodeAt(v+1);r>=56320&&r<=57343&&(f=1024*(f-55296)+r-56320+65536)}return f},p.prototype.scanHexEscape=function(v){for(var f=v==="u"?4:2,r=0,e=0;e1114111||v!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var v=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=v,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=v,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(v,this.index)},p.prototype.getComplexIdentifier=function(){var v,f=this.codePointAt(this.index),r=h.Character.fromCodePoint(f);for(this.index+=r.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierStart(v.charCodeAt(0))||this.throwUnexpectedToken(),r=v);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)r+=v=h.Character.fromCodePoint(f),this.index+=v.length,f===92&&(r=r.substr(0,r.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierPart(v.charCodeAt(0))||this.throwUnexpectedToken(),r+=v);return r},p.prototype.octalToDecimal=function(v){var f=v!=="0",r=c(v);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,r=8*r+c(this.source[this.index++]),"0123".indexOf(v)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+c(this.source[this.index++]))),{code:r,octal:f}},p.prototype.scanIdentifier=function(){var v,f=this.index,r=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((v=r.length===1?3:this.isKeyword(r)?4:r==="null"?5:r==="true"||r==="false"?1:3)!=3&&f+r.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=e}return{type:v,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var v=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===v&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanHexLiteral=function(v){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanBinaryLiteral=function(v){for(var f,r="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)r+=this.source[this.index++];return r.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanOctalLiteral=function(v,f){var r="",e=!1;for(h.Character.isOctalDigit(v.charCodeAt(0))?(e=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return e||r.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var v=this.index+1;v=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(o.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(r)}catch{this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(v,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var v=this.source[this.index];s.assert(v==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],r=!1,e=!1;!this.eof();)if(f+=v=this.source[this.index++],v==="\\")v=this.source[this.index++],h.Character.isLineTerminator(v.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f+=v;else if(h.Character.isLineTerminator(v.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(r)v==="]"&&(r=!1);else{if(v==="/"){e=!0;break}v==="["&&(r=!0)}return e||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var v="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())v+=f;else if((f=this.source[this.index])==="u"){++this.index;var r=this.index,e=this.scanHexEscape("u");if(e!==null)for(v+=e;r=55296&&v<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),o=y(13),a=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],v=p!==null;switch(p){case"this":case"]":v=!1;break;case")":var f=this.values[this.paren-1];v=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(v=!1,this.values[this.curly-3]==="function")v=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if(this.values[this.curly-4]==="function"){var r;v=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return v},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),c=function(){function u(p,v){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!v&&typeof v.tolerant=="boolean"&&v.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!v&&typeof v.comment=="boolean"&&v.comment,this.trackRange=!!v&&typeof v.range=="boolean"&&v.range,this.trackLoc=!!v&&typeof v.loc=="boolean"&&v.loc,this.buffer=[],this.reader=new a}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var v=0;v0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!r(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&a.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=c(1024*(re-55296)+de-56320+65536),Q++):(ve=o[re],ne+=!ve&&r(re)?ee[Q]:ve||c(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` `;return $+(Y&&(k[k.length-2]===` `||k===` `)?"+":Y?"":"-")+` -`}function S(k){return k[k.length-1]===` -`?k.slice(0,-1):k}function C(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,q=/ [^ ]/g,X=0,H=0,ee=0,re="";$=q.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` `+k.slice(X,Y),X=Y+1),H=ee;return re+=` `,k.length-X>G&&H>X?re+=k.slice(X,H)+` -`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,q,X,H,ee,re;for(X=0,H=(q=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,q,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=a.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(q=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(he&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,ue){var ce,P,D,L,B,M,z="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,P=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",z+=M+=ne.dump));ne.tag=W,ne.dump=z||"{}"}(k,G,k.dump,q),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var ue,ce,P,D,L,B="",M=ne.tag,z=Object.keys(ie);for(ue=0,ce=z.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var me=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,ue){var ce,P,D="",L=ne.tag;for(ce=0,P=ie.length;ce "+k.dump)}return!0}function I(k,G){var $,Y,q=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(k){return this.emit("error",k),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){S={error:k}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var $=S.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(k=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),C+=$+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var q=G===u.namespace.HTML;q&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):q||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,k,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){S={error:H}}finally{try{k&&!k.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{q&&!q.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,k,G=I?new f.LocalNameSet:void 0;try{for(var $=y(b.attributes),Y=$.next();!Y.done;Y=$.next()){var q=Y.value;if(I||N||q.namespaceURI!==null){if(I&&G&&G.has(q.namespaceURI,q.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(q.namespaceURI,q.localName);var X=q.namespaceURI,H=null;if(X!==null)if(H=S.get(q.prefix,X),X===u.namespace.XMLNS){if(q.value===u.namespace.XML||q.prefix===null&&N||q.prefix!==null&&(!(q.localName in T)||T[q.localName]!==q.value)&&S.has(q.localName,q.value))continue;if(I&&q.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&q.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));q.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=q.prefix===null||S.hasPrefix(q.prefix)&&!S.has(q.prefix,X)?this._generatePrefix(X,S,C):q.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(q.localName.indexOf(":")!==-1||!i.xml_isName(q.localName)||q.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}else this._push(this._writer.attribute(q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var q=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(q,X)))continue;S.set(q,X),C[q]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var k=C[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var wp=Gs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,q=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",P="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",z="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",$e="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ft=/^\w*$/,Pr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kr=/[\\^$.*+?()[\]{}|]/g,xa=RegExp(kr.source),$n=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,ba=/,? & /,Ea=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,wa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Sa=/^0b[01]+$/i,Jn=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,Da=/^(?:0|[1-9]\d*)$/,Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Ta=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Na="\\u0300-\\u036f",Fa="\\ufe20-\\ufe2f",Oa="\\u20d0-\\u20ff",Ai=Na+Fa+Oa,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Ia="\\xac\\xb1\\xd7\\xf7",Pa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ka="\\u2000-\\u206f",Ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Ia+Pa+ka+Ba,qt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",Pi="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",La="(?:"+tn+"|"+xn+")",ki="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+Pi+")",Ie="(?:"+Z+"|"+Pi+")",Qe="(?:"+qt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+qt+"(?:D|LL|M|RE|S|T|VE))?",At=La+"?",bt="["+Ni+"]?",Dp="(?:"+le+"(?:"+[ki,F,j].join("|")+")"+bt+At+")*",Cp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Tp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=bt+At+Dp,Np="(?:"+[rn,F,j].join("|")+")"+au,Fp="(?:"+[ki+tn+"?",tn,F,j,Kn].join("|")+")",Op=RegExp(qt,"g"),Ip=RegExp(tn,"g"),Ra=RegExp(xn+"(?="+xn+")|"+Fp+au,"g"),Pp=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Tp,Cp,Oi,Np].join("|"),"g"),kp=RegExp("["+le+_n+Ai+Ni+"]"),Bp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lp=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Rp=-1,dt={};dt[qe]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[ze]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[z]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[ze]=ht[ue]=ht[ce]=ht[qe]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[z]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Mp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},jp={"&":"&","<":"<",">":">",'"':""","'":"'"},Up={"&":"&","<":"<",">":">",""":'"',"'":"'"},qp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zp=parseFloat,Gp=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,Wp=typeof self=="object"&&self&&self.Object===Object&&self,Ot=su||Wp||Function("return this")(),Ma=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=Ma&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,uu=nn&&nn.exports===Ma,ja=uu&&su.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||ja&&ja.binding&&ja.binding("util")}catch{}}(),lu=nr&&nr.isArrayBuffer,cu=nr&&nr.isDate,fu=nr&&nr.isMap,pu=nr&&nr.isRegExp,hu=nr&&nr.isSet,du=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Xp(fe,Ee,ve,ke){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ua(fe,Ee,ve){for(var ke=-1,Ke=fe==null?0:fe.length;++ke-1;);return ve}function Eu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function eh(fe,Ee){for(var ve=fe.length,ke=0;ve--;)fe[ve]===Ee&&++ke;return ke}var th=Wa(Mp),rh=Wa(jp);function nh(fe){return"\\"+qp[fe]}function ih(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return kp.test(fe)}function oh(fe){return Bp.test(fe)}function ah(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ja(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(ke,Ke){ve[++Ee]=[Ke,ke]}),ve}function wu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,ke=fe.length,Ke=0,lt=[];++ve-1}function $h(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=Gh,br.prototype.delete=Wh,br.prototype.get=Xh,br.prototype.has=Hh,br.prototype.set=$h;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Yd(r),!se)return zt(r,te)}else{var Fe=Lt(r),Pe=Fe==L||Fe==B;if(Xr(r))return ol(r,se);if(Fe==oe||Fe==ne||Pe&&!U){if(te=pe||Pe?{}:Sl(r),!se)return pe?Ud(r,ld(te,r)):jd(r,Bu(te,r))}else{if(!ht[Fe])return U?r:{};te=Qd(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Zl(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Yl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?xs:_s:pe?Wt:It,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function cd(r){var h=It(r);return function(A){return Lu(A,r,h)}}function Lu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Ru(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ua,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:tc(O);A0&&A(se)?h>1?Pt(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var ts=fl(),Uu=fl(!0);function gr(r,h){return r&&ts(r,h,It)}function rs(r,h){return r&&Uu(r,h,It)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function hd(r,h){return r!=null&&ft.call(r,h)}function dd(r,h){return r!=null&&h in pt(r)}function md(r,h,A){return r>=Bt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,Pe=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Yu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):ps(r,U)}}return r}function ls(r,h){return r+Ji(Ou()*(h-r+1))}function Td(r,h,A,O){for(var U=-1,V=Tt($i((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function cs(r,h){var A="";if(!r||h<1||h>q)return A;do h%2&&(A+=r),h=Ji(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Cs(Cl(r,h,Xt),r+"")}function Nd(r){return ku(In(r))}function Fd(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Wd(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var il=bh||function(r){return Ot.clearTimeout(r)};function ol(r,h){if(h)return r.slice();var A=r.length,O=Du?Du(A):new r.constructor(A);return r.copy(O),O}function ys(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Bd(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Ld(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function Rd(r){return ri?pt(ri.call(r)):{}}function al(r,h){var A=h?ys(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function sl(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ul(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function dl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,Pe=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function em(r){return Ye(r)||pn(r)||!!(Nu&&r&&r[Nu])}function Dr(r,h){var A=typeof r;return h=h??q,!!h&&(A=="number"||A!="symbol"&&Da.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,jl(r,A)});function Ul(r){var h=J(r);return h.__chain__=!0,h}function f0(r,h){return h(r),r}function po(r,h){return h(r)}var p0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return es(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function h0(){return Ul(this)}function d0(){return new ar(this.value(),this.__chain__)}function m0(){this.__values__===E&&(this.__values__=ec(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function y0(){return this}function v0(r){for(var h,A=this;A instanceof Yi;){var O=Pl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function g0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ts],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ts)}function _0(){return rl(this.__wrapped__,this.__actions__)}var x0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function b0(r,h,A){var O=Ye(r)?mu:fd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function E0(r,h){var A=Ye(r)?Lr:ju;return A(r,Ge(h,3))}var w0=hl(kl),S0=hl(Bl);function A0(r,h){return Pt(ho(r,h),1)}function D0(r,h){return Pt(ho(r,h),Y)}function C0(r,h,A){return A=A===E?1:Ze(A),Pt(ho(r,h),A)}function ql(r,h){var A=Ye(r)?ir:qr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?Hp:Mu;return A(r,Ge(h,3))}var T0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function N0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var F0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return qr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),O0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Xu;return A(r,Ge(h,3))}function I0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Ku(r,h,A))}var P0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function k0(r,h,A){var O=Ye(r)?qa:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,qr)}function B0(r,h,A){var O=Ye(r)?$p:_u,U=arguments.length<3;return O(r,Ge(h,4),A,U,Mu)}function L0(r,h){var A=Ye(r)?Lr:ju;return A(r,vo(Ge(h,3)))}function R0(r){var h=Ye(r)?ku:Nd;return h(r)}function M0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?ad:Fd;return O(r,h)}function j0(r){var h=Ye(r)?sd:Id;return h(r)}function U0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Lt(r);return h==M||h==Be?r.size:as(r).length}function q0(r,h,A){var O=Ye(r)?za:Pd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var z0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Ku(r,Pt(h,1),[])}),mo=Eh||function(){return Ot.Date.now()};function G0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Gl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Wl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Fs=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Fs));O|=x}return Sr(r,O,h,A,U)}),Xl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Xl));O|=x}return Sr(h,O,r,A,U)});function Hl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function $l(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=$l.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,Pe=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,Pe="trailing"in A?!!A.trailing:Pe);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,hc=h-yr;return Fe?Bt(hc,V-Nr):hc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,Pe&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&il(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return il(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var W0=rt(function(r,h){return Ru(r,1,h)}),X0=rt(function(r,h,A){return Ru(r,cr(h)||0,A)});function H0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function $0(r){return Wl(2,r)}var J0=kd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(Pt(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Bt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Tu.call(r,"callee")},Ye=ve.isArray,ly=lu?Vt(lu):vd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function cy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=Sh||zs,fy=cu?Vt(cu):gd;function py(r){return xt(r)&&r.nodeType===1&&!fi(r)}function hy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Lt(r);if(h==M||h==Be)return!r.size;if(li(r))return!as(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function dy(r,h){return ai(r,h)}function my(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Is(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==P||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function yy(r){return typeof r=="number"&&Fu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Vl(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=q}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Yl=fu?Vt(fu):xd;function vy(r,h){return r===h||os(r,h,Es(h))}function gy(r,h,A){return A=typeof A=="function"?A:E,os(r,h,Es(h),A)}function _y(r){return Ql(r)&&r!=+r}function xy(r){if(nm(r))throw new Ke(v);return Gu(r)}function by(r){return r===null}function Ey(r){return r==null}function Ql(r){return typeof r=="number"||xt(r)&&Rt(r)==z}function fi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==gh}var Ps=pu?Vt(pu):bd;function wy(r){return Vl(r)&&r>=-q&&r<=q}var Zl=hu?Vt(hu):Ed;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var On=du?Vt(du):wd;function Sy(r){return r===E}function Ay(r){return xt(r)&&Lt(r)==we}function Dy(r){return xt(r)&&Rt(r)==at}var Cy=uo(ss),Ty=uo(function(r,h){return r<=h});function ec(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):zt(r);if(Qn&&r[Qn])return ah(r[Qn]());var h=Lt(r),A=h==M?Ja:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function tc(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=xu(r);var A=Sa.test(r);return A||Aa.test(r)?Gp(r.slice(2),A?2:8):vr.test(r)?H:+r}function rc(r){return _r(r,Wt(r))}function Ny(r){return r?un(Ze(r),-q,q):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Fy=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,It(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),nc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Oy=Tn(function(r,h,A,O){_r(h,It(h),r,O)}),Iy=Ar(es);function Py(r,h){var A=Cn(r);return h==null?A:Bu(A,h)}var ky=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,xs(r),A),O&&(A=sr(A,n|i|u,Xd));for(var U=h.length;U--;)ps(A,h[U]);return A});function Qy(r,h){return oc(r,vo(Ge(h)))}var Zy=Ar(function(r,h){return r==null?{}:Dd(r,h)});function oc(r,h){if(r==null)return{};var A=yt(xs(r),function(O){return[O]});return h=Ge(h),Vu(r,A,function(O,U){return h(O,U[0])})}function ev(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Ou();return Bt(r+U*(h-r+zp("1e-"+((U+"").length-1))),h)}return ls(r,h)}var fv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?uc(h):h)});function uc(r){return Ls(ct(r).toLowerCase())}function lc(r){return r=ct(r),r&&r.replace(Ca,th).replace(Ip,"")}function pv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function hv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,rh):r}function dv(r){return r=ct(r),r&&xa.test(r)?r.replace(kr,"\\$&"):r}var mv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),yv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),vv=pl("toLowerCase");function gv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so(Ji(U),A)+r+so($i(U),A)}function _v(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Ps(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Dv=Nn(function(r,h,A){return r+(A?" ":"")+Ls(h)});function Cv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Tv(r,h,A){var O=J.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,_l);var U=xo({},h.imports,O.imports,_l),V=It(U),te=$a(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",Pe=Ka((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?wa:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Rp+"]")+` -`;r.replace(Pe,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Ta,nh),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,M,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,L&&(M+=v(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",M=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=M,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(i,"__esModule",{value:!0});var s=t(91),h=t(1),o=t(183),a=t(0),c=t(7),u=t(95),p=t(69),v=t(3),f=t(305),r=t(306),e=t(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new r.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",c.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=o.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!a.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=o.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=o.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!a.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!a.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=o.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&a.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),D=G===c.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,R!==null&&R!==c.namespace.XML&&(k=R||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===c.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(v.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=R.return)&&D.call(R)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else v.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):v.Guard.isCommentNode(E)?this.com(E.data):v.Guard.isCDATASectionNode(E)?this.dat(E.data):v.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var R,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===c.namespace.XMLNS){if(z.value===c.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===c.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!a.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!a.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===c.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===c.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var R in T){var k=D[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':o?"':a?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,o){return o?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,o,a){return a?" />":o?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,o){var a=h+'="'+o+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+a.length>this._writerOptions.width?(a=this._beginLine()+this._indent(1)+a,this._lineLength=a.length,a):(this._lineLength+=1+a.length," "+a)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(t(114).BaseCBWriter);i.XMLCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(h){var o=y.call(this,h)||this;return o._hasChildren=[],o._additionalLevel=0,o}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,o){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(o?h+" "+o:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,o){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(o)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var o=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,o+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),o},s.prototype.openTagEnd=function(h,o,a){if(o){var c=this._sep()+"]";return this._additionalLevel--,c+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var o=this._beginLine()+"]";return this._additionalLevel--,o+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.JSONCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(y,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(y,s)},function(y,s){function h(){this.constructor=y}m(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(y){function s(h){var o=y.call(this,h)||this;if(o._rootWritten=!1,o._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return o}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,o){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(o?h+" "+o:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,o){this._additionalLevel++;var a=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(o);return this._additionalLevel--,a},s.prototype.openTagBegin=function(h){var o=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,o+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,o,a){return o?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,o){if(h+this._additionalLevel<=0)return"";var a=this._writerOptions.indent.repeat(h+this._additionalLevel);return!o&&this._rootWritten?a.substr(0,a.length-2)+"-"+a.substr(-1,1):a},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.YAMLCBWriter=_},function(l,i,t){"use strict";var m,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};m=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}l.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function o(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function c(e,g,b,x){var E,w,D,T;if(o(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=a(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function v(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=r(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return v(this,e,!0)},s.prototype.rawListeners=function(e){return v(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(77);i.createCB=function(S){return new m.XMLBuilderCBImpl(S)},i.fragmentCB=function(S){return new m.XMLBuilderCBImpl(S,!0)}}])})});var sh=Ns((ii,Li)=>{(function(){var l,i="4.17.21",t=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",o=1,a=2,c=4,u=1,p=2,v=1,f=2,r=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",v],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Me="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),oi=RegExp(ft.source),ai=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xr=/[\\^$.*+?()[\]{}|]/g,aa=RegExp(Xr.source),si=/^\s+/,Bi=/\s/,Hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ri=/\{\n\/\* \[wrapped with (.+)\] \*/,sa=/,? & /,ua=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rr=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,la=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fn=/\w*$/,Ar=/^[-+]0x[0-9a-f]+$/i,ca=/^0b[01]+$/i,ui=/^\[object .+?Constructor\]$/,fa=/^0o[0-7]+$/i,pa=/^(?:0|[1-9]\d*)$/,ha=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,da=/['\n\r\u2028\u2029\\]/g,Pn="\\ud800-\\udfff",ma="\\u0300-\\u036f",va="\\ufe20-\\ufe2f",ya="\\u20d0-\\u20ff",Mi=ma+va+ya,ji="\\u2700-\\u27bf",Ui="a-z\\xdf-\\xf6\\xf8-\\xff",_a="\\xac\\xb1\\xd7\\xf7",ga="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xa="\\u2000-\\u206f",ba=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zi="A-Z\\xc0-\\xd6\\xd8-\\xde",qi="\\ufe0e\\ufe0f",Gi=_a+ga+xa+ba,Kt="['\u2019]",li="["+Pn+"]",ci="["+Gi+"]",pn="["+Mi+"]",Wi="\\d+",hn="["+ji+"]",Xi="["+Ui+"]",Hi="[^"+Pn+Gi+Wi+ji+Ui+zi+"]",kn="\\ud83c[\\udffb-\\udfff]",Ea="(?:"+pn+"|"+kn+")",$i="[^"+Pn+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+zi+"]",ce="\\u200d",Ee="(?:"+Xi+"|"+Hi+")",Le="(?:"+Z+"|"+Hi+")",rt="(?:"+Kt+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+Kt+"(?:D|LL|M|RE|S|T|VE))?",Ot=Ea+"?",Ct="["+qi+"]?",fh="(?:"+ce+"(?:"+[$i,O,j].join("|")+")"+Ct+Ot+")*",ph="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",su=Ct+Ot+fh,dh="(?:"+[hn,O,j].join("|")+")"+su,mh="(?:"+[$i+pn+"?",pn,O,j,li].join("|")+")",vh=RegExp(Kt,"g"),yh=RegExp(pn,"g"),wa=RegExp(kn+"(?="+kn+")|"+mh+su,"g"),_h=RegExp([Z+"?"+Xi+"+"+rt+"(?="+[ci,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[ci,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,hh,ph,Wi,dh].join("|"),"g"),gh=RegExp("["+ce+Pn+Mi+qi+"]"),xh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,bh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Eh=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[M]=_t[q]=_t[ae]=_t[Ae]=_t[Me]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[M]=yt[q]=yt[ae]=yt[Ae]=yt[Me]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var wh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Sh={"&":"&","<":"<",">":">",'"':""","'":"'"},Ah={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ch={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dh=parseFloat,Th=parseInt,uu=typeof global=="object"&&global&&global.Object===Object&&global,Nh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=uu||Nh||Function("return this")(),Sa=typeof ii=="object"&&ii&&!ii.nodeType&&ii,dn=Sa&&typeof Li=="object"&&Li&&!Li.nodeType&&Li,lu=dn&&dn.exports===Sa,Aa=lu&&uu.process,fr=function(){try{var pe=dn&&dn.require&&dn.require("util").types;return pe||Aa&&Aa.binding&&Aa.binding("util")}catch{}}(),cu=fr&&fr.isArrayBuffer,fu=fr&&fr.isDate,pu=fr&&fr.isMap,hu=fr&&fr.isRegExp,du=fr&&fr.isSet,mu=fr&&fr.isTypedArray;function nr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function Oh(pe,we,_e,Re){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Ca(pe,we,_e){for(var Re=-1,Ze=pe==null?0:pe.length;++Re-1;);return _e}function wu(pe,we){for(var _e=pe.length;_e--&&Ln(we,pe[_e],0)>-1;);return _e}function jh(pe,we){for(var _e=pe.length,Re=0;_e--;)pe[_e]===we&&++Re;return Re}var Uh=Oa(wh),zh=Oa(Sh);function qh(pe){return"\\"+Ch[pe]}function Gh(pe,we){return pe==null?l:pe[we]}function Bn(pe){return gh.test(pe)}function Wh(pe){return xh.test(pe)}function Xh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function ka(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Re,Ze){_e[++we]=[Ze,Re]}),_e}function Su(pe,we){return function(_e){return pe(we(_e))}}function Kr(pe,we){for(var _e=-1,Re=pe.length,Ze=0,ht=[];++_e-1}function Id(n,d){var A=this.__data__,F=fo(A,n);return F<0?(++this.size,A.push([n,d])):A[F][1]=d,this}Ir.prototype.clear=Td,Ir.prototype.delete=Nd,Ir.prototype.get=Od,Ir.prototype.has=Fd,Ir.prototype.set=Id;function Pr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function mr(n,d,A,F,U,V){var te,ue=d&o,he=d&a,De=d&c;if(A&&(te=U?A(n,F,U,V):A(n)),te!==l)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=Bm(n),!ue)return Vt(n,te)}else{var Ie=qt(n),Be=Ie==B||Ie==L;if(rn(n))return al(n,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Al(n),!ue)return he?Am(n,Jd(te,n)):Sm(n,Bu(te,n))}else{if(!yt[Ie])return U?n:{};te=Rm(n,Ie,ue)}}V||(V=new br);var qe=V.get(n);if(qe)return qe;V.set(n,te),ec(n)?n.forEach(function(Je){te.add(mr(Je,d,A,Je,n,V))}):Ql(n)&&n.forEach(function(Je,st){te.set(st,mr(Je,d,A,st,n,V))});var $e=De?he?as:os:he?Qt:Rt,it=Te?l:$e(n);return pr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),yi(te,st,mr(Je,d,A,st,n,V))}),te}function Kd(n){var d=Rt(n);return function(A){return Ru(A,n,d)}}function Ru(n,d,A){var F=A.length;if(n==null)return!F;for(n=vt(n);F--;){var U=A[F],V=d[U],te=n[U];if(te===l&&!(U in n)||!V(te))return!1}return!0}function Mu(n,d,A){if(typeof n!="function")throw new hr(S);return Si(function(){n.apply(l,A)},d)}function _i(n,d,A,F){var U=-1,V=Ji,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,ir(A))),F?(V=Ca,te=!1):d.length>=t&&(V=fi,te=!1,d=new yn(d));e:for(;++UU?0:U+A),F=F===l||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:rc(F);A0&&A(ue)?d>1?Mt(ue,d-1,A,F,U):Jr(U,ue):F||(U[U.length]=ue)}return U}var za=pl(),zu=pl(!0);function Cr(n,d){return n&&za(n,d,Rt)}function qa(n,d){return n&&zu(n,d,Rt)}function ho(n,d){return $r(d,function(A){return Mr(n[A])})}function gn(n,d){d=en(d,n);for(var A=0,F=d.length;n!=null&&Ad}function Qd(n,d){return n!=null&&mt.call(n,d)}function Zd(n,d){return n!=null&&d in vt(n)}function em(n,d,A){return n>=zt(d,A)&&n=120&&Te.length>=120)?new yn(te&&Te):l}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&io.call(ue,he,1),io.call(n,he,1);return n}function Qu(n,d){for(var A=n?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Rr(U)?io.call(n,U,1):Qa(n,U)}}return n}function Ka(n,d){return n+so(Iu()*(d-n+1))}function hm(n,d,A,F){for(var U=-1,V=kt(ao((d-n)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=n,n+=A;return te}function Va(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=so(d/2),d&&(n+=n);while(d);return A}function at(n,d){return hs(Tl(n,d,Zt),n+"")}function dm(n){return Lu(Hn(n))}function mm(n,d){var A=Hn(n);return Ao(A,_n(d,0,A.length))}function bi(n,d,A,F){if(!bt(n))return n;d=en(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=n[V];te!==null&&!ar(te)&&(A?te<=d:te=t){var De=d?null:Nm(n);if(De)return Vi(De);te=!1,U=fi,he=new yn}else he=d?[]:ue;e:for(;++F=F?n:vr(n,d,A)}var ol=ad||function(n){return Bt.clearTimeout(n)};function al(n,d){if(d)return n.slice();var A=n.length,F=Du?Du(A):new n.constructor(A);return n.copy(F),F}function rs(n){var d=new n.constructor(n.byteLength);return new ro(d).set(new ro(n)),d}function xm(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function bm(n){var d=new n.constructor(n.source,fn.exec(n));return d.lastIndex=n.lastIndex,d}function Em(n){return vi?vt(vi.call(n)):{}}function sl(n,d){var A=d?rs(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function ul(n,d){if(n!==d){var A=n!==l,F=n===null,U=n===n,V=ar(n),te=d!==l,ue=d===null,he=d===d,De=ar(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&n=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return n.index-d.index}function ll(n,d,A,F){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:l,te=U>2?A[2]:l;for(V=n.length>3&&typeof V=="function"?(U--,V):l,te&&Xt(A[0],A[1],te)&&(V=U<3?l:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:l}}function ml(n){return Br(function(d){var A=d.length,F=A,U=dr.prototype.thru;for(n&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new hr(S);if(U&&!te&&wo(V)=="wrapper")var te=new dr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new yn:l;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),n.replace(Hr,`{ +/* [wrapped with `+d+`] */ +`)}function jm(n){return tt(n)||En(n)||!!(Ou&&n&&n[Ou])}function Rr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&pa.test(n))&&n>-1&&n%1==0&&n0){if(++d>=I)return arguments[0]}else d=0;return n.apply(l,arguments)}}function Ao(n,d){var A=-1,F=n.length,U=F-1;for(d=d===l?F:d;++A1?n[d-1]:l;return A=typeof A=="function"?(n.pop(),A):l,Ul(n,A)});function zl(n){var d=J(n);return d.__chain__=!0,d}function V0(n,d){return d(n),n}function Co(n,d){return d(n)}var Y0=Br(function(n){var d=n.length,A=d?n[0]:0,F=this.__wrapped__,U=function(V){return Ua(V,n)};return d>1||this.__actions__.length||!(F instanceof ut)||!Rr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Co,args:[U],thisArg:l}),new dr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(l),V}))});function Q0(){return zl(this)}function Z0(){return new dr(this.value(),this.__chain__)}function ev(){this.__values__===l&&(this.__values__=tc(this.value()));var n=this.__index__>=this.__values__.length,d=n?l:this.__values__[this.__index__++];return{done:n,value:d}}function tv(){return this}function rv(n){for(var d,A=this;A instanceof co;){var F=kl(A);F.__index__=0,F.__values__=l,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=n,d}function nv(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Co,args:[ds],thisArg:l}),new dr(d,this.__chain__)}return this.thru(ds)}function iv(){return nl(this.__wrapped__,this.__actions__)}var ov=_o(function(n,d,A){mt.call(n,A)?++n[A]:kr(n,A,1)});function av(n,d,A){var F=tt(n)?vu:Vd;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}function sv(n,d){var A=tt(n)?$r:Uu;return A(n,Xe(d,3))}var uv=dl(Ll),lv=dl(Bl);function cv(n,d){return Mt(Do(n,d),1)}function fv(n,d){return Mt(Do(n,d),Y)}function pv(n,d,A){return A=A===l?1:nt(A),Mt(Do(n,d),A)}function ql(n,d){var A=tt(n)?pr:Qr;return A(n,Xe(d,3))}function Gl(n,d){var A=tt(n)?Fh:ju;return A(n,Xe(d,3))}var hv=_o(function(n,d,A){mt.call(n,A)?n[A].push(d):kr(n,A,[d])});function dv(n,d,A,F){n=Yt(n)?n:Hn(n),A=A&&!F?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Io(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&Ln(n,d,A)>-1}var mv=at(function(n,d,A){var F=-1,U=typeof d=="function",V=Yt(n)?_e(n.length):[];return Qr(n,function(te){V[++F]=U?nr(d,te,A):gi(te,d,A)}),V}),vv=_o(function(n,d,A){kr(n,A,d)});function Do(n,d){var A=tt(n)?xt:Hu;return A(n,Xe(d,3))}function yv(n,d,A,F){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?l:A,tt(A)||(A=A==null?[]:[A]),Vu(n,d,A))}var _v=_o(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function gv(n,d,A){var F=tt(n)?Da:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,Qr)}function xv(n,d,A){var F=tt(n)?Ih:xu,U=arguments.length<3;return F(n,Xe(d,4),A,U,ju)}function bv(n,d){var A=tt(n)?$r:Uu;return A(n,Oo(Xe(d,3)))}function Ev(n){var d=tt(n)?Lu:dm;return d(n)}function wv(n,d,A){(A?Xt(n,d,A):d===l)?d=1:d=nt(d);var F=tt(n)?Xd:mm;return F(n,d)}function Sv(n){var d=tt(n)?Hd:ym;return d(n)}function Av(n){if(n==null)return 0;if(Yt(n))return Io(n)?Rn(n):n.length;var d=qt(n);return d==M||d==Me?n.size:Ha(n).length}function Cv(n,d,A){var F=tt(n)?Ta:_m;return A&&Xt(n,d,A)&&(d=l),F(n,Xe(d,3))}var Dv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Xt(n,d[0],d[1])?d=[]:A>2&&Xt(d[0],d[1],d[2])&&(d=[d[0]]),Vu(n,Mt(d,1),[])}),To=sd||function(){return Bt.Date.now()};function Tv(n,d){if(typeof d!="function")throw new hr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Wl(n,d,A){return d=A?l:d,d=n&&d==null?n.length:d,Lr(n,E,l,l,l,l,d)}function Xl(n,d){var A;if(typeof d!="function")throw new hr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=l),A}}var vs=at(function(n,d,A){var F=v;if(A.length){var U=Kr(A,Wn(vs));F|=b}return Lr(n,F,d,A,U)}),Hl=at(function(n,d,A){var F=v|f;if(A.length){var U=Kr(A,Wn(Hl));F|=b}return Lr(d,F,n,A,U)});function $l(n,d,A){d=A?l:d;var F=Lr(n,e,l,l,l,l,l,d);return F.placeholder=$l.placeholder,F}function Jl(n,d,A){d=A?l:d;var F=Lr(n,g,l,l,l,l,l,d);return F.placeholder=Jl.placeholder,F}function Kl(n,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new hr(S);d=_r(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(_r(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var wr=F,Ur=U;return F=U=l,De=Tt,te=n.apply(Ur,wr),te}function $e(Tt){return De=Tt,ue=Si(st,d),Te?qe(Tt):te}function it(Tt){var wr=Tt-he,Ur=Tt-De,dc=d-wr;return Ie?zt(dc,V-Ur):dc}function Je(Tt){var wr=Tt-he,Ur=Tt-De;return he===l||wr>=d||wr<0||Ie&&Ur>=V}function st(){var Tt=To();if(Je(Tt))return lt(Tt);ue=Si(st,it(Tt))}function lt(Tt){return ue=l,Be&&F?qe(Tt):(F=U=l,te)}function sr(){ue!==l&&ol(ue),De=0,F=he=U=ue=l}function Ht(){return ue===l?te:lt(To())}function ur(){var Tt=To(),wr=Je(Tt);if(F=arguments,U=this,he=Tt,wr){if(ue===l)return $e(he);if(Ie)return ol(ue),ue=Si(st,d),qe(he)}return ue===l&&(ue=Si(st,d)),te}return ur.cancel=sr,ur.flush=Ht,ur}var Nv=at(function(n,d){return Mu(n,1,d)}),Ov=at(function(n,d,A){return Mu(n,_r(d)||0,A)});function Fv(n){return Lr(n,D)}function No(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new hr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(No.Cache||Pr),A}No.Cache=Pr;function Oo(n){if(typeof n!="function")throw new hr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function Iv(n){return Xl(2,n)}var Pv=gm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],ir(Xe())):xt(Mt(d,1),ir(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),En=Gu(function(){return arguments}())?Gu:function(n){return St(n)&&mt.call(n,"callee")&&!Nu.call(n,"callee")},tt=_e.isArray,Jv=cu?ir(cu):rm;function Yt(n){return n!=null&&Fo(n.length)&&!Mr(n)}function Dt(n){return St(n)&&Yt(n)}function Kv(n){return n===!0||n===!1||St(n)&&Wt(n)==le}var rn=ld||Ts,Vv=fu?ir(fu):nm;function Yv(n){return St(n)&&n.nodeType===1&&!Ai(n)}function Qv(n){if(n==null)return!0;if(Yt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||rn(n)||Xn(n)||En(n)))return!n.length;var d=qt(n);if(d==M||d==Me)return!n.size;if(wi(n))return!Ha(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function Zv(n,d){return xi(n,d)}function ey(n,d,A){A=typeof A=="function"?A:l;var F=A?A(n,d):l;return F===l?xi(n,d,l,A):!!F}function _s(n){if(!St(n))return!1;var d=Wt(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ai(n)}function ty(n){return typeof n=="number"&&Fu(n)}function Mr(n){if(!bt(n))return!1;var d=Wt(n);return d==B||d==L||d==ie||d==ge}function Yl(n){return typeof n=="number"&&n==nt(n)}function Fo(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var Ql=pu?ir(pu):om;function ry(n,d){return n===d||Xa(n,d,us(d))}function ny(n,d,A){return A=typeof A=="function"?A:l,Xa(n,d,us(d),A)}function iy(n){return Zl(n)&&n!=+n}function oy(n){if(qm(n))throw new Ze(m);return Wu(n)}function ay(n){return n===null}function sy(n){return n==null}function Zl(n){return typeof n=="number"||St(n)&&Wt(n)==q}function Ai(n){if(!St(n)||Wt(n)!=ae)return!1;var d=no(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Zi.call(A)==nd}var gs=hu?ir(hu):am;function uy(n){return Yl(n)&&n>=-z&&n<=z}var ec=du?ir(du):sm;function Io(n){return typeof n=="string"||!tt(n)&&St(n)&&Wt(n)==je}function ar(n){return typeof n=="symbol"||St(n)&&Wt(n)==ot}var Xn=mu?ir(mu):um;function ly(n){return n===l}function cy(n){return St(n)&&qt(n)==Se}function fy(n){return St(n)&&Wt(n)==ct}var py=Eo($a),hy=Eo(function(n,d){return n<=d});function tc(n){if(!n)return[];if(Yt(n))return Io(n)?xr(n):Vt(n);if(pi&&n[pi])return Xh(n[pi]());var d=qt(n),A=d==M?ka:d==Me?Vi:Hn;return A(n)}function jr(n){if(!n)return n===0?n:0;if(n=_r(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=jr(n),A=d%1;return d===d?A?d-A:d:0}function rc(n){return n?_n(nt(n),0,ee):0}function _r(n){if(typeof n=="number")return n;if(ar(n))return H;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=bu(n);var A=ca.test(n);return A||fa.test(n)?Th(n.slice(2),A?2:8):Ar.test(n)?H:+n}function nc(n){return Dr(n,Qt(n))}function dy(n){return n?_n(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":or(n)}var my=qn(function(n,d){if(wi(d)||Yt(d)){Dr(d,Rt(d),n);return}for(var A in d)mt.call(d,A)&&yi(n,A,d[A])}),ic=qn(function(n,d){Dr(d,Qt(d),n)}),Po=qn(function(n,d,A,F){Dr(d,Qt(d),n,F)}),vy=qn(function(n,d,A,F){Dr(d,Rt(d),n,F)}),yy=Br(Ua);function _y(n,d){var A=zn(n);return d==null?A:Bu(A,d)}var gy=at(function(n,d){n=vt(n);var A=-1,F=d.length,U=F>2?d[2]:l;for(U&&Xt(d[0],d[1],U)&&(F=1);++A1),V}),Dr(n,as(n),A),F&&(A=mr(A,o|a|c,Om));for(var U=d.length;U--;)Qa(A,d[U]);return A});function Ry(n,d){return ac(n,Oo(Xe(d)))}var My=Br(function(n,d){return n==null?{}:fm(n,d)});function ac(n,d){if(n==null)return{};var A=xt(as(n),function(F){return[F]});return d=Xe(d),Yu(n,A,function(F,U){return d(F,U[0])})}function jy(n,d,A){d=en(d,n);var F=-1,U=d.length;for(U||(U=1,n=l);++Fd){var F=n;n=d,d=F}if(A||n%1||d%1){var U=Iu();return zt(n+U*(d-n+Dh("1e-"+((U+"").length-1))),d)}return Ka(n,d)}var Vy=Gn(function(n,d,A){return d=d.toLowerCase(),n+(A?lc(d):d)});function lc(n){return Es(dt(n).toLowerCase())}function cc(n){return n=dt(n),n&&n.replace(ha,Uh).replace(yh,"")}function Yy(n,d,A){n=dt(n),d=or(d);var F=n.length;A=A===l?F:_n(nt(A),0,F);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function Qy(n){return n=dt(n),n&&oi.test(n)?n.replace(ft,zh):n}function Zy(n){return n=dt(n),n&&aa.test(n)?n.replace(Xr,"\\$&"):n}var e_=Gn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),t_=Gn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),r_=hl("toLowerCase");function n_(n,d,A){n=dt(n),d=nt(d);var F=d?Rn(n):0;if(!d||F>=d)return n;var U=(d-F)/2;return bo(so(U),A)+n+bo(ao(U),A)}function i_(n,d,A){n=dt(n),d=nt(d);var F=d?Rn(n):0;return d&&F>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!gs(d))&&(d=or(d),!d&&Bn(n))?tn(xr(n),0,A):n.split(d,A)):[]}var f_=Gn(function(n,d,A){return n+(A?" ":"")+Es(d)});function p_(n,d,A){return n=dt(n),A=A==null?0:_n(nt(A),0,n.length),d=or(d),n.slice(A,A+d.length)==d}function h_(n,d,A){var F=J.templateSettings;A&&Xt(n,d,A)&&(d=l),n=dt(n),d=Po({},d,F,xl);var U=Po({},d.imports,F.imports,xl),V=Rt(U),te=Pa(U,V),ue,he,De=0,Te=d.interpolate||In,Ie="__p += '",Be=La((d.escape||In).source+"|"+Te.source+"|"+(Te===Pe?la:In).source+"|"+(d.evaluate||In).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Eh+"]")+` +`;n.replace(Be,function(Je,st,lt,sr,Ht,ur){return lt||(lt=sr),Ie+=n.slice(De,ur).replace(da,qh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Ht&&(he=!0,Ie+=`'; +`+Ht+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ur+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(rr.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=fc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Is(et))throw et;return et}function Nv(r){return ct(r).toLowerCase()}function Fv(r){return ct(r).toUpperCase()}function Ov(r,h,A){if(r=ct(r),r&&(A||h===E))return xu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=bu(O,U),te=Eu(O,U)+1;return Wr(O,V,te).join("")}function Iv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Su(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=Eu(O,hr(h))+1;return Wr(O,0,U).join("")}function Pv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace($n,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h));return Wr(O,U).join("")}function kv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Ps(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ka(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var Pe=pe.lastIndexOf(U);Pe>-1&&(pe=pe.slice(0,Pe))}return pe+O}function Bv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ch):r}var Lv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ls=pl("toUpperCase");function cc(r,h,A){return r=ct(r),h=A?E:h,h===E?oh(r)?hh(r):Vp(r):r.match(h)||[]}var fc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Is(A)?A:new Ke(A)}}),Rv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Fs(r[A],r))}),r});function Mv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uq)return[];var A=ee,O=Bt(r,ee);h=Ge(h),r-=ee;for(var U=Ha(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=J[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&(J.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply(J,Rr([nt],se));return O&&Pe?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var Pe=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!Pe,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,Pe)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=J[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Bh,it.prototype.reverse=Lh,it.prototype.value=Rh,J.prototype.at=p0,J.prototype.chain=h0,J.prototype.commit=d0,J.prototype.next=m0,J.prototype.plant=v0,J.prototype.reverse=g0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=_0,J.prototype.first=J.prototype.head,Qn&&(J.prototype[Qn]=y0),J},jr=dh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ot._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,Ma._=jr):Ot._=jr}).call(Wn)});var Ub={};Cg(Ub,{default:()=>Mb,options:()=>Ap,setup:()=>Rb,teardown:()=>jb});module.exports=Tg(Ub);var Eb=Ut(require("k6/encoding")),wb=require("k6"),Sb=Ut(require("k6/http"));var Ng=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Ng;var Fg=typeof self=="object"&&self&&self.Object===Object&&self,Og=Eo||Fg||Function("return this")(),Dt=Og;var Ig=Dt.Symbol,Fr=Ig;var mc=Object.prototype,Pg=mc.hasOwnProperty,kg=mc.toString,pi=Fr?Fr.toStringTag:void 0;function Bg(E){var l=Pg.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=kg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var yc=Bg;var Lg=Object.prototype,Rg=Lg.toString;function Mg(E){return Rg.call(E)}var vc=Mg;var jg="[object Null]",Ug="[object Undefined]",gc=Fr?Fr.toStringTag:void 0;function qg(E){return E==null?E===void 0?Ug:jg:gc&&gc in Object(E)?yc(E):vc(E)}var tr=qg;function zg(E){return E!=null&&typeof E=="object"}var fr=zg;var Gg="[object Symbol]";function Wg(E){return typeof E=="symbol"||fr(E)&&tr(E)==Gg}var Pn=Wg;function Xg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=x_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Ic=w_;function S_(E){return function(){return E}}var Pc=S_;var A_=function(){try{var E=$t(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=A_;var D_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Pc(l),writable:!0})}:wo,kc=D_;var C_=Ic(kc),Bc=C_;var T_=9007199254740991,N_=/^(?:0|[1-9]\d*)$/;function F_(E,l){var o=typeof E;return l=l??T_,!!l&&(o=="number"||o!="symbol"&&N_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=j_}var Co=U_;function q_(E){return E!=null&&Co(E.length)&&!kn(E)}var $r=q_;function z_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?$r(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var qc=z_;function G_(E){return Uc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&qc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var df=fx;function px(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var mf=px;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),ap=E=>new Ys(new URL(E||"").search).object();var up=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&ko(a,{headers:{Authorization:l.header}}),sp.default.request(v,op(E,w),y,ko(a,m))};var cp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),xb=Ut(Zs());var bb=Ut(Gn()),fp=(E=10,l)=>(0,cp.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var qo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var zo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new qo(l),this.systemtags=new zo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var $o=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Jo=class{tags;constructor(l){this.tags=new $o(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Jo(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=Ut(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${pp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=Ut(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:fp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(ap(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var dp=require("k6"),tu=require("k6"),ru=require("k6"),mn=require("k6"),mp=Ut(Gn()),yp=require("k6"),ya=require("k6"),xi=Ut(Gn()),va=require("k6"),yn=require("k6"),nu=Ut(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,dp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,tu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,tu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Cb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,ru.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,ru.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,mp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,yp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Ob=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Ib=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,nu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Pb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=up(E,w,{jar:new hp.CookieJar}),m=new pa(y);this.application=new Ab(l,m),this.drive=new Db(l,m),this.group=new Cb(l,m),this.resource=new Tb(l,m),this.role=new Nb(l,m),this.search=new Fb(l,m),this.share=new Ob(m),this.tag=new Ib(l,m),this.user=new Pb(l,m)}};var vp={user:0,group:1,publicLink:3,federatedCloudShare:6};var gp={read:0,update:2,create:4,delete:8,share:16,all:31};var kb=Ut(require("k6/http"));var Bb=require("https://jslib.k6.io/url/1.0.0/index.js"),Lb=require("k6/experimental/timers"),_p=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),xp=Ut(Zs());var bp=Ut(Gn());var iu=(E=10,l)=>(0,_p.randomString)(E,l),ga=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return xp.query(l,E).map(o=>Vs(o)?void 0:o)},Ep=(E,l)=>{let o=bp.create(l).end({format:"object"});return ga(E,o)};var Sp=require("k6/crypto"),_a=Ut(require("k6/execution")),ou=Ut(wp()),Nt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},testFolder:__ENV.TEST_FOLDER||"oc-share-upload-rename",assets:{size:parseInt(__ENV.ASSET_SIZE)||1e3,quantity:parseInt(__ENV.ASSET_QUANTITY)||10},k6:{vus:1,insecureSkipTLSVerify:!0}},Ap=Nt.k6;function Rb(){let E=Nt.adminUser,l=new bi(Nt.baseURL,Nt.clientVersion,Nt.authAdapter,E),o=l.user.drives(),[v=E.login]=ga("$.value[?(@.driveType === 'personal')].id",o?.body);l.resource.create(v,Nt.testFolder);let w=(0,ou.times)(Ap.vus||1,()=>{let y={login:iu(),password:iu()};l.user.create(y),l.user.enable(y.login);let m=l.share.create(Nt.testFolder,y.login,vp.user,gp.all),[a]=Ep("ocs.data.id",m.body),p=new bi(Nt.baseURL,Nt.clientVersion,Nt.authAdapter,y),n=p.user.drives(),[i=y.login]=ga("$.value[?(@.driveType === 'personal')].id",n?.body);return p.share.accept(a),{credential:y,home:i}});return{adminInfo:{credential:E,home:v},userInfos:w}}function Mb({userInfos:E}){let{home:l,credential:o}=E[_a.default.vu.idInTest-1],v=new bi(Nt.baseURL,Nt.clientVersion,Nt.authAdapter,o),w=[_a.default.scenario.iterationInTest,"initial",o.login].join("-");v.resource.create(l,w);let y=(0,Sp.randomBytes)(Nt.assets.size*1e3);(0,ou.times)(Nt.assets.quantity,a=>{v.resource.upload(l,[w,a].join("/"),y)});let m=[_a.default.scenario.iterationInTest,"final",o.login].join("-");v.resource.move(l,w,m)}function jb({userInfos:E,adminInfo:l}){let o=new bi(Nt.baseURL,Nt.clientVersion,Nt.authAdapter,l.credential);o.resource.delete(l.home,Nt.testFolder),E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=pc(function(){return ht(V,qe+"return "+Ie).apply(l,te)});if(it.source=Ie,_s(it))throw it;return it}function d_(n){return dt(n).toLowerCase()}function m_(n){return dt(n).toUpperCase()}function v_(n,d,A){if(n=dt(n),n&&(A||d===l))return bu(n);if(!n||!(d=or(d)))return n;var F=xr(n),U=xr(d),V=Eu(F,U),te=wu(F,U)+1;return tn(F,V,te).join("")}function y_(n,d,A){if(n=dt(n),n&&(A||d===l))return n.slice(0,Au(n)+1);if(!n||!(d=or(d)))return n;var F=xr(n),U=wu(F,xr(d))+1;return tn(F,0,U).join("")}function __(n,d,A){if(n=dt(n),n&&(A||d===l))return n.replace(si,"");if(!n||!(d=or(d)))return n;var F=xr(n),U=Eu(F,xr(d));return tn(F,U).join("")}function g_(n,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?or(d.omission):F}n=dt(n);var V=n.length;if(Bn(n)){var te=xr(n);V=te.length}if(A>=V)return n;var ue=A-Rn(F);if(ue<1)return F;var he=te?tn(te,0,ue).join(""):n.slice(0,ue);if(U===l)return he+F;if(te&&(ue+=he.length-ue),gs(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=La(U.source,dt(fn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===l?ue:Ie)}}else if(n.indexOf(or(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function x_(n){return n=dt(n),n&&Ut.test(n)?n.replace(wt,Kh):n}var b_=Gn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),Es=hl("toUpperCase");function fc(n,d,A){return n=dt(n),d=A?l:d,d===l?Wh(n)?Qh(n):Lh(n):n.match(d)||[]}var pc=at(function(n,d){try{return nr(n,l,d)}catch(A){return _s(A)?A:new Ze(A)}}),E_=Br(function(n,d){return pr(d,function(A){A=Tr(A),kr(n,A,vs(n[A],n))}),n});function w_(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(F){if(typeof F[1]!="function")throw new hr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(n,ee);d=Xe(d),n-=ee;for(var U=Ia(F,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==l&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Cr(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Jr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Co,args:[Ie],thisArg:l}),new dr(Je,Be)}return $e&&it?n.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),pr(["pop","push","shift","sort","splice","unshift"],function(n){var d=Yi[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",F=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Cr(ut.prototype,function(n,d){var A=J[d];if(A){var F=A.name+"";mt.call(Un,F)||(Un[F]=[]),Un[F].push({name:d,func:A})}}),Un[go(l,f).name]=[{name:"wrapper",func:l}],ut.prototype.clone=xd,ut.prototype.reverse=bd,ut.prototype.value=Ed,J.prototype.at=Y0,J.prototype.chain=Q0,J.prototype.commit=Z0,J.prototype.next=ev,J.prototype.plant=rv,J.prototype.reverse=nv,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=iv,J.prototype.first=J.prototype.head,pi&&(J.prototype[pi]=tv),J},Vr=Zh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Vr,define(function(){return Vr})):dn?((dn.exports=Vr)._=Vr,Sa._=Vr):Bt._=Vr}).call(ii)});var AA={};jt(AA,{default:()=>ch,options:()=>lh,setup:()=>wA,teardown:()=>SA});module.exports=pg(AA);var up=er(require("k6/encoding")),ea=require("k6"),ta=er(require("k6/http"));var hg=typeof global=="object"&&global&&global.Object===Object&&global,Lo=hg;var dg=typeof self=="object"&&self&&self.Object===Object&&self,mg=Lo||dg||Function("return this")(),Ft=mg;var vg=Ft.Symbol,zr=vg;var vc=Object.prototype,yg=vc.hasOwnProperty,_g=vc.toString,Ci=zr?zr.toStringTag:void 0;function gg(l){var i=yg.call(l,Ci),t=l[Ci];try{l[Ci]=void 0;var m=!0}catch{}var S=_g.call(l);return m&&(i?l[Ci]=t:delete l[Ci]),S}var yc=gg;var xg=Object.prototype,bg=xg.toString;function Eg(l){return bg.call(l)}var _c=Eg;var wg="[object Null]",Sg="[object Undefined]",gc=zr?zr.toStringTag:void 0;function Ag(l){return l==null?l===void 0?Sg:wg:gc&&gc in Object(l)?yc(l):_c(l)}var lr=Ag;function Cg(l){return l!=null&&typeof l=="object"}var gr=Cg;var Dg="[object Symbol]";function Tg(l){return typeof l=="symbol"||gr(l)&&lr(l)==Dg}var $n=Tg;function Ng(l,i){for(var t=-1,m=l==null?0:l.length,S=Array(m);++t0){if(++i>=i1)return arguments[0]}else i=0;return l.apply(void 0,arguments)}}var Pc=s1;function u1(l){return function(){return l}}var kc=u1;var l1=function(){try{var l=tr(Object,"defineProperty");return l({},"",{}),l}catch{}}(),Kn=l1;var c1=Kn?function(l,i){return Kn(l,"toString",{configurable:!0,enumerable:!1,value:kc(i),writable:!0})}:Bo,Lc=c1;var f1=Pc(Lc),Bc=f1;var p1=9007199254740991,h1=/^(?:0|[1-9]\d*)$/;function d1(l,i){var t=typeof l;return i=i??p1,!!i&&(t=="number"||t!="symbol"&&h1.test(l))&&l>-1&&l%1==0&&l-1&&l%1==0&&l<=w1}var Uo=S1;function A1(l){return l!=null&&Uo(l.length)&&!Jn(l)}var on=A1;function C1(l,i,t){if(!At(t))return!1;var m=typeof i;return(m=="number"?on(t)&&Vn(i,t.length):m=="string"&&i in t)?nn(t[i],l):!1}var zc=C1;function D1(l){return Uc(function(i,t){var m=-1,S=t.length,_=S>1?t[S-1]:void 0,y=S>2?t[2]:void 0;for(_=l.length>3&&typeof _=="function"?(S--,_):void 0,y&&zc(t[0],t[1],y)&&(_=S<3?void 0:_,S=1),i=Object(i);++m-1}var df=Kx;function Vx(l,i){var t=this.__data__,m=sn(t,l);return m<0?(++this.size,t.push([l,i])):t[m][1]=i,this}var mf=Vx;function ti(l){var i=-1,t=l==null?0:l.length;for(this.clear();++i(0,np.randomString)(l,i);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var ip=require("k6/http");var Bs=require("https://jslib.k6.io/url/1.0.0/index.js"),Nr=(...l)=>l.join("/").replace(/(?new Bs.URLSearchParams(Object.keys(l).map(t=>[t,String(l[t])])).toString(),Vo=l=>{let i=new URL(l).search,t=new Bs.URLSearchParams(i);return Object.fromEntries(t)};var Yo=l=>(i,t,m,S)=>{let _=An({},l.params);return l.authn&&Cn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Cn(_,"jar",l.params.jar),(0,ip.request)(i,Nr(l.baseUrl,t),m,An(_,S))};var Rs=require("k6");var ke=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,Rs.check)(l.val,t,l.tags)};var lp=require("k6/http");var Dn={kopano:"kopano",basicAuth:"basicAuth"};var ap=er(require("k6/encoding")),Tn=class{userLogin;userPassword;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword}get header(){return`Basic ${ap.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Qo=require("k6"),Zo=er(require("k6/http"));var Nn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword,this.baseUrl=i.baseUrl,this.redirectURL=Nr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Nr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Nr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let i=this.getContinueURI(),t=this.getCode(i),m=this.getToken(t);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+m.expiresIn-5),_})(),token:m}}return this.cache.token}getContinueURI(){let i=Zo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Ko(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),t=$t(i.json(),"hello.continue_uri");return(i.status!==200||!t)&&(0,Qo.fail)(this.logonURL),t}getCode(i){let t=`${i}?${Or({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,m=Zo.default.get(t,{redirects:0}),S=$t(Vo(m.headers.Location),"code");return(m.status!==302||!S)&&(0,Qo.fail)(i),S}getToken(i){let t=Zo.default.post(this.tokenURL,{client_id:"web",code:i,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),m={accessToken:$t(t.json(),"access_token",""),tokenType:$t(t.json(),"token_type",""),idToken:$t(t.json(),"id_token",""),expiresIn:$t(t.json(),"expires_in",0)};return(t.status!==200||!m.accessToken||!m.tokenType||!m.idToken||!m.expiresIn)&&(0,Qo.fail)(this.tokenURL),m}};var zs={};jt(zs,{POST__get_roles:()=>aE});var aE=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({}));var qs={};jt(qs,{SEARCH__search_for_resources:()=>sE});var sE=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}});var Gs={};jt(Gs,{DELETE__delete_resource:()=>fE,GET__download_resource:()=>lE,MKCOL__create_resource:()=>cE,MOVE__move_resource:()=>pE,PROPFIND__get_properties_for_resource:()=>hE,PUT__upload_resource:()=>uE,REPORT__get_report_for_resources:()=>dE});var uE=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),lE=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),cE=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),fE=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),pE=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),hE=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),dE=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i);var Ws={};jt(Ws,{DELETE__delete_resource:()=>_E,GET__download_resource:()=>vE,MKCOL__create_resource:()=>yE,MOVE__move_resource:()=>gE,PROPFIND__get_properties_for_resource:()=>xE,PUT__upload_resource:()=>mE});var mE=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),vE=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),yE=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),_E=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),gE=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),xE=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i);var Xs={};jt(Xs,{DELETE__delete_tag:()=>EE,POST__create_tag:()=>bE,PROPFIND__get_tags_with_properties:()=>wE});var bE=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),EE=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),wE=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i);var Hs={};jt(Hs,{DELETE__remove_tag_from_resource:()=>AE,PROPFIND__get_tags_with_properties_for_resource:()=>CE,PUT__add_tag_to_resource:()=>SE});var SE=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),AE=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),CE=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i);var $s={};jt($s,{GET__get_applications:()=>DE});var DE=l=>l("GET","/graph/v1.0/applications");var Js={};jt(Js,{DELETE__delete_drive:()=>NE,POST__create_drive:()=>TE});var TE=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),NE=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`);var Ks={};jt(Ks,{DELETE__remove_tags_from_resource:()=>FE,PUT__add_tags_to_resource:()=>OE});var OE=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),FE=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i}));var Vs={};jt(Vs,{DELETE__delete_group:()=>PE,POST__create_group:()=>IE});var IE=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),PE=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`);var Ys={};jt(Ys,{GET__current_user:()=>LE,GET__get_current_user_drives:()=>kE});var kE=l=>l("GET","/graph/v1.0/me/drives"),LE=l=>l("GET","/graph/v1.0/me?$expand=memberOf");var Qs={};jt(Qs,{DELETE__delete_user:()=>RE,POST__add_app_role_to_user:()=>ME,POST__create_user:()=>BE});var BE=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),RE=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),ME=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i}));var Zs={};jt(Zs,{DELETE__delete_group:()=>UE,POST__create_group:()=>jE});var jE=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),UE=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var eu={};jt(eu,{DELETE__delete_user:()=>GE,POST__create_user:()=>zE,PUT__enable_user:()=>qE});var zE=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),qE=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),GE=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var tu={};jt(tu,{GET__search_for_sharees:()=>WE});var WE=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var ru={};jt(ru,{DELETE__delete_share:()=>$E,POST__accept_share:()=>HE,POST__create_share:()=>XE});var XE=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},HE=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),$E=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:zs}},dav:{...qs,files:Gs,spaces:Ws,systemtags:Xs,systemtags_relations:Hs},graph:{v1:{applications:$s,drives:Js,extensions:{org_libre_graph:{tags:Ks}},groups:Vs,me:Ys,users:Qs}},ocs:{v2:{apps:{cloud:{groups:Zs,users:eu},file_sharing:{v1:{sharees:tu,shares:ru}}}}}};var cp=er(Pi());var Tp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Np=require("k6/http");var iu=require("https://jslib.k6.io/url/1.0.0/index.js"),ra=require("k6"),Fp=er(js());var Ip=er(Pi()),JE=Object.defineProperty,It=(l,i)=>{for(var t in i)JE(l,t,{get:i[t],enumerable:!0})},KE={};It(KE,{Adapter:()=>VE,BasicAuth:()=>YE,Kopano:()=>QE});var VE={kopano:"kopano",basicAuth:"basicAuth"},YE=class{userLogin;userPassword;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword}get header(){return`Basic ${up.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},QE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword,this.baseUrl=l.baseUrl,this.redirectURL=Nr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Nr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Nr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let l=this.getContinueURI(),i=this.getCode(l),t=this.getToken(i);this.cache={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+t.expiresIn-5),m})(),token:t}}return this.cache.token}getContinueURI(){let l=ta.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Ko(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),i=$t(l.json(),"hello.continue_uri");return(l.status!==200||!i)&&(0,ea.fail)(this.logonURL),i}getCode(l){let i=`${l}?${Or({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,t=ta.default.get(i,{redirects:0}),m=$t(Vo(t.headers.Location),"code");return(t.status!==302||!m)&&(0,ea.fail)(l),m}getToken(l){let i=ta.default.post(this.tokenURL,{client_id:"web",code:l,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),t={accessToken:$t(i.json(),"access_token",""),tokenType:$t(i.json(),"token_type",""),idToken:$t(i.json(),"id_token",""),expiresIn:$t(i.json(),"expires_in",0)};return(i.status!==200||!t.accessToken||!t.tokenType||!t.idToken||!t.expiresIn)&&(0,ea.fail)(this.tokenURL),t}},ZE={};It(ZE,{Client:()=>hw,EndpointClient:()=>Sr});var Sr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},ew=class extends Sr{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},tw=class extends Sr{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},rw=class extends Sr{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},nw=class extends Sr{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,cp.create)({version:"1.0",encoding:"UTF-8"}),iw={[oe.ownCloudInfiniteScale](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sp={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return On().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(i).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return On().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${i}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(t).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(m.toString()).end()}},ow={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return On().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return On().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},fp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},aw={[oe.ownCloudInfiniteScale](){return On().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return fp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},sw=class extends Sr{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=iw[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},uw=class extends Sr{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},lw=class extends Sr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:sp[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:sp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:ow[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},cw=class extends Sr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},fw=class extends Sr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:fp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=aw[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},pw=class extends Sr{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},hw=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Dn.basicAuth:i=new Tn(l);break;case Dn.kopano:default:i=new Nn(l);break}let t=Yo({authn:i,baseUrl:l.baseUrl,params:{jar:new lp.CookieJar}});this.application=new ew(l.platform,t),this.drive=new tw(l.platform,t),this.group=new rw(l.platform,t),this.me=new nw(l.platform,t),this.resource=new sw(l.platform,t),this.role=new uw(l.platform,t),this.search=new lw(l.platform,t),this.share=new cw(l.platform,t),this.tag=new fw(l.platform,t),this.user=new pw(l.platform,t)}},nu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},dw={};It(dw,{ItemType:()=>iS,Permission:()=>oS,ShareType:()=>nS,endpoints:()=>aS});var pp={};It(pp,{POST__get_roles:()=>mw});var mw=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),hp={};It(hp,{SEARCH__search_for_resources:()=>vw});var vw=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),dp={};It(dp,{DELETE__delete_resource:()=>xw,GET__download_resource:()=>_w,MKCOL__create_resource:()=>gw,MOVE__move_resource:()=>bw,PROPFIND__get_properties_for_resource:()=>Ew,PUT__upload_resource:()=>yw,REPORT__get_report_for_resources:()=>ww});var yw=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),_w=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),gw=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),xw=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),bw=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),Ew=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),ww=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),mp={};It(mp,{DELETE__delete_resource:()=>Dw,GET__download_resource:()=>Aw,MKCOL__create_resource:()=>Cw,MOVE__move_resource:()=>Tw,PROPFIND__get_properties_for_resource:()=>Nw,PUT__upload_resource:()=>Sw});var Sw=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),Aw=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),Cw=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),Dw=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),Tw=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),Nw=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),vp={};It(vp,{DELETE__delete_tag:()=>Fw,POST__create_tag:()=>Ow,PROPFIND__get_tags_with_properties:()=>Iw});var Ow=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),Fw=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),Iw=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),yp={};It(yp,{DELETE__remove_tag_from_resource:()=>kw,PROPFIND__get_tags_with_properties_for_resource:()=>Lw,PUT__add_tag_to_resource:()=>Pw});var Pw=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),kw=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),Lw=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),_p={};It(_p,{GET__get_applications:()=>Bw});var Bw=l=>l("GET","/graph/v1.0/applications"),gp={};It(gp,{DELETE__delete_drive:()=>Mw,POST__create_drive:()=>Rw});var Rw=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),Mw=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),xp={};It(xp,{DELETE__remove_tags_from_resource:()=>Uw,PUT__add_tags_to_resource:()=>jw});var jw=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Uw=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),bp={};It(bp,{DELETE__delete_group:()=>qw,POST__create_group:()=>zw});var zw=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),qw=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Ep={};It(Ep,{GET__current_user:()=>Ww,GET__get_current_user_drives:()=>Gw});var Gw=l=>l("GET","/graph/v1.0/me/drives"),Ww=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),wp={};It(wp,{DELETE__delete_user:()=>Hw,POST__add_app_role_to_user:()=>$w,POST__create_user:()=>Xw});var Xw=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),Hw=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),$w=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Sp={};It(Sp,{DELETE__delete_group:()=>Kw,POST__create_group:()=>Jw});var Jw=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),Kw=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{DELETE__delete_user:()=>Qw,POST__create_user:()=>Vw,PUT__enable_user:()=>Yw});var Vw=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Yw=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Qw=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{GET__search_for_sharees:()=>Zw});var Zw=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Dp={};It(Dp,{DELETE__delete_share:()=>rS,POST__accept_share:()=>tS,POST__create_share:()=>eS});var eS=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},tS=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),rS=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),nS={user:0,group:1,publicLink:3,federatedCloudShare:6},iS={file:"file",folder:"folder"},oS={read:0,update:2,create:4,delete:8,share:16,all:31},aS={api:{v0:{settings:pp}},dav:{...hp,files:dp,spaces:mp,systemtags:vp,systemtags_relations:yp},graph:{v1:{applications:_p,drives:gp,extensions:{org_libre_graph:{tags:xp}},groups:bp,me:Ep,users:wp}},ocs:{v2:{apps:{cloud:{groups:Sp,users:Ap},file_sharing:{v1:{sharees:Cp,shares:Dp}}}}}},sS={};It(sS,{check:()=>dS,cleanURL:()=>Op,group:()=>hS,objectToQueryString:()=>cS,platformGuard:()=>lS,queryJson:()=>Pp,queryStringToObject:()=>fS,queryXml:()=>mS,randomString:()=>uS,requestFactory:()=>pS});var uS=(l=10,i)=>(0,Tp.randomString)(l,i),lS=l=>({isOwnCloudInfiniteScale:l===oe.ownCloudInfiniteScale,isOwnCloudServer:l===oe.ownCloudServer,isNextcloud:l===oe.nextcloud}),Op=(...l)=>l.join("/").replace(/(?new iu.URLSearchParams(Object.keys(l).map(i=>[i,String(l[i])])).toString(),fS=l=>{let i=new URL(l).search,t=new iu.URLSearchParams(i);return Object.fromEntries(t)},pS=l=>(i,t,m,S)=>{let _=An({},l.params);return l.authn&&Cn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Cn(_,"jar",l.params.jar),(0,Np.request)(i,Op(l.baseUrl,t),m,An(_,S))},hS=(l,i)=>(0,ra.group)(l,()=>i(l)),dS=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,ra.check)(l.val,t,l.tags)},Pp=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return Fp.query(t,l).map(m=>At(m)&&Fi(m)?void 0:m)},mS=(l,i)=>{let t=Ip.create(i).end({format:"object"});return Pp(l,t)};var vS=er(require("k6/encoding")),yS=require("k6"),_S=er(require("k6/http"));var na={kopano:"kopano",basicAuth:"basicAuth"};var Lp=require("k6/http");var Bp=er(Pi());var Fr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},gS=class extends Fr{listApplications(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},xS=class extends Fr{createDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},bS=class extends Fr{createGroup(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},ES=class extends Fr{getMyProfile(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},Fn=()=>(0,Bp.create)({version:"1.0",encoding:"UTF-8"}),wS={[oe.ownCloudInfiniteScale](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},kp={[oe.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return Fn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(i).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){return this[oe.ownCloudInfiniteScale](l)},[oe.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return Fn().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${i}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(t).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(m.toString()).end()}},SS={[oe.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return Fn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[oe.ownCloudServer](l){let{tag:i}=l;return Fn().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(i).end()},[oe.nextcloud](l){return this[oe.ownCloudServer](l)}},Rp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},AS={[oe.ownCloudInfiniteScale](){return Fn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Rp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},CS=class extends Fr{createResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=wS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},DS=class extends Fr{getRoles(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},TS=class extends Fr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case oe.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:kp[this.platform](l)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:kp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:SS[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},NS=class extends Fr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},OS=class extends Fr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Rp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case oe.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=AS[this.platform]({}),t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case oe.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},FS=class extends Fr{createUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case oe.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},ki=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case Dn.basicAuth:i=new Tn(l);break;case Dn.kopano:default:i=new Nn(l);break}let t=Yo({authn:i,baseUrl:l.baseUrl,params:{jar:new Lp.CookieJar}});this.application=new gS(l.platform,t),this.drive=new xS(l.platform,t),this.group=new bS(l.platform,t),this.me=new ES(l.platform,t),this.resource=new CS(l.platform,t),this.role=new DS(l.platform,t),this.search=new TS(l.platform,t),this.share=new NS(l.platform,t),this.tag=new OS(l.platform,t),this.user=new FS(l.platform,t)}};var IS=Object.defineProperty,Gt=(l,i)=>{for(var t in i)IS(l,t,{get:i[t],enumerable:!0})},Mp={};Gt(Mp,{POST__get_roles:()=>PS});var PS=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),jp={};Gt(jp,{SEARCH__search_for_resources:()=>kS});var kS=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),Up={};Gt(Up,{DELETE__delete_resource:()=>MS,GET__download_resource:()=>BS,MKCOL__create_resource:()=>RS,MOVE__move_resource:()=>jS,PROPFIND__get_properties_for_resource:()=>US,PUT__upload_resource:()=>LS,REPORT__get_report_for_resources:()=>zS});var LS=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),BS=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),RS=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),MS=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),jS=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),US=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),zS=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),zp={};Gt(zp,{DELETE__delete_resource:()=>XS,GET__download_resource:()=>GS,MKCOL__create_resource:()=>WS,MOVE__move_resource:()=>HS,PROPFIND__get_properties_for_resource:()=>$S,PUT__upload_resource:()=>qS});var qS=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),GS=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),WS=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),XS=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),HS=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),$S=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),qp={};Gt(qp,{DELETE__delete_tag:()=>KS,POST__create_tag:()=>JS,PROPFIND__get_tags_with_properties:()=>VS});var JS=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),KS=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),VS=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),Gp={};Gt(Gp,{DELETE__remove_tag_from_resource:()=>QS,PROPFIND__get_tags_with_properties_for_resource:()=>ZS,PUT__add_tag_to_resource:()=>YS});var YS=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),QS=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),ZS=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),Wp={};Gt(Wp,{GET__get_applications:()=>eA});var eA=l=>l("GET","/graph/v1.0/applications"),Xp={};Gt(Xp,{DELETE__delete_drive:()=>rA,POST__create_drive:()=>tA});var tA=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),rA=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),Hp={};Gt(Hp,{DELETE__remove_tags_from_resource:()=>iA,PUT__add_tags_to_resource:()=>nA});var nA=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),iA=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),$p={};Gt($p,{DELETE__delete_group:()=>aA,POST__create_group:()=>oA});var oA=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),aA=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Jp={};Gt(Jp,{GET__current_user:()=>uA,GET__get_current_user_drives:()=>sA});var sA=l=>l("GET","/graph/v1.0/me/drives"),uA=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Kp={};Gt(Kp,{DELETE__delete_user:()=>cA,POST__add_app_role_to_user:()=>fA,POST__create_user:()=>lA});var lA=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),cA=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),fA=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Vp={};Gt(Vp,{DELETE__delete_group:()=>hA,POST__create_group:()=>pA});var pA=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),hA=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Yp={};Gt(Yp,{DELETE__delete_user:()=>vA,POST__create_user:()=>dA,PUT__enable_user:()=>mA});var dA=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),mA=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),vA=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Qp={};Gt(Qp,{GET__search_for_sharees:()=>yA});var yA=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Or({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Zp={};Gt(Zp,{DELETE__delete_share:()=>xA,POST__accept_share:()=>gA,POST__create_share:()=>_A});var _A=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},gA=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),xA=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),eh={user:0,group:1,publicLink:3,federatedCloudShare:6};var th={read:0,update:2,create:4,delete:8,share:16,all:31},QI={api:{v0:{settings:Mp}},dav:{...jp,files:Up,spaces:zp,systemtags:qp,systemtags_relations:Gp},graph:{v1:{applications:Wp,drives:Xp,extensions:{org_libre_graph:{tags:Hp}},groups:$p,me:Jp,users:Kp}},ocs:{v2:{apps:{cloud:{groups:Vp,users:Yp},file_sharing:{v1:{sharees:Qp,shares:Zp}}}}}};var rh=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var bA=require("k6/http");var EA=require("https://jslib.k6.io/url/1.0.0/index.js"),nh=require("k6"),ih=er(js());var oh=er(Pi()),ou=(l=10,i)=>(0,rh.randomString)(l,i);var ia=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return ih.query(t,l).map(m=>At(m)&&Fi(m)?void 0:m)},ah=(l,i)=>{let t=oh.create(i).end({format:"object"});return ia(l,t)};var uh=require("k6/crypto"),oa=er(require("k6/execution")),au=er(sh()),Jt={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===na.basicAuth?na.basicAuth:na.kopano,platform:nu[__ENV.PLATFORM]||nu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},testFolder:__ENV.TEST_FOLDER||"oc-share-upload-rename",assets:{size:parseInt(__ENV.ASSET_SIZE,10)||1e3,quantity:parseInt(__ENV.ASSET_QUANTITY,10)||10},k6:{vus:1,insecureSkipTLSVerify:!0}},lh=Jt.k6;function wA(){let l=new ki({...Jt,userLogin:Jt.admin.login,userPassword:Jt.admin.password}),i=l.me.getMyDrives(),[t=Jt.admin.login]=ia("$.value[?(@.driveType === 'personal')].id",i?.body);l.resource.createResource({root:t,resourcePath:Jt.testFolder});let m=(0,au.times)(lh.vus||1,()=>{let[S,_]=[ou(),ou()];l.user.createUser({userLogin:S,userPassword:_}),l.user.enableUser({userLogin:S});let y=l.share.createShare({shareResourcePath:Jt.testFolder,shareReceiver:S,shareType:eh.user,shareReceiverPermission:th.all}),[s]=ah("ocs.data.id",y.body),h=new ki({...Jt,userLogin:S,userPassword:_}),o=h.me.getMyDrives(),[a=S]=ia("$.value[?(@.driveType === 'personal')].id",o?.body);return h.share.acceptShare({shareId:s}),{actorLogin:S,actorPassword:_,actorRoot:a}});return{adminData:{adminLogin:Jt.admin.login,adminPassword:Jt.admin.password,adminRoot:t},actorData:m}}function ch({actorData:l}){let{actorLogin:i,actorPassword:t,actorRoot:m}=l[oa.default.vu.idInTest-1],S=new ki({...Jt,userLogin:i,userPassword:t}),_=[oa.default.scenario.iterationInTest,"initial",i].join("-");S.resource.createResource({root:m,resourcePath:_});let y=(0,uh.randomBytes)(Jt.assets.size*1e3);(0,au.times)(Jt.assets.quantity,h=>{S.resource.uploadResource({root:m,resourcePath:[_,h].join("/"),resourceBytes:y})});let s=[oa.default.scenario.iterationInTest,"final",i].join("-");S.resource.moveResource({root:m,fromResourcePath:_,toResourcePath:s})}function SA({adminData:l,actorData:i}){let t=new ki({...Jt,userLogin:l.adminLogin,userPassword:l.adminPassword});t.resource.deleteResource({root:l.adminRoot,resourcePath:Jt.testFolder}),i.forEach(({actorLogin:m})=>{t.user.deleteUser({userLogin:m})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/sample-kitchen-sink.js b/packages/k6-tests/artifacts/sample-kitchen-sink.js index a6c65f9..31e1667 100644 --- a/packages/k6-tests/artifacts/sample-kitchen-sink.js +++ b/packages/k6-tests/artifacts/sample-kitchen-sink.js @@ -1,90 +1,90 @@ -"use strict";var Dg=Object.create;var So=Object.defineProperty;var Cg=Object.getOwnPropertyDescriptor;var Tg=Object.getOwnPropertyNames;var Ng=Object.getPrototypeOf,Fg=Object.prototype.hasOwnProperty;var Xs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),Og=(E,l)=>{for(var o in l)So(E,o,{get:l[o],enumerable:!0})},mc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of Tg(l))!Fg.call(E,w)&&w!==o&&So(E,w,{get:()=>l[w],enumerable:!(v=Cg(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?Dg(Ng(E)):{},mc(l||!E||!E.__esModule?So(o,"default",{value:E,enumerable:!0}):o,E)),Ig=E=>mc(So({},"__esModule",{value:!0}),E);var tu=Xs((cp,eu)=>{(function(E){if(typeof cp=="object"&&typeof eu<"u")eu.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function k(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function $(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function q(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,$(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),$(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if($(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&k(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(k(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function z(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!$(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:k(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&k(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&k(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if($(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],$(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if($(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!q(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?P():F===40||F===41||F===59?D():F===39||F===34?z():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function $e(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?$e():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?$e():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function ze(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new ze(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function qe(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push(Jt()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Qn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=Jt(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=Jt(),b.markEnd(b.createProperty("init",j,le),Ie)}function Jn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Kn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Kn();if(Ae("["))return gt();if(Ae("{"))return Jn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return ki();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push(Jt()),!Ae(")"));)xe(",");return xe(")"),F}function Je(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),Je()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Br(){var F,j,Z;return Z=S,Te("new"),F=Vn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function Ea(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Br():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Vn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Br():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function Di(){var F,j,Z=S;return F=Ea(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!qe()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Lr(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=Di():Ae("++")||Ae("--")?(Z=S,F=we(),j=Lr(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Lr(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Lr(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=Di(),j}function Ci(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function wa(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Lr(),le=S,be=Ci(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Lr(),Ie=[At,le,Qe];(be=Ci(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Lr(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function Sa(){var F,j,Z,le,be;return be=S,F=wa(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=Jt(),C.allowIn=j,xe(":"),le=Jt(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function Jt(){var F,j,Z,le,be;return F=S,be=S,le=j=Sa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=Jt(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=Jt(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push(Jt());b.markEnd(F,j)}return F}function Aa(){for(var F=[],j;e<_&&!(Ae("}")||(j=on(),typeof j>"u"));)F.push(j);return F}function rn(){var F,j;return j=S,xe("{"),F=Aa(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Da(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=Jt()):Ae("=")&&(we(),j=Jt()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function Yn(F){var j=[];do{if(j.push(Da(F)),!Ae(","))break;we()}while(e<_);return j}function Ca(){var F;return Te("var"),F=Yn(),We(),b.createVariableDeclaration(F,"var")}function Ta(F){var j,Z;return Z=S,Te(F),j=Yn(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Na(){return xe(";"),b.createEmptyStatement()}function xn(){var F=St();return We(),b.createExpressionStatement(F)}function Fa(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=qt(),je("else")?(we(),Z=qt()):Z=null,b.createIfStatement(F,j,Z)}function bn(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=qt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Oa(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=qt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Ia(){var F,j,Z;return Z=S,F=we(),j=Yn(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Pa(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Ia(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=qt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ti(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):qe()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Ni(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):qe()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Fi(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):qe()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function ka(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=qt(),b.createWithStatement(F,j)}function Ba(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=qt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function La(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Ba(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function Ra(){var F;return Te("throw"),qe()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Oi(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=rn(),b.markEnd(b.createCatchClause(F,j),Z)}function Ii(){var F,j=[],Z=null;return Te("try"),F=rn(),je("catch")&&j.push(Oi()),je("finally")&&(we(),Z=rn()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Pi(){return Te("debugger"),We(),b.createDebuggerStatement()}function qt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return rn();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Na(),be);case"(":return b.markEnd(xn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Ni(),be);case"continue":return b.markEnd(Ti(),be);case"debugger":return b.markEnd(Pi(),be);case"do":return b.markEnd(bn(),be);case"for":return b.markEnd(Pa(),be);case"function":return b.markEnd(nn(),be);case"if":return b.markEnd(Fa(),be);case"return":return b.markEnd(Fi(),be);case"switch":return b.markEnd(La(),be);case"throw":return b.markEnd(Ra(),be);case"try":return b.markEnd(Ii(),be);case"var":return b.markEnd(Ca(),be);case"while":return b.markEnd(Oa(),be);case"with":return b.markEnd(ka(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=qt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Qn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=on(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=on(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Zn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function nn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Zn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Qn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function ki(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Zn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Qn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function on(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Ta(S.value);case"function":return nn();default:return qt()}if(S.type!==a.EOF)return qt()}function Bi(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=on(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=on(),!(typeof F>"u"));)j.push(F);return j}function Li(){var F,j;return Q(),at(),j=S,t=!1,F=Bi(),b.markEnd(b.createProgram(F),j)}function En(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}En(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Ri(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Li(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(En(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Ma,m.parse=Ri,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var $,Y,q,X,H,ee,re={},he,me,ne,Q;;){if(q=c[c.length-1],this.defaultActions[q]?X=this.defaultActions[q]:(($===null||typeof $>"u")&&($=G()),X=g[q]&&g[q][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[q])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var d_=Object.create;var Uo=Object.defineProperty;var m_=Object.getOwnPropertyDescriptor;var v_=Object.getOwnPropertyNames;var y_=Object.getPrototypeOf,g_=Object.prototype.hasOwnProperty;var ks=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports),jt=(l,i)=>{for(var t in i)Uo(l,t,{get:i[t],enumerable:!0})},_c=(l,i,t,m)=>{if(i&&typeof i=="object"||typeof i=="function")for(let S of v_(i))!g_.call(l,S)&&S!==t&&Uo(l,S,{get:()=>i[S],enumerable:!(m=m_(i,S))||m.enumerable});return l};var tr=(l,i,t)=>(t=l!=null?d_(y_(l)):{},_c(i||!l||!l.__esModule?Uo(t,"default",{value:l,enumerable:!0}):t,l)),__=l=>_c(Uo({},"__esModule",{value:!0}),l);var Ws=ks((lp,Gs)=>{(function(l){if(typeof lp=="object"&&typeof Gs<"u")Gs.exports=l();else if(typeof define=="function"&&define.amd)define([],l);else{var i;typeof window<"u"?i=window:typeof global<"u"?i=global:typeof self<"u"?i=self:i=this,i.jsonpath=l()}})(function(){var l,i,t;return function m(S,_,g){function s(a,c){if(!_[a]){if(!S[a]){var u=typeof require=="function"&&require;if(!c&&u)return u(a,!0);if(h)return h(a,!0);var p=new Error("Cannot find module '"+a+"'");throw p.code="MODULE_NOT_FOUND",p}var v=_[a]={exports:{}};S[a][0].call(v.exports,function(f){var r=S[a][1][f];return s(r||f)},v,v.exports,m,S,_,g)}return _[a].exports}for(var h=typeof require=="function"&&require,o=0;o",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],a={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function F(O){return O>=48&&O<=57}function R(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function H(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function $(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function ne(O){if(r&&$(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:y,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:y,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:y,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:y,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:y,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:y,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Me(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return o.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:y,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?F(f.charCodeAt(e+1))?M():C():F(O)?M():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:y,column:e-b}},j=ot(),O.end={line:y,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,y=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,y=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=y,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,y=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}v={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===a.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),y,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:a.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:a.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?a.LogicalExpression:a.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:a.BlockStatement,body:O}},createBreakStatement:function(O){return{type:a.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:a.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:a.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:a.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:a.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:a.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:a.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:a.EmptyStatement}},createExpressionStatement:function(O){return{type:a.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:a.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:a.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:a.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:a.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:a.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:a.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:a.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:a.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:a.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:a.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:a.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:a.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:a.Program,body:O}},createProperty:function(O,j,Z){return{type:a.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:a.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:a.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:a.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:a.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:a.ThisExpression}},createThrowStatement:function(O){return{type:a.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:a.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:a.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:a.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:a.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:a.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:a.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:a.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=y,Z=b,Q(),ce=y!==j,e=O,y=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function $e(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=y,Q(),y===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===a.Identifier||O.type===a.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(nr()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=r,Ee=w,ce=vi(),j&&r&&ee(O[0].name)&&se(j,u.StrictParamName),r=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(r&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function zt(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Or()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=nr(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=nr(),E.markEnd(E.createProperty("init",j,ce),Le)}function pi(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=zt(),j.key.type===a.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?c.Data:j.kind==="get"?c.Get:c.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===c.Data?r&&Ee===c.Data?se({},u.StrictDuplicateProperty):Ee!==c.Data&&se({},u.AccessorDataProperty):Ee===c.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function hi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return hi();if(Ce("["))return Et();if(Ce("{"))return pi();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)r&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Vi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(_e()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function pa(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Yr(),ce=w,Ee=Gi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Yr(),Le=[Ot,ce,rt];(Ee=Gi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Yr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function ha(){var O,j,Z,ce,Ee;return Ee=w,O=pa(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=nr(),D.allowIn=j,be(":"),ce=nr(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function nr(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=ha(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),r&&j.type===a.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=nr(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=nr(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function vn(){var O,j;return j=w,be("{"),O=da(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Or(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function ma(O){var j=null,Z,ce;return ce=w,Z=Or(),r&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=nr()):Ce("=")&&(Se(),j=nr()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function mi(O){var j=[];do{if(j.push(ma(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=Vt(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Wi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Or(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),$e(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Xi(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Or(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),$e(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function $i(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),$e(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),$e(),E.createReturnStatement(O))}function wa(){var O,j;return r&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=Vt(),E.createWithStatement(O,j)}function Sa(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function yi(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Qi(){var O,j;return Q(),ct(),j=w,r=!1,O=Yi(),E.markEnd(E.createProgram(O),j)}function Un(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Un(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Zi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=v,f=O,e=0,y=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Qi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Un(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}g.version="1.2.2",g.tokenize=Da,g.parse=Zi,g.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in a)a.hasOwnProperty(O)&&(j[O]=a[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(m,S,_){(function(g){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,v,f,r,e,y,b){r.ast||(r.ast=o,o.initialize());var x=y.length-1;switch(e){case 1:return r.ast.set({expression:{type:"root",value:y[x]}}),r.ast.unshift(),r.ast.yield();break;case 2:return r.ast.set({expression:{type:"root",value:y[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 3:return r.ast.unshift(),r.ast.yield();break;case 4:return r.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:y[x-1]}}),r.ast.unshift(),r.ast.yield();break;case 5:break;case 6:break;case 7:r.ast.set({operation:"member"}),r.ast.push();break;case 8:r.ast.set({operation:"subscript"}),r.ast.push();break;case 9:r.ast.set({scope:"child"});break;case 10:r.ast.set({scope:"descendant"});break;case 11:break;case 12:r.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:r.ast.set({expression:{type:"wildcard",value:y[x]}});break;case 15:r.ast.set({expression:{type:"identifier",value:y[x]}});break;case 16:r.ast.set({expression:{type:"script_expression",value:y[x]}});break;case 17:r.ast.set({expression:{type:"numeric_literal",value:parseInt(y[x])}});break;case 18:break;case 19:r.ast.set({scope:"child"});break;case 20:r.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:y[x].length>1?r.ast.set({expression:{type:"union",value:y[x]}}):this.$=y[x];break;case 25:this.$=[y[x]];break;case 26:this.$=y[x-2].concat(y[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(y[x])}},r.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:y[x]}},r.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:y[x]}},r.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:y[x]}},r.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:y[x]}},r.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:y[x]}},r.ast.set(this.$);break;case 33:this.$=y[x];break;case 34:this.$=y[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,v){if(v.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var v=this,f=[0],r=[null],e=[],y=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var F=this.lexer.yylloc;e.push(F);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,r.length=r.length-le,e.length=e.length-le}function G(){var le;return le=v.lexer.lex()||T,typeof le!="number"&&(le=v.symbols_[le]||le),le}for(var H,Y,z,X,$,ee,ne={},de,ve,ie,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((H===null||typeof H>"u")&&(H=G()),X=y[z]&&y[z][H]),typeof X>"u"||!X.length||!X[0]){var oe="";Q=[];for(de in y[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?oe="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+$);switch(X[0]){case 1:c.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),$=null,Y?($=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(k){k.path=_.path.concat(k.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],k=function(G,$){s(G)?(G.forEach(function(Y,q){R.length>=T||C(q,Y,S)&&R.push({path:$.concat(q),value:Y})}),G.forEach(function(Y,q){R.length>=T||_&&k(Y,$.concat(q))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var k=N.indexOf(` -`,R+1);N=N.substring(k+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=P)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),k(ue.showHidden)&&(ue.showHidden=!1),k(ue.depth)&&(ue.depth=2),k(ue.colors)&&(ue.colors=!1),k(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var P=t(Q,ie);if(P)return P;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),q(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(q(ie))return e(ie)}var M="",z=!1,W=["{","}"];if(b(ie)&&(z=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),q(ie)&&(M=" "+e(ie)),D.length===0&&(!z||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return z?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,z)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,P){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` -`).map(function(z){return" "+z}).join(` -`).substr(2):B=` -`+B.split(` -`).map(function(z){return" "+z}).join(` -`))):B=Q.stylize("[Circular]","special")),k(L)){if(D&&P.match(/^\d+$/))return B;L=JSON.stringify(""+P),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,P=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?ue[0]+(ie===""?"":ie+` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[H]||H)+"'":oe="Parse error on line "+(x+1)+": Unexpected "+(H==T?"end of input":"'"+(this.terminals_[H]||H)+"'"),this.parseError(oe,{text:this.lexer.match,token:this.terminals_[H]||H,line:this.lexer.yylineno,loc:F,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+H);switch(X[0]){case 1:f.push(H),r.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),H=null,Y?(H=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,F=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],ne.$=r[r.length-ve],ne._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},R&&(ne._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(ne,[b,E,x,this.yy,X[1],r,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),r=r.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),r.push(ne.$),e.push(ne._$),ie=y[f[f.length-2]][f[f.length-1]],f.push(ie);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},a=function(){var u={EOF:1,parseError:function(v,f){if(this.yy.parser)this.yy.parser.parseError(v,f);else throw new Error(v)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var v=p.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var v=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v-1),this.offset-=v;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),v=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+v+"^"},test_match:function(p,v){var f,r,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),r=p[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,v,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var y in e)this[y]=e[y];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,v,f,r;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),y=0;yv[0].length)){if(v=f,r=y,this.options.backtrack_lexer){if(p=this.test_match(f,e[y]),p!==!1)return p;if(this._backtrack){v=!1;continue}else return!1}else if(!this.options.flex)break}return v?(p=this.test_match(v,e[r]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return v||this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){var v=this.conditionStack.length-1;return v>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(v){return v=this.conditionStack.length-1-Math.abs(v||0),v>=0?this.conditionStack[v]:"INITIAL"},pushState:function(v){this.begin(v)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(v,f,r,e){var y=e;switch(r){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=a;function c(){this.yy={}}return c.prototype=h,h.Parser=c,new c}();typeof m<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),g.exit(1));var a=m("fs").readFileSync(m("path").normalize(o[1]),"utf8");return _.parser.parse(a)},typeof S<"u"&&m.main===S&&_.main(g.argv.slice(1)))}).call(this,m("_process"))},{_process:14,fs:12,path:13}],2:[function(m,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(m,S,_){var g=m("./dict"),s=m("fs"),h={lex:{macros:{esc:"\\\\",int:g.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[g.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[g.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[g.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(m.resolve("../include/module.js")),h.actionInclude=s.readFileSync(m.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(m,S,_){var g=m("./aesprim"),s=m("./slice"),h=m("static-eval"),o=m("underscore").uniq,a=function(){return this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.traverse=v(!0),this.descend=v()},a.prototype.keys=Object.keys,a.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},a.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},a.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":r(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":r(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":r(function(){return!0}),"subscript-descendant-wildcard":r(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),F=N(T,E);F&&(w=w.concat(F))},this),y(w)},"subscript-descendant-union":function(x,E,w){var D=m(".."),T=this,N=[],F=D.nodes(E,"$..*").slice(1);return F.forEach(function(R){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},H=T.resolve(G),Y=H(G,R);N=N.concat(Y)})}),y(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=g.parse(D).body[0].expression,N=function(F,R){return e(T,{"@":R})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=g.parse(D).body[0].expression,N=function(F,R){return e(T,{"@":R})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return c(E,w,"$..value")}},a.prototype._fns["subscript-child-string_literal"]=a.prototype._fns["member-child-identifier"],a.prototype._fns["member-descendant-numeric_literal"]=a.prototype._fns["subscript-descendant-string_literal"]=a.prototype._fns["member-descendant-identifier"];function c(x,E,w){var D=m("./index"),T=g.parse(E).body[0].expression,N=e(T,{"@":x.value}),F=w.replace(/\{\{\s*value\s*\}\}/g,N),R=D.nodes(x.value,F);return R.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),R}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function v(x){return function(E,w,D,T){var N=E.value,F=E.path,R=[],k=function(G,H){u(G)?(G.forEach(function(Y,z){R.length>=T||D(z,Y,w)&&R.push({path:H.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||x&&k(Y,H.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){R.length>=T||D(Y,G[Y],w)&&R.push({path:H.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||x&&k(G[Y],H.concat(Y))}))}.bind(this);return k(N,F),R}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function r(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function y(x){return x=x.filter(function(E){return E}),o(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=a},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(m,S,_){var g=m("assert"),s=m("./dict"),h=m("./parser"),o=m("./handlers"),a=function(){this.initialize.apply(this,arguments)};a.prototype.initialize=function(){this.parser=new h,this.handlers=new o},a.prototype.parse=function(p){return g.ok(c(p),"we need a path"),this.parser.parse(p)},a.prototype.parent=function(p,v){g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path");var f=this.nodes(p,v)[0],r=f.path.pop();return this.value(p,f.path)},a.prototype.apply=function(p,v,f){g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path"),g.equal(typeof f,"function","fn needs to be function");var r=this.nodes(p,v).sort(function(e,y){return y.path.length-e.path.length});return r.forEach(function(e){var y=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[y]);b[y]=x},this),r},a.prototype.value=function(p,v,f){if(g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path"),arguments.length>=3){var r=this.nodes(p,v).shift();if(!r)return this._vivify(p,v,f);var e=r.path.slice(-1).shift(),y=this.parent(p,this.stringify(r.path));y[e]=f}return this.query(p,this.stringify(v),1).shift()},a.prototype._vivify=function(p,v,f){var r=this;g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path");var e=this.parser.parse(v).map(function(b){return b.expression.value}),y=function(b,x){var E=b.pop(),w=r.value(p,b);w||(y(b.concat(),typeof E=="string"?{}:[]),w=r.value(p,b)),w[E]=x};return y(e,f),this.query(p,v)[0]},a.prototype.query=function(p,v,f){g.ok(p instanceof Object,"obj needs to be an object"),g.ok(c(v),"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.value});return r},a.prototype.paths=function(p,v,f){g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path");var r=this.nodes(p,v,f).map(function(e){return e.path});return r},a.prototype.nodes=function(p,v,f){if(g.ok(p instanceof Object,"obj needs to be an object"),g.ok(v,"we need a path"),f===0)return[];var r=this.parser.parse(v),e=this.handlers,y=[{path:["$"],value:p}],b=[];return r.length&&r[0].expression.type=="root"&&r.shift(),r.length?(r.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];y.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==r.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),y=D}}),f?b.slice(0,f):b):y},a.prototype.stringify=function(p){g.ok(p,"we need a path");var v="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(r){if(r.expression.type!="root"){var e=[r.scope,r.operation].join("-"),y=f[e],b;if(r.expression.type=="string_literal"?b=JSON.stringify(r.expression.value):b=r.expression.value,!y)throw new Error("couldn't find template "+e);v+=y.replace(/{{value}}/,b)}}),v},a.prototype._normalize=function(p){if(g.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var v=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,r){if(!(f=="$"&&r===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))v.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";v.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),v}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function c(p){return Object.prototype.toString.call(p)=="[object String]"}a.Handlers=o,a.Parser=h;var u=new a;u.JSONPath=a,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(m,S,_){var g=m("./grammar"),s=m("../generated/parser"),h=function(){var o=new s.Parser,a=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),a.apply(o,arguments)},o};h.grammar=g,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(m,S,_){S.exports=function(s,h,o,a){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof a=="string")throw new Error("step cannot be a string");var c=s.length;if(a===0)throw new Error("step cannot be zero");if(a=a?g(a):1,h=h<0?c+h:h,o=o<0?c+o:o,h=g(h===0?0:h||(a>0?0:c-1)),o=g(o===0?0:o||(a>0?c:-1)),h=a>0?Math.max(0,h):Math.min(c,h),o=a>0?Math.min(o,c):Math.max(-1,o),a>0&&o<=h)return[];if(a<0&&h<=o)return[];for(var u=[],p=h;p!=o&&!(a<0&&p<=o||a>0&&p>=o);p+=a)u.push(s[p]);return u};function g(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(m,S,_){var g=m("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,o=S.exports=v;o.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,F=D.name,R=N.indexOf(` +`+F);if(R>=0){var k=N.indexOf(` +`,R+1);N=N.substring(k+1)}this.stack=N}}},g.inherits(o.AssertionError,Error);function a(E,w){return g.isUndefined(w)?""+w:g.isNumber(w)&&!isFinite(w)||g.isFunction(w)||g.isRegExp(w)?w.toString():w}function c(E,w){return g.isString(E)?E.length=0;k--)if(N[k]!=F[k])return!1;for(k=N.length-1;k>=0;k--)if(R=N[k],!f(E[R],w[R]))return!1;return!0}o.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",o.strictEqual)},o.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",o.notStrictEqual)};function y(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;g.isString(D)&&(T=D,D=null);try{w()}catch(F){N=F}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&y(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!y(N,D)||!E&&N)throw N}o.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(m,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var o=function(){};o.prototype=h.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(m,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(m,S,_){(function(g,s){var h=/%[sdj%]/g;_.format=function(Q){if(!F(Q)){for(var oe=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(oe)?le.showHidden=oe:oe&&_._extend(le,oe),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,oe){var le=c.styles[oe];return le?"\x1B["+c.colors[le][0]+"m"+Q+"\x1B["+c.colors[le][1]+"m":Q}function p(Q,oe){return Q}function v(Q){var oe={};return Q.forEach(function(le,fe){oe[le]=!0}),oe}function f(Q,oe,le){if(Q.customInspect&&oe&&X(oe.inspect)&&oe.inspect!==_.inspect&&!(oe.constructor&&oe.constructor.prototype===oe)){var fe=oe.inspect(le,Q);return F(fe)||(fe=f(Q,fe,le)),fe}var P=r(Q,oe);if(P)return P;var C=Object.keys(oe),B=v(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(oe)),z(oe)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(oe);if(C.length===0){if(X(oe)){var L=oe.name?": "+oe.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(oe))return Q.stylize(RegExp.prototype.toString.call(oe),"regexp");if(Y(oe))return Q.stylize(Date.prototype.toString.call(oe),"date");if(z(oe))return e(oe)}var M="",q=!1,W=["{","}"];if(E(oe)&&(q=!0,W=["[","]"]),X(oe)){var ae=oe.name?": "+oe.name:"";M=" [Function"+ae+"]"}if(G(oe)&&(M=" "+RegExp.prototype.toString.call(oe)),Y(oe)&&(M=" "+Date.prototype.toUTCString.call(oe)),z(oe)&&(M=" "+e(oe)),C.length===0&&(!q||oe.length==0))return W[0]+M+W[1];if(le<0)return G(oe)?Q.stylize(RegExp.prototype.toString.call(oe),"regexp"):Q.stylize("[Object]","special");Q.seen.push(oe);var me;return q?me=y(Q,oe,le,B,C):me=C.map(function(_e){return b(Q,oe,le,B,_e,q)}),Q.seen.pop(),x(me,M,W)}function r(Q,oe){if(k(oe))return Q.stylize("undefined","undefined");if(F(oe)){var le="'"+JSON.stringify(oe).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(oe))return Q.stylize(""+oe,"number");if(w(oe))return Q.stylize(""+oe,"boolean");if(D(oe))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function y(Q,oe,le,fe,P){for(var C=[],B=0,L=oe.length;B-1&&(C?L=L.split(` +`).map(function(q){return" "+q}).join(` +`).substr(2):L=` +`+L.split(` +`).map(function(q){return" "+q}).join(` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,oe,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(oe===""?"":oe+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function k(Q){return Q===void 0}y.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}y.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function q(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=q;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof xi=="object"&&typeof ru=="object"?ru.exports=l():typeof define=="function"&&define.amd?define([],l):typeof xi=="object"?xi.xmlbuilder2=l():E.xmlbuilder2=l()})(xi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(q,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(q,X)},function(q,X){function H(){this.constructor=q}v(q,X),q.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(q){function X(H,ee){ee===void 0&&(ee="");var re=q.call(this,ee)||this;return re.name=H,re}return w(X,q),X}(Error);l.DOMException=y;var m=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DOMStringSizeError",H)||this}return w(X,q),X}(y);l.DOMStringSizeError=m;var a=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,q),X}(y);l.WrongDocumentError=a;var p=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoDataAllowedError",H)||this}return w(X,q),X}(y);l.NoDataAllowedError=p;var n=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,q),X}(y);l.NoModificationAllowedError=n;var i=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,q),X}(y);l.NotSupportedError=i;var u=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InUseAttributeError",H)||this}return w(X,q),X}(y);l.InUseAttributeError=u;var s=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,q),X}(y);l.InvalidStateError=s;var f=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,q),X}(y);l.InvalidModificationError=f;var d=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,q),X}(y);l.NamespaceError=d;var c=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,q),X}(y);l.InvalidAccessError=c;var t=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"ValidationError",H)||this}return w(X,q),X}(y);l.ValidationError=t;var e=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TypeMismatchError",H)||this}return w(X,q),X}(y);l.TypeMismatchError=e;var g=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,q),X}(y);l.SecurityError=g;var x=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,q),X}(y);l.NetworkError=x;var _=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,q),X}(y);l.AbortError=_;var b=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,q),X}(y);l.URLMismatchError=b;var S=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,q),X}(y);l.QuotaExceededError=S;var C=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,q),X}(y);l.TimeoutError=C;var T=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,q),X}(y);l.InvalidNodeTypeError=T;var N=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,q),X}(y);l.DataCloneError=N;var I=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,q),X}(y);l.NotImplementedError=I;var R=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,q),X}(y);l.HierarchyRequestError=R;var k=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,q),X}(y);l.NotFoundError=k;var G=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,q),X}(y);l.IndexSizeError=G;var $=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,q),X}(y);l.SyntaxError=$;var Y=function(q){function X(H){return H===void 0&&(H=""),q.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,q),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{k&&!k.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{$&&!$.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),q=Y.next();!q.done;q=Y.next())if(!e(q.value))return!1}catch(X){C={error:X}}finally{try{q&&!q.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(k,G,$,Y){return n.DocumentTypeImpl._create(k,G,$,Y)},l.create_element=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_htmlUnknownElement=function(k,G,$,Y){return i.ElementImpl._create(k,G,$,Y)},l.create_documentFragment=function(k){return u.DocumentFragmentImpl._create(k)},l.create_shadowRoot=function(k,G){return s.ShadowRootImpl._create(k,G)},l.create_attr=function(k,G){return f.AttrImpl._create(k,G)},l.create_text=function(k,G){return d.TextImpl._create(k,G)},l.create_cdataSection=function(k,G){return c.CDATASectionImpl._create(k,G)},l.create_comment=function(k,G){return t.CommentImpl._create(k,G)},l.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},l.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},l.create_nodeList=function(k){return x.NodeListImpl._create(k)},l.create_nodeListStatic=function(k,G){return _.NodeListStaticImpl._create(k,G)},l.create_namedNodeMap=function(k){return b.NamedNodeMapImpl._create(k)},l.create_range=function(k,G){return S.RangeImpl._create(k,G)},l.create_nodeIterator=function(k,G,$){return C.NodeIteratorImpl._create(k,G,$)},l.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(k,G,$,Y,q,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,q,X,H,ee,re)},l.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),k=o(25),G=o(81),$=o(57),Y=o(45),q=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,P=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,z=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,$e=function(_e,xe){var Te=W[_e]=x(P.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof P},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!ze.call(Te,je)||at(_e,je,Te[je])}),_e},ze=function(_e){var xe=e(_e,!0),Te=z.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},qe=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=q(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),$e(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),k(P,"withoutSetter",function(_e){return $e(q(_e),_e)}),I.f=ze,N.f=at,T.f=qe,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return $e(X(_e),_e)},a&&(B(P.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||k(ce,"propertyIsEnumerable",ze,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:P}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=P(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:qe}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=P();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,k=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){R={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(z){k={error:z}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var P=v(T._children),D=P.next();!D.done;D=P.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(z){$={error:z}}finally{try{D&&!D.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(z){q={error:z}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(q)throw q.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,k;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var $=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),q=Y.next();!q.done;q=Y.next()){var X=q.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{q&&!q.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){k={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){$={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var ce=C._previousSibling,P=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var z=(q=void 0,v(M._registeredObserverList)),W=z.next();!W.done;W=z.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){q={error:de}}finally{try{W&&!W.done&&(X=z.return)&&X.call(z)}finally{if(q)throw q.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,P)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,k,G,$,Y,q,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){k={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(k)throw k.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){$={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),P=ce.next();!P.done;P=ce.next()){var D;if((D=P.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){q={error:oe}}finally{try{P&&!P.done&&(X=ce.return)&&X.call(ce)}finally{if(q)throw q.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var z=[];C._parent!==null&&(z.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,z,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),k=[];C&&C._nodeType===p.NodeType.DocumentFragment?k=Array.from(C._children):C!==null&&k.push(C);try{for(var G=v(R),$=G.next();!$.done;$=G.next())S($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){x={error:k}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var k=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,k=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",$=!1,Y=g.prototype,q=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&q||k(S),H=x=="Array"&&Y.entries||q;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&q&&q.name!=="values"&&($=!0,X=function(){return q.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:k("values"),keys:C?X:k("keys"),entries:k("entries")},T)for(R in I)(c||$||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||$},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=R.global;if($){var Y=R.unicode;R.lastIndex=0}for(var q=[];;){var X=i(R,k);if(X===null||(q.push(X),!$))break;String(X[0])===""&&(R.lastIndex=n(k,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=k.slice(re,ne)+P,re=ne+me.length)}return ee+k.slice(re)}];function C(T,N,I,R,k,G){var $=I+T.length,Y=R.length,q=c;return k!==void 0&&(k=y(k),q=d),e.call(G,q,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,$=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(q){G={error:q}}finally{try{k&&!k.done&&(R=$.return)&&R.call($)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){z=ge;break}if(z!==null)if(p.Guard.isNode(z.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(z.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(z.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",k);for(oe=0;oe0&&(q=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=q.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,k),I._type=ee}}}function _(N,I,R,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var k=o(34);l.Node=k.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var $=o(162);l.NodeList=$.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var q=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var P=o(151);l.XMLDocument=P.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,q.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var q=S[Y];m(S,Y,Y=="add"?function(X){return q.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:q.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&q.call(this,X===0?0:X)}:function(X,H){return q.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,k=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),$=!x&&u(function(){for(var Y=new b,q=5;q--;)Y[_](q,q);return!Y.has(-0)});G||((C=t(function(Y,q){n(Y,C,c);var X=d(new b,Y,C);return q!=null&&p(q,X[_],X,g),X})).prototype=S,S.constructor=C),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,k,G=b(T),$=C(T,N);return $?$.value=I:(G.last=$={index:k=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=$),R&&(R.next=$),u?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},C=function(T,N){var I,R=b(T),k=s(N);if(k!=="F")return R.index[k];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==I&&(N.first=R),N.last==I&&(N.last=k),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(P,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|P}function c(P,D){if(n.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var L=P.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(P).length;default:if(B)return ie(P).length;D=(""+D).toLowerCase(),B=!0}}function t(P,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return k(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),B=!0}}function e(P,D,L){var B=P[D];P[D]=P[L],P[L]=B}function g(P,D,L,B,M){if(P.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:P.length-1),L<0&&(L=P.length+L),L>=P.length){if(M)return-1;L=P.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(P,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,D,L):Uint8Array.prototype.lastIndexOf.call(P,D,L):x(P,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(P,D,L,B,M){var z,W=1,oe=P.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(P.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,$e){return W===1?tt[$e]:tt.readUInt16BE($e*W)}if(M){var Se=-1;for(z=L;zoe&&(L=oe-de),z=L;z>=0;z--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var z=D.length;if(z%2!=0)throw new TypeError("Invalid hex string");B>z/2&&(B=z/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,P.length-L),P,L,B)}function I(P,D,L){return D===0&&L===P.length?w.fromByteArray(P):w.fromByteArray(P.slice(D,L))}function R(P,D,L){L=Math.min(P.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(z=P[M+1]))==128&&(de=(31&ge)<<6|63&z)>127&&(Se=de);break;case 3:z=P[M+1],W=P[M+2],(192&z)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&z)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:z=P[M+1],W=P[M+2],oe=P[M+3],(192&z)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&z)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var $e="",we=0;we0&&(P=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(P+=" ... ")),""},n.prototype.compare=function(P,D,L,B,M){if(!n.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=P?P.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>P.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===P)return 0;for(var z=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(z,W),de=this.slice(B,M),ge=P.slice(D,L),Se=0;SeM)&&(L=M),P.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var z=!1;;)switch(B){case"hex":return _(this,P,D,L);case"utf8":case"utf-8":return b(this,P,D,L);case"ascii":return S(this,P,D,L);case"latin1":case"binary":return C(this,P,D,L);case"base64":return T(this,P,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,D,L);default:if(z)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),z=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,D,L){var B="";L=Math.min(P.length,L);for(var M=D;MB)&&(L=B);for(var M="",z=D;zL)throw new RangeError("Trying to access beyond buffer length")}function X(P,D,L,B,M,z){if(!n.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||DP.length)throw new RangeError("Index out of range")}function H(P,D,L,B){D<0&&(D=65535+D+1);for(var M=0,z=Math.min(P.length-L,2);M>>8*(B?M:1-M)}function ee(P,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,z=Math.min(P.length-L,4);M>>8*(B?M:3-M)&255}function re(P,D,L,B,M,z){if(L+B>P.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(P,D,L,B,M){return M||re(P,0,L,4),y.write(P,D,L,B,23,4),L+4}function me(P,D,L,B,M){return M||re(P,0,L,8),y.write(P,D,L,B,52,8),L+8}n.prototype.slice=function(P,D){var L,B=this.length;if((P=~~P)<0?(P+=B)<0&&(P=0):P>B&&(P=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[P+--D]*M;return B},n.prototype.readUInt8=function(P,D){return D||q(P,1,this.length),this[P]},n.prototype.readUInt16LE=function(P,D){return D||q(P,2,this.length),this[P]|this[P+1]<<8},n.prototype.readUInt16BE=function(P,D){return D||q(P,2,this.length),this[P]<<8|this[P+1]},n.prototype.readUInt32LE=function(P,D){return D||q(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},n.prototype.readUInt32BE=function(P,D){return D||q(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},n.prototype.readIntLE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=this[P],M=1,z=0;++z=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(P,D,L){P|=0,D|=0,L||q(P,D,this.length);for(var B=D,M=1,z=this[P+--B];B>0&&(M*=256);)z+=this[P+--B]*M;return z>=(M*=128)&&(z-=Math.pow(2,8*D)),z},n.prototype.readInt8=function(P,D){return D||q(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},n.prototype.readInt16LE=function(P,D){D||q(P,2,this.length);var L=this[P]|this[P+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(P,D){D||q(P,2,this.length);var L=this[P+1]|this[P]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(P,D){return D||q(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},n.prototype.readInt32BE=function(P,D){return D||q(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},n.prototype.readFloatLE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!0,23,4)},n.prototype.readFloatBE=function(P,D){return D||q(P,4,this.length),y.read(this,P,!1,23,4)},n.prototype.readDoubleLE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!0,52,8)},n.prototype.readDoubleBE=function(P,D){return D||q(P,8,this.length),y.read(this,P,!1,52,8)},n.prototype.writeUIntLE=function(P,D,L,B){P=+P,D|=0,L|=0,B||X(this,P,D,L,Math.pow(2,8*L)-1,0);var M=1,z=0;for(this[D]=255&P;++z=0&&(z*=256);)this[D+M]=P/z&255;return D+L},n.prototype.writeUInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[D]=255&P,D+1},n.prototype.writeUInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeUInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeUInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=P>>>24,this[D+2]=P>>>16,this[D+1]=P>>>8,this[D]=255&P):ee(this,P,D,!0),D+4},n.prototype.writeUInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeIntLE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=0,W=1,oe=0;for(this[D]=255&P;++z>0)-oe&255;return D+L},n.prototype.writeIntBE=function(P,D,L,B){if(P=+P,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,P,D,L,M-1,-M)}var z=L-1,W=1,oe=0;for(this[D+z]=255&P;--z>=0&&(W*=256);)P<0&&oe===0&&this[D+z+1]!==0&&(oe=1),this[D+z]=(P/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[D]=255&P,D+1},n.prototype.writeInt16LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8):H(this,P,D,!0),D+2},n.prototype.writeInt16BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>8,this[D+1]=255&P):H(this,P,D,!1),D+2},n.prototype.writeInt32LE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&P,this[D+1]=P>>>8,this[D+2]=P>>>16,this[D+3]=P>>>24):ee(this,P,D,!0),D+4},n.prototype.writeInt32BE=function(P,D,L){return P=+P,D|=0,L||X(this,P,D,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),n.TYPED_ARRAY_SUPPORT?(this[D]=P>>>24,this[D+1]=P>>>16,this[D+2]=P>>>8,this[D+3]=255&P):ee(this,P,D,!1),D+4},n.prototype.writeFloatLE=function(P,D,L){return he(this,P,D,!0,L)},n.prototype.writeFloatBE=function(P,D,L){return he(this,P,D,!1,L)},n.prototype.writeDoubleLE=function(P,D,L){return me(this,P,D,!0,L)},n.prototype.writeDoubleBE=function(P,D,L){return me(this,P,D,!1,L)},n.prototype.copy=function(P,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=P.length&&(D=P.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),P.length-D=0;--M)P[M+D]=this[M+L];else if(z<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,P||(P=0),typeof P=="number")for(z=D;z55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&z.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&z.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&z.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&z.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;z.push(L)}else if(L<2048){if((D-=2)<0)break;z.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;z.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;z.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return z}function ue(P){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(P))}function ce(P,D,L,B){for(var M=0;M=D.length||M>=P.length);++M)D[M+L]=P[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,z=M&&B[M],W=0;if(z)return z.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var z=typeof Symbol=="function"&&B[Symbol.iterator];if(!z)return B;var W,oe,de=z.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(z=de.return)&&z.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var z,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",z=B,W=1;W<=4;W++)M=(z%256).toString()+M,W!==4&&(M="."+M),z=Math.floor(z/256);return M}function I(B){for(var M="",z=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(z=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),z!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,z,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var $e=/[\u0009\u000A\u000D]/g;$e.test(B)&&e("Input string contains tab or newline characters."),B=B.replace($e,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=z===void 0||z==="replacement"||z==="UTF-16BE"||z==="UTF-16LE"?"UTF-8":z,K="",ze=!1,qe=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),ze&&(K="%40"+K),ze=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ze&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||qe)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(qe=!0),ae.c()==="]"&&(qe=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),$(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&q(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))$(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!k(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&q(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function k(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function $(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function q(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&q(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var z=L(m.utf8Decode(ue(B)));if(z===null||t.test(z))return e("Invalid domain."),null;var W=re(z);return W===null||m.isNumber(W)?W:z}function ee(B,M){M===void 0&&(M={value:!1});var z=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),z=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),z=8),B===""?0:(z===10?/^[0-9]+$/:z===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,z):null}function re(B){var M,z,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(qe=ee(tt,de))===null)return B;Se.push(qe)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(z=Be.return)&&z.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var $e=0;$e255&&(e("Invalid IP v4 address."),$e=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),ze=K.next();!ze.done;ze=K.next()){var qe;we+=(qe=ze.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{ze&&!ze.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,z=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;z[W]=256*z[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;z[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var $e=W-oe;for(W=7;W!==0&&$e>0;)M=w([z[oe+$e-1],z[W]],2),z[W]=M[0],z[oe+$e-1]=M[1],W--,$e--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return z}function me(B){var M,z;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},z=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)z[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);z[W]=ge,W++,oe+=2}else z[W]=de,W++}return z.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var z,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){z={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(z)throw z.error}}return de}function P(B){var M,z,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(z=Se.return)&&z.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var $e=v(de),we=$e.next();!we.done;we=$e.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),ze=K!==-1?at.slice(0,K):at,qe=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(z=oe.return)&&z.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var z=n.domainToASCII(B);return z===""?(e("Invalid domain name."),null):z}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,z){var W=R(B,M,z);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.username=oe},l.setThePassword=function(B,M){var z,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){z={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}B.password=oe},l.isSingleDotPathSegment=k,l.isDoubleDotPathSegment=G,l.shorten=$,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=q,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,z){return z===void 0&&(z=!1),C(B,z)===C(M,z)},l.urlEncodedStringParser=function(B){return P(m.utf8Encode(B))},l.urlEncodedParser=P,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var z,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){z={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(z)throw z.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var z=R(M.path[0]);return z===null?a.OpaqueOrigin:B(z);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var z=n.domainToUnicode(B);return z===""&&e("Invalid domain name."),z},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var $=_;$._parent!==null&&!i.tree_isAncestorOf(S,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=i.tree_index($)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),q=Y.next();!q.done;q=Y.next()){var X;(X=q.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{q&&!q.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var k=s(R.value,d,!0);i.mutation_append(k,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch($){c={error:$}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch($){e={error:$}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),k=I.next(),G=R.next();!k.done&&!G.done;){if(!s(k.value,G.value))return!1;k=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+oe+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function F(Q){return typeof Q=="string"}_.isString=F;function R(Q){return typeof Q=="symbol"}_.isSymbol=R;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return H(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function H(Q){return typeof Q=="object"&&Q!==null}_.isObject=H;function Y(Q){return H(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return H(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function $(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=$,_.isBuffer=m("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function ne(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,oe=[ne(Q.getHours()),ne(Q.getMinutes()),ne(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],oe].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=m("inherits"),_._extend=function(Q,oe){if(!oe||!H(oe))return Q;for(var le=Object.keys(oe),fe=le.length;fe--;)Q[le[fe]]=oe[le[fe]];return Q};function ie(Q,oe){return Object.prototype.hasOwnProperty.call(Q,oe)}}).call(this,m("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(m,S,_){},{}],13:[function(m,S,_){(function(g){function s(c,u){for(var p=0,v=c.length-1;v>=0;v--){var f=c[v];f==="."?c.splice(v,1):f===".."?(c.splice(v,1),p++):p&&(c.splice(v,1),p--)}if(u)for(;p--;p)c.unshift("..");return c}_.resolve=function(){for(var c="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var v=p>=0?arguments[p]:g.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)continue;c=v+"/"+c,u=v.charAt(0)==="/"}return c=s(o(c.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+c||"."},_.normalize=function(c){var u=_.isAbsolute(c),p=a(c,-1)==="/";return c=s(o(c.split("/"),function(v){return!!v}),!u).join("/"),!c&&!u&&(c="."),c&&p&&(c+="/"),(u?"/":"")+c},_.isAbsolute=function(c){return c.charAt(0)==="/"},_.join=function(){var c=Array.prototype.slice.call(arguments,0);return _.normalize(o(c,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(c,u){c=_.resolve(c).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var v=p(c.split("/")),f=p(u.split("/")),r=Math.min(v.length,f.length),e=r,y=0;y=1;--r)if(u=c.charCodeAt(r),u===47){if(!f){v=r;break}}else f=!1;return v===-1?p?"/":".":p&&v===1?"/":c.slice(0,v)};function h(c){typeof c!="string"&&(c=c+"");var u=0,p=-1,v=!0,f;for(f=c.length-1;f>=0;--f)if(c.charCodeAt(f)===47){if(!v){u=f+1;break}}else p===-1&&(v=!1,p=f+1);return p===-1?"":c.slice(u,p)}_.basename=function(c,u){var p=h(c);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(c){typeof c!="string"&&(c=c+"");for(var u=-1,p=0,v=-1,f=!0,r=0,e=c.length-1;e>=0;--e){var y=c.charCodeAt(e);if(y===47){if(!f){p=e+1;break}continue}v===-1&&(f=!1,v=e+1),y===46?u===-1?u=e:r!==1&&(r=1):u!==-1&&(r=-1)}return u===-1||v===-1||r===0||r===1&&u===v-1&&u===p+1?"":c.slice(u,v)};function o(c,u){if(c.filter)return c.filter(u);for(var p=[],v=0;v1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:o}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:o;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:o;if(u.type==="CallExpression"){var T=c(u.callee);if(T===o||typeof T!="function")return o;var N=u.callee.object?c(u.callee.object):o;N===o&&(N=null);for(var F=[],r=0,e=u.arguments.length;r{(function(l,i){typeof ji=="object"&&typeof Xs=="object"?Xs.exports=i():typeof define=="function"&&define.amd?define([],i):typeof ji=="object"?ji.xmlbuilder2=i():l.xmlbuilder2=i()})(ji,function(){return function(l){var i={};function t(m){if(i[m])return i[m].exports;var S=i[m]={i:m,l:!1,exports:{}};return l[m].call(S.exports,S,S.exports,t),S.l=!0,S.exports}return t.m=l,t.c=i,t.d=function(m,S,_){t.o(m,S)||Object.defineProperty(m,S,{enumerable:!0,get:_})},t.r=function(m){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},t.t=function(m,S){if(1&S&&(m=t(m)),8&S||4&S&&typeof m=="object"&&m&&m.__esModule)return m;var _=Object.create(null);if(t.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:m}),2&S&&typeof m!="string")for(var g in m)t.d(_,g,function(s){return m[s]}.bind(null,g));return _},t.n=function(m){var S=m&&m.__esModule?function(){return m.default}:function(){return m};return t.d(S,"a",S),S},t.o=function(m,S){return Object.prototype.hasOwnProperty.call(m,S)},t.p="",t(t.s=184)}([function(l,i,t){"use strict";function m(S){for(var _ in S)i.hasOwnProperty(_)||(i[_]=S[_])}Object.defineProperty(i,"__esModule",{value:!0}),m(t(240)),m(t(251)),m(t(175)),m(t(107)),m(t(29)),m(t(73)),m(t(106)),m(t(30)),m(t(252)),m(t(52)),m(t(97)),m(t(253)),m(t(37)),m(t(51)),m(t(173)),m(t(176)),m(t(172)),m(t(108)),m(t(254)),m(t(255)),m(t(256)),m(t(72)),m(t(177)),m(t(105)),m(t(17)),m(t(257)),m(t(12)),m(t(174))},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var y=typeof Symbol=="function"&&Symbol.iterator,b=y&&e[y],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(212);i.FixedSizeSet=S.FixedSizeSet;var _=t(213);i.ObjectCache=_.ObjectCache;var g=t(214);i.CompareCache=g.CompareCache;var s=t(215);i.Lazy=s.Lazy;var h=t(216);function o(e,y,b){if(f(e))e.forEach(function(E,w){return y.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&y.call(b,x,e[x])}function a(e){var y,b;if(c(e))return e;if(p(e)){var x=[];try{for(var E=m(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(a(D))}}catch(F){y={error:F}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(y)throw y.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=a(N)}return x}return e}function c(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var y=typeof e;return!!e&&(y==="function"||y==="object")}function p(e){return Array.isArray(e)}function v(e){return e instanceof Set}function f(e){return e instanceof Map}function r(e){if(u(e)){var y=Object.getPrototypeOf(e),b=y.constructor;return y&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}i.StringWalker=h.StringWalker,i.applyMixin=function(e,y){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),y[b++]=E>>18|240,y[b++]=E>>12&63|128}else y[b++]=E>>12|224;y[b++]=E>>6&63|128}y[b++]=63&E|128}}return y.subarray(0,b)},i.utf8Decode=function(e){for(var y="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)y+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,y+=String.fromCharCode(x>>10|55296),y+=String.fromCharCode(1023&x|56320)}}return y}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.Before=0]="Before",m[m.Equal=1]="Equal",m[m.After=2]="After"}(i.BoundaryPosition||(i.BoundaryPosition={})),function(m){m[m.None=0]="None",m[m.Capturing=1]="Capturing",m[m.AtTarget=2]="AtTarget",m[m.Bubbling=3]="Bubbling"}(i.EventPhase||(i.EventPhase={})),function(m){m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=3]="Text",m[m.CData=4]="CData",m[m.EntityReference=5]="EntityReference",m[m.Entity=6]="Entity",m[m.ProcessingInstruction=7]="ProcessingInstruction",m[m.Comment=8]="Comment",m[m.Document=9]="Document",m[m.DocumentType=10]="DocumentType",m[m.DocumentFragment=11]="DocumentFragment",m[m.Notation=12]="Notation"}(i.NodeType||(i.NodeType={})),function(m){m[m.Disconnected=1]="Disconnected",m[m.Preceding=2]="Preceding",m[m.Following=4]="Following",m[m.Contains=8]="Contains",m[m.ContainedBy=16]="ContainedBy",m[m.ImplementationSpecific=32]="ImplementationSpecific"}(i.Position||(i.Position={})),function(m){m[m.Accept=1]="Accept",m[m.Reject=2]="Reject",m[m.Skip=3]="Skip"}(i.FilterResult||(i.FilterResult={})),function(m){m[m.All=4294967295]="All",m[m.Element=1]="Element",m[m.Attribute=2]="Attribute",m[m.Text=4]="Text",m[m.CDataSection=8]="CDataSection",m[m.EntityReference=16]="EntityReference",m[m.Entity=32]="Entity",m[m.ProcessingInstruction=64]="ProcessingInstruction",m[m.Comment=128]="Comment",m[m.Document=256]="Document",m[m.DocumentType=512]="DocumentType",m[m.DocumentFragment=1024]="DocumentFragment",m[m.Notation=2048]="Notation"}(i.WhatToShow||(i.WhatToShow={})),function(m){m[m.StartToStart=0]="StartToStart",m[m.StartToEnd=1]="StartToEnd",m[m.EndToEnd=2]="EndToEnd",m[m.EndToStart=3]="EndToStart"}(i.HowToCompare||(i.HowToCompare={}))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(241);i.Cast=m.Cast;var S=t(150);i.Guard=S.Guard;var _=t(242);i.EmptySet=_.EmptySet},function(l,i,t){var m=t(11),S=t(55).f,_=t(21),g=t(25),s=t(80),h=t(119),o=t(123);l.exports=function(a,c){var u,p,v,f,r,e=a.target,y=a.global,b=a.stat;if(u=y?m:b?m[e]||s(e,{}):(m[e]||{}).prototype)for(p in c){if(f=c[p],v=a.noTargetGet?(r=S(u,p))&&r.value:u[p],!o(y?p:e+(b?".":"#")+p,a.forced)&&v!==void 0){if(typeof f==typeof v)continue;h(f,v)}(a.sham||v&&v.sham)&&_(f,"sham",!0),g(u,p,f,a)}}},function(l,i,t){var m=t(11),S=t(81),_=t(14),g=t(58),s=t(86),h=t(124),o=S("wks"),a=m.Symbol,c=h?a:a&&a.withoutSetter||g;l.exports=function(u){return _(o,u)||(s&&_(a,u)?o[u]=a[u]:o[u]=c("Symbol."+u)),o[u]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(29),_=function(){function g(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new m.CompareCache,this._rangeList=new m.FixedSizeSet}return g.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),m.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(g.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(g,"instance",{get:function(){return g._instance||(g._instance=new g),g._instance},enumerable:!0,configurable:!0}),g}();i.dom=_.instance},function(l,i,t){"use strict";var m=this&&this.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var y in r)Object.hasOwnProperty.call(r,y)&&(e[y]=r[y]);return e.default=r,e};Object.defineProperty(i,"__esModule",{value:!0});var S=m(t(228));i.base64=S;var _=m(t(146));i.byte=_;var g=m(t(147));i.byteSequence=g;var s=m(t(96));i.codePoint=s;var h=m(t(232));i.json=h;var o=m(t(233));i.list=o;var a=m(t(234));i.map=a;var c=m(t(235));i.namespace=c;var u=m(t(236));i.queue=u;var p=m(t(237));i.set=p;var v=m(t(238));i.stack=v;var f=m(t(239));i.string=f},function(l,i){l.exports=function(t){try{return!!t()}catch{return!0}}},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(z,X){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,ee){$.__proto__=ee}||function($,ee){for(var ne in ee)ee.hasOwnProperty(ne)&&($[ne]=ee[ne])})(z,X)},function(z,X){function $(){this.constructor=z}m(z,X),z.prototype=X===null?Object.create(X):($.prototype=X.prototype,new $)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(z){function X($,ee){ee===void 0&&(ee="");var ne=z.call(this,ee)||this;return ne.name=$,ne}return S(X,z),X}(Error);i.DOMException=_;var g=function(z){function X($){return $===void 0&&($=""),z.call(this,"DOMStringSizeError",$)||this}return S(X,z),X}(_);i.DOMStringSizeError=g;var s=function(z){function X($){return $===void 0&&($=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+$)||this}return S(X,z),X}(_);i.WrongDocumentError=s;var h=function(z){function X($){return $===void 0&&($=""),z.call(this,"NoDataAllowedError",$)||this}return S(X,z),X}(_);i.NoDataAllowedError=h;var o=function(z){function X($){return $===void 0&&($=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+$)||this}return S(X,z),X}(_);i.NoModificationAllowedError=o;var a=function(z){function X($){return $===void 0&&($=""),z.call(this,"NotSupportedError","The operation is not supported. "+$)||this}return S(X,z),X}(_);i.NotSupportedError=a;var c=function(z){function X($){return $===void 0&&($=""),z.call(this,"InUseAttributeError",$)||this}return S(X,z),X}(_);i.InUseAttributeError=c;var u=function(z){function X($){return $===void 0&&($=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+$)||this}return S(X,z),X}(_);i.InvalidStateError=u;var p=function(z){function X($){return $===void 0&&($=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+$)||this}return S(X,z),X}(_);i.InvalidModificationError=p;var v=function(z){function X($){return $===void 0&&($=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+$)||this}return S(X,z),X}(_);i.NamespaceError=v;var f=function(z){function X($){return $===void 0&&($=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+$)||this}return S(X,z),X}(_);i.InvalidAccessError=f;var r=function(z){function X($){return $===void 0&&($=""),z.call(this,"ValidationError",$)||this}return S(X,z),X}(_);i.ValidationError=r;var e=function(z){function X($){return $===void 0&&($=""),z.call(this,"TypeMismatchError",$)||this}return S(X,z),X}(_);i.TypeMismatchError=e;var y=function(z){function X($){return $===void 0&&($=""),z.call(this,"SecurityError","The operation is insecure. "+$)||this}return S(X,z),X}(_);i.SecurityError=y;var b=function(z){function X($){return $===void 0&&($=""),z.call(this,"NetworkError","A network error occurred. "+$)||this}return S(X,z),X}(_);i.NetworkError=b;var x=function(z){function X($){return $===void 0&&($=""),z.call(this,"AbortError","The operation was aborted. "+$)||this}return S(X,z),X}(_);i.AbortError=x;var E=function(z){function X($){return $===void 0&&($=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+$)||this}return S(X,z),X}(_);i.URLMismatchError=E;var w=function(z){function X($){return $===void 0&&($=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+$)||this}return S(X,z),X}(_);i.QuotaExceededError=w;var D=function(z){function X($){return $===void 0&&($=""),z.call(this,"TimeoutError","The operation timed out. "+$)||this}return S(X,z),X}(_);i.TimeoutError=D;var T=function(z){function X($){return $===void 0&&($=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+$)||this}return S(X,z),X}(_);i.InvalidNodeTypeError=T;var N=function(z){function X($){return $===void 0&&($=""),z.call(this,"DataCloneError","The object can not be cloned. "+$)||this}return S(X,z),X}(_);i.DataCloneError=N;var F=function(z){function X($){return $===void 0&&($=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+$)||this}return S(X,z),X}(_);i.NotImplementedError=F;var R=function(z){function X($){return $===void 0&&($=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+$)||this}return S(X,z),X}(_);i.HierarchyRequestError=R;var k=function(z){function X($){return $===void 0&&($=""),z.call(this,"NotFoundError","The object can not be found here. "+$)||this}return S(X,z),X}(_);i.NotFoundError=k;var G=function(z){function X($){return $===void 0&&($=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+$)||this}return S(X,z),X}(_);i.IndexSizeError=G;var H=function(z){function X($){return $===void 0&&($=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+$)||this}return S(X,z),X}(_);i.SyntaxError=H;var Y=function(z){function X($){return $===void 0&&($=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+$)||this}return S(X,z),X}(_);i.InvalidCharacterError=Y},function(l,i,t){"use strict";var m=t(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];l.exports=function(g,s){var h,o;if(s=s||{},Object.keys(s).forEach(function(a){if(S.indexOf(a)===-1)throw new m('Unknown option "'+a+'" is met in definition of "'+g+'" YAML type.')}),this.tag=g,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,o={},h!==null&&Object.keys(h).forEach(function(a){h[a].forEach(function(c){o[String(c)]=a})}),o),_.indexOf(this.kind)===-1)throw new m('Unknown kind "'+this.kind+'" is specified for "'+g+'" YAML type.')}},function(l,i,t){(function(m){var S=function(_){return _&&_.Math==Math&&_};l.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof m=="object"&&m)||Function("return this")()}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.idl_defineConst=function(m,S,_){Object.defineProperty(m,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(l,i){l.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},function(l,i){var t={}.hasOwnProperty;l.exports=function(m,S){return t.call(m,S)}},function(l,i,t){var m=t(16),S=t(115),_=t(18),g=t(56),s=Object.defineProperty;i.f=m?s:function(h,o,a){if(_(h),o=g(o,!0),_(a),S)try{return s(h,o,a)}catch{}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(h[o]=a.value),h}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(l,i,t){"use strict";var m=this&&this.__values||function(e){var y=typeof Symbol=="function"&&Symbol.iterator,b=y&&e[y],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(2);function g(e,y,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(y)&&S.Guard.isShadowRoot(y.shadowRoot)&&y.shadowRoot._firstChild)return y.shadowRoot._firstChild;if(y._firstChild)return y._firstChild;if(y===e)return null;if(y._nextSibling)return y._nextSibling;for(var x=y._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,y,b,x){y===void 0&&(y=!1),b===void 0&&(b=!1);for(var E=y?e:g(e,e,b);E&&x&&!x(E);)E=g(e,E,b);return E}function o(e,y,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=g(e,y,x);w&&E&&!E(w);)w=g(e,w,x);return w}function a(e,y,b,x){var E;return y===void 0&&(y=!1),b===void 0&&(b=!1),y||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=y?e:g(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=g(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=g(e,w,b),D}}},E):s()}function c(e,y,b){y===void 0&&(y=!1);for(var x=y?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,y,b,x){b===void 0&&(b=!1);for(var E=y._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function v(e,y){if(y===void 0&&(y=!1),y){var b=v(e,!1);return S.Guard.isShadowRoot(b)?v(b._host,!0):b}return e._parent?v(e._parent):e}function f(e,y,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===y)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function r(e){for(var y=v(e),b=0,x=h(y);x!==null;){if(b++,x===e)return b;x=o(y,x)}return-1}i.tree_getFirstDescendantNode=h,i.tree_getNextDescendantNode=o,i.tree_getDescendantNodes=a,i.tree_getDescendantElements=function(e,y,b,x){var E;return y===void 0&&(y=!1),b===void 0&&(b=!1),y||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=a(e,y,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},i.tree_getSiblingNodes=function(e,y,b){var x;return y===void 0&&(y=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!y&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},i.tree_getFirstAncestorNode=c,i.tree_getNextAncestorNode=u,i.tree_getAncestorNodes=function(e,y,b){var x;return y===void 0&&(y=!1),y||e._parent?((x={})[Symbol.iterator]=function(){var E=c(e,y,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,y,b),w}}},x):s()},i.tree_getCommonAncestor=function(e,y){if(e===y)return e._parent;for(var b=[],x=[],E=c(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=c(y,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,F=Math.min(D,T);F>0;F--){var R=b[--D];if(R!==x[--T])break;N=R}return N},i.tree_getFollowingNode=function(e,y){if(y._firstChild)return y._firstChild;if(y._nextSibling)return y._nextSibling;for(;;){var b=y._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;y=b}},i.tree_getPrecedingNode=function(e,y){return y===e?null:y._previousSibling?(y=y._previousSibling)._lastChild?y._lastChild:y:y._parent},i.tree_isConstrained=function e(y){var b,x,E,w,D,T;switch(y._nodeType){case _.NodeType.Document:var N=!1,F=!1;try{for(var R=m(y._children),k=R.next();!k.done;k=R.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||F)return!1;N=!0;break;case _.NodeType.Element:if(F)return!1;F=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=R.return)&&x.call(R)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=m(y._children),H=G.next();!H.done;H=G.next())switch(H.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{H&&!H.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!y.hasChildNodes()}try{for(var Y=m(y._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},i.tree_nodeLength=p,i.tree_isEmpty=function(e){return p(e)===0},i.tree_rootNode=v,i.tree_isDescendantOf=function(e,y,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===y)return!0;E=o(e,E,b,x)}return!1},i.tree_isAncestorOf=f,i.tree_isHostIncludingAncestorOf=function e(y,b,x){if(x===void 0&&(x=!1),f(y,b,x))return!0;var E=v(y);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},i.tree_isSiblingOf=function(e,y,b){return b===void 0&&(b=!1),e!==y?e._parent!==null&&e._parent===y._parent:!!b},i.tree_isPreceding=function(e,y){var b=r(e),x=r(y);return b!==-1&&x!==-1&&v(e)===v(y)&&xb},i.tree_isParentOf=function(e,y){return e._parent===y},i.tree_isChildOf=function(e,y){return y._parent===e},i.tree_previousSibling=function(e){return e._previousSibling},i.tree_nextSibling=function(e){return e._nextSibling},i.tree_firstChild=function(e){return e._firstChild},i.tree_lastChild=function(e){return e._lastChild},i.tree_treePosition=r,i.tree_index=function(e){for(var y=0;e._previousSibling!==null;)y++,e=e._previousSibling;return y},i.tree_retarget=function(e,y){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=v(e);if(!S.Guard.isShadowRoot(b)||y&&S.Guard.isNode(y)&&f(b,y,!0,!0))return e;e=b.host}}},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S))throw TypeError(String(S)+" is not an object");return S}},function(l,i,t){"use strict";var m=t(24),S=t(130),_=t(49),g=t(43),s=t(88),h=g.set,o=g.getterFor("Array Iterator");l.exports=s(Array,"Array",function(a,c){h(this,{type:"Array Iterator",target:m(a),index:0,kind:c})},function(){var a=o(this),c=a.target,u=a.kind,p=a.index++;return!c||p>=c.length?(a.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:c[p],done:!1}:{value:[p,c[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(l,i,t){var m=t(90),S=t(25),_=t(202);m||S(Object.prototype,"toString",_,{unsafe:!0})},function(l,i,t){var m=t(16),S=t(15),_=t(40);l.exports=m?function(g,s,h){return S.f(g,s,_(1,h))}:function(g,s,h){return g[s]=h,g}},function(l,i,t){"use strict";var m=t(137).charAt,S=t(43),_=t(88),g=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){g(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,o=s(this),a=o.string,c=o.index;return c>=a.length?{value:void 0,done:!0}:(h=m(a,c),o.index+=h.length,{value:h,done:!1})})},function(l,i,t){var m=t(11),S=t(203),_=t(19),g=t(21),s=t(5),h=s("iterator"),o=s("toStringTag"),a=_.values;for(var c in S){var u=m[c],p=u&&u.prototype;if(p){if(p[h]!==a)try{g(p,h,a)}catch{p[h]=a}if(p[o]||g(p,o,c),S[c]){for(var v in _)if(p[v]!==_[v])try{g(p,v,_[v])}catch{p[v]=_[v]}}}}},function(l,i,t){var m=t(41),S=t(35);l.exports=function(_){return m(S(_))}},function(l,i,t){var m=t(11),S=t(21),_=t(14),g=t(80),s=t(117),h=t(43),o=h.get,a=h.enforce,c=String(String).split("String");(l.exports=function(u,p,v,f){var r=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,y=!!f&&!!f.noTargetGet;typeof v=="function"&&(typeof p!="string"||_(v,"name")||S(v,"name",p),a(v).source=c.join(typeof p=="string"?p:"")),u!==m?(r?!y&&u[p]&&(e=!0):delete u[p],e?u[p]=v:S(u,p,v)):e?u[p]=v:g(p,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&o(this).source||s(this)})},function(l,i,t){var m=t(47),S=Math.min;l.exports=function(_){return _>0?S(m(_),9007199254740991):0}},function(l,i,t){var m=t(35);l.exports=function(S){return Object(m(S))}},function(l,i,t){var m=t(16),S=t(8),_=t(14),g=Object.defineProperty,s={},h=function(o){throw o};l.exports=function(o,a){if(_(s,o))return s[o];a||(a={});var c=[][o],u=!!_(a,"ACCESSORS")&&a.ACCESSORS,p=_(a,0)?a[0]:h,v=_(a,1)?a[1]:void 0;return s[o]=!!c&&!S(function(){if(u&&!m)return!0;var f={length:-1};u?g(f,1,{enumerable:!0,get:h}):f[1]=1,c.call(f,p,v)})}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(148),S=t(149),_=t(151),g=t(98),s=t(153),h=t(154),o=t(155),a=t(99),c=t(100),u=t(156),p=t(157),v=t(101),f=t(158),r=t(159),e=t(160),y=t(161),b=t(162),x=t(163),E=t(164),w=t(165),D=t(166),T=t(167),N=t(168),F=t(169),R=t(170);i.create_domImplementation=function(k){return m.DOMImplementationImpl._create(k)},i.create_window=function(){return S.WindowImpl._create()},i.create_xmlDocument=function(){return new _.XMLDocumentImpl},i.create_document=function(){return new g.DocumentImpl},i.create_abortController=function(){return new s.AbortControllerImpl},i.create_abortSignal=function(){return h.AbortSignalImpl._create()},i.create_documentType=function(k,G,H,Y){return o.DocumentTypeImpl._create(k,G,H,Y)},i.create_element=function(k,G,H,Y){return a.ElementImpl._create(k,G,H,Y)},i.create_htmlElement=function(k,G,H,Y){return a.ElementImpl._create(k,G,H,Y)},i.create_htmlUnknownElement=function(k,G,H,Y){return a.ElementImpl._create(k,G,H,Y)},i.create_documentFragment=function(k){return c.DocumentFragmentImpl._create(k)},i.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},i.create_attr=function(k,G){return p.AttrImpl._create(k,G)},i.create_text=function(k,G){return v.TextImpl._create(k,G)},i.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},i.create_comment=function(k,G){return r.CommentImpl._create(k,G)},i.create_processingInstruction=function(k,G,H){return e.ProcessingInstructionImpl._create(k,G,H)},i.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),y.HTMLCollectionImpl._create(k,G)},i.create_nodeList=function(k){return b.NodeListImpl._create(k)},i.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},i.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},i.create_range=function(k,G){return w.RangeImpl._create(k,G)},i.create_nodeIterator=function(k,G,H){return D.NodeIteratorImpl._create(k,G,H)},i.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},i.create_nodeFilter=function(){return N.NodeFilterImpl._create()},i.create_mutationRecord=function(k,G,H,Y,z,X,$,ee,ne){return F.MutationRecordImpl._create(k,G,H,Y,z,X,$,ee,ne)},i.create_domTokenList=function(k,G){return R.DOMTokenListImpl._create(k,G)}},function(l,i,t){"use strict";var m=this&&this.__values||function(p){var v=typeof Symbol=="function"&&Symbol.iterator,f=v&&p[v],r=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&r>=p.length&&(p=void 0),{value:p&&p[r++],done:!p}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(17),g=t(3),s=t(72),h=new Map;function o(p,v){if(v!==p._root&&_.tree_isAncestorOf(p._reference,v,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,v);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(v,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(v._previousSibling===null)v._parent!==null&&(p._reference=v._parent);else{for(var r=v._previousSibling,e=_.tree_getFirstDescendantNode(v._previousSibling,!0,!1);e!==null;)e!==null&&(r=e),e=_.tree_getNextDescendantNode(v._previousSibling,e,!0,!1);p._reference=r}}}function a(p,v,f,r,e){if(g.Guard.isSlot(p)&&v==="name"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function c(p,v,f,r,e){if(g.Guard.isSlotable(p)&&v==="slot"&&e===null){if(r===f||r===null&&f===""||r===""&&f===null)return;p._name=r===null||r===""?"":r,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,v,f,r){v==="id"&&r===null&&(p._uniqueIdentifier=f||void 0)}i.dom_runRemovingSteps=function(p,v){},i.dom_runCloningSteps=function(p,v,f,r){},i.dom_runAdoptingSteps=function(p,v){},i.dom_runAttributeChangeSteps=function(p,v,f,r,e){var y,b;S.dom.features.slots&&(c.call(p,p,v,f,r,e),a.call(p,p,v,f,r,e)),u.call(p,p,v,r,e);try{for(var x=m(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,v,f,r,e)}catch(w){y={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(y)throw y.error}}},i.dom_runInsertionSteps=function(p){},i.dom_runNodeIteratorPreRemovingSteps=function(p,v){o.call(p,p,v)},i.dom_hasSupportedTokens=function(p){return h.has(p)},i.dom_getSupportedTokens=function(p){return h.get(p)||new Set},i.dom_runEventConstructingSteps=function(p){},i.dom_runChildTextContentChangeSteps=function(p){}},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(46),g=t(44),s=t(16),h=t(86),o=t(124),a=t(8),c=t(14),u=t(59),p=t(13),v=t(18),f=t(27),r=t(24),e=t(56),y=t(40),b=t(60),x=t(61),E=t(82),w=t(190),D=t(85),T=t(55),N=t(15),F=t(79),R=t(21),k=t(25),G=t(81),H=t(57),Y=t(45),z=t(58),X=t(5),$=t(125),ee=t(126),ne=t(62),de=t(43),ve=t(36).forEach,ie=H("hidden"),Q=X("toPrimitive"),oe=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,M=w.f,q=F.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),_e=G("symbol-to-string-registry"),Ae=G("wks"),Me=S.QObject,je=!Me||!Me.prototype||!Me.prototype.findChild,ot=s&&a(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return oe(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=o?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),v(xe);var Ce=e(be,!0);return v(Ne),c(W,Ce)?(Ne.enumerable?(c(xe,ie)&&xe[ie][Ce]&&(xe[ie][Ce]=!1),Ne=b(Ne,{enumerable:y(0,!1)})):(c(xe,ie)||L(xe,ie,y(1,{})),xe[ie][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){v(xe);var Ne=r(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&c(W,be)&&!c(ae,be))&&(!(Ne||!c(this,be)||!c(W,be)||c(this,ie)&&this[ie][be])||Ne)},Ge=function(xe,be){var Ne=r(xe),Ce=e(be,!0);if(Ne!==fe||!c(W,Ce)||c(ae,Ce)){var ze=B(Ne,Ce);return!ze||!c(W,Ce)||c(Ne,ie)&&Ne[ie][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=M(r(xe)),Ne=[];return ve(be,function(Ce){c(W,Ce)||c(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=M(be?ae:r(xe)),Ce=[];return ve(Ne,function(ze){!c(W,ze)||be&&!c(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),c(this,ie)&&c(this[ie],be)&&(this[ie][be]=!1),ot(this,be,y(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),F.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,$.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),g||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),m({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),m({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(c(me,be))return me[be];var Ne=P(be);return me[be]=Ne,_e[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(c(_e,xe))return _e[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),m({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),m({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),m({target:"Object",stat:!0,forced:a(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&m({target:"JSON",stat:!0,forced:!h||a(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function($e,et){if(typeof Ce=="function"&&(et=Ce.call(this,$e,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||R(P.prototype,Q,P.prototype.valueOf),ne(P,"Symbol"),Y[ie]=!0},function(l,i,t){"use strict";var m=t(4),S=t(16),_=t(11),g=t(14),s=t(13),h=t(15).f,o=t(119),a=_.Symbol;if(S&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var c={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),y=this instanceof u?new a(e):e===void 0?a():a(e);return e===""&&(c[y]=!0),y};o(u,a);var p=u.prototype=a.prototype;p.constructor=u;var v=p.toString,f=String(a("test"))=="Symbol(test)",r=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,y=v.call(e);if(g(c,e))return"";var b=f?y.slice(7,-1):y.replace(r,"$1");return b===""?void 0:b}}),m({global:!0,forced:!0},{Symbol:u})}},function(l,i,t){t(126)("iterator")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(f,r){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,y){e.__proto__=y}||function(e,y){for(var b in y)y.hasOwnProperty(b)&&(e[b]=y[b])})(f,r)},function(f,r){function e(){this.constructor=f}m(f,r),f.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}),_=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],y=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&y>=f.length&&(f=void 0),{value:f&&f[y++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(6),s=t(2),h=t(70),o=t(3),a=t(9),c=t(0),u=t(152),p=t(12),v=function(f){function r(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(r,f),Object.defineProperty(r.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=c.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||g.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeName",{get:function(){return o.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:o.Guard.isAttrNode(this)?this._qualifiedName:o.Guard.isExclusiveTextNode(this)?"#text":o.Guard.isCDATASectionNode(this)?"#cdata-section":o.Guard.isProcessingInstructionNode(this)?this._target:o.Guard.isCommentNode(this)?"#comment":o.Guard.isDocumentNode(this)?"#document":o.Guard.isDocumentTypeNode(this)?this._name:o.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"isConnected",{get:function(){return o.Guard.isElementNode(this)&&c.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),r.prototype.getRootNode=function(e){return c.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(r.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"parentElement",{get:function(){return this._parent&&o.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),r.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(r.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nodeValue",{get:function(){return o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"textContent",{get:function(){return o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.text_descendantTextContent(this):o.Guard.isAttrNode(this)?this._value:o.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),o.Guard.isDocumentFragmentNode(this)||o.Guard.isElementNode(this)?c.node_stringReplaceAll(e,this):o.Guard.isAttrNode(this)?c.attr_setAnExistingAttributeValue(this,e):o.Guard.isCharacterDataNode(this)&&c.characterData_replaceData(this,0,c.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),r.prototype.normalize=function(){for(var e,y,b,x,E=[],w=c.tree_getFirstDescendantNode(this,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=c.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return o.Guard.isExclusiveTextNode(ve)});for(var D=0;DR;R++)if((r||R in T)&&(w=N(E=T[R],R,D),a)){if(c)G[R]=w;else if(w)switch(a){case 3:return!0;case 5:return E;case 6:return R;case 2:h.call(G,E)}else if(v)return!1}return f?-1:p||v?v:G}};l.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6)}},function(l,i,t){"use strict";var m=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],F=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&F>=D.length&&(D=void 0),{value:D&&D[F++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var F,R,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(F=k.next()).done;)G.push(F.value)}catch(H){R={error:H}}finally{try{F&&!F.done&&(N=k.return)&&N.call(k)}finally{if(R)throw R.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var oe=m(T._children),le=oe.next();!le.done;le=oe.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=oe.return)&&G.call(oe)}finally{if(k)throw k.error}}if(N){if(ne===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=m(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){H={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if(H)throw H.error}}if(N){if(ne===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=m(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");M=M._nextSibling}}}}function x(D,T,N){b(D,T,N);var F=N;return F===D&&(F=D._nextSibling),y.document_adopt(D,T._nodeDocument),E(D,T,F),D}function E(D,T,N,F){var R,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&g.dom.rangeList.size!==0){var H=p.tree_index(N);try{for(var Y=m(g.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>H&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>H&&(X._end[1]+=G)}}catch(le){R={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(R)throw R.error}}}var $=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);g.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&r.observer_queueTreeMutationRecord(D,[],$,null,null);for(var ee=N?N._previousSibling:T._lastChild,ne=N===null?-1:p.tree_index(N),de=0;de<$.length;de++){var ve=$[de];if(o.Guard.isElementNode(ve)&&(o.Guard.isDocumentNode(T)&&(T._documentElement=ve),ve._nodeDocument._hasNamespaces||ve._namespace===null&&ve._namespacePrefix===null||(ve._nodeDocument._hasNamespaces=!0)),ve._parent=T,N===null?c.set.append(T._children,ve):(c.set.insert(T._children,ve,ne),ne++),T._firstChild===null)ve._previousSibling=null,ve._nextSibling=null,T._firstChild=ve,T._lastChild=ve;else{var ie=N?N._previousSibling:T._lastChild,Q=N||null;ve._previousSibling=ie,ve._nextSibling=Q,ie&&(ie._nextSibling=ve),Q&&(Q._previousSibling=ve),ie||(T._firstChild=ve),Q||(T._lastChild=ve)}g.dom.features.slots&&T._shadowRoot!==null&&o.Guard.isSlotable(ve)&&f.shadowTree_assignASlot(ve),g.dom.features.steps&&o.Guard.isTextNode(ve)&&e.dom_runChildTextContentChangeSteps(T),g.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(T))&&o.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),g.dom.features.slots&&f.shadowTree_assignSlotablesForATree(p.tree_rootNode(ve));for(var oe=p.tree_getFirstDescendantNode(ve,!0,!0);oe!==null;)g.dom.features.steps&&e.dom_runInsertionSteps(oe),g.dom.features.customElements&&o.Guard.isElementNode(oe)&&f.shadowTree_isConnected(oe)&&(o.Guard.isCustomElementNode(oe)?u.customElement_enqueueACustomElementCallbackReaction(oe,"connectedCallback",[]):u.customElement_tryToUpgrade(oe)),oe=p.tree_getNextDescendantNode(ve,oe,!0,!0)}g.dom.features.mutationObservers&&(F||r.observer_queueTreeMutationRecord(T,$,[],ee,N))}else(function(le,fe,P){var C=fe._lastChild;if(o.Guard.isElementNode(le)&&(o.Guard.isDocumentNode(fe)&&(fe._documentElement=le),le._nodeDocument._hasNamespaces||le._namespace===null&&le._namespacePrefix===null||(le._nodeDocument._hasNamespaces=!0)),le._parent=fe,fe._children.add(le),fe._firstChild===null)le._previousSibling=null,le._nextSibling=null,fe._firstChild=le,fe._lastChild=le;else{var B=fe._lastChild;le._previousSibling=B,le._nextSibling=null,B&&(B._nextSibling=le),B||(fe._firstChild=le),fe._lastChild=le}g.dom.features.slots&&fe._shadowRoot!==null&&o.Guard.isSlotable(le)&&f.shadowTree_assignASlot(le),g.dom.features.steps&&o.Guard.isTextNode(le)&&e.dom_runChildTextContentChangeSteps(fe),g.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(fe))&&o.Guard.isSlot(fe)&&a.isEmpty(fe._assignedNodes)&&f.shadowTree_signalASlotChange(fe),g.dom.features.slots&&f.shadowTree_assignSlotablesForATree(p.tree_rootNode(le)),g.dom.features.steps&&e.dom_runInsertionSteps(le),g.dom.features.customElements&&o.Guard.isElementNode(le)&&f.shadowTree_isConnected(le)&&(o.Guard.isCustomElementNode(le)?u.customElement_enqueueACustomElementCallbackReaction(le,"connectedCallback",[]):u.customElement_tryToUpgrade(le)),g.dom.features.mutationObservers&&(P||r.observer_queueTreeMutationRecord(fe,[le],[],C,null))})(D,T,F)}function w(D,T,N){var F,R,k,G,H,Y,z,X;if(g.dom.rangeList.size!==0){var $=p.tree_index(D);try{for(var ee=m(g.dom.rangeList),ne=ee.next();!ne.done;ne=ee.next()){var de=ne.value;p.tree_isDescendantOf(D,de._start[0],!0)&&(de._start=[T,$]),p.tree_isDescendantOf(D,de._end[0],!0)&&(de._end=[T,$]),de._start[0]===T&&de._start[1]>$&&de._start[1]--,de._end[0]===T&&de._end[1]>$&&de._end[1]--}}catch(me){F={error:me}}finally{try{ne&&!ne.done&&(R=ee.return)&&R.call(ee)}finally{if(F)throw F.error}}try{for(var ve=m(g.dom.rangeList),ie=ve.next();!ie.done;ie=ve.next())(de=ie.value)._start[0]===T&&de._start[1]>$&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>$&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ie&&!ie.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(g.dom.features.steps)try{for(var Q=m(v.nodeIterator_iteratorList()),oe=Q.next();!oe.done;oe=Q.next()){var le=oe.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){H={error:me}}finally{try{oe&&!oe.done&&(Y=Q.return)&&Y.call(Q)}finally{if(H)throw H.error}}var fe=D._previousSibling,P=D._nextSibling;o.Guard.isDocumentNode(T)&&o.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),g.dom.features.slots&&o.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),g.dom.features.slots&&o.Guard.isShadowRoot(p.tree_rootNode(T))&&o.Guard.isSlot(T)&&a.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),g.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return o.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),g.dom.features.steps&&e.dom_runRemovingSteps(D,T),g.dom.features.customElements&&o.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)g.dom.features.steps&&e.dom_runRemovingSteps(L,D),g.dom.features.customElements&&o.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(g.dom.features.mutationObservers)for(var M=p.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,m(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=p.tree_getNextAncestorNode(T,M,!0)}g.dom.features.mutationObservers&&(N||r.observer_queueTreeMutationRecord(T,[],[D],fe,P)),g.dom.features.steps&&o.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}i.mutation_ensurePreInsertionValidity=b,i.mutation_preInsert=x,i.mutation_insert=E,i.mutation_append=function(D,T){return x(D,T,null)},i.mutation_replace=function(D,T,N){var F,R,k,G,H,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var $=0;try{for(var ee=m(T._children),ne=ee.next();!ne.done;ne=ee.next()){var de=ne.value;if(de._nodeType===h.NodeType.Element)$++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){F={error:ae}}finally{try{ne&&!ne.done&&(R=ee.return)&&R.call(ee)}finally{if(F)throw F.error}}if($>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+$+" element nodes.");if($===1){try{for(var ve=m(N._children),ie=ve.next();!ie.done;ie=ve.next())if((C=ie.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ie&&!ie.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var oe=m(N._children),le=oe.next();!le.done;le=oe.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){H={error:ae}}finally{try{le&&!le.done&&(Y=oe.return)&&Y.call(oe)}finally{if(H)throw H.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=m(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var M=D._previousSibling;y.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),g.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(N,W,q,M,L),D},i.mutation_replaceAll=function(D,T){var N,F;D!==null&&y.document_adopt(D,T._nodeDocument);var R=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=m(R),H=G.next();!H.done;H=G.next())w(H.value,T,!0)}catch(Y){N={error:Y}}finally{try{H&&!H.done&&(F=G.return)&&F.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),g.dom.features.mutationObservers&&r.observer_queueTreeMutationRecord(T,k,R,null,null)},i.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},i.mutation_remove=w},function(l,i,t){"use strict";function m(S){return S==null}l.exports.isNothing=m,l.exports.isObject=function(S){return typeof S=="object"&&S!==null},l.exports.toArray=function(S){return Array.isArray(S)?S:m(S)?[]:[S]},l.exports.repeat=function(S,_){var g,s="";for(g=0;g<_;g+=1)s+=S;return s},l.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},l.exports.extend=function(S,_){var g,s,h,o;if(_)for(g=0,s=(o=Object.keys(_)).length;g0?m:t)(S)}},function(l,i,t){"use strict";var m=t(8);l.exports=function(S,_){var g=[][S];return!!g&&m(function(){g.call(null,_||function(){throw 1},1)})}},function(l,i){l.exports={}},function(l,i,t){"use strict";t(31),t(32),t(33),t(220),t(64),t(19),t(65),t(20),t(68),t(66),t(92),t(144),t(22),t(94),t(23);var m=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),y=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)y.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return y},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,v,f,r,e){var y,b;try{for(var x=m(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,v,f,r,e)}}catch(D){y={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(y)throw y.error}}},u.prototype._serializeDocumentFragment=function(p,v){var f,r;try{for(var e=m(p._children),y=e.next();!y.done;y=e.next()){var b=y.value;this._serializeNode(b,v)}}catch(x){f={error:x}}finally{try{y&&!y.done&&(r=e.return)&&r.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,v){if(v&&!a.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(v&&(!a.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,v){if(v&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(v&&(!a.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,v){if(v&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,v,f,r,e,y){var b,x,E=[],w=y?new s.LocalNameSet:void 0;try{for(var D=m(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(y||e||N.namespaceURI!==null){if(y&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");y&&w&&w.set(N.namespaceURI,N.localName);var F=N.namespaceURI,R=null;if(F!==null)if(R=v.get(N.prefix,F),F===o.namespace.XMLNS){if(N.value===o.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in r)||r[N.localName]!==N.value)&&v.has(N.localName,N.value))continue;if(y&&N.value===o.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(y&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||v.hasPrefix(N.prefix)&&!v.has(N.prefix,F)?this._generatePrefix(F,v,f):N.prefix,E.push([null,"xmlns",R,this._serializeAttributeValue(F,y)]));if(y&&(N.localName.indexOf(":")!==-1||!a.xml_isName(N.localName)||N.localName==="xmlns"&&F===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([F,R,N.localName,this._serializeAttributeValue(N.value,y)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,y)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,v){var f,r,e=[],y=v?{}:void 0;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(v){if(v&&y&&E.localName in y)throw new Error("Element contains duplicate attributes (well-formed required).");if(v&&y&&(y[E.localName]=!0),v&&(E.localName.indexOf(":")!==-1||!a.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,v)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,v,f){var r,e,y=null;try{for(var b=m(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===o.namespace.XMLNS){if(D===null){y=E.value;continue}var T=E.localName,N=E.value;if(N===o.namespace.XML||(N===""&&(N=null),v.has(T,N)))continue;v.set(T,N),f[T]=N||""}}}catch(F){r={error:F}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return y},u.prototype._generatePrefix=function(p,v,f){var r="ns"+f.value.toString();return f.value++,v.set(r,p),r},u.prototype._serializeAttributeValue=function(p,v){if(v&&p!==null&&!a.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();i.BaseWriter=c},function(l,i,t){"use strict";var m=this&&this.__values||function(v){var f=typeof Symbol=="function"&&Symbol.iterator,r=f&&v[f],e=0;if(r)return r.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&e>=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,y,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){y={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(y)throw y.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),g=t(3),s=t(7),h=t(29),o=t(17),a=t(97);function c(){var v=_.dom.window;v._mutationObserverMicrotaskQueued||(v._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var v,f,r,e,y=_.dom.window;y._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(y._mutationObservers),x=s.set.clone(y._signalSlots);s.set.empty(y._signalSlots);var E=function(R){var k=s.list.clone(R._recordQueue);s.list.empty(R._recordQueue);for(var G=0;G"+f+"<\/script>"},v=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,r;v=m?function(y){y.write(p("")),y.close();var b=y.parentWindow.Object;return y=null,b}(m):((r=o("iframe")).style.display="none",h.appendChild(r),r.src="javascript:",(f=r.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=g.length;e--;)delete v.prototype[g[e]];return v()};s[c]=!0,l.exports=Object.create||function(f,r){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[c]=f):e=v(),r===void 0?e:_(e,r)}},function(l,i,t){var m=t(121),S=t(84);l.exports=Object.keys||function(_){return m(_,S)}},function(l,i,t){var m=t(15).f,S=t(14),_=t(5)("toStringTag");l.exports=function(g,s,h){g&&!S(g=h?g:g.prototype,_)&&m(g,_,{configurable:!0,value:s})}},function(l,i,t){var m=t(8),S=t(5),_=t(129),g=S("species");l.exports=function(s){return _>=51||!m(function(){var h=[];return(h.constructor={})[g]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(l,i,t){"use strict";var m=t(4),S=t(122).indexOf,_=t(48),g=t(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,o=_("indexOf"),a=g("indexOf",{ACCESSORS:!0,1:0});m({target:"Array",proto:!0,forced:h||!o||!a},{indexOf:function(c){return h?s.apply(this,arguments)||0:S(this,c,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(16),S=t(15).f,_=Function.prototype,g=_.toString,s=/^\s*function ([^ (]*)/;m&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return g.call(this).match(s)[1]}catch{return""}}})},function(l,i,t){"use strict";var m=t(25),S=t(18),_=t(8),g=t(136),s=RegExp.prototype,h=s.toString,o=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),a=h.name!="toString";(o||a)&&m(RegExp.prototype,"toString",function(){var c=S(this),u=String(c.source),p=c.flags;return"/"+u+"/"+String(p===void 0&&c instanceof RegExp&&!("flags"in s)?g.call(c):p)},{unsafe:!0})},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(138),t(20),t(66),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(1),s=t(2),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=g.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(c,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},a.prototype._process=function(c,u){var p,v,f,r,e,y,b;if(c.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,F=0;F2)try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;u[v+(r++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(y=b.return)&&y.call(b)}finally{if(e)throw e.error}}else u[f>1?v+(r++).toString():v]=c;return r},a.prototype.beginElement=function(c){var u,p,v=[];if(this._currentList.length===0)this._currentList.push(((u={})[c]=v,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,c)?f[c].length!==0&&g.isArray(f[c][0])?f[c].push(v):f[c]=[f[c],v]:this._currentList.push(((p={})[c]=v,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=v:this._listRegister.push(v),this._currentList=v},a.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},a.prototype.attribute=function(c,u){var p,v;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[c]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][c]=u:this._currentList.push({"@":(v={},v[c]=u,v)})}},a.prototype.comment=function(c){if(this._currentList.length===0)this._currentList.push({"!":c});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?g.isArray(u["!"])?u["!"].push(c):u["!"]=[u["!"],c]:this._currentList.push({"!":c})}},a.prototype.text=function(c){if(this._currentList.length===0)this._currentList.push({"#":c});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?g.isArray(u["#"])?u["#"].push(c):u["#"]=[u["#"],c]:this._currentList.push({"#":c})}},a.prototype.instruction=function(c,u){var p=u===""?c:c+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var v=this._currentList[this._currentList.length-1];this._isInstructionNode(v)?g.isArray(v["?"])?v["?"].push(p):v["?"]=[v["?"],p]:this._currentList.push({"?":p})}},a.prototype.cdata=function(c){if(this._currentList.length===0)this._currentList.push({$:c});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?g.isArray(u.$)?u.$.push(c):u.$=[u.$,c]:this._currentList.push({$:c})}},a.prototype._isAttrNode=function(c){return"@"in c},a.prototype._isTextNode=function(c){return"#"in c},a.prototype._isCommentNode=function(c){return"!"in c},a.prototype._isInstructionNode=function(c){return"?"in c},a.prototype._isCDATANode=function(c){return"$"in c},a.prototype._isElementNode=function(c,u){return u in c},a.prototype._getAttrKey=function(){return this._builderOptions.convert.att},a.prototype._getNodeKey=function(c){switch(c){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},a}(t(50).BaseWriter);i.ObjectWriter=h},function(l,i,t){"use strict";var m=t(4),S=t(93);m({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,g){_===null?this._nullItems[g]=!0:(this._items[_]||(this._items[_]={}),this._items[_][g]=!0)},S.prototype.has=function(_,g){return _===null?this._nullItems[g]===!0:!!this._items[_]&&this._items[_][g]===!0},S}();i.LocalNameSet=m},function(l,i,t){"use strict";var m=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v};Object.defineProperty(i,"__esModule",{value:!0});var S=t(9),_=t(3),g=t(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(o,a,c){c===void 0&&(c={passive:!1,once:!1,capture:!1});var u,p=m(g.eventTarget_flattenMore(c),3),v=p[0],f=p[1],r=p[2];a&&(u=_.Guard.isEventListener(a)?a:{handleEvent:a},g.eventTarget_addEventListener(this,{type:o,callback:u,capture:v,passive:f,once:r,removed:!1}))},h.prototype.removeEventListener=function(o,a,c){c===void 0&&(c={capture:!1});var u=g.eventTarget_flatten(c);if(a)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[y++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,r){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var y,b,x=e.call(f),E=[];try{for(;(r===void 0||r-- >0)&&!(y=x.next()).done;)E.push(y.value)}catch(w){b={error:w}}finally{try{y&&!y.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],r=0;r",amp:"&",quot:'"',apos:"'"},_}();i.BaseReader=S},function(l,i,t){"use strict";var m=t(39);l.exports=m.DEFAULT=new m({include:[t(54)],explicit:[t(299),t(300),t(301)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(185);i.XMLBuilderImpl=m.XMLBuilderImpl;var S=t(304);i.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=t(183);i.builder=_.builder,i.create=_.create,i.fragment=_.fragment,i.convert=_.convert;var g=t(309);i.createCB=g.createCB,i.fragmentCB=g.fragmentCB},function(l,i){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}l.exports=t},function(l,i,t){"use strict";var m={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!m.call({1:2},1);i.f=_?function(g){var s=S(this,g);return!!s&&s.enumerable}:m},function(l,i,t){var m=t(11),S=t(21);l.exports=function(_,g){try{S(m,_,g)}catch{m[_]=g}return g}},function(l,i,t){var m=t(44),S=t(118);(l.exports=function(_,g){return S[_]||(S[_]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:m?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(l,i,t){var m=t(121),S=t(84).concat("length","prototype");i.f=Object.getOwnPropertyNames||function(_){return m(_,S)}},function(l,i,t){var m=t(47),S=Math.max,_=Math.min;l.exports=function(g,s){var h=m(g);return h<0?S(h+s,0):_(h,s)}},function(l,i){l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(l,i){i.f=Object.getOwnPropertySymbols},function(l,i,t){var m=t(8);l.exports=!!Object.getOwnPropertySymbols&&!m(function(){return!String(Symbol())})},function(l,i,t){var m=t(127);l.exports=function(S,_,g){if(m(S),_===void 0)return S;switch(g){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,o){return S.call(_,s,h,o)}}return function(){return S.apply(_,arguments)}}},function(l,i,t){"use strict";var m=t(4),S=t(195),_=t(132),g=t(133),s=t(62),h=t(21),o=t(25),a=t(5),c=t(44),u=t(49),p=t(131),v=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,r=a("iterator"),e=function(){return this};l.exports=function(y,b,x,E,w,D,T){S(x,b,E);var N,F,R,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",H=!1,Y=y.prototype,z=Y[r]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),$=b=="Array"&&Y.entries||z;if($&&(N=_($.call(new y)),v!==Object.prototype&&N.next&&(c||_(N)===v||(g?g(N,v):typeof N[r]!="function"&&h(N,r,e)),s(N,G,!0,!0),c&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&(H=!0,X=function(){return z.call(this)}),c&&!T||Y[r]===X||h(Y,r,X),u[b]=X,w)if(F={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(R in F)(f||H||!(R in Y))&&o(Y,R,F[R]);else m({target:b,proto:!0,forced:f||H},F);return F}},function(l,i,t){"use strict";var m=t(4),S=t(13),_=t(59),g=t(83),s=t(26),h=t(24),o=t(134),a=t(5),c=t(63),u=t(28),p=c("slice"),v=u("slice",{ACCESSORS:!0,0:0,1:2}),f=a("species"),r=[].slice,e=Math.max;m({target:"Array",proto:!0,forced:!p||!v},{slice:function(y,b){var x,E,w,D=h(this),T=s(D.length),N=g(y,T),F=g(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return r.call(D,N,F);for(E=new(x===void 0?Array:x)(e(F-N,0)),w=0;N0&&(!y.multiline||y.multiline&&p[y.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),a&&(v=y.lastIndex),r=s.call(b?f:y,D),b?r?(r.input=r.input.slice(w),r[0]=r[0].slice(w),r.index=y.lastIndex,y.lastIndex+=r[0].length):y.lastIndex=0:a&&r&&(y.lastIndex=y.global?r.index+r[0].length:v),u&&r&&r.length>1&&h.call(r[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;m("replace",2,function(r,e,y,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var F=h(this),R=T?.[r];return R!==void 0?R.call(T,F,N):e.call(String(F),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var F=y(e,T,this,N);if(F.done)return F.value}var R=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var H=R.global;if(H){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=a(R,k);if(X===null||(z.push(X),!H))break;String(X[0])===""&&(R.lastIndex=o(k,g(R.lastIndex),Y))}for(var $,ee="",ne=0,de=0;de=ne&&(ee+=k.slice(ne,ie)+P,ne=ie+ve.length)}return ee+k.slice(ne)}];function D(T,N,F,R,k,G){var H=F+T.length,Y=R.length,z=f;return k!==void 0&&(k=_(k),z=v),e.call(G,z,function(X,$){var ee;switch($.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,F);case"'":return N.slice(H);case"<":ee=k[$.slice(1,-1)];break;default:var ne=+$;if(ne===0)return X;if(ne>Y){var de=p(ne/10);return de===0?X:de<=Y?R[de-1]===void 0?$.charAt(1):R[de-1]+$.charAt(1):X}ee=R[ne-1]}return ee===void 0?"":ee})}})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var g in this._items)_._items[g]=this._items[g].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,g){var s=g===null?this._nullItems:this._items[g]||null;if(s===null)return null;for(var h=null,o=0;o=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(F?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,F){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var k,G,H=R.call(N),Y=[];try{for(;(F===void 0||F-- >0)&&!(k=H.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(R=H.return)&&R.call(H)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],F=0;F=0;ae--)if((_e=W[ae]).shadowAdjustedTarget!==null){q=_e;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(_e=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(_e,N,"capturing",k);for(ae=0;ae0&&(z=G[H-1]).shadowAdjustedTarget!==null)&&(F._target=z.shadowAdjustedTarget)}if(F._relatedTarget=N.relatedTarget,F._touchTargetList=N.touchTargetList,!F._stopPropagationFlag){F._currentTarget=N.invocationTarget;var X=F._currentTarget._eventListenerList,$=new(Array.bind.apply(Array,_([void 0],X)));if(!x(F,$,R,N,k)&&F._isTrusted){var ee=F._type;ee==="animationend"?F._type="webkitAnimationEnd":ee==="animationiteration"?F._type="webkitAnimationIteration":ee==="animationstart"?F._type="webkitAnimationStart":ee==="transitionend"&&(F._type="webkitTransitionEnd"),x(F,$,R,N,k),F._type=ee}}}function x(N,F,R,k,G){G===void 0&&(G={value:!1});for(var H=!1,Y=0;Y=y.length&&(y=void 0),{value:y&&y[E++],done:!y}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(y,b){var x=typeof Symbol=="function"&&y[Symbol.iterator];if(!x)return y;var E,w,D=x.call(y),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(i,"__esModule",{value:!0});var s=t(6),h=t(2),o=t(9),a=t(34),c=t(3),u=t(1),p=t(7),v=t(152),f=t(0),r=t(12),e=function(y){function b(){var x=y.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,y),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return v.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(c.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new o.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new o.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new o.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new o.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),c.Guard.isDocumentNode(x)||c.Guard.isShadowRoot(x))throw new o.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(c.Guard.isDocumentNode(x))throw new o.NotSupportedError;if(c.Guard.isShadowRoot(x))throw new o.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new o.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=g(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],F=f.create_attr(this,N);return F._namespace=D,F._namespacePrefix=T,F},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(v,f){var r=typeof Symbol=="function"&&v[Symbol.iterator];if(!r)return v;var e,y,b=r.call(v),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){y={error:E}}finally{try{e&&!e.done&&(r=b.return)&&r.call(b)}finally{if(y)throw y.error}}return x};Object.defineProperty(i,"__esModule",{value:!0});var s=t(2),h=t(34),o=t(9),a=t(7),c=t(0),u=t(12),p=function(v){function f(){var r=v.call(this)||this;return r._children=new Set,r._namespace=null,r._namespacePrefix=null,r._localName="",r._customElementState="undefined",r._customElementDefinition=null,r._is=null,r._shadowRoot=null,r._attributeList=c.create_namedNodeMap(r),r._attributeChangeSteps=[],r._name="",r._assignedSlot=null,r}return S(f,v),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return c.element_getAnAttributeValue(this,"id")},set:function(r){c.element_setAnAttributeValue(this,"id",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return c.element_getAnAttributeValue(this,"class")},set:function(r){c.element_setAnAttributeValue(this,"class",r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var r=c.element_getAnAttributeByName("class",this);return r===null&&(r=c.create_attr(this._nodeDocument,"class")),c.create_domTokenList(this,r)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return c.element_getAnAttributeValue(this,"slot")},set:function(r){c.element_setAnAttributeValue(this,"slot",r)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var r,e,y=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;y.push(E._qualifiedName)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return y},f.prototype.getAttribute=function(r){var e=c.element_getAnAttributeByName(r,this);return e?e._value:null},f.prototype.getAttributeNS=function(r,e){var y=c.element_getAnAttributeByNamespaceAndLocalName(r,e,this);return y?y._value:null},f.prototype.setAttribute=function(r,e){if(!c.xml_isName(r))throw new o.InvalidCharacterError;this._namespace===a.namespace.HTML&&this._nodeDocument._type==="html"&&(r=r.toLowerCase());for(var y=null,b=0;b=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(2),s=t(71),h=t(0),o=t(12),a=function(c){function u(p){p===void 0&&(p="");var v=c.call(this,p)||this;return v._name="",v._assignedSlot=null,v}return S(u,c),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,v,f="";try{for(var r=_(h.text_contiguousTextNodes(this,!0)),e=r.next();!e.done;e=r.next())f+=e.value._data}catch(y){p={error:y}}finally{try{e&&!e.done&&(v=r.return)&&v.call(r)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,v){v===void 0&&(v="");var f=new u(v);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);i.TextImpl=a,o.idl_defineConst(a.prototype,"_nodeType",g.NodeType.Text)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();i.AbstractRangeImpl=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(g){this._activeFlag=!1,this._root=g,this._whatToShow=m.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();i.TraverserImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(0),_=t(12),g=function(){function s(h,o){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=m.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,o&&(this._bubbles=o.bubbles||!1,this._cancelable=o.cancelable||!1,this._composedFlag=o.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],o=this._path;if(o.length===0)return h;var a=this._currentTarget;if(a===null)throw new Error("Event currentTarget is null.");h.push(a);for(var c=0,u=0,p=o.length-1;p>=0;){if(o[p].rootOfClosedTree&&u++,o[p].invocationTarget===a){c=p;break}o[p].slotInClosedTree&&u--,p--}var v=u,f=u;for(p=c-1;p>=0;)o[p].rootOfClosedTree&&v++,v<=f&&h.unshift(o[p].invocationTarget),o[p].slotInClosedTree&&--v0)&&!(y=x.next()).done;)E.push(y.value)}catch(w){b={error:w}}finally{try{y&&!y.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],y=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&y>=f.length&&(f=void 0),{value:f&&f[y++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(6),g=t(3),s=t(1),h=t(99),o=t(73),a=t(17),c=t(173),u=t(30),p=t(52),v=t(37);i.document_elementInterface=function(f,r){return h.ElementImpl},i.document_internalCreateElementNS=function(f,r,e,y){var b=m(c.namespace_validateAndExtract(r,e),3),x=b[0],E=b[1],w=b[2],D=null;return y!==void 0&&(D=s.isString(y)?y:y.is),p.element_createAnElement(f,w,x,E,D,!0)},i.document_adopt=function(f,r){var e,y;if(f._nodeDocument!==r||f._parent!==null){var b=f._nodeDocument;if(f._parent&&v.mutation_remove(f,f._parent),r!==b)for(var x=a.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=r,g.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=r}catch(D){e={error:D}}finally{try{w&&!w.done&&(y=E.return)&&y.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&g.Guard.isElementNode(x)&&x._customElementState==="custom"&&o.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,r]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=a.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(l,i,t){"use strict";var m=this&&this.__values||function(a){var c=typeof Symbol=="function"&&Symbol.iterator,u=c&&a[c],p=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&p>=a.length&&(a=void 0),{value:a&&a[p++],done:!a}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),g=t(9),s=t(17),h=t(51),o=t(30);i.characterData_replaceData=function(a,c,u,p){var v,f,r=s.tree_nodeLength(a);if(c>r)throw new g.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+r+", Node is "+a.nodeName+".");c+u>r&&(u=r-c),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",a,null,null,a._data,[],[],null,null);var e=a._data.substring(0,c)+p+a._data.substring(c+u);a._data=e;try{for(var y=m(S.dom.rangeList),b=y.next();!b.done;b=y.next()){var x=b.value;x._start[0]===a&&x._start[1]>c&&x._start[1]<=c+u&&(x._start[1]=c),x._end[0]===a&&x._end[1]>c&&x._end[1]<=c+u&&(x._end[1]=c),x._start[0]===a&&x._start[1]>c+u&&(x._start[1]+=p.length-u),x._end[0]===a&&x._end[1]>c+u&&(x._end[1]+=p.length-u)}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(v)throw v.error}}S.dom.features.steps&&_.Guard.isTextNode(a)&&a._parent!==null&&o.dom_runChildTextContentChangeSteps(a._parent)},i.characterData_substringData=function(a,c,u){var p=s.tree_nodeLength(a);if(c>p)throw new g.IndexSizeError("Offset exceeds character data length. Offset: "+c+", Length: "+p+", Node is "+a.nodeName+".");return c+u>p?a._data.substr(c):a._data.substr(c,u)}},function(l,i,t){"use strict";var m=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var o=[],a=0;a=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(7);function s(o){var a=g.string.splitAStringOnASCIIWhitespace(o);return new Set(a)}function h(o){return S(o).join(" ")}i.orderedSet_parse=s,i.orderedSet_serialize=h,i.orderedSet_sanitize=function(o){return h(s(o))},i.orderedSet_contains=function(o,a,c){var u,p,v,f;try{for(var r=_(a),e=r.next();!e.done;e=r.next()){var y=e.value,b=!1;try{for(var x=(v=void 0,_(o)),E=x.next();!E.done;E=x.next()){var w=E.value;if(c){if(w===y){b=!0;break}}else if(w.toUpperCase()===y.toUpperCase()){b=!0;break}}}catch(D){v={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(v)throw v.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=r.return)&&p.call(r)}finally{if(u)throw u.error}}return!0}},function(l,i,t){"use strict";t(179),Object.defineProperty(i,"__esModule",{value:!0});var m=t(262),S=t(110),_=t(1);S.dom.setFeatures(!1),i.createDocument=function(){var g=new m.DOMImplementation().createDocument(null,"root",null);return g.documentElement&&g.removeChild(g.documentElement),g},i.sanitizeInput=function(g,s){if(g==null)return g;if(s===void 0)return g+"";var h="";g+="";for(var o=0;o=32&&a<=55295||a>=57344&&a<=65533)h+=g.charAt(o);else if(a>=55296&&a<=56319&&o=56320&&c<=57343?(a=1024*(a-55296)+c-56320+65536,h+=String.fromCodePoint(a),o++):h+=_.isString(s)?s:s(g.charAt(o),o,g)}else h+=_.isString(s)?s:s(g.charAt(o),o,g)}return h}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(1),S=t(153);i.AbortController=S.AbortControllerImpl;var _=t(154);i.AbortSignal=_.AbortSignalImpl;var g=t(102);i.AbstractRange=g.AbstractRangeImpl;var s=t(157);i.Attr=s.AttrImpl;var h=t(158);i.CDATASection=h.CDATASectionImpl;var o=t(71);i.CharacterData=o.CharacterDataImpl;var a=t(263),c=t(159);i.Comment=c.CommentImpl;var u=t(171);i.CustomEvent=u.CustomEventImpl;var p=t(100);i.DocumentFragment=p.DocumentFragmentImpl;var v=t(98);i.Document=v.DocumentImpl;var f=t(264),r=t(155);i.DocumentType=r.DocumentTypeImpl;var e=t(6);i.dom=e.dom;var y=t(148);i.DOMImplementation=y.DOMImplementationImpl;var b=t(170);i.DOMTokenList=b.DOMTokenListImpl;var x=t(99);i.Element=x.ElementImpl;var E=t(104);i.Event=E.EventImpl;var w=t(70);i.EventTarget=w.EventTargetImpl;var D=t(161);i.HTMLCollection=D.HTMLCollectionImpl;var T=t(265);i.MutationObserver=T.MutationObserverImpl;var N=t(169);i.MutationRecord=N.MutationRecordImpl;var F=t(164);i.NamedNodeMap=F.NamedNodeMapImpl;var R=t(168);i.NodeFilter=R.NodeFilterImpl;var k=t(34);i.Node=k.NodeImpl;var G=t(166);i.NodeIterator=G.NodeIteratorImpl;var H=t(162);i.NodeList=H.NodeListImpl;var Y=t(163);i.NodeListStatic=Y.NodeListStaticImpl;var z=t(266),X=t(267),$=t(268),ee=t(160);i.ProcessingInstruction=ee.ProcessingInstructionImpl;var ne=t(165);i.Range=ne.RangeImpl;var de=t(156);i.ShadowRoot=de.ShadowRootImpl;var ve=t(269),ie=t(270);i.StaticRange=ie.StaticRangeImpl;var Q=t(101);i.Text=Q.TextImpl;var oe=t(103);i.Traverser=oe.TraverserImpl;var le=t(167);i.TreeWalker=le.TreeWalkerImpl;var fe=t(149);i.Window=fe.WindowImpl;var P=t(151);i.XMLDocument=P.XMLDocumentImpl,m.applyMixin(x.ElementImpl,a.ChildNodeImpl),m.applyMixin(o.CharacterDataImpl,a.ChildNodeImpl),m.applyMixin(r.DocumentTypeImpl,a.ChildNodeImpl),m.applyMixin(v.DocumentImpl,f.DocumentOrShadowRootImpl),m.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),m.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(o.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),m.applyMixin(v.DocumentImpl,X.NonElementParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),m.applyMixin(v.DocumentImpl,$.ParentNodeImpl),m.applyMixin(p.DocumentFragmentImpl,$.ParentNodeImpl),m.applyMixin(x.ElementImpl,$.ParentNodeImpl),m.applyMixin(Q.TextImpl,ve.SlotableImpl),m.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.EOF=0]="EOF",m[m.Declaration=1]="Declaration",m[m.DocType=2]="DocType",m[m.Element=3]="Element",m[m.Text=4]="Text",m[m.CDATA=5]="CDATA",m[m.PI=6]="PI",m[m.Comment=7]="Comment",m[m.ClosingTag=8]="ClosingTag"}(i.TokenType||(i.TokenType={}))},function(l,i,t){"use strict";t(64),t(20),t(66);var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),g=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){var c=this,u=this._builderOptions,p=null;return _.isFunction(a)?p=this.parse(o,a.apply(this)):_.isArray(a)||_.isSet(a)?_.forEachArray(a,function(v){return p=c.parse(o,v)},this):_.isMap(a)||_.isObject(a)?_.forEachObject(a,function(v,f){if(_.isFunction(f)&&(f=f.apply(c)),u.ignoreConverters||v.indexOf(u.convert.att)!==0)if(u.ignoreConverters||v.indexOf(u.convert.text)!==0)if(u.ignoreConverters||v.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||v.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||v.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=c.element(o,void 0,c.sanitize(v))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[v]=x,p=c.parse(o,E)},c);else if(_.isMap(f)||_.isObject(f))(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.parse(r,f));else if(f!=null&&f!==""){var r;(r=c.element(o,void 0,c.sanitize(v)))&&(p=r,c.text(r,c._decodeText(c.sanitize(f))))}else p=c.element(o,void 0,c.sanitize(v))||p}}else if(_.isString(f)){var e=f.indexOf(" "),y=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=c.instruction(o,c.sanitize(y),c.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=c.instruction(o,c.sanitize(w),c.sanitize(D))||p},c):_.forEachObject(f,function(x,E){return p=c.instruction(o,c.sanitize(x),c.sanitize(E))||p},c);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.comment(o,c.sanitize(x))||p},c):p=c.comment(o,c.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=c.cdata(o,c.sanitize(x))||p},c):p=c.cdata(o,c.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?c.parse(o,f):c.text(o,c._decodeText(c.sanitize(f)))||p;else if(v===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+o._debugInfo());_.forEachObject(f,function(x,E){p=c.attribute(o,void 0,c.sanitize(x),c._decodeAttributeValue(c.sanitize(E)))||p})}else p=c.attribute(o,void 0,c.sanitize(v.substr(u.convert.att.length)),c._decodeAttributeValue(c.sanitize(f)))||p},this):(u.keepNullNodes||a!=null)&&(p=this.text(o,this._decodeText(this.sanitize(a)))||p),p||o},h}(t(75).BaseReader);i.ObjectReader=g},function(l,i,t){"use strict";var m=t(39);l.exports=new m({explicit:[t(286),t(287),t(288)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};i.BaseCBWriter=m},function(l,i,t){var m=t(16),S=t(8),_=t(116);l.exports=!m&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(l,i,t){var m=t(11),S=t(13),_=m.document,g=S(_)&&S(_.createElement);l.exports=function(s){return g?_.createElement(s):{}}},function(l,i,t){var m=t(118),S=Function.toString;typeof m.inspectSource!="function"&&(m.inspectSource=function(_){return S.call(_)}),l.exports=m.inspectSource},function(l,i,t){var m=t(11),S=t(80),_=m["__core-js_shared__"]||S("__core-js_shared__",{});l.exports=_},function(l,i,t){var m=t(14),S=t(187),_=t(55),g=t(15);l.exports=function(s,h){for(var o=S(h),a=g.f,c=_.f,u=0;uc;)m(a,o=h[c++])&&(~_(u,o)||u.push(o));return u}},function(l,i,t){var m=t(24),S=t(26),_=t(83),g=function(s){return function(h,o,a){var c,u=m(h),p=S(u.length),v=_(a,p);if(s&&o!=o){for(;p>v;)if((c=u[v++])!=c)return!0}else for(;p>v;v++)if((s||v in u)&&u[v]===o)return s||v||0;return!s&&-1}};l.exports={includes:g(!0),indexOf:g(!1)}},function(l,i,t){var m=t(8),S=/#|\.prototype\./,_=function(a,c){var u=s[g(a)];return u==o||u!=h&&(typeof c=="function"?m(c):!!c)},g=_.normalize=function(a){return String(a).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",o=_.POLYFILL="P";l.exports=_},function(l,i,t){var m=t(86);l.exports=m&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(l,i,t){var m=t(5);i.f=m},function(l,i,t){var m=t(120),S=t(14),_=t(125),g=t(15).f;l.exports=function(s){var h=m.Symbol||(m.Symbol={});S(h,s)||g(h,s,{value:_.f(s)})}},function(l,i){l.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},function(l,i,t){var m=t(13),S=t(59),_=t(5)("species");l.exports=function(g,s){var h;return S(g)&&(typeof(h=g.constructor)!="function"||h!==Array&&!S(h.prototype)?m(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(l,i,t){var m,S,_=t(11),g=t(193),s=_.process,h=s&&s.versions,o=h&&h.v8;o?S=(m=o.split("."))[0]+m[1]:g&&(!(m=g.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=g.match(/Chrome\/(\d+)/))&&(S=m[1]),l.exports=S&&+S},function(l,i,t){var m=t(5),S=t(60),_=t(15),g=m("unscopables"),s=Array.prototype;s[g]==null&&_.f(s,g,{configurable:!0,value:S(null)}),l.exports=function(h){s[g][h]=!0}},function(l,i,t){"use strict";var m,S,_,g=t(132),s=t(21),h=t(14),o=t(5),a=t(44),c=o("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=g(g(_)))!==Object.prototype&&(m=S):u=!0),m==null&&(m={}),a||h(m,c)||s(m,c,function(){return this}),l.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:u}},function(l,i,t){var m=t(14),S=t(27),_=t(57),g=t(196),s=_("IE_PROTO"),h=Object.prototype;l.exports=g?Object.getPrototypeOf:function(o){return o=S(o),m(o,s)?o[s]:typeof o.constructor=="function"&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?h:null}},function(l,i,t){var m=t(18),S=t(197);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,g=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),g=s instanceof Array}catch{}return function(h,o){return m(h),S(o),g?_.call(h,o):h.__proto__=o,h}}():void 0)},function(l,i,t){"use strict";var m=t(56),S=t(15),_=t(40);l.exports=function(g,s,h){var o=m(s);o in g?S.f(g,o,_(0,h)):g[o]=h}},function(l,i,t){var m=t(90),S=t(42),_=t(5)("toStringTag"),g=S(function(){return arguments}())=="Arguments";l.exports=m?S:function(s){var h,o,a;return s===void 0?"Undefined":s===null?"Null":typeof(o=function(c,u){try{return c[u]}catch{}}(h=Object(s),_))=="string"?o:g?S(h):(a=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":a}},function(l,i,t){"use strict";var m=t(18);l.exports=function(){var S=m(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(l,i,t){var m=t(47),S=t(35),_=function(g){return function(s,h){var o,a,c=String(S(s)),u=m(h),p=c.length;return u<0||u>=p?g?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===p||(a=c.charCodeAt(u+1))<56320||a>57343?g?c.charAt(u):o:g?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};l.exports={codeAt:_(!1),charAt:_(!0)}},function(l,i,t){var m=t(4),S=t(27),_=t(61);m({target:"Object",stat:!0,forced:t(8)(function(){_(1)})},{keys:function(g){return _(S(g))}})},function(l,i,t){"use strict";var m=t(4),S=t(11),_=t(123),g=t(25),s=t(140),h=t(141),o=t(142),a=t(13),c=t(8),u=t(208),p=t(62),v=t(209);l.exports=function(f,r,e){var y=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=y?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];g(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!a(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!a(X))&&z.call(this,X===0?0:X)}:function(X,$){return z.call(this,X===0?0:X,$),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!c(function(){new E().entries().next()}))))D=e.getConstructor(r,f,y,x),s.REQUIRED=!0;else if(_(f,!0)){var F=new D,R=F[x](b?{}:-0,1)!=F,k=c(function(){F.has(1)}),G=u(function(Y){new E(Y)}),H=!b&&c(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=r(function(Y,z){o(Y,D,f);var X=v(new E,Y,D);return z!=null&&h(z,X[x],X,y),X})).prototype=w,w.constructor=D),(k||H)&&(N("delete"),N("has"),y&&N("get")),(H||R)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,m({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,y),D}},function(l,i,t){var m=t(45),S=t(13),_=t(14),g=t(15).f,s=t(58),h=t(204),o=s("meta"),a=0,c=Object.isExtensible||function(){return!0},u=function(v){g(v,o,{value:{objectID:"O"+ ++a,weakData:{}}})},p=l.exports={REQUIRED:!1,fastKey:function(v,f){if(!S(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!_(v,o)){if(!c(v))return"F";if(!f)return"E";u(v)}return v[o].objectID},getWeakData:function(v,f){if(!_(v,o)){if(!c(v))return!0;if(!f)return!1;u(v)}return v[o].weakData},onFreeze:function(v){return h&&p.REQUIRED&&c(v)&&!_(v,o)&&u(v),v}};m[o]=!0},function(l,i,t){var m=t(18),S=t(205),_=t(26),g=t(87),s=t(206),h=t(207),o=function(a,c){this.stopped=a,this.result=c};(l.exports=function(a,c,u,p,v){var f,r,e,y,b,x,E,w=g(c,u,p?2:1);if(v)f=a;else{if(typeof(r=s(a))!="function")throw TypeError("Target is not iterable");if(S(r)){for(e=0,y=_(a.length);y>e;e++)if((b=p?w(m(E=a[e])[0],E[1]):w(a[e]))&&b instanceof o)return b;return new o(!1)}f=r.call(a)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof o)return b;return new o(!1)}).stop=function(a){return new o(!0,a)}},function(l,i){l.exports=function(t,m,S){if(!(t instanceof m))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return t}},function(l,i,t){"use strict";var m=t(15).f,S=t(60),_=t(210),g=t(87),s=t(142),h=t(141),o=t(88),a=t(211),c=t(16),u=t(140).fastKey,p=t(43),v=p.set,f=p.getterFor;l.exports={getConstructor:function(r,e,y,b){var x=r(function(T,N){s(T,x,e),v(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),c||(T.size=0),N!=null&&h(N,T[b],T,y)}),E=f(e),w=function(T,N,F){var R,k,G=E(T),H=D(T,N);return H?H.value=F:(G.last=H={index:k=u(N,!0),key:N,value:F,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=H),R&&(R.next=H),c?G.size++:T.size++,k!=="F"&&(G.index[k]=H)),T},D=function(T,N){var F,R=E(T),k=u(N);if(k!=="F")return R.index[k];for(F=R.first;F;F=F.next)if(F.key==N)return F};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,F=T.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=void 0),delete N[F.index],F=F.next;T.first=T.last=void 0,c?T.size=0:this.size=0},delete:function(T){var N=E(this),F=D(this,T);if(F){var R=F.next,k=F.previous;delete N.index[F.index],F.removed=!0,k&&(k.next=R),R&&(R.previous=k),N.first==F&&(N.first=R),N.last==F&&(N.last=k),c?N.size--:this.size--}return!!F},forEach:function(T){for(var N,F=E(this),R=g(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:F.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,y?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),c&&m(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(r,e,y){var b=e+" Iterator",x=f(e),E=f(b);o(r,e,function(w,D){v(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},y?"entries":"values",!y,!0),a(e)}}},function(l,i,t){"use strict";var m,S=t(4),_=t(55).f,g=t(26),s=t(222),h=t(35),o=t(224),a=t(44),c="".endsWith,u=Math.min,p=o("endsWith");S({target:"String",proto:!0,forced:!!(a||p||(m=_(String.prototype,"endsWith"),!m||m.writable))&&!p},{endsWith:function(v){var f=String(h(this));s(v);var r=arguments.length>1?arguments[1]:void 0,e=g(f.length),y=r===void 0?e:u(g(r),e),b=String(v);return c?c.call(f,b,y):f.slice(y-b.length,y)===b}})},function(l,i,t){"use strict";(function(m){var S=t(229),_=t(230),g=t(231);function s(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(o.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return oe(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return oe(P).length;C=(""+C).toLowerCase(),L=!0}}function r(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return H(this,C,B);case"utf8":case"utf-8":return R(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return F(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function y(P,C,B,L,M){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=M?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(M)return-1;B=P.length-1}else if(B<0){if(!M)return-1;B=0}if(typeof C=="string"&&(C=o.from(C,L)),o.isBuffer(C))return C.length===0?-1:b(P,C,B,L,M);if(typeof C=="number")return C&=255,o.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,M);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,M){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function _e(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(M){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Me=!0,je=0;jeM&&(L=M):L=M;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,_e.push(me),_e.push(ae);return _e}(C,P.length-B),P,B,L)}function F(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function R(P,C,B){B=Math.min(P.length,B);for(var L=[],M=C;M239?4:_e>223?3:_e>191?2:1;if(M+Me<=B)switch(Me){case 1:_e<128&&(Ae=_e);break;case 2:(192&(q=P[M+1]))==128&&(me=(31&_e)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[M+1],W=P[M+2],(192&q)==128&&(192&W)==128&&(me=(15&_e)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[M+1],W=P[M+2],ae=P[M+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&_e)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Me=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),M+=Me}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},o.prototype.compare=function(P,C,B,L,M){if(!o.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),M===void 0&&(M=this.length),C<0||B>P.length||L<0||M>this.length)throw new RangeError("out of range index");if(L>=M&&C>=B)return 0;if(L>=M)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(M>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,M),_e=P.slice(C,B),Ae=0;AeM)&&(B=M),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var M=C;ML)&&(B=L);for(var M="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,M,q){if(!o.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>M||CP.length)throw new RangeError("Index out of range")}function $(P,C,B,L){C<0&&(C=65535+C+1);for(var M=0,q=Math.min(P.length-B,2);M>>8*(L?M:1-M)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var M=0,q=Math.min(P.length-B,4);M>>8*(L?M:3-M)&255}function ne(P,C,B,L,M,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,M){return M||ne(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,M){return M||ne(P,0,B,8),_.write(P,C,B,L,52,8),B+8}o.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(M*=256);)L+=this[P+--C]*M;return L},o.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},o.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},o.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},o.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},o.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},o.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],M=1,q=0;++q=(M*=128)&&(L-=Math.pow(2,8*C)),L},o.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,M=1,q=this[P+--L];L>0&&(M*=256);)q+=this[P+--L]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*C)),q},o.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},o.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},o.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},o.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},o.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},o.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},o.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},o.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},o.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var M=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+M]=P/q&255;return C+B},o.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},o.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):$(this,P,C,!0),C+2},o.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):$(this,P,C,!1),C+2},o.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},o.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},o.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var M=Math.pow(2,8*B-1);X(this,P,C,B,M-1,-M)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},o.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),o.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},o.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):$(this,P,C,!0),C+2},o.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):$(this,P,C,!1),C+2},o.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},o.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),o.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},o.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},o.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},o.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},o.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},o.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--M)P[M+C]=this[M+B];else if(q<1e3||!o.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!M){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}M=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),M=B;continue}B=65536+(M-55296<<10|B-56320)}else M&&(C-=3)>-1&&q.push(239,191,189);if(M=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ie,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var M=0;M=C.length||M>=P.length);++M)C[M+B]=P[M];return M}}).call(this,t(78))},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.isASCIIByte=function(m){return m>=0&&m<=127}},function(l,i,t){"use strict";var m=this&&this.__read||function(_,g){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,o,a=s.call(_),c=[];try{for(;(g===void 0||g-- >0)&&!(h=a.next()).done;)c.push(h.value)}catch(u){o={error:u}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}return c},S=this&&this.__spread||function(){for(var _=[],g=0;g=65&&s<=90&&(_[g]=s+32)}},i.byteUppercase=function(_){for(var g=0;g<_.length;g++){var s=_[g];s>=97&&s<=122&&(_[g]=s-32)}},i.byteCaseInsensitiveMatch=function(_,g){if(_.length!==g.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],o=g[s];if(h>=65&&h<=90&&(h+=32),o>=65&&o<=90&&(o+=32),h!==o)return!1}return!0},i.startsWith=function(_,g){for(var s=0;;){if(s>=_.length)return!1;if(s>=g.length)return!0;if(_[s]!==g[s])return!1;s++}},i.byteLessThan=function(_,g){for(var s=0;;){if(s>=_.length)return!1;if(s>=g.length)return!0;var h=_[s],o=g[s];if(ho)return!1;s++}},i.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(6),S=t(7),_=t(0),g=t(12),s=function(){function h(o){this._associatedDocument=o||m.dom.window.document}return h.prototype.createDocumentType=function(o,a,c){return _.namespace_validate(o),_.create_documentType(this._associatedDocument,o,a,c)},h.prototype.createDocument=function(o,a,c){c===void 0&&(c=null);var u=_.create_xmlDocument(),p=null;return a&&(p=_.document_internalCreateElementNS(u,o,a)),c&&u.appendChild(c),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,o===S.namespace.HTML?u._contentType="application/xhtml+xml":o===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(o){var a=_.create_document();a._type="html",a._contentType="text/html",a.appendChild(_.create_documentType(a,"html","",""));var c=_.element_createAnElement(a,"html",S.namespace.HTML);a.appendChild(c);var u=_.element_createAnElement(a,"head",S.namespace.HTML);if(c.appendChild(u),o!==void 0){var p=_.element_createAnElement(a,"title",S.namespace.HTML);u.appendChild(p);var v=_.create_text(a,o);p.appendChild(v)}var f=_.element_createAnElement(a,"body",S.namespace.HTML);return c.appendChild(f),a._origin=this._associatedDocument._origin,a},h.prototype.hasFeature=function(){return!0},h._create=function(o){return new h(o)},h}();i.DOMImplementationImpl=s,g.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),g=t(1),s=t(0),h=function(o){function a(){var c=o.call(this)||this;return c._signalSlots=new Set,c._mutationObserverMicrotaskQueued=!1,c._mutationObservers=new Set,c._iteratorList=new g.FixedSizeSet,c._associatedDocument=s.create_document(),c}return S(a,o),Object.defineProperty(a.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),a._create=function(){return new a},a}(_.EventTargetImpl);i.WindowImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=function(){function _(){}return _.isNode=function(g){return!!g&&g._nodeType!==void 0},_.isDocumentNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.Document},_.isDocumentTypeNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.DocumentType},_.isDocumentFragmentNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.DocumentFragment},_.isAttrNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.Attribute},_.isCharacterDataNode=function(g){if(!_.isNode(g))return!1;var s=g._nodeType;return s===m.NodeType.Text||s===m.NodeType.ProcessingInstruction||s===m.NodeType.Comment||s===m.NodeType.CData},_.isTextNode=function(g){return _.isNode(g)&&(g._nodeType===m.NodeType.Text||g._nodeType===m.NodeType.CData)},_.isExclusiveTextNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.Text},_.isCDATASectionNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.CData},_.isCommentNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.Comment},_.isProcessingInstructionNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.ProcessingInstruction},_.isElementNode=function(g){return _.isNode(g)&&g._nodeType===m.NodeType.Element},_.isCustomElementNode=function(g){return _.isElementNode(g)&&g._customElementState==="custom"},_.isShadowRoot=function(g){return!!g&&g.host!==void 0},_.isMouseEvent=function(g){return!!g&&g.screenX!==void 0&&g.screenY!=null},_.isSlotable=function(g){return!!g&&g._name!==void 0&&g._assignedSlot!==void 0&&(_.isTextNode(g)||_.isElementNode(g))},_.isSlot=function(g){return!!g&&g._name!==void 0&&g._assignedNodes!==void 0&&_.isElementNode(g)},_.isWindow=function(g){return!!g&&g.navigator!==void 0},_.isEventListener=function(g){return!!g&&g.handleEvent!==void 0},_.isRegisteredObserver=function(g){return!!g&&g.observer!==void 0&&g.options!==void 0},_.isTransientRegisteredObserver=function(g){return!!g&&g.source!==void 0&&_.isRegisteredObserver(g)},_}();i.Guard=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(g,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(g,s)},function(g,s){function h(){this.constructor=g}m(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(g){function s(){return g.call(this)||this}return S(s,g),s}(t(98).DocumentImpl);i.XMLDocumentImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(L){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&L[M],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,M){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),_e=[];try{for(;(M===void 0||M-- >0)&&!(W=me.next()).done;)_e.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return _e};Object.defineProperty(i,"__esModule",{value:!0});var _,g=t(1),s=t(243),h=t(7),o=t(244),a={ftp:21,file:null,http:80,https:443,ws:80,wss:443},c=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,r=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function y(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in a}function x(L){return b(L.scheme)}function E(L){return a[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,M){var q,W;M===void 0&&(M=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=m(L.path),_e=me.next();!_e.done;_e=me.next())ae+="/"+_e.value}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),M||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return g.isNumber(L)?N(L):g.isArray(L)?"["+F(L)+"]":L}function N(L){for(var M="",q=L,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function F(L){for(var M="",q=null,W=-1,ae=0,me=0,_e=0;_e<8;_e++)if(L[_e]===0){ae=1;for(var Ae=_e+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=_e)}me>1&&(q=W);for(var Me=!1,je=0;je<8;je++)Me&&L[je]===0||(Me&&(Me=!1),q!==je?(M+=L[je].toString(16),je!==7&&(M+=":")):(M+=je===0?"::":":",Me=!0));return M}function R(L,M,q,W,ae){var me,_e,Ae,Me;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;M===void 0&&(M=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new g.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&M!==null&&M.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=M.scheme,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):M.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,se.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=h.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,m(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,v);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(zt){me={error:zt}}finally{try{be&&!be.done&&(_e=xe.return)&&_e.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=$(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=$(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(se.c()){case"":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=h.list.clone(M.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=M.host,W.path=h.list.clone(M.path),W.query=M.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=h.list.clone(M.path),H(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(M===null||M.scheme!=="file"||X(se.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=$(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))H(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var $e=Array.from(K);K=$e.slice(0,1)+":"+$e.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),c)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=g.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,m(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(zt){Ae={error:zt}}finally{try{wt&&!wt.done&&(Me=Et.return)&&Me.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var M=L.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function H(L){var M=L.path;M.length!==0&&(L.scheme==="file"&&M.length===1&&Y(M[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function $(L,M){if(M===void 0&&(M=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(M)return ve(L);var q=B(g.utf8Decode(le(L)));if(q===null||r.test(q))return e("Invalid domain."),null;var W=ne(q);return W===null||g.isNumber(W)?W:q}function ee(L,M){M===void 0&&(M={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(M.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(M.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function ne(L){var M,q,W,ae,me={value:!1},_e=L.split(".");if(_e[_e.length-1]===""&&(me.value=!0,_e.length>1&&_e.pop()),_e.length>4)return L;var Ae=[];try{for(var Me=m(_e),je=Me.next();!je.done;je=Me.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){M={error:Fe}}finally{try{je&&!je.done&&(q=Me.return)&&q.call(Me)}finally{if(M)throw M.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=m(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var M,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new g.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var _e=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)_e=16*_e+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Me=0;me.c()!=="";){var je=null;if(Me>0){if(!(me.c()==="."&&Me<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Me!==2&&Me!==4||W++}if(Me!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=_e,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)M=S([q[ae+Ye-1],q[W]],2),q[W]=M[0],q[ae+Ye-1]=M[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=m(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,c)}catch(_e){M={error:_e}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function ie(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function oe(L){for(var M=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||M(L[ae+1])&&M(L[ae+2])){var _e=parseInt(g.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=_e,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return oe(g.utf8Encode(L))}function fe(L,M){var q,W;if(!M.test(L))return L;var ae=g.utf8Encode(L),me="";try{for(var _e=m(ae),Ae=_e.next();!Ae.done;Ae=_e.next())me+=Q(Ae.value)}catch(Me){q={error:Me}}finally{try{Ae&&!Ae.done&&(W=_e.return)&&W.call(_e)}finally{if(q)throw q.error}}return me}function P(L){var M,q,W,ae,me=[],_e=[];try{for(var Ae=m(L),Me=Ae.next();!Me.done;Me=Ae.next()){var je=Me.value;je===38?(me.push(Uint8Array.from(_e)),_e=[]):_e.push(je)}}catch(be){M={error:be}}finally{try{Me&&!Me.done&&(q=Ae.return)&&q.call(Ae)}finally{if(M)throw M.error}}_e.length!==0&&me.push(Uint8Array.from(_e));var ot=[];try{for(var Ye=m(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&_e<=57||_e>=65&&_e<=90||_e===95||_e>=97&&_e<=122?String.fromCodePoint(_e):Q(_e)}}catch(Ae){M={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(M)throw M.error}}return W}function B(L,M){M===void 0&&(M=!1);var q=o.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}i.setValidationErrorCallback=function(L){_=L},i.newURL=y,i.isSpecialScheme=b,i.isSpecial=x,i.defaultPort=E,i.includesCredentials=w,i.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},i.urlSerializer=D,i.hostSerializer=T,i.iPv4Serializer=N,i.iPv6Serializer=F,i.urlParser=function(L,M,q){var W=R(L,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},i.basicURLParser=R,i.setTheUsername=function(L,M){var q,W,ae="";try{for(var me=m(M),_e=me.next();!_e.done;_e=me.next())ae+=fe(_e.value,v)}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},i.setThePassword=function(L,M){var q,W,ae="";try{for(var me=m(M),_e=me.next();!_e.done;_e=me.next())ae+=fe(_e.value,v)}catch(Ae){q={error:Ae}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},i.isSingleDotPathSegment=k,i.isDoubleDotPathSegment=G,i.shorten=H,i.isNormalizedWindowsDriveLetter=Y,i.isWindowsDriveLetter=z,i.startsWithAWindowsDriveLetter=X,i.hostParser=$,i.iPv4NumberParser=ee,i.iPv4Parser=ne,i.iPv6Parser=de,i.opaqueHostParser=ve,i.resolveABlobURL=ie,i.percentEncode=Q,i.percentDecode=oe,i.stringPercentDecode=le,i.utf8PercentEncode=fe,i.hostEquals=function(L,M){return L===M},i.urlEquals=function(L,M,q){return q===void 0&&(q=!1),D(L,q)===D(M,q)},i.urlEncodedStringParser=function(L){return P(g.utf8Encode(L))},i.urlEncodedParser=P,i.urlEncodedByteSerializer=C,i.urlEncodedSerializer=function(L,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=m(L),_e=me.next();!_e.done;_e=me.next()){var Ae=_e.value,Me=C(g.utf8Encode(Ae[0])),je=Ae[1];je=C(g.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Me+"="+je}}catch(ot){q={error:ot}}finally{try{_e&&!_e.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},i.origin=function L(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return s.OpaqueOrigin}},i.domainToASCII=B,i.domainToUnicode=function(L,M){M===void 0&&(M=!1);var q=o.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},i.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var M=L[0]+"://"+T(L[1]);return L[2]!==null&&(M+=":"+L[2].toString()),M}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(0),S=function(){function _(){this._signal=m.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){m.abort_signalAbort(this._signal)},_}();i.AbortControllerImpl=S},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(70),g=t(0),s=function(h){function o(){var a=h.call(this)||this;return a._abortedFlag=!1,a._abortAlgorithms=new Set,a}return S(o,h),Object.defineProperty(o.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"onabort",{get:function(){return g.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(a){g.event_setterEventHandlerIDLAttribute(this,"onabort",a)},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);i.AbortSignalImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),g=t(34),s=t(12),h=function(o){function a(c,u,p){var v=o.call(this)||this;return v._name="",v._publicId="",v._systemId="",v._name=c,v._publicId=u,v._systemId=p,v}return S(a,o),Object.defineProperty(a.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),a.prototype.before=function(){for(var c=[],u=0;u=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),g=t(0),s=function(){function h(o){return this._live=!0,this._filter=null,this._length=0,this._root=o,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(o){if(o<0||o>this.length-1)return null;if(o=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(1),g=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(o){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var o=0;return{next:function(){return o===this.length?{done:!0,value:null}:{done:!1,value:o++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator]();return{next:function(){return o.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var o=this[Symbol.iterator](),a=0;return{next:function(){var c=o.next();return c.done?{done:!0,value:null}:{done:!1,value:[a++,c.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,o){var a,c;o===void 0&&(o=S.dom.window);var u=0;try{for(var p=m(this._items),v=p.next();!v.done;v=p.next()){var f=v.value;h.call(o,f,u++,this)}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}},s.prototype.get=function(h,o,a){if(!_.isString(o))return Reflect.get(h,o,a);var c=Number(o);return isNaN(c)?Reflect.get(h,o,a):h._items[c]||void 0},s.prototype.set=function(h,o,a,c){if(!_.isString(o))return Reflect.set(h,o,a,c);var u=Number(o);return isNaN(u)?Reflect.set(h,o,a,c):u>=0&&u=v.length&&(v=void 0),{value:v&&v[e++],done:!v}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(6),s=t(2),h=t(102),o=t(9),a=t(0),c=t(12),u=t(3),p=function(v){function f(){var r=v.call(this)||this,e=g.dom.window._associatedDocument;return r._start=[e,0],r._end=[e,0],g.dom.rangeList.add(r),r}return S(f,v),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var r=this._start[0];!a.tree_isAncestorOf(this._end[0],r,!0);){if(r._parent===null)throw new Error("Parent node is null.");r=r._parent}return r},enumerable:!0,configurable:!0}),f.prototype.setStart=function(r,e){a.range_setTheStart(this,r,e)},f.prototype.setEnd=function(r,e){a.range_setTheEnd(this,r,e)},f.prototype.setStartBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r))},f.prototype.setStartAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheStart(this,e,a.tree_index(r)+1)},f.prototype.setEndBefore=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r))},f.prototype.setEndAfter=function(r){var e=r._parent;if(e===null)throw new o.InvalidNodeTypeError;a.range_setTheEnd(this,e,a.tree_index(r)+1)},f.prototype.collapse=function(r){r?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(r){a.range_select(r,this)},f.prototype.selectNodeContents=function(r){if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;var e=a.tree_nodeLength(r);this._start=[r,0],this._end=[r,e]},f.prototype.compareBoundaryPoints=function(r,e){if(r!==s.HowToCompare.StartToStart&&r!==s.HowToCompare.StartToEnd&&r!==s.HowToCompare.EndToEnd&&r!==s.HowToCompare.EndToStart)throw new o.NotSupportedError;if(a.range_root(this)!==a.range_root(e))throw new o.WrongDocumentError;var y,b;switch(r){case s.HowToCompare.StartToStart:y=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:y=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:y=this._end,b=e._end;break;case s.HowToCompare.EndToStart:y=this._start,b=e._end;break;default:throw new o.NotSupportedError}var x=a.boundaryPoint_position(y,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var r,e,y,b;if(!a.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))a.characterData_replaceData(x,E,D-E,"");else{var T,N,F=[];try{for(var R=_(a.range_getContainedNodes(this)),k=R.next();!k.done;k=R.next()){var G=(X=k.value)._parent;G!==null&&a.range_isContained(G,this)||F.push(X)}}catch($){r={error:$}}finally{try{k&&!k.done&&(e=R.return)&&e.call(R)}finally{if(r)throw r.error}}if(a.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var H=x;H._parent!==null&&!a.tree_isAncestorOf(w,H._parent,!0);)H=H._parent;if(H._parent===null)throw new Error("Parent node is null.");T=H._parent,N=a.tree_index(H)+1}u.Guard.isCharacterDataNode(x)&&a.characterData_replaceData(x,E,a.tree_nodeLength(x)-E,"");try{for(var Y=_(F),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&a.mutation_remove(X,X._parent)}}catch($){y={error:$}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(y)throw y.error}}u.Guard.isCharacterDataNode(w)&&a.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return a.range_extract(this)},f.prototype.cloneContents=function(){return a.range_cloneTheContents(this)},f.prototype.insertNode=function(r){return a.range_insert(r,this)},f.prototype.surroundContents=function(r){var e,y;try{for(var b=_(a.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new o.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(y=b.return)&&y.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(r)||u.Guard.isDocumentTypeNode(r)||u.Guard.isDocumentFragmentNode(r))throw new o.InvalidNodeTypeError;var w=a.range_extract(this);r._children.size!==0&&a.mutation_replaceAll(null,r),a.range_insert(r,this),a.mutation_append(w,r),a.range_select(r,this)},f.prototype.cloneRange=function(){return a.create_range(this._start,this._end)},f.prototype.detach=function(){g.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var y=[r,e];return a.boundaryPoint_position(y,this._start)!==s.BoundaryPosition.Before&&a.boundaryPoint_position(y,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(r,e){if(a.tree_rootNode(r)!==a.range_root(this))throw new o.WrongDocumentError;if(u.Guard.isDocumentTypeNode(r))throw new o.InvalidNodeTypeError;if(e>a.tree_nodeLength(r))throw new o.IndexSizeError;var y=[r,e];return a.boundaryPoint_position(y,this._start)===s.BoundaryPosition.Before?-1:a.boundaryPoint_position(y,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(r){if(a.tree_rootNode(r)!==a.range_root(this))return!1;var e=r._parent;if(e===null)return!0;var y=a.tree_index(r);return a.boundaryPoint_position([e,y],this._end)===s.BoundaryPosition.Before&&a.boundaryPoint_position([e,y+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var r,e,y="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(y+=this._startNode._data.substring(this._startOffset));try{for(var b=_(a.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(y+=E._data)}}catch(w){r={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return u.Guard.isTextNode(this._endNode)&&(y+=this._endNode._data.substring(0,this._endOffset)),y},f._create=function(r,e){var y=new f;return r&&(y._start=r),e&&(y._end=e),y},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);i.RangeImpl=p,c.idl_defineConst(p.prototype,"START_TO_START",0),c.idl_defineConst(p.prototype,"START_TO_END",1),c.idl_defineConst(p.prototype,"END_TO_END",2),c.idl_defineConst(p.prototype,"END_TO_START",3)},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(103),g=t(0),s=function(h){function o(a,c,u){var p=h.call(this,a)||this;return p._iteratorCollection=void 0,p._reference=c,p._pointerBeforeReference=u,g.nodeIterator_iteratorList().add(p),p}return S(o,h),Object.defineProperty(o.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),o.prototype.nextNode=function(){return g.nodeIterator_traverse(this,!0)},o.prototype.previousNode=function(){return g.nodeIterator_traverse(this,!1)},o.prototype.detach=function(){g.nodeIterator_iteratorList().delete(this)},o._create=function(a,c,u){return new o(a,c,u)},o}(_.TraverserImpl);i.NodeIteratorImpl=s},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(2),g=t(103),s=t(0),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._current=u,p}return S(a,o),Object.defineProperty(a.prototype,"currentNode",{get:function(){return this._current},set:function(c){this._current=c},enumerable:!0,configurable:!0}),a.prototype.parentNode=function(){for(var c=this._current;c!==null&&c!==this._root;)if((c=c._parent)!==null&&s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c;return null},a.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},a.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},a.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},a.prototype.previousNode=function(){for(var c=this._current;c!==this._root;){for(var u=c._previousSibling;u;){c=u;for(var p=s.traversal_filter(this,c);p!==_.FilterResult.Reject&&c._lastChild;)c=c._lastChild,p=s.traversal_filter(this,c);if(p===_.FilterResult.Accept)return this._current=c,c;u=c._previousSibling}if(c===this._root||c._parent===null)return null;if(c=c._parent,s.traversal_filter(this,c)===_.FilterResult.Accept)return this._current=c,c}return null},a.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},a.prototype.nextNode=function(){for(var c=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&c._firstChild;)if(c=c._firstChild,(u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c;for(var p=null,v=c;v!==null;){if(v===this._root)return null;if((p=v._nextSibling)!==null){c=p;break}v=v._parent}if((u=s.traversal_filter(this,c))===_.FilterResult.Accept)return this._current=c,c}},a._create=function(c,u){return new a(c,u)},a}(g.TraverserImpl);i.TreeWalkerImpl=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(12),_=function(){function g(){}return g.prototype.acceptNode=function(s){return m.FilterResult.Accept},g._create=function(){return new g},g.FILTER_ACCEPT=1,g.FILTER_REJECT=2,g.FILTER_SKIP=3,g.SHOW_ALL=4294967295,g.SHOW_ELEMENT=1,g.SHOW_ATTRIBUTE=2,g.SHOW_TEXT=4,g.SHOW_CDATA_SECTION=8,g.SHOW_ENTITY_REFERENCE=16,g.SHOW_ENTITY=32,g.SHOW_PROCESSING_INSTRUCTION=64,g.SHOW_COMMENT=128,g.SHOW_DOCUMENT=256,g.SHOW_DOCUMENT_TYPE=512,g.SHOW_DOCUMENT_FRAGMENT=1024,g.SHOW_NOTATION=2048,g}();i.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_,g,s,h,o,a,c,u,p){this._type=_,this._target=g,this._addedNodes=s,this._removedNodes=h,this._previousSibling=o,this._nextSibling=a,this._attributeName=c,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,g,s,h,o,a,c,u,p){return new S(_,g,s,h,o,a,c,u,p)},S}();i.MutationRecordImpl=m},function(l,i,t){"use strict";var m=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(9),g=t(7),s=t(0),h=function(){function o(a,c){this._element=a,this._attribute=c,this._tokenSet=new Set;var u=c._localName,p=s.element_getAnAttributeValue(a,u),v=this;this._element._attributeChangeSteps.push(function(f,r,e,y,b){r===v._attribute._localName&&b===null&&(y?v._tokenSet=s.orderedSet_parse(y):v._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(a,u,p,p,null)}return Object.defineProperty(o.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),o.prototype.item=function(a){var c,u,p=0;try{for(var v=m(this._tokenSet),f=v.next();!f.done;f=v.next()){var r=f.value;if(p===a)return r;p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}return null},o.prototype.contains=function(a){return this._tokenSet.has(a)},o.prototype.add=function(){for(var a,c,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&g<=57343&&(S++,(_=1024*(_-55296)+g-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},i.xml_isQName=function(m){for(var S=!1,_=0;_=97&&g<=122||g>=65&&g<=90||g===95||g>=192&&g<=214||g>=216&&g<=246||g>=248&&g<=767||g>=880&&g<=893||g>=895&&g<=8191||g>=8204&&g<=8205||g>=8304&&g<=8591||g>=11264&&g<=12271||g>=12289&&g<=55295||g>=63744&&g<=64975||g>=65008&&g<=65533)&&(_===0||!(g===45||g===46||g>=48&&g<=57||g===183||g>=768&&g<=879||g>=8255&&g<=8256))){if(_===0||g!==58){if(g>=55296&&g<=56319&&_=56320&&s<=57343&&(_++,(g=1024*(g-55296)+s-56320+65536)>=65536&&g<=983039))continue}return!1}if(S||_===m.length-1)return!1;S=!0}}return!0},i.xml_isLegalChar=function(m){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&g<=57343&&(S++,(_=1024*(_-55296)+g-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},i.xml_isPubidChar=function(m){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(17);i.boundaryPoint_position=function _(g,s){var h=g[0],o=g[1],a=s[0],c=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(a),"Boundary points must share the same root node."),h===a)return o===c?m.BoundaryPosition.Equal:o=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),g=t(7),s=t(29),h=t(108),o=t(30),a=t(37),c=t(52);i.node_stringReplaceAll=function(u,p){var v=null;u!==""&&(v=s.create_text(p._nodeDocument,u)),a.mutation_replaceAll(v,p)},i.node_clone=function u(p,v,f){var r,e,y,b,x;if(v===void 0&&(v=null),f===void 0&&(f=!1),v===null&&(v=p._nodeDocument),_.Guard.isElementNode(p)){x=c.element_createAnElement(v,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=m(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,v);c.element_append(D,x)}}catch(G){r={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(r)throw r.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(v,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(v,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(v,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(v,p._data):_.Guard.isCommentNode(p)?s.create_comment(v,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(v,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(v):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,v=x):x._nodeDocument=v,S.dom.features.steps&&o.dom_runCloningSteps(x,p,v,f),f)try{for(var F=m(p._children),R=F.next();!R.done;R=F.next()){var k=u(R.value,v,!0);a.mutation_append(k,x)}}catch(G){y={error:G}}finally{try{R&&!R.done&&(b=F.return)&&b.call(F)}finally{if(y)throw y.error}}return x},i.node_equals=function u(p,v){var f,r,e,y;if(p._nodeType!==v._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(v)){if(p._name!==v._name||p._publicId!==v._publicId||p._systemId!==v._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){if(p._namespace!==v._namespace||p._namespacePrefix!==v._namespacePrefix||p._localName!==v._localName||p._attributeList.length!==v._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(v)){if(p._namespace!==v._namespace||p._localName!==v._localName||p._value!==v._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(v)){if(p._target!==v._target||p._data!==v._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(v)&&p._data!==v._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(v)){var b={};try{for(var x=m(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch(H){f={error:H}}finally{try{E&&!E.done&&(r=x.return)&&r.call(x)}finally{if(f)throw f.error}}try{for(var w=m(v._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch(H){e={error:H}}finally{try{D&&!D.done&&(y=w.return)&&y.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==v._children.size)return!1;for(var F=p._children[Symbol.iterator](),R=v._children[Symbol.iterator](),k=F.next(),G=R.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=F.next(),G=R.next()}return!0},i.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(v){return v._namespace===g.namespace.HTML&&v._qualifiedName===u.toLowerCase()||v._namespace!==g.namespace.HTML&&v._qualifiedName===u}):s.create_htmlCollection(p,function(v){return v._qualifiedName===u})},i.node_listOfElementsWithNamespace=function(u,p,v){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(v):u==="*"?s.create_htmlCollection(v,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(v,function(f){return f._namespace===u}):s.create_htmlCollection(v,function(f){return f._localName===p&&f._namespace===u})},i.node_listOfElementsWithClassNames=function(u,p){var v=h.orderedSet_parse(u);if(v.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(r){var e=r.classList;return h.orderedSet_contains(e._tokenSet,v,f)})},i.node_locateANamespacePrefix=function u(p,v){if(p._namespace===v&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),g=t(9),s=t(29),h=t(17),o=t(107),a=t(37);i.text_contiguousTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_contiguousExclusiveTextNodes=function(c,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var v=c;v&&_.Guard.isExclusiveTextNode(v._previousSibling);)v=v._previousSibling;return{next:function(){if(v&&!u&&v===c&&(v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null),v===null)return{done:!0,value:null};var f={done:!1,value:v};return v=_.Guard.isExclusiveTextNode(v._nextSibling)?v._nextSibling:null,f}}},p},i.text_descendantTextContent=function(c){for(var u="",p=h.tree_getFirstDescendantNode(c,!1,!1,function(v){return _.Guard.isTextNode(v)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(c,p,!1,!1,function(v){return _.Guard.isTextNode(v)});return u},i.text_split=function(c,u){var p,v,f=c._data.length;if(u>f)throw new g.IndexSizeError;var r=f-u,e=o.characterData_substringData(c,u,r),y=s.create_text(c._nodeDocument,e),b=c._parent;if(b!==null){a.mutation_insert(y,b,c._nextSibling);try{for(var x=m(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===c&&w._start[1]>u&&(w._start[0]=y,w._start[1]-=u),w._end[0]===c&&w._end[1]>u&&(w._end[0]=y,w._end[1]-=u);var D=h.tree_index(c);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(v=x.return)&&v.call(x)}finally{if(p)throw p.error}}}return o.characterData_replaceData(c,u,r,""),y}},function(l,i,t){"use strict";var m=t(4),S=t(41),_=t(24),g=t(48),s=[].join,h=S!=Object,o=g("join",",");m({target:"Array",proto:!0,forced:h||!o},{join:function(a){return s.call(_(this),a===void 0?",":a)}})},function(l,i,t){var m=t(4),S=t(83),_=String.fromCharCode,g=String.fromCodePoint;m({target:"String",stat:!0,forced:!!g&&g.length!=1},{fromCodePoint:function(s){for(var h,o=[],a=arguments.length,c=0;a>c;){if(h=+arguments[c++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");o.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return o.join("")}})},function(l,i,t){"use strict";var m=this&&this.__read||function(g,s){var h=typeof Symbol=="function"&&g[Symbol.iterator];if(!h)return g;var o,a,c=h.call(g),u=[];try{for(;(s===void 0||s-- >0)&&!(o=c.next()).done;)u.push(o.value)}catch(p){a={error:p}}finally{try{o&&!o.done&&(h=c.return)&&h.call(c)}finally{if(a)throw a.error}}return u};Object.defineProperty(i,"__esModule",{value:!0});var S=t(111),_=function(){function g(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return g.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&g.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},g.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?g.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},g.prototype.declaration=function(){for(var s="",h="",o="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:o};var a=m(this.attribute(),2),c=a[0],u=a[1];c==="version"?s=u:c==="encoding"?h=u:c==="standalone"?o=u:this.throwError("Invalid attribute name: "+c)}this.throwError("Missing declaration end symbol `?>`")},g.prototype.doctype=function(){var s="",h="";this.skipSpace();var o=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:o,pubId:s,sysId:h}},g.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},g.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},g.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},g.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},g.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var o=this.attribute();h.push(o)}this.throwError("Missing opening element tag end symbol `>`")},g.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},g.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},g.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);g.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},g.prototype.eof=function(){return this._index>=this._length},g.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var o=0;othis._length&&(this._index=this._length)},g.prototype.skipSpace=function(){for(;!this.eof()&&g.isSpace(this._str[this._index]);)this._index++},g.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},g.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var o=this._index;this._indexthis._index){u=o.index;break}throw this.err={line:a,col:this._index-c,index:this._index,str:this._str.substring(c,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(i.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=b.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var q=b.parentNode;if(q===null)throw new Error("Parent node is null."+this._debugInfo());q.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,k,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,k)}:{done:!0,value:N.call(R,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},g.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},g}();i.XMLStringLexer=_},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(182)]})},function(l,i,t){"use strict";var m=t(39);l.exports=new m({include:[t(113)],implicit:[t(289),t(290),t(291),t(292)]})},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(91),S=t(1),_=t(3),g=t(77),s=t(109);function h(u,p){var v=a(u===void 0||o(u)?u:m.DefaultBuilderOptions),f=o(u)?p:u,r=s.createDocument();c(r,v);var e=new g.XMLBuilderImpl(r);return f!==void 0&&e.ele(f),e}function o(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!m.XMLBuilderOptionKeys.has(p))return!1;return!0}function a(u){u===void 0&&(u={});var p=S.applyDefaults(u,m.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function c(u,p,v){var f=u;f._xmlBuilderOptions=p,f._isFragment=v}i.builder=function(u,p){var v=a(o(u)?u:m.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var r=[],e=0;e0)&&!(y=x.next()).done;)E.push(y.value)}catch(w){b={error:w}}finally{try{y&&!y.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&f[r],y=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&y>=f.length&&(f=void 0),{value:f&&f[y++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(91),g=t(1),s=t(217),h=t(2),o=t(3),a=t(0),c=t(109),u=t(7),p=t(276),v=function(){function f(r){this._domNode=r}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(r){return this._options=g.applyDefaults(g.applyDefaults(this._options,r,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(r,e,y){var b,x,E,w,D,T;if(g.isObject(r))return new p.ObjectReader(this._options).parse(this,r);if(r!==null&&/^\s*0&&(r===void 0&&(r=e.slice(b+1)),e=e.slice(0,b)),r===void 0)r=y?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(r!==null&&r[0]==="@"){var x=r.slice(1);if((r=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[r,e]},f.prototype._updateNamespace=function(r){var e,y,b,x,E=this._domNode;if(o.Guard.isElementNode(E)&&r!==null&&E.namespaceURI!==r){var w=m(a.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=a.create_element(this._doc,T,r,D);try{for(var F=S(E.attributes),R=F.next();!R.done;R=F.next()){var k=R.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,H=m(a.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&H!==null&&(Y=E.lookupNamespaceURI(H)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{R&&!R.done&&(y=F.return)&&y.call(F)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),$=X.next();!$.done;$=X.next()){var ee=$.value.cloneNode(!0);if(N.appendChild(ee),o.Guard.isElementNode(ee)){var ne=m(a.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(ne);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{$&&!$.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var r=this.node;if(o.Guard.isDocumentNode(r))return r;var e=r.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(r){var e=this.node,y=e.parentNode;r=r||e.nodeName;var b=y?y.nodeName:"";return b?"node: <"+r+">, parent: <"+b+">":"node: <"+r+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var r=this._doc;if(r._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return r._xmlBuilderOptions},set:function(r){this._doc._xmlBuilderOptions=r},enumerable:!0,configurable:!0}),f}();i.XMLBuilderImpl=v},function(l,i,t){var m=t(11),S=t(117),_=m.WeakMap;l.exports=typeof _=="function"&&/native code/.test(S(_))},function(l,i,t){var m=t(46),S=t(82),_=t(85),g=t(18);l.exports=m("Reflect","ownKeys")||function(s){var h=S.f(g(s)),o=_.f;return o?h.concat(o(s)):h}},function(l,i,t){var m=t(16),S=t(15),_=t(18),g=t(61);l.exports=m?Object.defineProperties:function(s,h){_(s);for(var o,a=g(h),c=a.length,u=0;c>u;)S.f(s,o=a[u++],h[o]);return s}},function(l,i,t){var m=t(46);l.exports=m("document","documentElement")},function(l,i,t){var m=t(24),S=t(82).f,_={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];l.exports.f=function(s){return g&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return g.slice()}}(s):S(m(s))}},function(l,i,t){"use strict";var m=t(4),S=t(36).every,_=t(48),g=t(28),s=_("every"),h=g("every");m({target:"Array",proto:!0,forced:!s||!h},{every:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(36).filter,_=t(63),g=t(28),s=_("filter"),h=g("filter");m({target:"Array",proto:!0,forced:!s||!h},{filter:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(46);l.exports=m("navigator","userAgent")||""},function(l,i,t){"use strict";var m=t(4),S=t(36).find,_=t(130),g=t(28),s=!0,h=g("find");"find"in[]&&Array(1).find(function(){s=!1}),m({target:"Array",proto:!0,forced:s||!h},{find:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(l,i,t){"use strict";var m=t(131).IteratorPrototype,S=t(60),_=t(40),g=t(62),s=t(49),h=function(){return this};l.exports=function(o,a,c){var u=a+" Iterator";return o.prototype=S(m,{next:_(1,c)}),g(o,u,!1,!0),s[u]=h,o}},function(l,i,t){var m=t(8);l.exports=!m(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(l,i,t){var m=t(13);l.exports=function(S){if(!m(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(l,i,t){"use strict";var m=t(4),S=t(36).map,_=t(63),g=t(28),s=_("map"),h=g("map");m({target:"Array",proto:!0,forced:!s||!h},{map:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(4),S=t(200).left,_=t(48),g=t(28),s=_("reduce"),h=g("reduce",{1:0});m({target:"Array",proto:!0,forced:!s||!h},{reduce:function(o){return S(this,o,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){var m=t(127),S=t(27),_=t(41),g=t(26),s=function(h){return function(o,a,c,u){m(a);var p=S(o),v=_(p),f=g(p.length),r=h?f-1:0,e=h?-1:1;if(c<2)for(;;){if(r in v){u=v[r],r+=e;break}if(r+=e,h?r<0:f<=r)throw TypeError("Reduce of empty array with no initial value")}for(;h?r>=0:f>r;r+=e)r in v&&(u=a(u,v[r],r,p));return u}};l.exports={left:s(!1),right:s(!0)}},function(l,i,t){"use strict";var m=t(4),S=t(36).some,_=t(48),g=t(28),s=_("some"),h=g("some");m({target:"Array",proto:!0,forced:!s||!h},{some:function(o){return S(this,o,arguments.length>1?arguments[1]:void 0)}})},function(l,i,t){"use strict";var m=t(90),S=t(135);l.exports=m?{}.toString:function(){return"[object "+S(this)+"]"}},function(l,i){l.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(l,i,t){var m=t(8);l.exports=!m(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(l,i,t){var m=t(5),S=t(49),_=m("iterator"),g=Array.prototype;l.exports=function(s){return s!==void 0&&(S.Array===s||g[_]===s)}},function(l,i,t){var m=t(135),S=t(49),_=t(5)("iterator");l.exports=function(g){if(g!=null)return g[_]||g["@@iterator"]||S[m(g)]}},function(l,i,t){var m=t(18);l.exports=function(S,_,g,s){try{return s?_(m(g)[0],g[1]):_(g)}catch(o){var h=S.return;throw h!==void 0&&m(h.call(S)),o}}},function(l,i,t){var m=t(5)("iterator"),S=!1;try{var _=0,g={next:function(){return{done:!!_++}},return:function(){S=!0}};g[m]=function(){return this},Array.from(g,function(){throw 2})}catch{}l.exports=function(s,h){if(!h&&!S)return!1;var o=!1;try{var a={};a[m]=function(){return{next:function(){return{done:o=!0}}}},s(a)}catch{}return o}},function(l,i,t){var m=t(13),S=t(133);l.exports=function(_,g,s){var h,o;return S&&typeof(h=g.constructor)=="function"&&h!==s&&m(o=h.prototype)&&o!==s.prototype&&S(_,o),_}},function(l,i,t){var m=t(25);l.exports=function(S,_,g){for(var s in _)m(S,s,_[s],g);return S}},function(l,i,t){"use strict";var m=t(46),S=t(15),_=t(5),g=t(16),s=_("species");l.exports=function(h){var o=m(h),a=S.f;g&&o&&!o[s]&&a(o,s,{configurable:!0,get:function(){return this}})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(g,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=g.length&&(g=void 0),{value:g&&g[o++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function g(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return g.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},g.prototype.delete=function(s){return this._items.delete(s)},g.prototype.has=function(s){return this._items.has(s)},g.prototype.clear=function(){this._items.clear()},Object.defineProperty(g.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),g.prototype.forEach=function(s,h){var o=this;this._items.forEach(function(a){return s.call(h,a,a,o)})},g.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},g.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},g.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},g.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(g.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),g}();i.FixedSizeSet=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(g,s){var h,o,a,c,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return c={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function p(v){return function(f){return function(r){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!((a=a.length>0&&a[a.length-1])||r[0]!==6&&r[0]!==2)){u=0;continue}if(r[0]===3&&(!a||r[1]>a[0]&&r[1]=g.length&&(g=void 0),{value:g&&g[o++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=function(){function g(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return g.prototype.get=function(s){return this._items.get(s)},g.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var o=this._items.keys().next();o.done||this._items.delete(o.value)}},g.prototype.delete=function(s){return this._items.delete(s)},g.prototype.has=function(s){return this._items.has(s)},g.prototype.clear=function(){this._items.clear()},Object.defineProperty(g.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),g.prototype.forEach=function(s,h){this._items.forEach(function(o,a){return s.call(h,a,o)})},g.prototype.keys=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},g.prototype.values=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},g.prototype.entries=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},g.prototype[Symbol.iterator]=function(){return m(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(g.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),g}();i.ObjectCache=_},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,g){if(this._items.get(_)===g)return!0;if(this._items.get(g)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,g):this._items.set(g,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();i.CompareCache=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();i.Lazy=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();i.StringWalker=m},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(218);i.MapWriter=m.MapWriter;var S=t(258);i.XMLWriter=S.XMLWriter;var _=t(67);i.ObjectWriter=_.ObjectWriter;var g=t(260);i.JSONWriter=g.JSONWriter;var s=t(261);i.YAMLWriter=s.YAMLWriter},function(l,i,t){"use strict";t(19),t(219),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(h,o){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u])})(h,o)},function(h,o){function a(){this.constructor=h}m(h,o),h.prototype=o===null?Object.create(o):(a.prototype=o.prototype,new a)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),g=t(67),s=function(h){function o(a,c){var u=h.call(this,a)||this;return u._writerOptions=_.applyDefaults(c,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(o,h),o.prototype.serialize=function(a){var c=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new g.ObjectWriter(this._builderOptions,c).serialize(a);return this._convertObject(u)},o.prototype._convertObject=function(a){if(_.isArray(a)){for(var c=0;c=51||!S(function(){var y=[];return y[v]=!1,y.concat()[0]!==y}),r=c("concat"),e=function(y){if(!g(y))return!1;var b=y[v];return b!==void 0?!!b:_(y)};m({target:"Array",proto:!0,forced:!f||!r},{concat:function(y){var b,x,E,w,D,T=s(this),N=a(T,0),F=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");o(N,F++,D)}return N.length=F,N}})},function(l,i,t){"use strict";var m=t(8);function S(_,g){return RegExp(_,g)}i.UNSUPPORTED_Y=m(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),i.BROKEN_CARET=m(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(l,i,t){var m=t(223);l.exports=function(S){if(m(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(l,i,t){var m=t(13),S=t(42),_=t(5)("match");l.exports=function(g){var s;return m(g)&&((s=g[_])!==void 0?!!s:S(g)=="RegExp")}},function(l,i,t){var m=t(5)("match");l.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[m]=!1,"/./"[S](_)}catch{}}return!1}},function(l,i,t){"use strict";t(68);var m=t(25),S=t(8),_=t(5),g=t(93),s=t(21),h=_("species"),o=!S(function(){var v=/./;return v.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(v,"$")!=="7"}),a="a".replace(/./,"$0")==="$0",c=_("replace"),u=!!/./[c]&&/./[c]("a","$0")==="",p=!S(function(){var v=/(?:)/,f=v.exec;v.exec=function(){return f.apply(this,arguments)};var r="ab".split(v);return r.length!==2||r[0]!=="a"||r[1]!=="b"});l.exports=function(v,f,r,e){var y=_(v),b=!S(function(){var N={};return N[y]=function(){return 7},""[v](N)!=7}),x=b&&!S(function(){var N=!1,F=/a/;return v==="split"&&((F={}).constructor={},F.constructor[h]=function(){return F},F.flags="",F[y]=/./[y]),F.exec=function(){return N=!0,null},F[y](""),!N});if(!b||!x||v==="replace"&&(!o||!a||u)||v==="split"&&!p){var E=/./[y],w=r(y,""[v],function(N,F,R,k,G){return F.exec===g?b&&!G?{done:!0,value:E.call(F,R,k)}:{done:!0,value:N.call(R,F,k)}:{done:!1}},{REPLACE_KEEPS_$0:a,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];m(String.prototype,v,D),m(RegExp.prototype,y,f==2?function(N,F){return T.call(N,this,F)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[y],"sham",!0)}},function(l,i,t){"use strict";var m=t(137).charAt;l.exports=function(S,_,g){return _+(g?m(S,_).length:1)}},function(l,i,t){var m=t(42),S=t(93);l.exports=function(_,g){var s=_.exec;if(typeof s=="function"){var h=s.call(_,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(m(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,g)}},function(l,i,t){"use strict";(function(m){Object.defineProperty(i,"__esModule",{value:!0});var S=t(96);i.forgivingBase64Encode=function(_){return m.from(_).toString("base64")},i.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?m.from(_,"base64").toString("utf8"):null)}}).call(this,t(145).Buffer)},function(l,i,t){"use strict";i.byteLength=function(c){var u=o(c),p=u[0],v=u[1];return 3*(p+v)/4-v},i.toByteArray=function(c){var u,p,v=o(c),f=v[0],r=v[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,r)),y=0,b=r>0?f-4:f;for(p=0;p>16&255,e[y++]=u>>8&255,e[y++]=255&u;return r===2&&(u=S[c.charCodeAt(p)]<<2|S[c.charCodeAt(p+1)]>>4,e[y++]=255&u),r===1&&(u=S[c.charCodeAt(p)]<<10|S[c.charCodeAt(p+1)]<<4|S[c.charCodeAt(p+2)]>>2,e[y++]=u>>8&255,e[y++]=255&u),e},i.fromByteArray=function(c){for(var u,p=c.length,v=p%3,f=[],r=0,e=p-v;re?e:r+16383));return v===1?(u=c[p-1],f.push(m[u>>2]+m[u<<4&63]+"==")):v===2&&(u=(c[p-2]<<8)+c[p-1],f.push(m[u>>10]+m[u>>4&63]+m[u<<2&63]+"=")),f.join("")};for(var m=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=g.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=c.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function a(c,u,p){for(var v,f,r=[],e=u;e>18&63]+m[f>>12&63]+m[f>>6&63]+m[63&f]);return r.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(l,i){i.read=function(t,m,S,_,g){var s,h,o=8*g-_-1,a=(1<>1,u=-7,p=S?g-1:0,v=S?-1:1,f=t[m+p];for(p+=v,s=f&(1<<-u)-1,f>>=-u,u+=o;u>0;s=256*s+t[m+p],p+=v,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+t[m+p],p+=v,u-=8);if(s===0)s=1-c;else{if(s===a)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=c}return(f?-1:1)*h*Math.pow(2,s-_)},i.write=function(t,m,S,_,g,s){var h,o,a,c=8*s-g-1,u=(1<>1,v=g===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,r=_?1:-1,e=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(o=isNaN(m)?1:0,h=u):(h=Math.floor(Math.log(m)/Math.LN2),m*(a=Math.pow(2,-h))<1&&(h--,a*=2),(m+=h+p>=1?v/a:v*Math.pow(2,1-p))*a>=2&&(h++,a/=2),h+p>=u?(o=0,h=u):h+p>=1?(o=(m*a-1)*Math.pow(2,g),h+=p):(o=m*Math.pow(2,p-1)*Math.pow(2,g),h=0));g>=8;t[S+f]=255&o,f+=r,o/=256,g-=8);for(h=h<0;t[S+f]=255&h,f+=r,h/=256,c-=8);t[S+f-r]|=128*e}},function(l,i){var t={}.toString;l.exports=Array.isArray||function(m){return t.call(m)=="[object Array]"}},function(l,i,t){"use strict";var m=this&&this.__values||function(g){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&g[s],o=0;if(h)return h.call(g);if(g&&typeof g.length=="number")return{next:function(){return g&&o>=g.length&&(g=void 0),{value:g&&g[o++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(g){var s,h;if(g===null||S.isString(g)||S.isNumber(g))return g;if(S.isArray(g)){var o=new Array;try{for(var a=m(g),c=a.next();!c.done;c=a.next()){var u=c.value;o.push(_(u))}}catch(f){s={error:f}}finally{try{c&&!c.done&&(h=a.return)&&h.call(a)}finally{if(s)throw s.error}}return o}if(S.isObject(g)){o=new Map;for(var p in g)if(g.hasOwnProperty(p)){var v=g[p];o.set(p,_(v))}return o}return g}i.parseJSONFromBytes=function(g){var s=S.utf8Decode(g);return JSON.parse.call(void 0,s)},i.serializeJSONToBytes=function(g){var s=JSON.stringify.call(void 0,g);return S.utf8Encode(s)},i.parseJSONIntoInfraValues=function(g){return _(JSON.parse.call(void 0,g))},i.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(y){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&y[0]?c.return:y[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,y[1])).done)return u;switch(c=0,u&&(y=[2&y[0],u.value]),y[0]){case 0:case 1:u=y;break;case 4:return v.label++,{value:y[1],done:!1};case 5:v.label++,c=y[1],y=[0];continue;case 7:y=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||y[0]!==6&&y[0]!==2)){v=0;continue}if(y[0]===3&&(!u||y[1]>u[0]&&y[1]0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},_=this&&this.__spread||function(){for(var h=[],o=0;o=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(1);i.append=function(h,o){h.push(o)},i.extend=function(h,o){h.push.apply(h,_(o))},i.prepend=function(h,o){h.unshift(o)},i.replace=function(h,o,a){var c,u,p=0;try{for(var v=g(h),f=v.next();!f.done;f=v.next()){var r=f.value;if(s.isFunction(o))o.call(null,r)&&(h[p]=a);else if(r===o)return void(h[p]=a);p++}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}},i.insert=function(h,o,a){h.splice(a,0,o)},i.remove=function(h,o){for(var a=h.length;a--;){var c=h[a];if(s.isFunction(o))o.call(null,c)&&h.splice(a,1);else if(c===o)return void h.splice(a,1)}},i.empty=function(h){h.length=0},i.contains=function(h,o){var a,c;try{for(var u=g(h),p=u.next();!p.done;p=u.next()){var v=p.value;if(s.isFunction(o)){if(o.call(null,v))return!0}else if(v===o)return!0}}catch(f){a={error:f}}finally{try{p&&!p.done&&(c=u.return)&&c.call(u)}finally{if(a)throw a.error}}return!1},i.size=function(h,o){var a,c;if(o===void 0)return h.length;var u=0;try{for(var p=g(h),v=p.next();!v.done;v=p.next()){var f=v.value;o.call(null,f)&&u++}}catch(r){a={error:r}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(a)throw a.error}}return u},i.isEmpty=function(h){return h.length===0},i.forEach=function(h,o){var a,c,u,p,v,f;return m(this,function(r){switch(r.label){case 0:return o!==void 0?[3,2]:[5,g(h)];case 1:return r.sent(),[3,9];case 2:r.trys.push([2,7,8,9]),a=g(h),c=a.next(),r.label=3;case 3:return c.done?[3,6]:(u=c.value,o.call(null,u)?[4,u]:[3,5]);case 4:r.sent(),r.label=5;case 5:return c=a.next(),[3,3];case 6:return[3,9];case 7:return p=r.sent(),v={error:p},[3,9];case 8:try{c&&!c.done&&(f=a.return)&&f.call(a)}finally{if(v)throw v.error}return[7];case 9:return[2]}})},i.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},i.sortInAscendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?-1:1})},i.sortInDescendingOrder=function(h,o){return h.sort(function(a,c){return o.call(null,a,c)?1:-1})}},function(l,i,t){"use strict";var m=this&&this.__generator||function(h,o){var a,c,u,p,v={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(r){return function(e){return function(y){if(a)throw new TypeError("Generator is already executing.");for(;v;)try{if(a=1,c&&(u=2&y[0]?c.return:y[0]?c.throw||((u=c.return)&&u.call(c),0):c.next)&&!(u=u.call(c,y[1])).done)return u;switch(c=0,u&&(y=[2&y[0],u.value]),y[0]){case 0:case 1:u=y;break;case 4:return v.label++,{value:y[1],done:!1};case 5:v.label++,c=y[1],y=[0];continue;case 7:y=v.ops.pop(),v.trys.pop();continue;default:if(u=v.trys,!((u=u.length>0&&u[u.length-1])||y[0]!==6&&y[0]!==2)){v=0;continue}if(y[0]===3&&(!u||y[1]>u[0]&&y[1]=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,o){var a=typeof Symbol=="function"&&h[Symbol.iterator];if(!a)return h;var c,u,p=a.call(h),v=[];try{for(;(o===void 0||o-- >0)&&!(c=p.next()).done;)v.push(c.value)}catch(f){u={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(u)throw u.error}}return v},g=this&&this.__spread||function(){for(var h=[],o=0;o0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(o,a){var c=typeof Symbol=="function"&&o[Symbol.iterator];if(!c)return o;var u,p,v=c.call(o),f=[];try{for(;(a===void 0||a-- >0)&&!(u=v.next()).done;)f.push(u.value)}catch(r){p={error:r}}finally{try{u&&!u.done&&(c=v.return)&&c.call(v)}finally{if(p)throw p.error}}return f},g=this&&this.__spread||function(){for(var o=[],a=0;a=f.length&&(f=void 0),{value:f&&f[y++],done:!f}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(96),_=t(147),g=t(146),s=t(1);function h(f,r){for(var e=0;;){var y=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return y}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,r,e){if(!s.isArray(r))return p(f,Array.from(r),e);for(var y="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){r={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(r)throw r.error}}return y},i.asciiCaseInsensitiveMatch=function(f,r){return c(f)===c(r)},i.asciiEncode=function(f){return console.assert(a(f),"asciiEncode requires an ASCII string."),o(f)},i.asciiDecode=function(f){var r,e;try{for(var y=m(f),b=y.next();!b.done;b=y.next()){var x=b.value;console.assert(g.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){r={error:E}}finally{try{b&&!b.done&&(e=y.return)&&e.call(y)}finally{if(r)throw r.error}}return _.isomorphicDecode(f)},i.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},i.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var k=m.exec(I);if(k){var G=(k=k[0]).toLowerCase();this.protocol=G,I=I.substr(k.length)}if(S||k||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var $=I.substr(0,2)==="//";!$||k&&t[k]||(I=I.substr(2),this.slashes=!0)}if(!t[k]&&($||k&&!e[k])){for(var Y,q,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),P=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),P.unshift(D[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),ce++):ce&&(ne.splice(P,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,k=[];R--;)k[R]=I(N[R]);return k}function g(N,I){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(R=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&R)+65536):(k.push(I),G--):k.push(I);return k}function _(N){return e(N,function(I){var R="";return I>65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var k=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;k+=36)N=d(N/35);return d(k+36*N/(N+38))}function C(N){var I,R,k,G,$,Y,q,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&t("not-basic"),he.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=q<=ie?1:q>=ie+26?26:q-ie));q+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-$,I=he.length+1,$==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,k,G,$,Y,q,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,$=72,Y=0;Y=I&&red((n-R)/(me=k+1))&&t("overflow"),R+=(q-I)*me,I=q,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),$=S(R,me,k==G),R=0,++k}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var P=v(X._children),D=P.next();!D.done;D=P.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=$;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,$,i.tree_nodeLength(G)-$),d.mutation_append(B,k),s.characterData_replaceData(G,$,i.tree_nodeLength(G)-$,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,k);var M=_(n.create_range([G,$],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var z=v(ce),W=z.next();!W.done;W=z.next()){var oe=W.value;d.mutation_append(oe,k)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=z.return)&&R.call(z)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,q),d.mutation_append(B,k),s.characterData_replaceData(Y,0,q,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,k),M=_(n.create_range([he,0],[Y,q])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],k}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,k,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var $=S._startNode,Y=S._startOffset,q=S._endNode,X=S._endOffset;$===q&&p.Guard.isCharacterDataNode($)&&((D=f.node_clone($))._data=s.characterData_substringData($,Y,X-Y),d.mutation_append(D,G));for(var H=$;!i.tree_isAncestorOf(q,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(q,$,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf($,q,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),P=ce.next();!P.done;P=ce.next())if(g(z=P.value,S)){if(p.Guard.isDocumentTypeNode(z))throw new a.HierarchyRequestError;ue.push(z)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone($))._data=s.characterData_substringData($,Y,i.tree_nodeLength($)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([$,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var z=M.value,D=f.node_clone(z);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=B.return)&&k.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(q))._data=s.characterData_substringData(q,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[q,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var k=v(S._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(R===S._startOffset){I=$;break}R++}}catch(q){C={error:q}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,k=v(p.namespace_extractQName(R.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!p.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),q={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),q[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),P=ce.next();!P.done;P=ce.next()){var D=v(P.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=q[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{P&&!P.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var k=s.prefix,G=null;if(k===null&&R===N||(G=C.get(k,R)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):k!==null?(k in T&&(k=this._generatePrefix(R,C,c)),C.set(k,R),x+=_+=k+":"+s.localName,x+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var $=R===p.namespace.HTML;if($&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):$||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!($&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{q&&!q.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var k=C;S=this.cdata(S,this.sanitize(k.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var $=C;S=this.instruction(S,this.sanitize($.target),this.sanitize($.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var q=C,X=this.sanitize(q.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(q.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],P=ue[1];ce==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(q.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var z=y(i.namespace_extractQName(Q),2),W=(ce=z[0],P=z[1],null);ce==="xmlns"||ce===null&&P==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}q.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function k(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,z,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),z=parseInt(M[1],10),W=parseInt(M[2],10),z!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&k(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,z;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],z=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(z)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=z}};function $(D,L,B,M){var z,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,z=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentL?$e=1:D.lineIndent===L?$e=0:D.lineIndentze)&&(Q(K,ze,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(q(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>ze&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=ze+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");qe=Ne=K.position}else c(Te)?($(K,qe,Ne,!0),re(K,H(K,!1,ze)),qe=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var ze,qe,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),ze=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===ze&&R(K,"name of an alias node must contain at least one character"),qe=K.input.slice(ze,K.position),K.anchorMap.hasOwnProperty(qe)||R(K,'unidentified alias "'+qe+'"'),K.result=K.anchorMap[qe],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,ze,qe){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||qe&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||qe&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=ze){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&($(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return $(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):$e===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,z,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(z=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),z=D.input.charCodeAt(D.position),!(D.lineIndent>0||z!==37));){for(oe=!0,z=D.input.charCodeAt(++D.position),L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");z!==0;){for(;t(z);)z=D.input.charCodeAt(++D.position);if(z===35){do z=D.input.charCodeAt(++D.position);while(z!==0&&!c(z));break}if(c(z))break;for(L=D.position;z!==0&&!e(z);)z=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}z!==0&&X(D),p.call(G,B)?G[B](D,B,M):k(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&k(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,Je){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=Je};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,Je){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=Je,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,Je){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,Je){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,Je){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=Je};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,Je){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassDeclaration=C;var T=function(ye,Oe,Je){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=Je};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,Je){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=Je};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var k=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=k;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var $=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=$;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var q=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=q;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,Je){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=Je};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,Je){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=Je,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,Je){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=Je};y.ForOfStatement=me;var ne=function(ye,Oe,Je,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=Je,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,Je,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=Je,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,Je){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=Je};y.IfStatement=ce;var P=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=P;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var z=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=z;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,Je,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=Je,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,Je,Nt,kr,Br){this.type=a.Syntax.Property,this.key=Oe,this.computed=Je,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Br};y.Property=Le;var tt=function(ye,Oe,Je,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:Je,flags:Nt}};y.RegexLiteral=tt;var $e=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=$e;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var ze=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=ze;var qe=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=qe;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,Je){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=Je};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,Je){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=Je};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Jn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Jn;var Kn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Kn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,k))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var k=_.pop();R>1;){var G=_.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,k=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,q=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,q)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(k),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&k[Q+1]!==" "}return he||me?$>9&&g(k)?5:me?4:3:ie&&!q(k)?1:2}function _(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var q=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-q),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(x(G,H,k.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,k.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],P=me[2];he=P[0]===" ",Q+=ce+(ie||he||P===""?"":` -`)+C(P,re),ie=he}return Q}(G,X),q));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` -`;return $+(Y&&(k[k.length-2]===` +`)},i.stripLeadingAndTrailingASCIIWhitespace=u,i.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},i.collectASequenceOfCodePoints=p,i.skipASCIIWhitespace=v,i.strictlySplit=function f(r,e){if(!s.isArray(r))return f(Array.from(r),e);var y={position:0},b=[],x=p(function(E){return e!==E},r,y);for(b.push(x);y.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(97);i.abort_add=function(_,g){g._abortedFlag||g._abortAlgorithms.add(_)},i.abort_remove=function(_,g){g._abortAlgorithms.delete(_)},i.abort_signalAbort=function(_){var g,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=m(_._abortAlgorithms),o=h.next();!o.done;o=h.next())o.value.call(_)}catch(a){g={error:a}}finally{try{o&&!o.done&&(s=h.return)&&s.call(h)}finally{if(g)throw g.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(150),S=function(){function _(){}return _.asNode=function(g){if(m.Guard.isNode(g))return g;throw new Error("Invalid object. Node expected.")},_}();i.Cast=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(g){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(g){return!1},_.prototype.forEach=function(g,s){},_.prototype.has=function(g){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();i.EmptySet=m;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(m){m[m.SchemeStart=0]="SchemeStart",m[m.Scheme=1]="Scheme",m[m.NoScheme=2]="NoScheme",m[m.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",m[m.PathOrAuthority=4]="PathOrAuthority",m[m.Relative=5]="Relative",m[m.RelativeSlash=6]="RelativeSlash",m[m.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",m[m.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",m[m.Authority=9]="Authority",m[m.Host=10]="Host",m[m.Hostname=11]="Hostname",m[m.Port=12]="Port",m[m.File=13]="File",m[m.FileSlash=14]="FileSlash",m[m.FileHost=15]="FileHost",m[m.PathStart=16]="PathStart",m[m.Path=17]="Path",m[m.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",m[m.Query=19]="Query",m[m.Fragment=20]="Fragment"}(i.ParserState||(i.ParserState={})),i.OpaqueOrigin=["","",null,null]},function(l,i,t){"use strict";var m=t(245),S=t(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}i.parse=b,i.resolve=function(x,E){return b(x,!1,!0).resolve(E)},i.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},i.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},i.Url=_;var g=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,o=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),a=["'"].concat(o),c=["%","/","?",";","#"].concat(a),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},r={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=t(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ie[oe];if(!Q.match(p)){var fe=de.slice(0,$),P=de.slice($+1),C=ie.match(v);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(F="/"+P.join(".")+F),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),ne||(this.hostname=m.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,ne&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),F[0]!=="/"&&(F="/"+F))}if(!f[G])for($=0,ve=a.length;$0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ie.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var oe=ie.slice(-1)[0],le=(w.host||x.host||ie.length>1)&&(oe==="."||oe==="..")||oe==="",fe=0,P=ie.length;P>=0;P--)(oe=ie[P])==="."?ie.splice(P,1):oe===".."?(ie.splice(P,1),fe++):fe&&(ie.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ie.unshift("..");!de||ie[0]===""||ie[0]&&ie[0].charAt(0)==="/"||ie.unshift(""),le&&ie.join("/").substr(-1)!=="/"&&ie.push("");var C,B=ie[0]===""||ie[0]&&ie[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ie.length?ie.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ie.length)&&!B&&ie.unshift(""),ie.length?w.pathname=ie.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(l,i,t){(function(m,S){var _;(function(g){i&&i.nodeType,m&&m.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,o=2147483647,a=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,f=String.fromCharCode;function r(N){throw new RangeError(p[N])}function e(N,F){for(var R=N.length,k=[];R--;)k[R]=F(N[R]);return k}function y(N,F){var R=N.split("@"),k="";return R.length>1&&(k=R[0]+"@",N=R[1]),k+e((N=N.replace(u,".")).split("."),F).join(".")}function b(N){for(var F,R,k=[],G=0,H=N.length;G=55296&&F<=56319&&G65535&&(R+=f((F-=65536)>>>10&1023|55296),F=56320|1023&F),R+=f(F)}).join("")}function E(N,F){return N+22+75*(N<26)-((F!=0)<<5)}function w(N,F,R){var k=0;for(N=R?v(N/700):N>>1,N+=v(N/F);N>455;k+=36)N=v(N/35);return v(k+36*N/(N+38))}function D(N){var F,R,k,G,H,Y,z,X,$,ee,ne,de=[],ve=N.length,ie=0,Q=128,oe=72;for((R=N.lastIndexOf("-"))<0&&(R=0),k=0;k=128&&r("not-basic"),de.push(N.charCodeAt(k));for(G=R>0?R+1:0;G=ve&&r("invalid-input"),((X=(ne=N.charCodeAt(G++))-48<10?ne-22:ne-65<26?ne-65:ne-97<26?ne-97:36)>=36||X>v((o-ie)/Y))&&r("overflow"),ie+=X*Y,!(X<($=z<=oe?1:z>=oe+26?26:z-oe));z+=36)Y>v(o/(ee=36-$))&&r("overflow"),Y*=ee;oe=w(ie-H,F=de.length+1,H==0),v(ie/F)>o-Q&&r("overflow"),Q+=v(ie/F),ie%=F,de.splice(ie++,0,Q)}return x(de)}function T(N){var F,R,k,G,H,Y,z,X,$,ee,ne,de,ve,ie,Q,oe=[];for(de=(N=b(N)).length,F=128,R=0,H=72,Y=0;Y=F&&nev((o-R)/(ve=k+1))&&r("overflow"),R+=(z-F)*ve,F=z,Y=0;Yo&&r("overflow"),ne==F){for(X=R,$=36;!(X<(ee=$<=H?1:$>=H+26?26:$-H));$+=36)Q=X-ee,ie=36-ee,oe.push(f(E(ee+Q%ie,0))),X=v(Q/ie);oe.push(f(E(X,0))),H=w(R,ve,k==G),R=0,++k}++R,++F}return oe.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return y(N,function(F){return c.test(F)?"xn--"+T(F):F})},toUnicode:function(N){return y(N,function(F){return a.test(F)?D(F.slice(4).toLowerCase()):F})}},(_=function(){return h}.call(i,t,i,m))===void 0||(m.exports=_)})()}).call(this,t(246)(l),t(78))},function(l,i){l.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(l,i,t){"use strict";l.exports={isString:function(m){return typeof m=="string"},isObject:function(m){return typeof m=="object"&&m!==null},isNull:function(m){return m===null},isNullOrUndefined:function(m){return m==null}}},function(l,i,t){"use strict";i.decode=i.parse=t(249),i.encode=i.stringify=t(250)},function(l,i,t){"use strict";function m(_,g){return Object.prototype.hasOwnProperty.call(_,g)}l.exports=function(_,g,s,h){g=g||"&",s=s||"=";var o={};if(typeof _!="string"||_.length===0)return o;var a=/\+/g;_=_.split(g);var c=1e3;h&&typeof h.maxKeys=="number"&&(c=h.maxKeys);var u=_.length;c>0&&u>c&&(u=c);for(var p=0;p=0?(v=y.substr(0,b),f=y.substr(b+1)):(v=y,f=""),r=decodeURIComponent(v),e=decodeURIComponent(f),m(o,r)?S(o[r])?o[r].push(e):o[r]=[o[r],e]:o[r]=e}return o};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(l,i,t){"use strict";var m=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};l.exports=function(s,h,o,a){return h=h||"&",o=o||"=",s===null&&(s=void 0),typeof s=="object"?_(g(s),function(c){var u=encodeURIComponent(m(c))+o;return S(s[c])?_(s[c],function(p){return u+encodeURIComponent(m(p))}).join(h):u+encodeURIComponent(m(s[c]))}).join(h):a?encodeURIComponent(m(a))+o+encodeURIComponent(m(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var o=[],a=0;a=g.length&&(g=void 0),{value:g&&g[o++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1);function _(g){return S.isBoolean(g)?g:g.capture||!1}i.eventTarget_flatten=_,i.eventTarget_flattenMore=function(g){var s=_(g),h=!1,o=!1;return S.isBoolean(g)||(h=g.once||!1,o=g.passive||!1),[s,o,h]},i.eventTarget_addEventListener=function(g,s){if(s.callback!==null){for(var h=0;h=g.length&&(g=void 0),{value:g&&g[o++],done:!g}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(1),_=t(29);i.parentNode_convertNodesIntoANode=function(g,s){for(var h,o,a=null,c=0;c=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,F=D.call(E),R=[];try{for(;(w===void 0||w-- >0)&&!(T=F.next()).done;)R.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=F.return)&&D.call(F)}finally{if(N)throw N.error}}return R},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ie--){var Q;if(b(Q=ve[ie],E)){de=Q;break}}var oe,le,fe=[];try{for(var P=m(X._children),C=P.next();!C.done;C=P.next())if(y(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(a.tree_isAncestorOf(Y,G,!0))oe=G,le=H;else{for(var B=G;B._parent!==null&&!a.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");oe=B._parent,le=1+a.tree_index(B)}if(h.Guard.isCharacterDataNode($))(L=p.node_clone(G))._data=u.characterData_substringData(G,H,a.tree_nodeLength(G)-H),v.mutation_append(L,k),u.characterData_replaceData(G,H,a.tree_nodeLength(G)-H,"");else if($!==null){var L=p.node_clone($);v.mutation_append(L,k);var M=x(o.create_range([G,H],[$,a.tree_nodeLength($)]));v.mutation_append(M,L)}try{for(var q=m(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;v.mutation_append(ae,k)}}catch(me){F={error:me}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(F)throw F.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),v.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),v.mutation_append(L,k),M=x(o.create_range([de,0],[Y,z])),v.mutation_append(M,L)),E._start=[oe,le],E._end=[oe,le],k}i.range_collapsed=r,i.range_root=e,i.range_isContained=y,i.range_isPartiallyContained=b,i.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._end)!==g.BoundaryPosition.After||(E._end=T),E._start=T},i.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>a.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===a.tree_rootNode(w)&&c.boundaryPoint_position(T,E._start)!==g.BoundaryPosition.Before||(E._start=T),E._end=T},i.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=a.tree_index(E);w._start=[D,T],w._end=[D,T+1]},i.range_extract=x,i.range_cloneTheContents=function E(w){var D,T,N,F,R,k,G=o.create_documentFragment(w._startNode._nodeDocument);if(r(w))return G;var H=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;H===z&&h.Guard.isCharacterDataNode(H)&&((C=p.node_clone(H))._data=u.characterData_substringData(H,Y,X-Y),v.mutation_append(C,G));for(var $=H;!a.tree_isAncestorOf(z,$,!0);){if($._parent===null)throw new Error("Parent node is null.");$=$._parent}var ee=null;if(!a.tree_isAncestorOf(z,H,!0))try{for(var ne=m($._children),de=ne.next();!de.done;de=ne.next())if(b(oe=de.value,w)){ee=oe;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=ne.return)&&T.call(ne)}finally{if(D)throw D.error}}var ve=null;if(!a.tree_isAncestorOf(H,z,!0))for(var ie=_($._children),Q=ie.length-1;Q>0;Q--){var oe;if(b(oe=ie[Q],w)){ve=oe;break}}var le=[];try{for(var fe=m($._children),P=fe.next();!P.done;P=fe.next())if(y(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(F=fe.return)&&F.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone(H))._data=u.characterData_substringData(H,Y,a.tree_nodeLength(H)-Y),v.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);v.mutation_append(C,G);var B=E(o.create_range([H,Y],[ee,a.tree_nodeLength(ee)]));v.mutation_append(B,C)}try{for(var L=m(le),M=L.next();!M.done;M=L.next()){var q=M.value,C=p.node_clone(q);v.mutation_append(C,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(k=L.return)&&k.call(L)}finally{if(R)throw R.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),v.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(o.create_range([ve,0],[z,X])),v.mutation_append(B,C)),G},i.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,F=null;if(h.Guard.isTextNode(w._startNode))F=w._startNode;else{var R=0;try{for(var k=m(w._startNode._children),G=k.next();!G.done;G=k.next()){var H=G.value;if(R===w._startOffset){F=H;break}R++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(F===null)N=w._startNode;else{if(F._parent===null)throw new Error("Parent node is null.");N=F._parent}v.mutation_ensurePreInsertionValidity(E,N,F),h.Guard.isTextNode(w._startNode)&&(F=f.text_split(w._startNode,w._startOffset)),E===F&&(F=E._nextSibling),E._parent!==null&&v.mutation_remove(E,E._parent);var Y=F===null?a.tree_nodeLength(N):a.tree_index(F);h.Guard.isDocumentFragmentNode(E)?Y+=a.tree_nodeLength(E):Y++,v.mutation_preInsert(E,N,F),r(w)&&(w._end=[N,Y])},i.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!y(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w},i.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=a.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=a.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=a.tree_getNextDescendantNode(D,T),N}}},w}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(9);i.selectors_scopeMatchASelectorsString=function(S,_){throw new m.NotSupportedError}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(2),S=t(105);i.treeWalker_traverseChildren=function(_,g){for(var s=g?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===m.FilterResult.Accept)return _._current=s,s;if(h===m.FilterResult.Skip){var o=g?s._firstChild:s._lastChild;if(o!==null){s=o;continue}}for(;s!==null;){var a=g?s._nextSibling:s._previousSibling;if(a!==null){s=a;break}var c=s._parent;if(c===null||c===_._root||c===_._current)return null;s=c}}return null},i.treeWalker_traverseSiblings=function(_,g){var s=_._current;if(s===_._root)return null;for(;;){for(var h=g?s._nextSibling:s._previousSibling;h!==null;){s=h;var o=S.traversal_filter(_,s);if(o===m.FilterResult.Accept)return _._current=s,s;h=g?s._firstChild:s._lastChild,o!==m.FilterResult.Reject&&h!==null||(h=g?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===m.FilterResult.Accept)return null}}},function(l,i,t){"use strict";t(89),t(74);var m,S=this&&this.__extends||(m=function(a,c){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var v in p)p.hasOwnProperty(v)&&(u[v]=p[v])})(a,c)},function(a,c){function u(){this.constructor=a}m(a,c),a.prototype=c===null?Object.create(c):(u.prototype=c.prototype,new u)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(1),g=t(2),s=t(50),h=t(3),o=function(a){function c(u,p){var v=a.call(this,u)||this;return v._indentation={},v._lengthToLastNewline=0,v._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),v}return S(c,a),c.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==g.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},c.prototype.declaration=function(u,p,v){this._beginLine(),this._refs.markup+='",this._endLine()},c.prototype.docType=function(u,p,v){this._beginLine(),this._refs.markup+=p&&v?"':p?"':v?"':"",this._endLine()},c.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},c.prototype.openTagEnd=function(u,p,v){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!v){for(var f=!0,r=!0,e=this.currentNode.firstChild,y=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,r=!1;break}y++}e.data!==""&&(r=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(y<=1&&b===0||y===0),this._refs.emptyNode=r}(v||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=v?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},c.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},c.prototype.attribute=function(u,p){var v=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+v.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+v):this._refs.markup+=" "+v},c.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},c.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},c.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},c.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},c.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},c.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},c}(s.BaseWriter);i.XMLWriter=o},function(l,i,t){"use strict";var m=t(47),S=t(35);l.exports="".repeat||function(_){var g=String(S(this)),s="",h=m(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(g+=g))1&h&&(s+=g);return s}},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new g.ObjectWriter(this._builderOptions,u).serialize(c);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},a.prototype._convertObject=function(c,u,p){var v,f,r=this;p===void 0&&(p=0);var e="",y=this._isLeafNode(c);if(s.isArray(c)){e+="[";var b=c.length,x=0;try{for(var E=_(c),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(c.indent):""},a.prototype._endLine=function(c,u){return c.prettyPrint?c.newline:""},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a.prototype._isLeafNode=function(c){return this._descendantCount(c)<=1},a.prototype._descendantCount=function(c,u){var p=this;return u===void 0&&(u=0),s.isArray(c)?s.forEachArray(c,function(v){return u+=p._descendantCount(v,u)},this):s.isObject(c)?s.forEachObject(c,function(v,f){return u+=p._descendantCount(f,u)},this):u++,u},a}(t(50).BaseWriter);i.JSONWriter=h},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(178),t(89),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)}),_=this&&this.__values||function(o){var a=typeof Symbol=="function"&&Symbol.iterator,c=a&&o[a],u=0;if(c)return c.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var g=t(67),s=t(1),h=function(o){function a(c,u){var p=o.call(this,c)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(a,o),a.prototype.serialize=function(c){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new g.ObjectWriter(this._builderOptions,u).serialize(c),v=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return v.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(v=v.slice(0,-this._writerOptions.newline.length)),v},a.prototype._convertObject=function(c,u,p,v){var f,r,e=this;v===void 0&&(v=!1);var y="";if(s.isArray(c))try{for(var b=_(c),x=b.next();!x.done;x=b.next()){var E=x.value;y+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?y+='""'+this._endLine(u):y+=this._convertObject(E,u,p,!0):y+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(r=b.return)&&r.call(b)}finally{if(f)throw f.error}}else s.forEachObject(c,function(w,D){v?(y+=e._key(w),v=!1):y+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?y+=' ""'+e._endLine(u):y+=e._endLine(u)+e._convertObject(D,u,p+1):y+=" "+e._val(D)+e._endLine(u)},this);return y},a.prototype._beginLine=function(c,u,p){p===void 0&&(p=!1);var v=c.offset+u+1,f=new Array(v).join(c.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},a.prototype._endLine=function(c){return c.newline},a.prototype._key=function(c){return'"'+c+'":'},a.prototype._val=function(c){return JSON.stringify(c)},a}(t(50).BaseWriter);i.YAMLWriter=h},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),t(110).dom.setFeatures(!0);var m=t(110);i.DOMImplementation=m.DOMImplementation;var S=t(271);i.DOMParser=S.DOMParser;var _=t(274);i.XMLSerializer=_.XMLSerializer},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function g(){}return g.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[c++],done:!h}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(6),_=t(3),g=t(7),s=function(){function h(o){this._nodeList=[],this._recordQueue=[],this._callback=o;var a=S.dom.window;g.set.append(a._mutationObservers,this)}return h.prototype.observe=function(o,a){var c,u;if((a=a||{childList:!1,subtree:!1}).attributeOldValue===void 0&&a.attributeFilter===void 0||a.attributes!==void 0||(a.attributes=!0),a.characterDataOldValue!==void 0&&a.characterData===void 0&&(a.characterData=!0),!a.childList&&!a.attributes&&!a.characterData)throw new TypeError;if(a.attributeOldValue&&!a.attributes)throw new TypeError;if(a.attributeFilter!==void 0&&!a.attributes)throw new TypeError;if(a.characterDataOldValue&&!a.characterData)throw new TypeError;var p=!1,v=a,f=function(b){var x,E;if(b.observer===r){p=!0;try{for(var w=(x=void 0,m(r._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;g.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=v}},r=this;try{for(var e=m(o._registeredObserverList),y=e.next();!y.done;y=e.next())f(y.value)}catch(b){c={error:b}}finally{try{y&&!y.done&&(u=e.return)&&u.call(e)}finally{if(c)throw c.error}}p||(o._registeredObserverList.push({observer:this,options:a}),this._nodeList.push(o))},h.prototype.disconnect=function(){var o,a,c=this;try{for(var u=m(this._nodeList),p=u.next();!p.done;p=u.next()){var v=p.value;g.list.remove(v._registeredObserverList,function(f){return f.observer===c})}}catch(f){o={error:f}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var o=this._recordQueue;return this._recordQueue=[],o},h}();i.MutationObserverImpl=s},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var g=m.Cast.asNode(this)._previousSibling;g;){if(m.Guard.isElementNode(g))return g;g=g._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var g=m.Cast.asNode(this)._nextSibling;g;){if(m.Guard.isElementNode(g))return g;g=g._nextSibling}return null},enumerable:!0,configurable:!0}),_}();i.NonDocumentTypeChildNodeImpl=S},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(3),S=t(0),_=function(){function g(){}return g.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(m.Cast.asNode(this),!1,!1,function(o){return m.Guard.isElementNode(o)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(m.Cast.asNode(this),h,!1,!1,function(o){return m.Guard.isElementNode(o)})}return null},g}();i.NonElementParentNodeImpl=_},function(l,i,t){"use strict";var m=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,o=h&&s[h],a=0;if(o)return o.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&a>=s.length&&(s=void 0),{value:s&&s[a++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(3),_=t(0),g=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,o,a=0;try{for(var c=m(S.Cast.asNode(this)._children),u=c.next();!u.done;u=c.next()){var p=u.value;S.Guard.isElementNode(p)&&a++}}catch(v){h={error:v}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(h)throw h.error}}return a},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],o=0;o0)&&!(v=r.next()).done;)e.push(v.value)}catch(y){f={error:y}}finally{try{v&&!v.done&&(p=r.return)&&p.call(r)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var _=t(180),g=t(111),s=t(7),h=t(0),o=t(69),a=function(){function c(){}return c.prototype.parse=function(u){for(var p,v,f,r,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),y=h.create_document(),b=y,x=e.nextToken();x.type!==g.TokenType.EOF;){switch(x.type){case g.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case g.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(y.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case g.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(y.createCDATASection(D.data));break;case g.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(y.createComment(T.data));break;case g.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(y.createProcessingInstruction(N.target,N.data));break;case g.TokenType.Text:var F=x;if(!h.xml_isLegalChar(F.data))throw new Error("Text data contains invalid characters.");b.appendChild(y.createTextNode(this._decodeText(F.data)));break;case g.TokenType.Element:var R=x,k=m(h.namespace_extractQName(R.name),2),G=k[0],H=k[1];if(H.indexOf(":")!==-1||!h.xml_isName(H))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(R.attributes)),$=X.next();!$.done;$=X.next()){var ee=m($.value,2),ne=ee[0],de=ee[1];if(ne==="xmlns")Y=de;else{var ve=m(h.namespace_extractQName(ne),2),ie=ve[0],Q=ve[1];ie==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(M){p={error:M}}finally{try{$&&!$.done&&(v=X.return)&&v.call(X)}finally{if(p)throw p.error}}var oe=Y!==null?y.createElementNS(Y,R.name):y.createElement(R.name);b.appendChild(oe);var le=new o.LocalNameSet;try{for(var fe=(f=void 0,S(R.attributes)),P=fe.next();!P.done;P=fe.next()){var C=m(P.value,2),B=(ne=C[0],de=C[1],m(h.namespace_extractQName(ne),2)),L=(ie=B[0],Q=B[1],null);if(ie==="xmlns"||ie===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=oe.lookupNamespaceURI(ie))!==null&&oe.isDefaultNamespace(L)?L=null:L===null&&ie!==null&&(L=z[ie]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ie==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?oe.setAttributeNS(L,ne,this._decodeAttributeValue(de)):oe.setAttribute(ne,this._decodeAttributeValue(de))}}catch(M){f={error:M}}finally{try{P&&!P.done&&(r=fe.return)&&r.call(fe)}finally{if(f)throw f.error}}R.selfClosing||(b=oe);break;case g.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return y},c.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},c}();i.XMLParserImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(275);i.XMLSerializer=m.XMLSerializerImpl},function(l,i,t){"use strict";var m=this&&this.__values||function(c){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&c[u],v=0;if(p)return p.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&v>=c.length&&(c=void 0),{value:c&&c[v++],done:!c}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var S=t(2),_=t(69),g=t(95),s=t(9),h=t(7),o=t(0),a=function(){function c(){}return c.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},c.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var v=new g.NamespacePrefixMap;v.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,v,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},c.prototype._serializeNodeNS=function(u,p,v,f,r){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,v,f,r);case S.NodeType.Document:return this._serializeDocumentNS(u,p,v,f,r);case S.NodeType.Comment:return this._serializeComment(u,r);case S.NodeType.Text:return this._serializeText(u,r);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,v,f,r);case S.NodeType.DocumentType:return this._serializeDocumentType(u,r);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,r);case S.NodeType.CData:return this._serializeCData(u,r);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},c.prototype._serializeElementNS=function(u,p,v,f,r){var e,y;if(r&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=v.copy(),T={},N=this._recordNamespaceInformation(u,D,T),F=p,R=u.namespaceURI;if(F===R)N!==null&&(w=!0),b+=x=R===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&R===N||(G=D.get(k,R)),k==="xmlns"){if(r)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(F=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(R,D,f)),D.set(k,R),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(R,r)+'"',N!==null&&(F=N||null)):N===null||N!==null&&N!==R?(w=!0,F=R,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(R,r)+'"'):(F=R,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,r);var H=R===h.namespace.HTML;if(H&&u.childNodes.length===0&&c._VoidElementNames.has(u.localName)?(b+=" /",E=!0):H||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!(H&&u.localName==="template"))try{for(var Y=m(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,F,D,f,r)}}catch($){e={error:$}}finally{try{z&&!z.done&&(y=Y.return)&&y.call(Y)}finally{if(e)throw e.error}}return b+=""},c.prototype._serializeDocumentNS=function(u,p,v,f,r){var e,y;if(r&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(y=x.return)&&y.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeComment=function(u,p){if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},c.prototype._serializeText=function(u,p){if(p&&!o.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var v="",f=0;f"?">":r}return v},c.prototype._serializeDocumentFragmentNS=function(u,p,v,f,r){var e,y,b="";try{for(var x=m(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,v,f,r)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(y=x.return)&&y.call(x)}finally{if(e)throw e.error}}return b},c.prototype._serializeDocumentType=function(u,p){if(p&&!o.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!o.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},c.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!o.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},c.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},c.prototype._serializeAttributesNS=function(u,p,v,f,r,e){var y,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=m(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(r||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,F=null;if(N!==null)if(F=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&r||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(F="xmlns")}else F===null&&(x+=" xmlns:"+(F=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,v):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",F!==null&&(x+=F+":"),e&&(T.localName.indexOf(":")!==-1||!o.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){y={error:R}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(y)throw y.error}}return x},c.prototype._recordNamespaceInformation=function(u,p,v){var f,r,e=null;try{for(var y=m(u.attributes),b=y.next();!b.done;b=y.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),v[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(r=y.return)&&r.call(y)}finally{if(f)throw f.error}}return e},c.prototype._generatePrefix=function(u,p,v){var f="ns"+v.value;return v.value++,p.set(f,u),f},c.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!o.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var v="",f=0;f"?">":r}return v},c.prototype._serializeElement=function(u,p){var v,f;if(p&&(u.localName.indexOf(":")!==-1||!o.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var r=!1,e=u.localName,y="<"+e;if(y+=this._serializeAttributes(u,p),u._children.size===0&&(y+="/",r=!0),y+=">",r)return y;try{for(var b=m(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;y+=this._serializeNode(E,p)}}catch(w){v={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(v)throw v.error}}return y+=""},c.prototype._serializeDocument=function(u,p){var v,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var r="";try{for(var e=m(u._children),y=e.next();!y.done;y=e.next()){var b=y.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{y&&!y.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeDocumentFragment=function(u,p){var v,f,r="";try{for(var e=m(u._children),y=e.next();!y.done;y=e.next()){var b=y.value;r+=this._serializeNode(b,p)}}catch(x){v={error:x}}finally{try{y&&!y.done&&(f=e.return)&&f.call(e)}finally{if(v)throw v.error}}return r},c.prototype._serializeAttributes=function(u,p){var v,f,r="",e=p?{}:void 0;try{for(var y=m(u.attributes),b=y.next();!b.done;b=y.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!o.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");r+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){v={error:E}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(v)throw v.error}}return r},c._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),c}();i.XMLSerializerImpl=a},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(277);i.XMLReader=m.XMLReader;var S=t(112);i.ObjectReader=S.ObjectReader;var _=t(280);i.JSONReader=_.JSONReader;var g=t(281);i.YAMLReader=g.YAMLReader},function(l,i,t){"use strict";t(31),t(32),t(33),t(19),t(65),t(20),t(22),t(23);var m,S=this&&this.__extends||(m=function(u,p){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,f){v.__proto__=f}||function(v,f){for(var r in f)f.hasOwnProperty(r)&&(v[r]=f[r])})(u,p)},function(u,p){function v(){this.constructor=u}m(u,p),u.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}),_=this&&this.__read||function(u,p){var v=typeof Symbol=="function"&&u[Symbol.iterator];if(!v)return u;var f,r,e=v.call(u),y=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)y.push(f.value)}catch(b){r={error:b}}finally{try{f&&!f.done&&(v=e.return)&&v.call(e)}finally{if(r)throw r.error}}return y},g=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,v=p&&u[p],f=0;if(v)return v.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(i,"__esModule",{value:!0});var s=t(180),h=t(111),o=t(7),a=t(0),c=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(v,f){for(var r,e,y,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=v,w=v,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var F={version:N};T.encoding&&(F.encoding=this.sanitize(T.encoding)),T.standalone&&(F.standalone=this.sanitize(T.standalone)==="yes"),w.set(F);break;case h.TokenType.DocType:var R=D;w=this.docType(w,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var H=D;w=this.instruction(w,this.sanitize(H.target),this.sanitize(H.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),$=_(a.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI($),ne={};try{for(var de=(r=void 0,g(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ie=_(ve.value,2),Q=ie[0],oe=ie[1];if(Q=this.sanitize(Q),oe=this.sanitize(oe),Q==="xmlns")ee=oe;else{var le=_(a.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===$&&(ee=oe),ne[P]=oe)}}}catch(ae){r={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(r)throw r.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===v.node&&(E=C);try{for(var B=(y=void 0,g(z.attributes)),L=B.next();!L.done;L=B.next()){var M=_(L.value,2);Q=M[0],oe=M[1],Q=this.sanitize(Q),oe=this.sanitize(oe);var q=_(a.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=o.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=ne[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(oe)):this.attribute(C,void 0,Q,this._decodeAttributeValue(oe))}}catch(ae){y={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(y)throw y.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(t(75).BaseReader);i.XMLReader=c},function(l,i,t){var m=t(4),S=t(279);m({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(l,i,t){"use strict";var m=t(16),S=t(8),_=t(61),g=t(85),s=t(79),h=t(27),o=t(41),a=Object.assign,c=Object.defineProperty;l.exports=!a||S(function(){if(m&&a({b:1},a(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},v=Symbol();return u[v]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),a({},u)[v]!=7||_(a({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var v=h(u),f=arguments.length,r=1,e=g.f,y=s.f;f>r;)for(var b,x=o(arguments[r++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],m&&!y.call(x,b)||(v[b]=x[b]);return v}:a},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(s,h){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,a){o.__proto__=a}||function(o,a){for(var c in a)a.hasOwnProperty(c)&&(o[c]=a[c])})(s,h)},function(s,h){function o(){this.constructor=s}m(s,h),s.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),g=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(o,a){return new _.ObjectReader(this._builderOptions).parse(o,JSON.parse(a))},h}(t(75).BaseReader);i.JSONReader=g},function(l,i,t){"use strict";var m,S=this&&this.__extends||(m=function(o,a){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,u){c.__proto__=u}||function(c,u){for(var p in u)u.hasOwnProperty(p)&&(c[p]=u[p])})(o,a)},function(o,a){function c(){this.constructor=o}m(o,a),o.prototype=a===null?Object.create(a):(c.prototype=a.prototype,new c)});Object.defineProperty(i,"__esModule",{value:!0});var _=t(112),g=t(75),s=t(282),h=function(o){function a(){return o!==null&&o.apply(this,arguments)||this}return S(a,o),a.prototype._parse=function(c,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(c,p)},a}(g.BaseReader);i.YAMLReader=h},function(l,i,t){"use strict";var m=t(283);l.exports=m},function(l,i,t){"use strict";var m=t(284),S=t(303);function _(g){return function(){throw new Error("Function "+g+" is deprecated and cannot be used.")}}l.exports.Type=t(10),l.exports.Schema=t(39),l.exports.FAILSAFE_SCHEMA=t(113),l.exports.JSON_SCHEMA=t(182),l.exports.CORE_SCHEMA=t(181),l.exports.DEFAULT_SAFE_SCHEMA=t(54),l.exports.DEFAULT_FULL_SCHEMA=t(76),l.exports.load=m.load,l.exports.loadAll=m.loadAll,l.exports.safeLoad=m.safeLoad,l.exports.safeLoadAll=m.safeLoadAll,l.exports.dump=S.dump,l.exports.safeDump=S.safeDump,l.exports.YAMLException=t(53),l.exports.MINIMAL_SCHEMA=t(113),l.exports.SAFE_SCHEMA=t(54),l.exports.DEFAULT_SCHEMA=t(76),l.exports.scan=_("scan"),l.exports.parse=_("parse"),l.exports.compose=_("compose"),l.exports.addConstructor=_("addConstructor")},function(l,i,t){"use strict";var m=t(38),S=t(53),_=t(285),g=t(54),s=t(76),h=Object.prototype.hasOwnProperty,o=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,a=/[\x85\u2028\u2029]/,c=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function v(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function r(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function y(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function F(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function R(C,B){throw F(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,F(C,B))}var G={YAML:function(C,B,L){var M,q,W;C.version!==null&&R(C,"duplication of %YAML directive"),L.length!==1&&R(C,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&R(C,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var M,q;L.length!==2&&R(C,"TAG directive accepts exactly two arguments"),M=L[0],q=L[1],u.test(M)||R(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,M)&&R(C,'there is a previously declared suffix for "'+M+'" tag handle'),p.test(q)||R(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[M]=q}};function H(C,B,L,M){var q,W,ae,me;if(B1&&(C.result+=m.repeat(` +`,B-1))}function de(C,B){var L,M,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),M=C.input.charCodeAt(C.position);M!==0&&M===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,$(C,!0,-1)&&C.lineIndent<=B)ae.push(null),M=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),$(C,!0,-1),M=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&M!==0)R(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,$e,et,Et,wt,xe,be),et=Et=wt=null),$(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?R(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(r(xe)){do xe=K.input.charCodeAt(++K.position);while(r(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))$e++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:R(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else R(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?(H(K,Ge,Fe,!0),ne(K,$(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!y(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&R(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||R(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],$(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||R(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,$e=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||y(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&y(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&y(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&y(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,$(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&(H(K,se,xe,!1),ne(K,K.line-Ne),se=xe=K.position,be=!1),r(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return H(K,se,xe,!1),!!K.result||(K.kind=$e,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&R(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),_e=0,Ae=C.implicitTypes.length;_e tag; it should be "'+Me.kind+'", not "'+C.kind+'"'),Me.resolve(C.result)?(C.result=Me.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):R(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):R(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function oe(C){var B,L,M,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&($(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(M=[],(L=C.input.slice(B,C.position)).length<1&&R(C,"directive name must not be less than one character in length");q!==0;){for(;r(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);M.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,M):k(C,'unknown document directive "'+L+'"')}$(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,$(C,!0,-1)):ae&&R(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),$(C,!0,-1),C.checkLineBreaks&&a.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,$(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>g/2-1){s=" ... ",h+=5;break}for(o="",a=this.position;ag/2-1){o=" ... ",a-=5;break}return c=this.buffer.slice(h,a),m.repeat(" ",_)+s+c+o+` +`+m.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var g,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(g=this.getSnippet())&&(s+=`: +`+g),s},l.exports=S},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(38),S=t(10);function _(s){return 48<=s&&s<=55}function g(s){return 48<=s&&s<=57}l.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,o,a=s.length,c=0,u=!1;if(!a)return!1;if((h=s[c])!=="-"&&h!=="+"||(h=s[++c]),h==="0"){if(c+1===a)return!0;if((h=s[++c])==="b"){for(c++;c=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(l,i,t){"use strict";var m=t(38),S=t(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),g=/^[-+]?[0-9]+e/;l.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,o,a,c;return o=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,c=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){c.unshift(parseFloat(u,10))}),h=0,a=1,c.forEach(function(u){h+=u*a,a*=60}),o*h):o*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||m.isNegativeZero(s))},represent:function(s,h){var o;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(m.isNegativeZero(s))return"-0.0";return o=s.toString(10),g.test(o)?o.replace("e",".e"):o},defaultStyle:"lowercase"})},function(l,i,t){"use strict";var m=t(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");l.exports=new m("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(g){return g!==null&&(S.exec(g)!==null||_.exec(g)!==null)},construct:function(g){var s,h,o,a,c,u,p,v,f=0,r=null;if((s=S.exec(g))===null&&(s=_.exec(g)),s===null)throw new Error("Date resolve error");if(h=+s[1],o=+s[2]-1,a=+s[3],!s[4])return new Date(Date.UTC(h,o,a));if(c=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(r=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(r=-r)),v=new Date(Date.UTC(h,o,a,c,u,p,f)),r&&v.setTime(v.getTime()-r),v},instanceOf:Date,represent:function(g){return g.toISOString()}})},function(l,i,t){"use strict";var m=t(10);l.exports=new m("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(l,i,t){"use strict";var m;try{m=t(145).Buffer}catch{}var S=t(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;l.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(g){if(g===null)return!1;var s,h,o=0,a=g.length,c=_;for(h=0;h64)){if(s<0)return!1;o+=6}return o%8==0},construct:function(g){var s,h,o=g.replace(/[\r\n=]/g,""),a=o.length,c=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|c.indexOf(o.charAt(s));return(h=a%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),m?m.from?m.from(p):new m(p):p},predicate:function(g){return m&&m.isBuffer(g)},represent:function(g){var s,h,o="",a=0,c=g.length,u=_;for(s=0;s>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]),a=(a<<8)+g[s];return(h=c%3)===0?(o+=u[a>>18&63],o+=u[a>>12&63],o+=u[a>>6&63],o+=u[63&a]):h===2?(o+=u[a>>10&63],o+=u[a>>4&63],o+=u[a<<2&63],o+=u[64]):h===1&&(o+=u[a>>2&63],o+=u[a<<4&63],o+=u[64],o+=u[64]),o}})},function(l,i,t){"use strict";var m=t(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;l.exports=new m("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(g){if(g===null)return!0;var s,h,o,a,c,u=[],p=g;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,g=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(g&&(s=g[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(l,i,t){"use strict";var m;try{m=t(302)}catch{typeof window<"u"&&(m=window.esprima)}var S=t(10);l.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var g="("+_+")",s=m.parse(g,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var g,s="("+_+")",h=m.parse(s,{range:!0}),o=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(a){o.push(a.name)}),g=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(o,s.slice(g[0]+1,g[1]-1)):new Function(o,"return "+s.slice(g[0],g[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(l,i,t){var m;m=function(){return function(S){var _={};function g(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,g),h.loaded=!0,h.exports}return g.m=S,g.c=_,g.p="",g(0)}([function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(1),h=g(3),o=g(8),a=g(15);function c(p,v,f){var r=null,e=function(T,N){f&&f(T,N),r&&r.visit(T,N)},y=typeof f=="function"?e:null,b=!1;if(v){b=typeof v.comment=="boolean"&&v.comment;var x=typeof v.attachComment=="boolean"&&v.attachComment;(b||x)&&((r=new s.CommentHandler).attach=x,v.comment=!0,y=e)}var E,w=!1;v&&typeof v.sourceType=="string"&&(w=v.sourceType==="module"),E=v&&typeof v.jsx=="boolean"&&v.jsx?new h.JSXParser(p,v,y):new o.Parser(p,v,y);var D=w?E.parseModule():E.parseScript();return b&&r&&(D.comments=r.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=c,_.parseModule=function(p,v,f){var r=v||{};return r.sourceType="module",c(p,r,f)},_.parseScript=function(p,v,f){var r=v||{};return r.sourceType="script",c(p,r,f)},_.tokenize=function(p,v,f){var r,e=new a.Tokenizer(p,v);r=[];try{for(;;){var y=e.getNextToken();if(!y)break;f&&(y=f(y)),r.push(y)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(r.errors=e.errors()),r};var u=g(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(2),h=function(){function o(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return o.prototype.insertInnerComments=function(a,c){if(a.type===s.Syntax.BlockStatement&&a.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var v=this.leading[p];c.end.offset>=v.start&&(u.unshift(v.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(a.innerComments=u)}},o.prototype.findTrailingComments=function(a){var c=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=a.end.offset&&c.unshift(p.comment)}return this.trailing.length=0,c}var v=this.stack[this.stack.length-1];if(v&&v.node.trailingComments){var f=v.node.trailingComments[0];f&&f.range[0]>=a.end.offset&&(c=v.node.trailingComments,delete v.node.trailingComments)}return c},o.prototype.findLeadingComments=function(a){for(var c,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=a.start.offset;)c=f.node,this.stack.pop();if(c){for(var p=(c.leadingComments?c.leadingComments.length:0)-1;p>=0;--p){var v=c.leadingComments[p];v.range[1]<=a.start.offset&&(u.unshift(v),c.leadingComments.splice(p,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=a.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},o.prototype.visitNode=function(a,c){if(!(a.type===s.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,c);var u=this.findTrailingComments(c),p=this.findLeadingComments(c);p.length>0&&(a.leadingComments=p),u.length>0&&(a.trailingComments=u),this.stack.push({node:a,start:c.start.offset})}},o.prototype.visitComment=function(a,c){var u=a.type[0]==="L"?"Line":"Block",p={type:u,value:a.value};if(a.range&&(p.range=a.range),a.loc&&(p.loc=a.loc),this.comments.push(p),this.attach){var v={comment:{type:u,value:a.value,range:[c.start.offset,c.end.offset]},start:c.start.offset};a.loc&&(v.comment.loc=a.loc),a.type=u,this.leading.push(v),this.trailing.push(v)}},o.prototype.visit=function(a,c){a.type==="LineComment"||a.type==="BlockComment"?this.visitComment(a,c):this.attach&&this.visitNode(a,c)},o}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,g){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,b){y.__proto__=b}||function(y,b){for(var x in b)b.hasOwnProperty(x)&&(y[x]=b[x])},function(y,b){function x(){this.constructor=y}s(y,b),y.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var o=g(4),a=g(5),c=g(6),u=g(7),p=g(8),v=g(13),f=g(14);function r(y){var b;switch(y.type){case c.JSXSyntax.JSXIdentifier:b=y.name;break;case c.JSXSyntax.JSXNamespacedName:var x=y;b=r(x.namespace)+":"+r(x.name);break;case c.JSXSyntax.JSXMemberExpression:var E=y;b=r(E.object)+"."+r(E.property)}return b}v.TokenName[100]="JSXIdentifier",v.TokenName[101]="JSXText";var e=function(y){function b(x,E,w){return y.call(this,x,E,w)||this}return h(b,y),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():y.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var F=this.scanner.source[this.scanner.index];if(F===x)break;if(D=F===";",E+=F,++this.scanner.index,!D)switch(E.length){case 2:T=F==="#";break;case 3:T&&(w=(N=F==="x")||o.Character.isDecimalDigit(F.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!o.Character.isDecimalDigit(F.charCodeAt(0))))&&!(N&&!o.Character.isHexDigit(F.charCodeAt(0)))}}if(w&&D&&E.length>2){var R=E.substr(1,E.length-2);T&&R.length>1?E=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?E=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!f.XHTMLEntities[R]||(E=f.XHTMLEntities[R])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:F=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==w;)D+=R==="&"?this.scanXHTMLEntity(w):R;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),F=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=F.length,{type:7,value:F,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(o.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(o.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,o.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new a.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new a.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new a.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new a.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new a.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new a.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new a.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new a.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new a.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new a.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new a.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return y.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&g.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&g.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var o=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=o;var a=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=a;var c=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=c;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var v=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=v;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var r=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=r;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var y=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var o=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=o;var a=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=a;var c=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=c;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var v=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=v;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var r=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=r;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var y=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=y;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var F=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=F;var R=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=R;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var H=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=H;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var $=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=$;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var ne=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=ne;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ie;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var oe=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=oe;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var M=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=M;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,Kr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=Kr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var _e=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=_e;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Me=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Me;var je=function(ye,Pe,Qe,Lt,Kr,Vr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=Kr,this.shorthand=Vr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var $e=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=$e;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var zt=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=zt;var pi=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=pi;var hi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=hi},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(9),h=g(10),o=g(11),a=g(7),c=g(12),u=g(2),p=g(13),v=function(){function f(r,e,y){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=y,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new c.Scanner(r,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(r){for(var e=[],y=1;y0&&this.delegate)for(var e=0;e>="||r===">>>="||r==="&="||r==="^="||r==="|="},f.prototype.isolateCoverGrammar=function(r){var e=this.context.isBindingElement,y=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=y,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(r){var e=this.context.isBindingElement,y=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=r.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&y,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var r,e,y,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),r=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,o.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),y=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value,y));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),y=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(e.value==="true",y));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),y=this.getTokenRaw(e),r=this.finalize(b,new a.Literal(null,y));break;case 10:r=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,r=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":r=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":r=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),y=this.getTokenRaw(e),r=this.finalize(b,new a.RegexLiteral(e.regex,y,e.pattern,e.flags));break;default:r=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?r=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?r=this.finalize(b,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?r=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),r=this.finalize(b,new a.ThisExpression)):r=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:r=this.throwUnexpectedToken(this.nextToken())}return r},f.prototype.parseSpreadElement=function(){var r=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(r,new a.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var r=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var y=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(y)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(r,new a.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(r){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,y=this.context.allowStrictDirective;this.context.allowStrictDirective=r.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&r.firstRestricted&&this.tolerateUnexpectedToken(r.firstRestricted,r.message),this.context.strict&&r.stricted&&this.tolerateUnexpectedToken(r.stricted,r.message),this.context.strict=e,this.context.allowStrictDirective=y,b},f.prototype.parsePropertyMethodFunction=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var y=this.parseFormalParameters(),b=this.parsePropertyMethod(y);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,y.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var r=this.createNode(),e=this.context.allowYield,y=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=y,this.finalize(r,new a.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var r,e=this.createNode(),y=this.nextToken();switch(y.type){case 8:case 6:this.context.strict&&y.octal&&this.tolerateUnexpectedToken(y,o.Messages.StrictOctalLiteral);var b=this.getTokenRaw(y);r=this.finalize(e,new a.Literal(y.value,b));break;case 3:case 1:case 5:case 4:r=this.finalize(e,new a.Identifier(y.value));break;case 7:y.value==="["?(r=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):r=this.throwUnexpectedToken(y);break;default:r=this.throwUnexpectedToken(y)}return r},f.prototype.isPropertyKey=function(r,e){return r.type===u.Syntax.Identifier&&r.name===e||r.type===u.Syntax.Literal&&r.value===e},f.prototype.parseObjectProperty=function(r){var e,y=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var F=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||F!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(y,new a.Identifier(F))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&R)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&R)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&R)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(r.value&&this.tolerateError(o.Messages.DuplicateProtoProperty),r.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(F=this.finalize(y,new a.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(y,new a.AssignmentPattern(F,k))}else T=!0,E=F;else this.throwUnexpectedToken(this.nextToken());return this.finalize(y,new a.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var r=this.createNode();this.expect("{");for(var e=[],y={value:!1};!this.match("}");)e.push(this.parseObjectProperty(y)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(r,new a.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var r=this.createNode(),e=this.nextToken(),y=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:y,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var r=this.createNode(),e=this.nextToken(),y=e.value,b=e.cooked;return this.finalize(r,new a.TemplateElement({raw:y,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var r=this.createNode(),e=[],y=[],b=this.parseTemplateHead();for(y.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),y.push(b);return this.finalize(r,new a.TemplateLiteral(y,e))},f.prototype.reinterpretExpressionAsPattern=function(r){switch(r.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:r.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(r.argument);break;case u.Syntax.ArrayExpression:r.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,y=[];if(this.match("..."))r=this.parseRestElement(y),this.expect(")"),this.match("=>")||this.expect("=>"),r={type:"ArrowParameterPlaceHolder",params:[r],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,r=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(r);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(r.type===u.Syntax.Identifier&&r.name==="yield"&&(b=!0,r={type:"ArrowParameterPlaceHolder",params:[r],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),r.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[r,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,y.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var F=this.startNode(x[x.length-1]);D.push(this.finalize(F,new a.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=D.length-1;e=D[R];for(var k=x.pop();R>1;){var G=x.pop(),H=k&&k.lineStart;F=this.startNode(G,H),N=D[R-1],e=this.finalize(F,new a.BinaryExpression(N,D[R-2],e)),R-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var r=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var y=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=y,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(r),new a.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(r,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(r,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(r,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(r,e.left);break;case u.Syntax.ArrayPattern:for(var y=0;y")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=r.async,E=this.reinterpretAsCoverFormalsList(r);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var F=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=k}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),r=x?this.finalize(F,new a.AsyncArrowFunctionExpression(E.params,R,G)):this.finalize(F,new a.ArrowFunctionExpression(E.params,R,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(o.Messages.InvalidLHSInAssignment),this.context.strict&&r.type===u.Syntax.Identifier){var H=r;this.scanner.isRestrictedWord(H.name)&&this.tolerateUnexpectedToken(y,o.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(H.name)&&this.tolerateUnexpectedToken(y,o.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(r):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(y=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(this.startNode(e),new a.AssignmentExpression(Y,r,z)),this.context.firstCoverInitializedNameError=null}}return r},f.prototype.parseExpression=function(){var r=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var y=[];for(y.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),y.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(r),new a.SequenceExpression(y))}return e},f.prototype.parseStatementListItem=function(){var r;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalExportDeclaration),r=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,o.Messages.IllegalImportDeclaration),r=this.parseImportDeclaration();break;case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"function":r=this.parseFunctionDeclaration();break;case"class":r=this.parseClassDeclaration();break;case"let":r=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:r=this.parseStatement()}else r=this.parseStatement();return r},f.prototype.parseBlock=function(){var r=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(r,new a.BlockStatement(e))},f.prototype.parseLexicalBinding=function(r,e){var y=this.createNode(),b=this.parsePattern([],r);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(o.Messages.StrictVarName);var x=null;return r==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(o.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(y,new a.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(r,e){for(var y=[this.parseLexicalBinding(r,e)];this.match(",");)this.nextToken(),y.push(this.parseLexicalBinding(r,e));return y},f.prototype.isLexicalDeclaration=function(){var r=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(r),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(r){var e=this.createNode(),y=this.nextToken().value;s.assert(y==="let"||y==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(y,r);return this.consumeSemicolon(),this.finalize(e,new a.VariableDeclaration(b,y))},f.prototype.parseBindingRestElement=function(r,e){var y=this.createNode();this.expect("...");var b=this.parsePattern(r,e);return this.finalize(y,new a.RestElement(b))},f.prototype.parseArrayPattern=function(r,e){var y=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(r,e));break}b.push(this.parsePatternWithDefault(r,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(y,new a.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(r,e){var y,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;y=this.parseVariableIdentifier();var T=this.finalize(x,new a.Identifier(D.value));if(this.match("=")){r.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new a.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(r,e)):(r.push(D),w=!0,b=T)}else E=this.match("["),y=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(r,e);return this.finalize(x,new a.Property("init",y,E,b,!1,w))},f.prototype.parseObjectPattern=function(r,e){var y=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(r,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(y,new a.ObjectPattern(b))},f.prototype.parsePattern=function(r,e){var y;return this.match("[")?y=this.parseArrayPattern(r,e):this.match("{")?y=this.parseObjectPattern(r,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,o.Messages.LetInLexicalBinding),r.push(this.lookahead),y=this.parseVariableIdentifier(e)),y},f.prototype.parsePatternWithDefault=function(r,e){var y=this.lookahead,b=this.parsePattern(r,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(y),new a.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(r){var e=this.createNode(),y=this.nextToken();return y.type===4&&y.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(y,o.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(y):y.type!==3?this.context.strict&&y.type===4&&this.scanner.isStrictModeReservedWord(y.value)?this.tolerateUnexpectedToken(y,o.Messages.StrictReservedWord):(this.context.strict||y.value!=="let"||r!=="var")&&this.throwUnexpectedToken(y):(this.context.isModule||this.context.await)&&y.type===3&&y.value==="await"&&this.tolerateUnexpectedToken(y),this.finalize(e,new a.Identifier(y.value))},f.prototype.parseVariableDeclaration=function(r){var e=this.createNode(),y=this.parsePattern([],"var");this.context.strict&&y.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(y.name)&&this.tolerateError(o.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):y.type===u.Syntax.Identifier||r.inFor||this.expect("="),this.finalize(e,new a.VariableDeclarator(y,b))},f.prototype.parseVariableDeclarationList=function(r){var e={inFor:r.inFor},y=[];for(y.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),y.push(this.parseVariableDeclaration(e));return y},f.prototype.parseVariableStatement=function(){var r=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(r,new a.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var r=this.createNode();return this.expect(";"),this.finalize(r,new a.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var r=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(o.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var r,e=this.createNode(),y=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),y=this.parseIfClause())),this.finalize(e,new a.IfStatement(b,r,y))},f.prototype.parseDoWhileStatement=function(){var r=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var y=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(r,new a.DoWhileStatement(y,b))},f.prototype.parseWhileStatement=function(){var r,e=this.createNode();this.expectKeyword("while"),this.expect("(");var y=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,r=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new a.WhileStatement(y,r))},f.prototype.parseForStatement=function(){var r,e,y,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var F=N[0];F.init&&(F.id.type===u.Syntax.ArrayPattern||F.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(o.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new a.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new a.VariableDeclaration(N,R)),this.nextToken(),r=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new a.VariableDeclaration(N,R)))):(b=this.finalize(b,new a.Identifier(R)),this.nextToken(),r=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(o.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),r=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new a.SequenceExpression(G))}this.expect(";")}}if(r===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),y=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var H=this.context.inIteration;this.context.inIteration=!0,y=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=H}return r===void 0?this.finalize(D,new a.ForStatement(b,x,E,y)):w?this.finalize(D,new a.ForInStatement(r,e,y)):this.finalize(D,new a.ForOfStatement(r,e,y))},f.prototype.parseContinueStatement=function(){var r=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var y=this.parseVariableIdentifier();e=y;var b="$"+y.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,y.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(o.Messages.IllegalContinue),this.finalize(r,new a.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var r=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var y=this.parseVariableIdentifier(),b="$"+y.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(o.Messages.UnknownLabel,y.name),e=y}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(o.Messages.IllegalBreak),this.finalize(r,new a.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(o.Messages.IllegalReturn);var r=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(o.Messages.StrictModeWith);var r,e=this.createNode();this.expectKeyword("with"),this.expect("(");var y=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),r=this.parseStatement()),this.finalize(e,new a.WithStatement(y,r))},f.prototype.parseSwitchCase=function(){var r,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),r=null):(this.expectKeyword("case"),r=this.parseExpression()),this.expect(":");for(var y=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)y.push(this.parseStatementListItem());return this.finalize(e,new a.SwitchCase(r,y))},f.prototype.parseSwitchStatement=function(){var r=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var y=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(o.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=y,this.finalize(r,new a.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var r,e=this.createNode(),y=this.parseExpression();if(y.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=y,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(o.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,o.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,o.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],r=new a.LabeledStatement(b,E)}else this.consumeSemicolon(),r=new a.ExpressionStatement(y);return this.finalize(e,r)},f.prototype.parseThrowStatement=function(){var r=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(o.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(r,new a.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var r=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],y=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(o.Messages.BadGetterArity);var b=this.parsePropertyMethod(y);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,y.params,b,!1))},f.prototype.parseSetterMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var y=this.parseFormalParameters();y.params.length!==1?this.tolerateError(o.Messages.BadSetterArity):y.params[0]instanceof a.RestElement&&this.tolerateError(o.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(y);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,y.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var r=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var y=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(y);return this.context.allowYield=e,this.finalize(r,new a.FunctionExpression(null,y.params,b,!0))},f.prototype.isStartOfExpression=function(){var r=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:r=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:r=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return r},f.prototype.parseYieldExpression=function(){var r=this.createNode();this.expectKeyword("yield");var e=null,y=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(y=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(r,new a.YieldExpression(e,y))},f.prototype.parseClassElement=function(r){var e=this.lookahead,y=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var F=this.lookahead.value;F!==":"&&F!=="("&&F!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,o.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&R&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,o.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,o.Messages.ConstructorSpecialMethod),r.value?this.throwUnexpectedToken(e,o.Messages.DuplicateConstructor):r.value=!0,b="constructor")),this.finalize(y,new a.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var r=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():r.push(this.parseClassElement(e));return this.expect("}"),r},f.prototype.parseClassBody=function(){var r=this.createNode(),e=this.parseClassElementList();return this.finalize(r,new a.ClassBody(e))},f.prototype.parseClassDeclaration=function(r){var e=this.createNode(),y=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=r&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=y,this.finalize(e,new a.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var r=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var y=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(r,new a.ClassExpression(y,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Module(e))},f.prototype.parseScript=function(){for(var r=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(r,new a.Script(e))},f.prototype.parseModuleSpecifier=function(){var r=this.createNode();this.lookahead.type!==8&&this.throwError(o.Messages.InvalidModuleSpecifier);var e=this.nextToken(),y=this.getTokenRaw(e);return this.finalize(r,new a.Literal(e.value,y))},f.prototype.parseImportSpecifier=function(){var r,e,y=this.createNode();return this.lookahead.type===3?(e=r=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=r=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(y,new a.ImportSpecifier(e,r))},f.prototype.parseNamedImports=function(){this.expect("{");for(var r=[];!this.match("}");)r.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),r},f.prototype.parseImportDefaultSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName();return this.finalize(r,new a.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var r=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(o.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(r,new a.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalImportDeclaration);var r,e=this.createNode();this.expectKeyword("import");var y=[];if(this.lookahead.type===8)r=this.parseModuleSpecifier();else{if(this.match("{")?y=y.concat(this.parseNamedImports()):this.match("*")?y.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(y.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?y.push(this.parseImportNamespaceSpecifier()):this.match("{")?y=y.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),r=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new a.ImportDeclaration(y,r))},f.prototype.parseExportSpecifier=function(){var r=this.createNode(),e=this.parseIdentifierName(),y=e;return this.matchContextualKeyword("as")&&(this.nextToken(),y=this.parseIdentifierName()),this.finalize(r,new a.ExportSpecifier(e,y))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(o.Messages.IllegalExportDeclaration);var r,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var y=this.parseFunctionDeclaration(!0);r=this.finalize(e,new a.ExportDefaultDeclaration(y))}else this.matchKeyword("class")?(y=this.parseClassDeclaration(!0),r=this.finalize(e,new a.ExportDefaultDeclaration(y))):this.matchContextualKeyword("async")?(y=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),r=this.finalize(e,new a.ExportDefaultDeclaration(y))):(this.matchContextualKeyword("from")&&this.throwError(o.Messages.UnexpectedToken,this.lookahead.value),y=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),r=this.finalize(e,new a.ExportDefaultDeclaration(y)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),r=this.finalize(e,new a.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(y=void 0,this.lookahead.value){case"let":case"const":y=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":y=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}r=this.finalize(e,new a.ExportNamedDeclaration(y,[],null))}else if(this.matchAsyncFunction())y=this.parseFunctionDeclaration(),r=this.finalize(e,new a.ExportNamedDeclaration(y,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?o.Messages.UnexpectedToken:o.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),r=this.finalize(e,new a.ExportNamedDeclaration(null,E,w))}return r},f}();_.Parser=v},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(g,s){if(!g)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var g=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,o){var a=new Error(h);try{throw a}catch(c){Object.create&&Object.defineProperty&&(a=Object.create(c),Object.defineProperty(a,"column",{value:o}))}return a},s.prototype.createError=function(h,o,a,c){var u="Line "+o+": "+c,p=this.constructError(u,a);return p.index=h,p.lineNumber=o,p.description=c,p},s.prototype.throwError=function(h,o,a,c){throw this.createError(h,o,a,c)},s.prototype.tolerateError=function(h,o,a,c){var u=this.createError(h,o,a,c);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(9),h=g(4),o=g(11);function a(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function c(p){return"01234567".indexOf(p)}var u=function(){function p(v,f){this.source=v,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=v.length,this.index=0,this.lineNumber=v.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(v){this.index=v.index,this.lineNumber=v.lineNumber,this.lineStart=v.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(v){return v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.tolerateUnexpectedToken=function(v){v===void 0&&(v=o.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,v)},p.prototype.skipSingleLineComment=function(v){var f,r,e=[];for(this.trackComment&&(e=[],f=this.index-v,r={start:{line:this.lineNumber,column:this.index-this.lineStart-v},end:{}});!this.eof();){var y=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(y)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+v,this.index-1],range:[f,this.index-1],loc:r};e.push(b)}return y===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+v,this.index],range:[f,this.index],loc:r},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var v,f,r=[];for(this.trackComment&&(r=[],v=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var y={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:f};r.push(y)}return r}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},y={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:f},r.push(y)),this.tolerateUnexpectedToken(),r},p.prototype.scanComments=function(){var v;this.trackComment&&(v=[]);for(var f=this.index===0;!this.eof();){var r=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(r))++this.index;else if(h.Character.isLineTerminator(r))++this.index,r===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(r===47)if((r=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(v=v.concat(e)),f=!0}else{if(r!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(v=v.concat(e))}else if(f&&r===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(v=v.concat(e))}else{if(r!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(v=v.concat(e))}}return v},p.prototype.isFutureReservedWord=function(v){switch(v){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(v){switch(v){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(v){return v==="eval"||v==="arguments"},p.prototype.isKeyword=function(v){switch(v.length){case 2:return v==="if"||v==="in"||v==="do";case 3:return v==="var"||v==="for"||v==="new"||v==="try"||v==="let";case 4:return v==="this"||v==="else"||v==="case"||v==="void"||v==="with"||v==="enum";case 5:return v==="while"||v==="break"||v==="catch"||v==="throw"||v==="const"||v==="yield"||v==="class"||v==="super";case 6:return v==="return"||v==="typeof"||v==="delete"||v==="switch"||v==="export"||v==="import";case 7:return v==="default"||v==="finally"||v==="extends";case 8:return v==="function"||v==="continue"||v==="debugger";case 10:return v==="instanceof";default:return!1}},p.prototype.codePointAt=function(v){var f=this.source.charCodeAt(v);if(f>=55296&&f<=56319){var r=this.source.charCodeAt(v+1);r>=56320&&r<=57343&&(f=1024*(f-55296)+r-56320+65536)}return f},p.prototype.scanHexEscape=function(v){for(var f=v==="u"?4:2,r=0,e=0;e1114111||v!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var v=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=v,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=v,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(v,this.index)},p.prototype.getComplexIdentifier=function(){var v,f=this.codePointAt(this.index),r=h.Character.fromCodePoint(f);for(this.index+=r.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierStart(v.charCodeAt(0))||this.throwUnexpectedToken(),r=v);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)r+=v=h.Character.fromCodePoint(f),this.index+=v.length,f===92&&(r=r.substr(0,r.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,v=this.scanUnicodeCodePointEscape()):(v=this.scanHexEscape("u"))!==null&&v!=="\\"&&h.Character.isIdentifierPart(v.charCodeAt(0))||this.throwUnexpectedToken(),r+=v);return r},p.prototype.octalToDecimal=function(v){var f=v!=="0",r=c(v);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,r=8*r+c(this.source[this.index++]),"0123".indexOf(v)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+c(this.source[this.index++]))),{code:r,octal:f}},p.prototype.scanIdentifier=function(){var v,f=this.index,r=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((v=r.length===1?3:this.isKeyword(r)?4:r==="null"?5:r==="true"||r==="false"?1:3)!=3&&f+r.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(o.Messages.InvalidEscapedReservedWord),this.index=e}return{type:v,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var v=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===v&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanHexLiteral=function(v){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanBinaryLiteral=function(v){for(var f,r="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)r+=this.source[this.index++];return r.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanOctalLiteral=function(v,f){var r="",e=!1;for(h.Character.isOctalDigit(v.charCodeAt(0))?(e=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return e||r.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var v=this.index+1;v=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(y,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(o.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(r)}catch{this.throwUnexpectedToken(o.Messages.InvalidRegExp)}try{return new RegExp(v,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var v=this.source[this.index];s.assert(v==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],r=!1,e=!1;!this.eof();)if(f+=v=this.source[this.index++],v==="\\")v=this.source[this.index++],h.Character.isLineTerminator(v.charCodeAt(0))&&this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f+=v;else if(h.Character.isLineTerminator(v.charCodeAt(0)))this.throwUnexpectedToken(o.Messages.UnterminatedRegExp);else if(r)v==="]"&&(r=!1);else{if(v==="/"){e=!0;break}v==="["&&(r=!0)}return e||this.throwUnexpectedToken(o.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var v="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())v+=f;else if((f=this.source[this.index])==="u"){++this.index;var r=this.index,e=this.scanHexEscape("u");if(e!==null)for(v+=e;r=55296&&v<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,g){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=g(10),h=g(12),o=g(13),a=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],v=p!==null;switch(p){case"this":case"]":v=!1;break;case")":var f=this.values[this.paren-1];v=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(v=!1,this.values[this.curly-3]==="function")v=!!(r=this.values[this.curly-4])&&!this.beforeFunctionExpression(r);else if(this.values[this.curly-4]==="function"){var r;v=!(r=this.values[this.curly-5])||!this.beforeFunctionExpression(r)}}return v},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),c=function(){function u(p,v){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!v&&typeof v.tolerant=="boolean"&&v.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!v&&typeof v.comment=="boolean"&&v.comment,this.trackRange=!!v&&typeof v.range=="boolean"&&v.range,this.trackLoc=!!v&&typeof v.loc=="boolean"&&v.loc,this.buffer=[],this.reader=new a}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var v=0;v0?k.charCodeAt(X-1):null,oe=oe&&e($,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!r($))return 5;ee=X>0?k.charCodeAt(X-1):null,oe=oe&&e($,ee)}ve=ve||ie&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?H>9&&y(k)?5:ve?4:3:oe&&!z(k)?1:2}function x(k,G,H,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&a.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,H),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),$=Y||k.flowLevel>-1&&H>=k.flowLevel;switch(b(G,$,k.indent,X,function(ee){return function(ne,de){var ve,ie;for(ve=0,ie=ne.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,ne){for(var de,ve,ie=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ie.lastIndex=le,D(ee.slice(0,le),ne)),oe=ee[0]===` +`||ee[0]===" ",le;ve=ie.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(oe||de||P===""?"":` +`)+D(P,ne),oe=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var ne,de,ve,ie="",Q=0;Q=55296&&ne<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ie+=c(1024*(ne-55296)+de-56320+65536),Q++):(ve=o[ne],ie+=!ve&&r(ne)?ee[Q]:ve||c(ne));return ie}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var H=y(k)?String(G):"",Y=k[k.length-1]===` +`;return H+(Y&&(k[k.length-2]===` `||k===` `)?"+":Y?"":"-")+` -`}function S(k){return k[k.length-1]===` -`?k.slice(0,-1):k}function C(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,q=/ [^ ]/g,X=0,H=0,ee=0,re="";$=q.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` -`+k.slice(X,Y),X=Y+1),H=ee;return re+=` -`,k.length-X>G&&H>X?re+=k.slice(X,H)+` -`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,q,X,H,ee,re;for(X=0,H=(q=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,q,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=a.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(q=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(he&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,ue){var ce,P,D,L,B,M,z="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,P=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",z+=M+=ne.dump));ne.tag=W,ne.dump=z||"{}"}(k,G,k.dump,q),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var ue,ce,P,D,L,B="",M=ne.tag,z=Object.keys(ie);for(ue=0,ce=z.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var me=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,ue){var ce,P,D="",L=ne.tag;for(ce=0,P=ie.length;ce "+k.dump)}return!0}function I(k,G){var $,Y,q=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(k){return this.emit("error",k),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(k){S={error:k}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var $=S.prefix,Y=null;if($===null&&G===R||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(k=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),C+=$+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,k=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var q=G===u.namespace.HTML;q&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):q||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,k,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){S={error:H}}finally{try{k&&!k.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),q=Y.next();!q.done;q=Y.next()){var X=q.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{q&&!q.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,k,G=I?new f.LocalNameSet:void 0;try{for(var $=y(b.attributes),Y=$.next();!Y.done;Y=$.next()){var q=Y.value;if(I||N||q.namespaceURI!==null){if(I&&G&&G.has(q.namespaceURI,q.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(q.namespaceURI,q.localName);var X=q.namespaceURI,H=null;if(X!==null)if(H=S.get(q.prefix,X),X===u.namespace.XMLNS){if(q.value===u.namespace.XML||q.prefix===null&&N||q.prefix!==null&&(!(q.localName in T)||T[q.localName]!==q.value)&&S.has(q.localName,q.value))continue;if(I&&q.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&q.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));q.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=q.prefix===null||S.hasPrefix(q.prefix)&&!S.has(q.prefix,X)?this._generatePrefix(X,S,C):q.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(q.localName.indexOf(":")!==-1||!i.xml_isName(q.localName)||q.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}else this._push(this._writer.attribute(q.localName,this._serializeAttributeValue(q.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var q=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(q,X)))continue;S.set(q,X),C[q]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var k=C[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var $=0;$':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var Ap=Xs(($n,Si)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,k=1,G=2,$=3,Y=1/0,q=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",P="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",z="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",$e="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",ze="[object DataView]",qe="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Jn=RegExp(st.source),Kn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Br=/[\\^$.*+?()[\]{}|]/g,Ea=RegExp(Br.source),Vn=/^\s+/,Di=/\s/,Lr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ci=/\{\n\/\* \[wrapped with (.+)\] \*/,wa=/,? & /,Sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Jt=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,Aa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rn=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Da=/^0b[01]+$/i,Yn=/^\[object .+?Constructor\]$/,Ca=/^0o[0-7]+$/i,Ta=/^(?:0|[1-9]\d*)$/,Na=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xn=/($^)/,Fa=/['\n\r\u2028\u2029\\]/g,bn="\\ud800-\\udfff",Oa="\\u0300-\\u036f",Ia="\\ufe20-\\ufe2f",Pa="\\u20d0-\\u20ff",Ti=Oa+Ia+Pa,Ni="\\u2700-\\u27bf",Fi="a-z\\xdf-\\xf6\\xf8-\\xff",ka="\\xac\\xb1\\xd7\\xf7",Ba="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",La="\\u2000-\\u206f",Ra=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oi="A-Z\\xc0-\\xd6\\xd8-\\xde",Ii="\\ufe0e\\ufe0f",Pi=ka+Ba+La+Ra,qt="['\u2019]",Qn="["+bn+"]",Zn="["+Pi+"]",nn="["+Ti+"]",ki="\\d+",on="["+Ni+"]",Bi="["+Fi+"]",Li="[^"+bn+Pi+ki+Ni+Fi+Oi+"]",En="\\ud83c[\\udffb-\\udfff]",Ma="(?:"+nn+"|"+En+")",Ri="[^"+bn+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Oi+"]",le="\\u200d",be="(?:"+Bi+"|"+Li+")",Ie="(?:"+Z+"|"+Li+")",Qe="(?:"+qt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+qt+"(?:D|LL|M|RE|S|T|VE))?",At=Ma+"?",bt="["+Ii+"]?",Fp="(?:"+le+"(?:"+[Ri,F,j].join("|")+")"+bt+At+")*",Op="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ip="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",su=bt+At+Fp,Pp="(?:"+[on,F,j].join("|")+")"+su,kp="(?:"+[Ri+nn+"?",nn,F,j,Qn].join("|")+")",Bp=RegExp(qt,"g"),Lp=RegExp(nn,"g"),ja=RegExp(En+"(?="+En+")|"+kp+su,"g"),Rp=RegExp([Z+"?"+Bi+"+"+Qe+"(?="+[Zn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Zn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Ip,Op,ki,Pp].join("|"),"g"),Mp=RegExp("["+le+bn+Ti+Ii+"]"),jp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Up=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qp=-1,dt={};dt[qe]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[ze]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[z]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[ze]=ht[ue]=ht[ce]=ht[qe]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[z]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var zp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Gp={"&":"&","<":"<",">":">",'"':""","'":"'"},Wp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Hp=parseFloat,$p=parseInt,uu=typeof global=="object"&&global&&global.Object===Object&&global,Jp=typeof self=="object"&&self&&self.Object===Object&&self,Ft=uu||Jp||Function("return this")(),Ua=typeof $n=="object"&&$n&&!$n.nodeType&&$n,an=Ua&&typeof Si=="object"&&Si&&!Si.nodeType&&Si,lu=an&&an.exports===Ua,qa=lu&&uu.process,nr=function(){try{var fe=an&&an.require&&an.require("util").types;return fe||qa&&qa.binding&&qa.binding("util")}catch{}}(),cu=nr&&nr.isArrayBuffer,fu=nr&&nr.isDate,pu=nr&&nr.isMap,hu=nr&&nr.isRegExp,du=nr&&nr.isSet,mu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function Kp(fe,Ee,ve,ke){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function za(fe,Ee,ve){for(var ke=-1,Ke=fe==null?0:fe.length;++ke-1;);return ve}function wu(fe,Ee){for(var ve=fe.length;ve--&&wn(Ee,fe[ve],0)>-1;);return ve}function ih(fe,Ee){for(var ve=fe.length,ke=0;ve--;)fe[ve]===Ee&&++ke;return ke}var oh=Ha(zp),ah=Ha(Gp);function sh(fe){return"\\"+Xp[fe]}function uh(fe,Ee){return fe==null?E:fe[Ee]}function Sn(fe){return Mp.test(fe)}function lh(fe){return jp.test(fe)}function ch(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Va(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(ke,Ke){ve[++Ee]=[Ke,ke]}),ve}function Su(fe,Ee){return function(ve){return fe(Ee(ve))}}function jr(fe,Ee){for(var ve=-1,ke=fe.length,Ke=0,lt=[];++ve-1}function Yh(r,h){var A=this.__data__,O=to(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}Er.prototype.clear=$h,Er.prototype.delete=Jh,Er.prototype.get=Kh,Er.prototype.has=Vh,Er.prototype.set=Yh;function wr(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=tm(r),!se)return zt(r,te)}else{var Fe=Lt(r),Pe=Fe==L||Fe==B;if(Hr(r))return al(r,se);if(Fe==oe||Fe==ne||Pe&&!U){if(te=pe||Pe?{}:Al(r),!se)return pe?Wd(r,hd(te,r)):Gd(r,Lu(te,r))}else{if(!ht[Fe])return U?r:{};te=rm(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),ec(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Ql(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?Es:bs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ai(te,nt,sr(He,h,A,nt,r,V))}),te}function dd(r){var h=Ot(r);return function(A){return Ru(A,r,h)}}function Ru(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Mu(r,h,A){if(typeof r!="function")throw new or(w);return hi(function(){r.apply(E,A)},h)}function si(r,h,A,O){var U=-1,V=Mi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=za,te=!1):h.length>=o&&(V=ei,te=!1,h=new ln(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:rc(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Mr(U,se):O||(U[U.length]=se)}return U}var ns=pl(),qu=pl(!0);function gr(r,h){return r&&ns(r,h,Ot)}function is(r,h){return r&&qu(r,h,Ot)}function no(r,h){return Rr(h,function(A){return Tr(r[A])})}function fn(r,h){h=Wr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function vd(r,h){return r!=null&&ft.call(r,h)}function gd(r,h){return r!=null&&h in pt(r)}function _d(r,h,A){return r>=Bt(h,A)&&r=120&&Ce.length>=120)?new ln(te&&Ce):E}Ce=r[0];var Fe=-1,Pe=se[0];e:for(;++Fe-1;)se!==r&&Ji.call(se,pe,1),Ji.call(r,pe,1);return r}function Qu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Cr(U)?Ji.call(r,U,1):ds(r,U)}}return r}function fs(r,h){return r+Yi(Iu()*(h-r+1))}function Id(r,h,A,O){for(var U=-1,V=Tt(Vi((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function ps(r,h){var A="";if(!r||h<1||h>q)return A;do h%2&&(A+=r),h=Yi(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return Ns(Tl(r,h,Xt),r+"")}function Pd(r){return Bu(kn(r))}function kd(r,h){var A=kn(r);return mo(A,cn(h,0,A.length))}function ci(r,h,A,O){if(!vt(r))return r;h=Wr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Jd(r);if(De)return Ui(De);te=!1,U=ei,pe=new ln}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var ol=Ah||function(r){return Ft.clearTimeout(r)};function al(r,h){if(h)return r.slice();var A=r.length,O=Cu?Cu(A):new r.constructor(A);return r.copy(O),O}function gs(r){var h=new r.constructor(r.byteLength);return new Hi(h).set(new Hi(r)),h}function jd(r,h){var A=h?gs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Ud(r){var h=new r.constructor(r.source,rn.exec(r));return h.lastIndex=r.lastIndex,h}function qd(r){return oi?pt(oi.call(r)):{}}function sl(r,h){var A=h?gs(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function ul(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function ll(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function ml(r){return Dr(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&po(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,Pe=!0,Ue=A&f?new ln:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Lr,`{ -/* [wrapped with `+h+`] */ -`)}function im(r){return Ye(r)||dn(r)||!!(Fu&&r&&r[Fu])}function Cr(r,h){var A=typeof r;return h=h??q,!!h&&(A=="number"||A!="symbol"&&Ta.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function mo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ul(r,A)});function ql(r){var h=J(r);return h.__chain__=!0,h}function m0(r,h){return h(r),r}function yo(r,h){return h(r)}var y0=Dr(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return rs(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Cr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:yo,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function v0(){return ql(this)}function g0(){return new ar(this.value(),this.__chain__)}function _0(){this.__values__===E&&(this.__values__=tc(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function x0(){return this}function b0(r){for(var h,A=this;A instanceof eo;){var O=kl(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function E0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:yo,args:[Fs],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Fs)}function w0(){return nl(this.__wrapped__,this.__actions__)}var S0=so(function(r,h,A){ft.call(r,A)?++r[A]:Sr(r,A,1)});function A0(r,h,A){var O=Ye(r)?yu:md;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function D0(r,h){var A=Ye(r)?Rr:Uu;return A(r,Ge(h,3))}var C0=dl(Bl),T0=dl(Ll);function N0(r,h){return It(vo(r,h),1)}function F0(r,h){return It(vo(r,h),Y)}function O0(r,h,A){return A=A===E?1:Ze(A),It(vo(r,h),A)}function zl(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function Gl(r,h){var A=Ye(r)?Vp:ju;return A(r,Ge(h,3))}var I0=so(function(r,h,A){ft.call(r,A)?r[A].push(h):Sr(r,A,[h])});function P0(r,h,A,O){r=Gt(r)?r:kn(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),Eo(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&wn(r,h,A)>-1}var k0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):ui(te,h,A)}),V}),B0=so(function(r,h,A){Sr(r,A,h)});function vo(r,h){var A=Ye(r)?yt:Hu;return A(r,Ge(h,3))}function L0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),Vu(r,h,A))}var R0=so(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function M0(r,h,A){var O=Ye(r)?Ga:xu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function j0(r,h,A){var O=Ye(r)?Yp:xu,U=arguments.length<3;return O(r,Ge(h,4),A,U,ju)}function U0(r,h){var A=Ye(r)?Rr:Uu;return A(r,xo(Ge(h,3)))}function q0(r){var h=Ye(r)?Bu:Pd;return h(r)}function z0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?cd:kd;return O(r,h)}function G0(r){var h=Ye(r)?fd:Ld;return h(r)}function W0(r){if(r==null)return 0;if(Gt(r))return Eo(r)?An(r):r.length;var h=Lt(r);return h==M||h==Be?r.size:us(r).length}function X0(r,h,A){var O=Ye(r)?Wa:Rd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var H0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),Vu(r,It(h,1),[])}),go=Dh||function(){return Ft.Date.now()};function $0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function Wl(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Ar(r,b,E,E,E,E,h)}function Xl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Is=rt(function(r,h,A){var O=d;if(A.length){var U=jr(A,In(Is));O|=x}return Ar(r,O,h,A,U)}),Hl=rt(function(r,h,A){var O=d|c;if(A.length){var U=jr(A,In(Hl));O|=x}return Ar(h,O,r,A,U)});function $l(r,h,A){h=A?E:h;var O=Ar(r,e,E,E,E,E,E,h);return O.placeholder=$l.placeholder,O}function Jl(r,h,A){h=A?E:h;var O=Ar(r,g,E,E,E,E,E,h);return O.placeholder=Jl.placeholder,O}function Kl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,Pe=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,Pe="trailing"in A?!!A.trailing:Pe);function Ue(wt){var yr=O,Fr=U;return O=U=E,De=wt,te=r.apply(Fr,yr),te}function Xe(wt){return De=wt,se=hi(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Fr=wt-De,dc=h-yr;return Fe?Bt(dc,V-Fr):dc}function He(wt){var yr=wt-pe,Fr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Fr>=V}function nt(){var wt=go();if(He(wt))return ot(wt);se=hi(nt,et(wt))}function ot(wt){return se=E,Pe&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&ol(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(go())}function er(){var wt=go(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return ol(se),se=hi(nt,h),Ue(pe)}return se===E&&(se=hi(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var J0=rt(function(r,h){return Mu(r,1,h)}),K0=rt(function(r,h,A){return Mu(r,cr(h)||0,A)});function V0(r){return Ar(r,C)}function _o(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(_o.Cache||wr),A}_o.Cache=wr;function xo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function Y0(r){return Xl(2,r)}var Q0=Md(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Bt(O.length,A);++U=h}),dn=Gu(function(){return arguments}())?Gu:function(r){return xt(r)&&ft.call(r,"callee")&&!Nu.call(r,"callee")},Ye=ve.isArray,hy=cu?Vt(cu):bd;function Gt(r){return r!=null&&bo(r.length)&&!Tr(r)}function Et(r){return xt(r)&&Gt(r)}function dy(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Hr=Th||Ws,my=fu?Vt(fu):Ed;function yy(r){return xt(r)&&r.nodeType===1&&!di(r)}function vy(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Hr(r)||Pn(r)||dn(r)))return!r.length;var h=Lt(r);if(h==M||h==Be)return!r.size;if(pi(r))return!us(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function gy(r,h){return li(r,h)}function _y(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?li(r,h,E,A):!!O}function ks(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==P||typeof r.message=="string"&&typeof r.name=="string"&&!di(r)}function xy(r){return typeof r=="number"&&Ou(r)}function Tr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Yl(r){return typeof r=="number"&&r==Ze(r)}function bo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=q}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Ql=pu?Vt(pu):Sd;function by(r,h){return r===h||ss(r,h,Ss(h))}function Ey(r,h,A){return A=typeof A=="function"?A:E,ss(r,h,Ss(h),A)}function wy(r){return Zl(r)&&r!=+r}function Sy(r){if(sm(r))throw new Ke(v);return Wu(r)}function Ay(r){return r===null}function Dy(r){return r==null}function Zl(r){return typeof r=="number"||xt(r)&&Rt(r)==z}function di(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=$i(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Gi.call(A)==Eh}var Bs=hu?Vt(hu):Ad;function Cy(r){return Yl(r)&&r>=-q&&r<=q}var ec=du?Vt(du):Dd;function Eo(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var Pn=mu?Vt(mu):Cd;function Ty(r){return r===E}function Ny(r){return xt(r)&&Lt(r)==we}function Fy(r){return xt(r)&&Rt(r)==at}var Oy=fo(ls),Iy=fo(function(r,h){return r<=h});function tc(r){if(!r)return[];if(Gt(r))return Eo(r)?hr(r):zt(r);if(ti&&r[ti])return ch(r[ti]());var h=Lt(r),A=h==M?Va:h==Be?Ui:kn;return A(r)}function Nr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Nr(r),A=h%1;return h===h?A?h-A:h:0}function rc(r){return r?cn(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=bu(r);var A=Da.test(r);return A||Ca.test(r)?$p(r.slice(2),A?2:8):vr.test(r)?H:+r}function nc(r){return _r(r,Wt(r))}function Py(r){return r?cn(Ze(r),-q,q):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var ky=Fn(function(r,h){if(pi(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ai(r,A,h[A])}),ic=Fn(function(r,h){_r(h,Wt(h),r)}),wo=Fn(function(r,h,A,O){_r(h,Wt(h),r,O)}),By=Fn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ly=Dr(rs);function Ry(r,h){var A=Nn(r);return h==null?A:Lu(A,h)}var My=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,Es(r),A),O&&(A=sr(A,n|i|u,Kd));for(var U=h.length;U--;)ds(A,h[U]);return A});function rv(r,h){return ac(r,xo(Ge(h)))}var nv=Dr(function(r,h){return r==null?{}:Fd(r,h)});function ac(r,h){if(r==null)return{};var A=yt(Es(r),function(O){return[O]});return h=Ge(h),Yu(r,A,function(O,U){return h(O,U[0])})}function iv(r,h,A){h=Wr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Iu();return Bt(r+U*(h-r+Hp("1e-"+((U+"").length-1))),h)}return fs(r,h)}var mv=On(function(r,h,A){return h=h.toLowerCase(),r+(A?lc(h):h)});function lc(r){return Ms(ct(r).toLowerCase())}function cc(r){return r=ct(r),r&&r.replace(Na,oh).replace(Lp,"")}function yv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:cn(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function vv(r){return r=ct(r),r&&Jn.test(r)?r.replace(st,ah):r}function gv(r){return r=ct(r),r&&Ea.test(r)?r.replace(Br,"\\$&"):r}var _v=On(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),xv=On(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),bv=hl("toLowerCase");function Ev(r,h,A){r=ct(r),h=Ze(h);var O=h?An(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return co(Yi(U),A)+r+co(Vi(U),A)}function wv(r,h,A){r=ct(r),h=Ze(h);var O=h?An(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Bs(h))&&(h=Yt(h),!h&&Sn(r))?Xr(hr(r),0,A):r.split(h,A)):[]}var Fv=On(function(r,h,A){return r+(A?" ":"")+Ms(h)});function Ov(r,h,A){return r=ct(r),A=A==null?0:cn(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Iv(r,h,A){var O=J.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=wo({},h,O,xl);var U=wo({},h.imports,O.imports,xl),V=Ot(U),te=Ka(U,V),se,pe,De=0,Ce=h.interpolate||xn,Fe="__p += '",Pe=Ya((h.escape||xn).source+"|"+Ce.source+"|"+(Ce===Oe?Aa:xn).source+"|"+(h.evaluate||xn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qp+"]")+` -`;r.replace(Pe,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Fa,sh),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var H,Y,z=/ [^ ]/g,X=0,$=0,ee=0,ne="";H=z.exec(k);)(ee=H.index)-X>G&&(Y=$>X?$:ee,ne+=` +`+k.slice(X,Y),X=Y+1),$=ee;return ne+=` +`,k.length-X>G&&$>X?ne+=k.slice(X,$)+` +`+k.slice($+1):ne+=k.slice(X),ne.slice(1)}function T(k,G,H){var Y,z,X,$,ee,ne;for(X=0,$=(z=H?k.explicitTypes:k.implicitTypes).length;X<$;X+=1)if(((ee=z[X]).instanceOf||ee.predicate)&&(!ee.instanceOf||typeof G=="object"&&G instanceof ee.instanceOf)&&(!ee.predicate||ee.predicate(G))){if(k.tag=H?ee.tag:"?",ee.represent){if(ne=k.styleMap[ee.tag]||ee.defaultStyle,s.call(ee.represent)==="[object Function]")Y=ee.represent(G,ne);else{if(!h.call(ee.represent,ne))throw new S("!<"+ee.tag+'> tag resolver accepts not "'+ne+'" style');Y=ee.represent[ne](G,ne)}k.dump=Y}return!0}return!1}function N(k,G,H,Y,z,X){k.tag=null,k.dump=H,T(k,H,!1)||T(k,H,!0);var $=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,ne,de=$==="[object Object]"||$==="[object Array]";if(de&&(ne=(ee=k.duplicates.indexOf(H))!==-1),(k.tag!==null&&k.tag!=="?"||ne||k.indent!==2&&G>0)&&(z=!1),ne&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&ne&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),$==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ie,Q,oe,le){var fe,P,C,B,L,M,q="",W=ie.tag,ae=Object.keys(oe);if(ie.sortKeys===!0)ae.sort();else if(typeof ie.sortKeys=="function")ae.sort(ie.sortKeys);else if(ie.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ie.dump&&ie.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ie.dump,L&&(M+=v(ie,Q)),N(ie,Q+1,B,!0,L)&&(ie.dump&&ie.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ie.dump));ie.tag=W,ie.dump=q||"{}"}(k,G,k.dump,z),ne&&(k.dump="&ref_"+ee+k.dump)):(function(ie,Q,oe){var le,fe,P,C,B,L="",M=ie.tag,q=Object.keys(oe);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ie.dump+(ie.condenseFlow?'"':"")+":"+(ie.condenseFlow?"":" "),N(ie,Q,C,!1,!1)&&(L+=B+=ie.dump));ie.tag=M,ie.dump="{"+L+"}"}(k,G,k.dump),ne&&(k.dump="&ref_"+ee+" "+k.dump));else if($==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ie,Q,oe,le){var fe,P,C="",B=ie.tag;for(fe=0,P=oe.length;fe "+k.dump)}return!0}function F(k,G){var H,Y,z=[],X=[];for(function $(ee,ne,de){var ve,ie,Q;if(ee!==null&&typeof ee=="object")if((ie=ne.indexOf(ee))!==-1)de.indexOf(ie)===-1&&de.push(ie);else if(ne.push(ee),Array.isArray(ee))for(ie=0,Q=ee.length;ie=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},g=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(F){D={error:F}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(i,"__esModule",{value:!0});var s=t(91),h=t(1),o=t(183),a=t(0),c=t(7),u=t(95),p=t(69),v=t(3),f=t(305),r=t(306),e=t(307),y=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new r.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",c.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=o.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!a.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=o.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=o.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!a.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!a.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=o.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),F=N.next();!F.done;F=N.next()){var R=F.value;this._fromNode(R)}}catch(k){w={error:k}}finally{try{F&&!F.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&a.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),F={},R=this._recordNamespaceInformation(w,N,F),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)R!==null&&(T=!0),D=G===c.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var H=w.prefix,Y=null;if(H===null&&G===R||(Y=N.get(H,G)),H==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=H}Y!==null?(D=Y+":"+w.localName,R!==null&&R!==c.namespace.XML&&(k=R||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):H!==null?(H in F&&(H=this._generatePrefix(G,N,this._prefixIndex)),N.set(H,G),D+=H+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(k=R||null)):R===null||R!==null&&R!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,F,T,this._options.wellFormed);var z=G===c.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=g(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(v.Guard.isElementNode(E)){var F=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,F):this.ele(F);try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,H=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,H,G.value):this.att(H,G.value)}}catch($){w={error:$}}finally{try{k&&!k.done&&(D=R.return)&&D.call(R)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch($){T={error:$}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else v.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):v.Guard.isCommentNode(E)?this.com(E.data):v.Guard.isCDATASectionNode(E)?this.dat(E.data):v.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,F){var R,k,G=F?new p.LocalNameSet:void 0;try{for(var H=_(E.attributes),Y=H.next();!Y.done;Y=H.next()){var z=Y.value;if(F||N||z.namespaceURI!==null){if(F&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));F&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,$=null;if(X!==null)if($=w.get(z.prefix,X),X===c.namespace.XMLNS){if(z.value===c.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(F&&z.value===c.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(F&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&($="xmlns")}else $===null&&($=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(X,this._options.wellFormed))));if(F&&(z.localName.indexOf(":")!==-1||!a.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute(($!==null?$+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(k=H.return)&&k.call(H)}finally{if(R)throw R.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!a.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,F=null;try{for(var R=_(E.attributes),k=R.next();!k.done;k=R.next()){var G=k.value,H=G.namespaceURI,Y=G.prefix;if(H===c.namespace.XMLNS){if(Y===null){F=G.value;continue}var z=G.localName,X=G.value;if(X===c.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch($){T={error:$}}finally{try{k&&!k.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return F},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,F=w._nullItems;for(var R in T){var k=D[R];if(k===void 0)return!0;var G=T[R];if(k.length!==G.length)return!0;for(var H=0;H':o?"':a?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,o){return o?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,o,a){return a?" />":o?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,o){var a=h+'="'+o+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+a.length>this._writerOptions.width?(a=this._beginLine()+this._indent(1)+a,this._lineLength=a.length,a):(this._lineLength+=1+a.length," "+a)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(t(114).BaseCBWriter);i.XMLCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(g,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(g,s)},function(g,s){function h(){this.constructor=g}m(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(g){function s(h){var o=g.call(this,h)||this;return o._hasChildren=[],o._additionalLevel=0,o}return S(s,g),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,o){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(o?h+" "+o:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,o){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(o)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var o=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,o+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),o},s.prototype.openTagEnd=function(h,o,a){if(o){var c=this._sep()+"]";return this._additionalLevel--,c+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var o=this._beginLine()+"]";return this._additionalLevel--,o+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.JSONCBWriter=_},function(l,i,t){"use strict";t(74);var m,S=this&&this.__extends||(m=function(g,s){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,o){h.__proto__=o}||function(h,o){for(var a in o)o.hasOwnProperty(a)&&(h[a]=o[a])})(g,s)},function(g,s){function h(){this.constructor=g}m(g,s),g.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(i,"__esModule",{value:!0});var _=function(g){function s(h){var o=g.call(this,h)||this;if(o._rootWritten=!1,o._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return o}return S(s,g),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,o,a){return""},s.prototype.docType=function(h,o,a){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,o){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(o?h+" "+o:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,o){this._additionalLevel++;var a=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(o);return this._additionalLevel--,a},s.prototype.openTagBegin=function(h){var o=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,o+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,o,a){return o?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,o){if(h+this._additionalLevel<=0)return"";var a=this._writerOptions.indent.repeat(h+this._additionalLevel);return!o&&this._rootWritten?a.substr(0,a.length-2)+"-"+a.substr(-1,1):a},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(t(114).BaseCBWriter);i.YAMLCBWriter=_},function(l,i,t){"use strict";var m,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,y,b){return Function.prototype.apply.call(e,y,b)};m=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var g=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}l.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function o(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function a(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function c(e,y,b,x){var E,w,D,T;if(o(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",y,b.listener?b.listener:b),w=e._events),D=w[y]),D===void 0)D=w[y]=b,++e._eventsCount;else if(typeof D=="function"?D=w[y]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=a(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(y)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=y,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,y,b){var x={fired:!1,wrapFn:void 0,target:e,type:y,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function v(e,y,b){var x=e._events;if(x===void 0)return[];var E=x[y];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=y[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,y);else{var N=T.length,F=r(T,N);for(b=0;b=0;w--)if(b[w]===y||b[w].listener===y){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,y[x]);return this},s.prototype.listeners=function(e){return v(this,e,!0)},s.prototype.rawListeners=function(e){return v(this,e,!1)},s.listenerCount=function(e,y){return typeof e.listenerCount=="function"?e.listenerCount(y):f.call(e,y)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?m(this._events):[]}},function(l,i,t){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=t(77);i.createCB=function(S){return new m.XMLBuilderCBImpl(S)},i.fragmentCB=function(S){return new m.XMLBuilderCBImpl(S,!0)}}])})});var fh=ks((ci,zi)=>{(function(){var l,i="4.17.21",t=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",o=1,a=2,c=4,u=1,p=2,v=1,f=2,r=4,e=8,y=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",F=800,R=16,k=1,G=2,H=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,$=0/0,ee=4294967295,ne=ee-1,de=ee>>>1,ve=[["ary",E],["bind",v],["bindKey",f],["curry",e],["curryRight",y],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ie="[object Arguments]",Q="[object Array]",oe="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",_e="[object Proxy]",Ae="[object RegExp]",Me="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",$e=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,zt=RegExp(wt.source),pi=RegExp(ft.source),hi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vr=/[\\^$.*+?()[\]{}|]/g,fa=RegExp(Vr.source),di=/^\s+/,qi=/\s/,Yr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gi=/\{\n\/\* \[wrapped with (.+)\] \*/,pa=/,? & /,ha=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,nr=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,da=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vn=/\w*$/,Or=/^[-+]0x[0-9a-f]+$/i,ma=/^0b[01]+$/i,mi=/^\[object .+?Constructor\]$/,va=/^0o[0-7]+$/i,ya=/^(?:0|[1-9]\d*)$/,ga=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mn=/($^)/,_a=/['\n\r\u2028\u2029\\]/g,jn="\\ud800-\\udfff",xa="\\u0300-\\u036f",ba="\\ufe20-\\ufe2f",Ea="\\u20d0-\\u20ff",Wi=xa+ba+Ea,Xi="\\u2700-\\u27bf",$i="a-z\\xdf-\\xf6\\xf8-\\xff",wa="\\xac\\xb1\\xd7\\xf7",Sa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Aa="\\u2000-\\u206f",Ca=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Hi="A-Z\\xc0-\\xd6\\xd8-\\xde",Ji="\\ufe0e\\ufe0f",Ki=wa+Sa+Aa+Ca,Vt="['\u2019]",vi="["+jn+"]",yi="["+Ki+"]",yn="["+Wi+"]",Vi="\\d+",gn="["+Xi+"]",Yi="["+$i+"]",Qi="[^"+jn+Ki+Vi+Xi+$i+Hi+"]",Un="\\ud83c[\\udffb-\\udfff]",Da="(?:"+yn+"|"+Un+")",Zi="[^"+jn+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Hi+"]",ce="\\u200d",Ee="(?:"+Yi+"|"+Qi+")",Le="(?:"+Z+"|"+Qi+")",rt="(?:"+Vt+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+Vt+"(?:D|LL|M|RE|S|T|VE))?",Ot=Da+"?",Ct="["+Ji+"]?",gh="(?:"+ce+"(?:"+[Zi,O,j].join("|")+")"+Ct+Ot+")*",_h="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fu=Ct+Ot+gh,bh="(?:"+[gn,O,j].join("|")+")"+fu,Eh="(?:"+[Zi+yn+"?",yn,O,j,vi].join("|")+")",wh=RegExp(Vt,"g"),Sh=RegExp(yn,"g"),Ta=RegExp(Un+"(?="+Un+")|"+Eh+fu,"g"),Ah=RegExp([Z+"?"+Yi+"+"+rt+"(?="+[yi,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[yi,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,xh,_h,Vi,bh].join("|"),"g"),Ch=RegExp("["+ce+jn+Wi+Ji+"]"),Dh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Th=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Nh=-1,gt={};gt[Ge]=gt[Fe]=gt[se]=gt[xe]=gt[be]=gt[Ne]=gt[Ce]=gt[ze]=gt[Ue]=!0,gt[ie]=gt[Q]=gt[K]=gt[le]=gt[We]=gt[fe]=gt[C]=gt[B]=gt[M]=gt[q]=gt[ae]=gt[Ae]=gt[Me]=gt[je]=gt[Se]=!1;var yt={};yt[ie]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[M]=yt[q]=yt[ae]=yt[Ae]=yt[Me]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var Oh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Fh={"&":"&","<":"<",">":">",'"':""","'":"'"},Ih={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ph={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kh=parseFloat,Lh=parseInt,pu=typeof global=="object"&&global&&global.Object===Object&&global,Bh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=pu||Bh||Function("return this")(),Na=typeof ci=="object"&&ci&&!ci.nodeType&&ci,_n=Na&&typeof zi=="object"&&zi&&!zi.nodeType&&zi,hu=_n&&_n.exports===Na,Oa=hu&&pu.process,dr=function(){try{var pe=_n&&_n.require&&_n.require("util").types;return pe||Oa&&Oa.binding&&Oa.binding("util")}catch{}}(),du=dr&&dr.isArrayBuffer,mu=dr&&dr.isDate,vu=dr&&dr.isMap,yu=dr&&dr.isRegExp,gu=dr&&dr.isSet,_u=dr&&dr.isTypedArray;function ir(pe,we,ge){switch(ge.length){case 0:return pe.call(we);case 1:return pe.call(we,ge[0]);case 2:return pe.call(we,ge[0],ge[1]);case 3:return pe.call(we,ge[0],ge[1],ge[2])}return pe.apply(we,ge)}function Rh(pe,we,ge,Re){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function Fa(pe,we,ge){for(var Re=-1,Ze=pe==null?0:pe.length;++Re-1;);return ge}function Du(pe,we){for(var ge=pe.length;ge--&&zn(we,pe[ge],0)>-1;);return ge}function $h(pe,we){for(var ge=pe.length,Re=0;ge--;)pe[ge]===we&&++Re;return Re}var Hh=La(Oh),Jh=La(Fh);function Kh(pe){return"\\"+Ph[pe]}function Vh(pe,we){return pe==null?l:pe[we]}function qn(pe){return Ch.test(pe)}function Yh(pe){return Dh.test(pe)}function Qh(pe){for(var we,ge=[];!(we=pe.next()).done;)ge.push(we.value);return ge}function ja(pe){var we=-1,ge=Array(pe.size);return pe.forEach(function(Re,Ze){ge[++we]=[Ze,Re]}),ge}function Tu(pe,we){return function(ge){return pe(we(ge))}}function en(pe,we){for(var ge=-1,Re=pe.length,Ze=0,ht=[];++ge-1}function jd(n,d){var A=this.__data__,I=go(A,n);return I<0?(++this.size,A.push([n,d])):A[I][1]=d,this}Rr.prototype.clear=Ld,Rr.prototype.delete=Bd,Rr.prototype.get=Rd,Rr.prototype.has=Md,Rr.prototype.set=jd;function Mr(n){var d=-1,A=n==null?0:n.length;for(this.clear();++d=d?n:d)),n}function gr(n,d,A,I,U,V){var te,ue=d&o,he=d&a,De=d&c;if(A&&(te=U?A(n,I,U,V):A(n)),te!==l)return te;if(!bt(n))return n;var Te=tt(n);if(Te){if(te=Gm(n),!ue)return Yt(n,te)}else{var Ie=Gt(n),Be=Ie==B||Ie==L;if(un(n))return cl(n,ue);if(Ie==ae||Ie==ie||Be&&!U){if(te=he||Be?{}:Nl(n),!ue)return he?Im(n,tm(te,n)):Fm(n,Uu(te,n))}else{if(!yt[Ie])return U?n:{};te=Wm(n,Ie,ue)}}V||(V=new Ar);var qe=V.get(n);if(qe)return qe;V.set(n,te),ic(n)?n.forEach(function(Je){te.add(gr(Je,d,A,Je,n,V))}):rc(n)&&n.forEach(function(Je,st){te.set(st,gr(Je,d,A,st,n,V))});var He=De?he?fs:cs:he?Zt:Rt,it=Te?l:He(n);return mr(it||n,function(Je,st){it&&(st=Je,Je=n[st]),Si(te,st,gr(Je,d,A,st,n,V))}),te}function rm(n){var d=Rt(n);return function(A){return zu(A,n,d)}}function zu(n,d,A){var I=A.length;if(n==null)return!I;for(n=vt(n);I--;){var U=A[I],V=d[U],te=n[U];if(te===l&&!(U in n)||!V(te))return!1}return!0}function qu(n,d,A){if(typeof n!="function")throw new vr(S);return Fi(function(){n.apply(l,A)},d)}function Ai(n,d,A,I){var U=-1,V=eo,te=!0,ue=n.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,or(A))),I?(V=Fa,te=!1):d.length>=t&&(V=gi,te=!1,d=new En(d));e:for(;++UU?0:U+A),I=I===l||I>U?U:nt(I),I<0&&(I+=U),I=A>I?0:ac(I);A0&&A(ue)?d>1?Mt(ue,d-1,A,I,U):Zr(U,ue):I||(U[U.length]=ue)}return U}var $a=vl(),Xu=vl(!0);function Fr(n,d){return n&&$a(n,d,Rt)}function Ha(n,d){return n&&Xu(n,d,Rt)}function xo(n,d){return Qr(d,function(A){return Gr(n[A])})}function Sn(n,d){d=an(d,n);for(var A=0,I=d.length;n!=null&&Ad}function om(n,d){return n!=null&&mt.call(n,d)}function am(n,d){return n!=null&&d in vt(n)}function sm(n,d,A){return n>=qt(d,A)&&n=120&&Te.length>=120)?new En(te&&Te):l}Te=n[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==n&&co.call(ue,he,1),co.call(n,he,1);return n}function rl(n,d){for(var A=n?d.length:0,I=A-1;A--;){var U=d[A];if(A==I||U!==V){var V=U;qr(U)?co.call(n,U,1):ns(n,U)}}return n}function es(n,d){return n+ho(Bu()*(d-n+1))}function xm(n,d,A,I){for(var U=-1,V=kt(po((d-n)/(A||1)),0),te=ge(V);V--;)te[I?V:++U]=n,n+=A;return te}function ts(n,d){var A="";if(!n||d<1||d>z)return A;do d%2&&(A+=n),d=ho(d/2),d&&(n+=n);while(d);return A}function at(n,d){return gs(Il(n,d,er),n+"")}function bm(n){return ju(Qn(n))}function Em(n,d){var A=Qn(n);return Fo(A,wn(d,0,A.length))}function Ti(n,d,A,I){if(!bt(n))return n;d=an(d,n);for(var U=-1,V=d.length,te=V-1,ue=n;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=ge(U);++I>>1,te=n[V];te!==null&&!sr(te)&&(A?te<=d:te=t){var De=d?null:Bm(n);if(De)return ro(De);te=!1,U=gi,he=new En}else he=d?[]:ue;e:for(;++I=I?n:_r(n,d,A)}var ll=hd||function(n){return Bt.clearTimeout(n)};function cl(n,d){if(d)return n.slice();var A=n.length,I=Fu?Fu(A):new n.constructor(A);return n.copy(I),I}function ss(n){var d=new n.constructor(n.byteLength);return new uo(d).set(new uo(n)),d}function Dm(n,d){var A=d?ss(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.byteLength)}function Tm(n){var d=new n.constructor(n.source,vn.exec(n));return d.lastIndex=n.lastIndex,d}function Nm(n){return wi?vt(wi.call(n)):{}}function fl(n,d){var A=d?ss(n.buffer):n.buffer;return new n.constructor(A,n.byteOffset,n.length)}function pl(n,d){if(n!==d){var A=n!==l,I=n===null,U=n===n,V=sr(n),te=d!==l,ue=d===null,he=d===d,De=sr(d);if(!ue&&!De&&!V&&n>d||V&&te&&he&&!ue&&!De||I&&te&&he||!A&&he||!U)return 1;if(!I&&!V&&!De&&n=ue)return he;var De=A[I];return he*(De=="desc"?-1:1)}}return n.index-d.index}function hl(n,d,A,I){for(var U=-1,V=n.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=ge(he+De),Ie=!I;++ue1?A[U-1]:l,te=U>2?A[2]:l;for(V=n.length>3&&typeof V=="function"?(U--,V):l,te&&Ht(A[0],A[1],te)&&(V=U<3?l:V,U=1),d=vt(d);++I-1?U[V?d[te]:te]:l}}function _l(n){return zr(function(d){var A=d.length,I=A,U=yr.prototype.thru;for(n&&d.reverse();I--;){var V=d[I];if(typeof V!="function")throw new vr(S);if(U&&!te&&No(V)=="wrapper")var te=new yr([],!0)}for(I=te?I:A;++I1&<.reverse(),Te&&heue))return!1;var De=V.get(n),Te=V.get(d);if(De&&Te)return De==d&&Te==n;var Ie=-1,Be=!0,qe=A&p?new En:l;for(V.set(n,d),V.set(d,n);++Ie1?"& ":"")+d[I],d=d.join(A>2?", ":" "),n.replace(Yr,`{ +/* [wrapped with `+d+`] */ +`)}function $m(n){return tt(n)||Dn(n)||!!(ku&&n&&n[ku])}function qr(n,d){var A=typeof n;return d=d??z,!!d&&(A=="number"||A!="symbol"&&ya.test(n))&&n>-1&&n%1==0&&n0){if(++d>=F)return arguments[0]}else d=0;return n.apply(l,arguments)}}function Fo(n,d){var A=-1,I=n.length,U=I-1;for(d=d===l?I:d;++A1?n[d-1]:l;return A=typeof A=="function"?(n.pop(),A):l,Wl(n,A)});function Xl(n){var d=J(n);return d.__chain__=!0,d}function nv(n,d){return d(n),n}function Io(n,d){return d(n)}var iv=zr(function(n){var d=n.length,A=d?n[0]:0,I=this.__wrapped__,U=function(V){return Xa(V,n)};return d>1||this.__actions__.length||!(I instanceof ut)||!qr(A)?this.thru(U):(I=I.slice(A,+A+(d?1:0)),I.__actions__.push({func:Io,args:[U],thisArg:l}),new yr(I,this.__chain__).thru(function(V){return d&&!V.length&&V.push(l),V}))});function ov(){return Xl(this)}function av(){return new yr(this.value(),this.__chain__)}function sv(){this.__values__===l&&(this.__values__=oc(this.value()));var n=this.__index__>=this.__values__.length,d=n?l:this.__values__[this.__index__++];return{done:n,value:d}}function uv(){return this}function lv(n){for(var d,A=this;A instanceof yo;){var I=Ml(A);I.__index__=0,I.__values__=l,d?U.__wrapped__=I:d=I;var U=I;A=A.__wrapped__}return U.__wrapped__=n,d}function cv(){var n=this.__wrapped__;if(n instanceof ut){var d=n;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Io,args:[_s],thisArg:l}),new yr(d,this.__chain__)}return this.thru(_s)}function fv(){return sl(this.__wrapped__,this.__actions__)}var pv=So(function(n,d,A){mt.call(n,A)?++n[A]:jr(n,A,1)});function hv(n,d,A){var I=tt(n)?xu:nm;return A&&Ht(n,d,A)&&(d=l),I(n,Xe(d,3))}function dv(n,d){var A=tt(n)?Qr:Wu;return A(n,Xe(d,3))}var mv=gl(jl),vv=gl(Ul);function yv(n,d){return Mt(Po(n,d),1)}function gv(n,d){return Mt(Po(n,d),Y)}function _v(n,d,A){return A=A===l?1:nt(A),Mt(Po(n,d),A)}function $l(n,d){var A=tt(n)?mr:nn;return A(n,Xe(d,3))}function Hl(n,d){var A=tt(n)?Mh:Gu;return A(n,Xe(d,3))}var xv=So(function(n,d,A){mt.call(n,A)?n[A].push(d):jr(n,A,[d])});function bv(n,d,A,I){n=Qt(n)?n:Qn(n),A=A&&!I?nt(A):0;var U=n.length;return A<0&&(A=kt(U+A,0)),Mo(n)?A<=U&&n.indexOf(d,A)>-1:!!U&&zn(n,d,A)>-1}var Ev=at(function(n,d,A){var I=-1,U=typeof d=="function",V=Qt(n)?ge(n.length):[];return nn(n,function(te){V[++I]=U?ir(d,te,A):Ci(te,d,A)}),V}),wv=So(function(n,d,A){jr(n,A,d)});function Po(n,d){var A=tt(n)?xt:Vu;return A(n,Xe(d,3))}function Sv(n,d,A,I){return n==null?[]:(tt(d)||(d=d==null?[]:[d]),A=I?l:A,tt(A)||(A=A==null?[]:[A]),el(n,d,A))}var Av=So(function(n,d,A){n[A?0:1].push(d)},function(){return[[],[]]});function Cv(n,d,A){var I=tt(n)?Ia:Su,U=arguments.length<3;return I(n,Xe(d,4),A,U,nn)}function Dv(n,d,A){var I=tt(n)?jh:Su,U=arguments.length<3;return I(n,Xe(d,4),A,U,Gu)}function Tv(n,d){var A=tt(n)?Qr:Wu;return A(n,Bo(Xe(d,3)))}function Nv(n){var d=tt(n)?ju:bm;return d(n)}function Ov(n,d,A){(A?Ht(n,d,A):d===l)?d=1:d=nt(d);var I=tt(n)?Qd:Em;return I(n,d)}function Fv(n){var d=tt(n)?Zd:Sm;return d(n)}function Iv(n){if(n==null)return 0;if(Qt(n))return Mo(n)?Gn(n):n.length;var d=Gt(n);return d==M||d==Me?n.size:Ya(n).length}function Pv(n,d,A){var I=tt(n)?Pa:Am;return A&&Ht(n,d,A)&&(d=l),I(n,Xe(d,3))}var kv=at(function(n,d){if(n==null)return[];var A=d.length;return A>1&&Ht(n,d[0],d[1])?d=[]:A>2&&Ht(d[0],d[1],d[2])&&(d=[d[0]]),el(n,Mt(d,1),[])}),ko=dd||function(){return Bt.Date.now()};function Lv(n,d){if(typeof d!="function")throw new vr(S);return n=nt(n),function(){if(--n<1)return d.apply(this,arguments)}}function Jl(n,d,A){return d=A?l:d,d=n&&d==null?n.length:d,Ur(n,E,l,l,l,l,d)}function Kl(n,d){var A;if(typeof d!="function")throw new vr(S);return n=nt(n),function(){return--n>0&&(A=d.apply(this,arguments)),n<=1&&(d=l),A}}var bs=at(function(n,d,A){var I=v;if(A.length){var U=en(A,Vn(bs));I|=b}return Ur(n,I,d,A,U)}),Vl=at(function(n,d,A){var I=v|f;if(A.length){var U=en(A,Vn(Vl));I|=b}return Ur(d,I,n,A,U)});function Yl(n,d,A){d=A?l:d;var I=Ur(n,e,l,l,l,l,l,d);return I.placeholder=Yl.placeholder,I}function Ql(n,d,A){d=A?l:d;var I=Ur(n,y,l,l,l,l,l,d);return I.placeholder=Ql.placeholder,I}function Zl(n,d,A){var I,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof n!="function")throw new vr(S);d=br(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(br(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var Dr=I,Xr=U;return I=U=l,De=Tt,te=n.apply(Xr,Dr),te}function He(Tt){return De=Tt,ue=Fi(st,d),Te?qe(Tt):te}function it(Tt){var Dr=Tt-he,Xr=Tt-De,gc=d-Dr;return Ie?qt(gc,V-Xr):gc}function Je(Tt){var Dr=Tt-he,Xr=Tt-De;return he===l||Dr>=d||Dr<0||Ie&&Xr>=V}function st(){var Tt=ko();if(Je(Tt))return lt(Tt);ue=Fi(st,it(Tt))}function lt(Tt){return ue=l,Be&&I?qe(Tt):(I=U=l,te)}function ur(){ue!==l&&ll(ue),De=0,I=he=U=ue=l}function Jt(){return ue===l?te:lt(ko())}function lr(){var Tt=ko(),Dr=Je(Tt);if(I=arguments,U=this,he=Tt,Dr){if(ue===l)return He(he);if(Ie)return ll(ue),ue=Fi(st,d),qe(he)}return ue===l&&(ue=Fi(st,d)),te}return lr.cancel=ur,lr.flush=Jt,lr}var Bv=at(function(n,d){return qu(n,1,d)}),Rv=at(function(n,d,A){return qu(n,br(d)||0,A)});function Mv(n){return Ur(n,D)}function Lo(n,d){if(typeof n!="function"||d!=null&&typeof d!="function")throw new vr(S);var A=function(){var I=arguments,U=d?d.apply(this,I):I[0],V=A.cache;if(V.has(U))return V.get(U);var te=n.apply(this,I);return A.cache=V.set(U,te)||V,te};return A.cache=new(Lo.Cache||Mr),A}Lo.Cache=Mr;function Bo(n){if(typeof n!="function")throw new vr(S);return function(){var d=arguments;switch(d.length){case 0:return!n.call(this);case 1:return!n.call(this,d[0]);case 2:return!n.call(this,d[0],d[1]);case 3:return!n.call(this,d[0],d[1],d[2])}return!n.apply(this,d)}}function jv(n){return Kl(2,n)}var Uv=Cm(function(n,d){d=d.length==1&&tt(d[0])?xt(d[0],or(Xe())):xt(Mt(d,1),or(Xe()));var A=d.length;return at(function(I){for(var U=-1,V=qt(I.length,A);++U=d}),Dn=Hu(function(){return arguments}())?Hu:function(n){return St(n)&&mt.call(n,"callee")&&!Pu.call(n,"callee")},tt=ge.isArray,ty=du?or(du):lm;function Qt(n){return n!=null&&Ro(n.length)&&!Gr(n)}function Dt(n){return St(n)&&Qt(n)}function ry(n){return n===!0||n===!1||St(n)&&$t(n)==le}var un=vd||Ps,ny=mu?or(mu):cm;function iy(n){return St(n)&&n.nodeType===1&&!Ii(n)}function oy(n){if(n==null)return!0;if(Qt(n)&&(tt(n)||typeof n=="string"||typeof n.splice=="function"||un(n)||Yn(n)||Dn(n)))return!n.length;var d=Gt(n);if(d==M||d==Me)return!n.size;if(Oi(n))return!Ya(n).length;for(var A in n)if(mt.call(n,A))return!1;return!0}function ay(n,d){return Di(n,d)}function sy(n,d,A){A=typeof A=="function"?A:l;var I=A?A(n,d):l;return I===l?Di(n,d,l,A):!!I}function ws(n){if(!St(n))return!1;var d=$t(n);return d==C||d==P||typeof n.message=="string"&&typeof n.name=="string"&&!Ii(n)}function uy(n){return typeof n=="number"&&Lu(n)}function Gr(n){if(!bt(n))return!1;var d=$t(n);return d==B||d==L||d==oe||d==_e}function tc(n){return typeof n=="number"&&n==nt(n)}function Ro(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=z}function bt(n){var d=typeof n;return n!=null&&(d=="object"||d=="function")}function St(n){return n!=null&&typeof n=="object"}var rc=vu?or(vu):pm;function ly(n,d){return n===d||Va(n,d,hs(d))}function cy(n,d,A){return A=typeof A=="function"?A:l,Va(n,d,hs(d),A)}function fy(n){return nc(n)&&n!=+n}function py(n){if(Km(n))throw new Ze(m);return Ju(n)}function hy(n){return n===null}function dy(n){return n==null}function nc(n){return typeof n=="number"||St(n)&&$t(n)==q}function Ii(n){if(!St(n)||$t(n)!=ae)return!1;var d=lo(n);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&oo.call(A)==cd}var Ss=yu?or(yu):hm;function my(n){return tc(n)&&n>=-z&&n<=z}var ic=gu?or(gu):dm;function Mo(n){return typeof n=="string"||!tt(n)&&St(n)&&$t(n)==je}function sr(n){return typeof n=="symbol"||St(n)&&$t(n)==ot}var Yn=_u?or(_u):mm;function vy(n){return n===l}function yy(n){return St(n)&&Gt(n)==Se}function gy(n){return St(n)&&$t(n)==ct}var _y=To(Qa),xy=To(function(n,d){return n<=d});function oc(n){if(!n)return[];if(Qt(n))return Mo(n)?Sr(n):Yt(n);if(_i&&n[_i])return Qh(n[_i]());var d=Gt(n),A=d==M?ja:d==Me?ro:Qn;return A(n)}function Wr(n){if(!n)return n===0?n:0;if(n=br(n),n===Y||n===-Y){var d=n<0?-1:1;return d*X}return n===n?n:0}function nt(n){var d=Wr(n),A=d%1;return d===d?A?d-A:d:0}function ac(n){return n?wn(nt(n),0,ee):0}function br(n){if(typeof n=="number")return n;if(sr(n))return $;if(bt(n)){var d=typeof n.valueOf=="function"?n.valueOf():n;n=bt(d)?d+"":d}if(typeof n!="string")return n===0?n:+n;n=Au(n);var A=ma.test(n);return A||va.test(n)?Lh(n.slice(2),A?2:8):Or.test(n)?$:+n}function sc(n){return Ir(n,Zt(n))}function by(n){return n?wn(nt(n),-z,z):n===0?n:0}function dt(n){return n==null?"":ar(n)}var Ey=Jn(function(n,d){if(Oi(d)||Qt(d)){Ir(d,Rt(d),n);return}for(var A in d)mt.call(d,A)&&Si(n,A,d[A])}),uc=Jn(function(n,d){Ir(d,Zt(d),n)}),jo=Jn(function(n,d,A,I){Ir(d,Zt(d),n,I)}),wy=Jn(function(n,d,A,I){Ir(d,Rt(d),n,I)}),Sy=zr(Xa);function Ay(n,d){var A=Hn(n);return d==null?A:Uu(A,d)}var Cy=at(function(n,d){n=vt(n);var A=-1,I=d.length,U=I>2?d[2]:l;for(U&&Ht(d[0],d[1],U)&&(I=1);++A1),V}),Ir(n,fs(n),A),I&&(A=gr(A,o|a|c,Rm));for(var U=d.length;U--;)ns(A,d[U]);return A});function Wy(n,d){return cc(n,Bo(Xe(d)))}var Xy=zr(function(n,d){return n==null?{}:gm(n,d)});function cc(n,d){if(n==null)return{};var A=xt(fs(n),function(I){return[I]});return d=Xe(d),tl(n,A,function(I,U){return d(I,U[0])})}function $y(n,d,A){d=an(d,n);var I=-1,U=d.length;for(U||(U=1,n=l);++Id){var I=n;n=d,d=I}if(A||n%1||d%1){var U=Bu();return qt(n+U*(d-n+kh("1e-"+((U+"").length-1))),d)}return es(n,d)}var ng=Kn(function(n,d,A){return d=d.toLowerCase(),n+(A?hc(d):d)});function hc(n){return Ds(dt(n).toLowerCase())}function dc(n){return n=dt(n),n&&n.replace(ga,Hh).replace(Sh,"")}function ig(n,d,A){n=dt(n),d=ar(d);var I=n.length;A=A===l?I:wn(nt(A),0,I);var U=A;return A-=d.length,A>=0&&n.slice(A,U)==d}function og(n){return n=dt(n),n&&pi.test(n)?n.replace(ft,Jh):n}function ag(n){return n=dt(n),n&&fa.test(n)?n.replace(Vr,"\\$&"):n}var sg=Kn(function(n,d,A){return n+(A?"-":"")+d.toLowerCase()}),ug=Kn(function(n,d,A){return n+(A?" ":"")+d.toLowerCase()}),lg=yl("toLowerCase");function cg(n,d,A){n=dt(n),d=nt(d);var I=d?Gn(n):0;if(!d||I>=d)return n;var U=(d-I)/2;return Do(ho(U),A)+n+Do(po(U),A)}function fg(n,d,A){n=dt(n),d=nt(d);var I=d?Gn(n):0;return d&&I>>0,A?(n=dt(n),n&&(typeof d=="string"||d!=null&&!Ss(d))&&(d=ar(d),!d&&qn(n))?sn(Sr(n),0,A):n.split(d,A)):[]}var gg=Kn(function(n,d,A){return n+(A?" ":"")+Ds(d)});function _g(n,d,A){return n=dt(n),A=A==null?0:wn(nt(A),0,n.length),d=ar(d),n.slice(A,A+d.length)==d}function xg(n,d,A){var I=J.templateSettings;A&&Ht(n,d,A)&&(d=l),n=dt(n),d=jo({},d,I,Sl);var U=jo({},d.imports,I.imports,Sl),V=Rt(U),te=Ma(U,V),ue,he,De=0,Te=d.interpolate||Mn,Ie="__p += '",Be=Ua((d.escape||Mn).source+"|"+Te.source+"|"+(Te===Pe?da:Mn).source+"|"+(d.evaluate||Mn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Nh+"]")+` +`;n.replace(Be,function(Je,st,lt,ur,Jt,lr){return lt||(lt=ur),Ie+=n.slice(De,lr).replace(_a,Kh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Jt&&(he=!0,Ie+=`'; +`+Jt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=lr+Je.length,Je}),Ie+=`'; +`;var He=mt.call(d,"variable")&&d.variable;if(!He)Ie=`with (obj) { +`+Ie+` } -`;else if(Jt.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(nr.test(He))throw new Ze(_);Ie=(he?Ie.replace($e,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+(He||"obj")+`) { +`+(He?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=pc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,ks(et))throw et;return et}function Pv(r){return ct(r).toLowerCase()}function kv(r){return ct(r).toUpperCase()}function Bv(r,h,A){if(r=ct(r),r&&(A||h===E))return bu(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=Eu(O,U),te=wu(O,U)+1;return Xr(O,V,te).join("")}function Lv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,Au(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=wu(O,hr(h))+1;return Xr(O,0,U).join("")}function Rv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Vn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=Eu(O,hr(h));return Xr(O,U).join("")}function Mv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(Sn(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-An(O);if(se<1)return O;var pe=te?Xr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Bs(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ya(U.source,ct(rn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var Pe=pe.lastIndexOf(U);Pe>-1&&(pe=pe.slice(0,Pe))}return pe+O}function jv(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,dh):r}var Uv=On(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ms=hl("toUpperCase");function fc(r,h,A){return r=ct(r),h=A?E:h,h===E?lh(r)?vh(r):eh(r):r.match(h)||[]}var pc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return ks(A)?A:new Ke(A)}}),qv=Dr(function(r,h){return ir(h,function(A){A=xr(A),Sr(r,A,Is(r[A],r))}),r});function zv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uq)return[];var A=ee,O=Bt(r,ee);h=Ge(h),r-=ee;for(var U=Ja(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=J[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&(J.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply(J,Mr([nt],se));return O&&Pe?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var Pe=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!Pe,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:yo,args:[Fe],thisArg:E}),new ar(He,Pe)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=qi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=J[h];if(A){var O=A.name+"";ft.call(Tn,O)||(Tn[O]=[]),Tn[O].push({name:h,func:A})}}),Tn[uo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=jh,it.prototype.reverse=Uh,it.prototype.value=qh,J.prototype.at=y0,J.prototype.chain=v0,J.prototype.commit=g0,J.prototype.next=_0,J.prototype.plant=b0,J.prototype.reverse=E0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=w0,J.prototype.first=J.prototype.head,ti&&(J.prototype[ti]=x0),J},Ur=gh();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=Ur,define(function(){return Ur})):an?((an.exports=Ur)._=Ur,Ua._=Ur):Ft._=Ur}).call($n)});var Wb={};Og(Wb,{default:()=>zb,options:()=>Np,setup:()=>qb,teardown:()=>Gb});module.exports=Ig(Wb);var Db=Ut(require("k6/encoding")),Cb=require("k6"),Tb=Ut(require("k6/http"));var Pg=typeof global=="object"&&global&&global.Object===Object&&global,Ao=Pg;var kg=typeof self=="object"&&self&&self.Object===Object&&self,Bg=Ao||kg||Function("return this")(),Dt=Bg;var Lg=Dt.Symbol,Or=Lg;var yc=Object.prototype,Rg=yc.hasOwnProperty,Mg=yc.toString,mi=Or?Or.toStringTag:void 0;function jg(E){var l=Rg.call(E,mi),o=E[mi];try{E[mi]=void 0;var v=!0}catch{}var w=Mg.call(E);return v&&(l?E[mi]=o:delete E[mi]),w}var vc=jg;var Ug=Object.prototype,qg=Ug.toString;function zg(E){return qg.call(E)}var gc=zg;var Gg="[object Null]",Wg="[object Undefined]",_c=Or?Or.toStringTag:void 0;function Xg(E){return E==null?E===void 0?Wg:Gg:_c&&_c in Object(E)?vc(E):gc(E)}var tr=Xg;function Hg(E){return E!=null&&typeof E=="object"}var fr=Hg;var $g="[object Symbol]";function Jg(E){return typeof E=="symbol"||fr(E)&&tr(E)==$g}var Bn=Jg;function Kg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=S_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Pc=C_;function T_(E){return function(){return E}}var kc=T_;var N_=function(){try{var E=$t(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Rn=N_;var F_=Rn?function(E,l){return Rn(E,"toString",{configurable:!0,enumerable:!1,value:kc(l),writable:!0})}:Do,Bc=F_;var O_=Pc(Bc),Lc=O_;var I_=9007199254740991,P_=/^(?:0|[1-9]\d*)$/;function k_(E,l){var o=typeof E;return l=l??I_,!!l&&(o=="number"||o!="symbol"&&P_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=G_}var Fo=W_;function X_(E){return E!=null&&Fo(E.length)&&!Ln(E)}var Jr=X_;function H_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&No(l,o.length):v=="string"&&l in o)?$r(o[l],E):!1}var zc=H_;function $_(E){return qc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&zc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var mf=mx;function yx(E,l){var o=this.__data__,v=Vr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var yf=yx;function zn(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),sp=E=>new Zs(new URL(E||"").search).object();var lp=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Ro(a,{headers:{Authorization:l.header}}),up.default.request(v,ap(E,w),y,Ro(a,m))};var fp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),Sb=Ut(tu());var Ab=Ut(Xn()),pp=(E=10,l)=>(0,fp.randomString)(E,l);var jo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var dp=require("k6/http");var Uo=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var qo=class{settings;constructor(l){this.settings=new Uo(l)}};var zo=class{v0;constructor(l){this.v0=new qo(l)}};var Go=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var Wo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var Xo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Ho=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var $o=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Go(l),this.spaces=new Wo(l),this.systemtags=new Xo(l),this.systemtagsRelations=new Ho(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Jo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ko=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Vo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var Yo=class{tags;constructor(l){this.tags=new Vo(l)}};var Qo=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new Yo(l)}};var Zo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var ea=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var ta=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var ra=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Jo(l),this.drives=new Ko(l),this.extensions=new Qo(l),this.groups=new Zo(l),this.me=new ea(l),this.users=new ta(l)}};var na=class{v1;constructor(l){this.v1=new ra(l)}};var ia=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Mo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var oa=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var aa=class{shares;sharees;constructor(l){this.shares=new oa(l),this.sharees=new ia(l)}};var sa=class{v1;constructor(l){this.v1=new aa(l)}};var ua=class{filesSharing;constructor(l){this.filesSharing=new sa(l)}};var la=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ca=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var fa=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var pa=class{users;groups;roles;constructor(l){this.users=new fa(l),this.groups=new la(l),this.roles=new ca(l)}};var ha=class{cloud;apps;constructor(l){this.cloud=new pa(l),this.apps=new ua(l)}};var da=class{v2;constructor(l){this.v2=new ha(l)}};var ma=class{ocs;graph;dav;api;constructor(l){this.ocs=new da(l),this.graph=new na(l),this.dav=new $o(l),this.api=new zo(l)}};var ya={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var hp=Ut(require("k6/encoding")),bi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${hp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var va=require("k6"),ga=Ut(require("k6/http"));var Ei=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ga.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:pp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=en(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,va.fail)(this.#i),o}getCode(l){let o=`${l}?${Mo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ga.default.get(o,{redirects:0}),w=en(sp(v.headers.Location),"code");return(v.status!==302||!w)&&(0,va.fail)(l),w}getToken(l){let o=ga.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:en(o.json(),"access_token",""),tokenType:en(o.json(),"token_type",""),idToken:en(o.json(),"id_token",""),expiresIn:en(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,va.fail)(this.#o),v}};var mp=require("k6"),nu=require("k6"),iu=require("k6"),vn=require("k6"),yp=Ut(Xn()),vp=require("k6"),_a=require("k6"),wi=Ut(Xn()),xa=require("k6"),gn=require("k6"),ou=Ut(Xn()),_n=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,mp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Fb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,nu.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,nu.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},Ob=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,iu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,iu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Ib=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,vn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,vn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,vn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,yp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,vn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,vn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,vn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Pb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,vp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},kb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,_a.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,_a.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,wi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,_a.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Bb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,xa.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,xa.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,xa.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Lb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,gn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,gn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,ou.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,gn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,gn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,gn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,ou.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,gn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Rb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,_n.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,_n.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,_n.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,_n.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,_n.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,_n.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},Hn=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ya.openIDConnect:w=new Ei(v,E);break;case ya.basicAuth:w=new bi(v);break}let y=lp(E,w,{jar:new dp.CookieJar}),m=new ma(y);this.application=new Nb(l,m),this.drive=new Fb(l,m),this.group=new Ob(l,m),this.resource=new Ib(l,m),this.role=new Pb(l,m),this.search=new kb(l,m),this.share=new Bb(m),this.tag=new Lb(l,m),this.user=new Rb(l,m)}};var gp={user:0,group:1,publicLink:3,federatedCloudShare:6},_p={file:"file",folder:"folder"},xp={read:0,update:2,create:4,delete:8,share:16,all:31};var Mb=Ut(require("k6/http"));var jb=require("https://jslib.k6.io/url/1.0.0/index.js"),bp=require("k6/experimental/timers"),Ep=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),wp=Ut(tu());var Sp=Ut(Xn());var Ub=E=>new Promise(l=>{(0,bp.setTimeout)(l,E)}),au=(E,l)=>new Promise((o,v)=>E().then(o).catch(()=>{Ub(l.delay).then(()=>(l.delay=l.delay*l.delayMultiplier,au(E,l))).then(o).catch(v)}));var tn=(E=10,l)=>(0,Ep.randomString)(E,l),br=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return wp.query(l,E).map(o=>Qs(o)?void 0:o)},ba=(E,l)=>{let o=Sp.create(l).end({format:"object"});return br(E,o)};var Ai=require("k6"),Dp=require("k6/crypto"),Cp=Ut(require("k6/execution")),Tp=Ut(Ap()),Pt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==jo.basicAuth?jo.basicAuth:jo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},k6:{vus:1,insecureSkipTLSVerify:!0}},Np=Pt.k6;function qb(){let E=Pt.adminUser,l=new Hn(Pt.baseURL,Pt.clientVersion,Pt.authAdapter,E),o=l.role.list(),[v]=br("$.bundles[?(@.name === 'spaceadmin')].id",o?.body),w=l.application.list(),[y]=br("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id",w?.body),m=tn(),a=l.group.create(m),[p=m]=br("$.id",a?.body);l.group.delete(p);let n=(0,Tp.times)(Np.vus||1,()=>{let i={login:tn(),password:tn()},u=l.user.create(i),[s]=br("$.id",u.body);l.user.enable(i.login),l.user.assignRole(s,v,y);let d=new Hn(Pt.baseURL,Pt.clientVersion,Pt.authAdapter,i).user.drives(),[c=i.login]=br("$.value[?(@.driveType === 'personal')].id",d?.body);return{credential:i,home:c}});return{adminCredential:E,userInfos:n}}function zb({userInfos:E,adminCredential:l}){let o=[],{home:v,credential:w}=E[Cp.default.vu.idInTest-1],y=new Hn(Pt.baseURL,Pt.clientVersion,Pt.authAdapter,w),m=y.user.me(),[a=w.login]=br("displayNamed",m?.body);a!==w.login&&(0,Ai.fail)("userDisplayName does not match");let p=y.drive.create(tn()),[n]=br("$.id",p?.body);o.push(()=>{y.drive.delete(n)});let i=tn(),u=tn(),s=tn();y.resource.create(v,i),o.push(()=>y.resource.delete(v,u)),y.resource.move(v,i,u),y.resource.upload(v,[u,s].join("/"),(0,Dp.randomBytes)(1e3)),y.resource.download(v,[u,s].join("/"));let f=y.search.sharee(l.login,_p.folder),[d]=br("$..shareWith",f?.body),c=y.share.create(u,d,gp.user,xp.all),[t]=ba("ocs.data.id",c.body);t||(0,Ai.fail)("createdShareId is empty"),new Hn(Pt.baseURL,Pt.clientVersion,Pt.authAdapter,l).share.accept(t),au(()=>{let g=y.search.resource(w.login,{query:u}),[x]=ba("$..['oc:fileid']",g?.body);if(!!!x)return Promise.reject();let b=y.resource.propfind(v,u),[S]=ba("$..['oc:fileid']",b?.body);return(0,Ai.check)(void 0,{"test -> searchId and propfindId match":()=>x===S}),Promise.resolve()},{delay:500,delayMultiplier:1}).then(()=>(y.share.delete(t),o.forEach(g=>g())))}function Gb({userInfos:E,adminCredential:l}){let o=new Hn(Pt.baseURL,Pt.clientVersion,Pt.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=vc(function(){return ht(V,qe+"return "+Ie).apply(l,te)});if(it.source=Ie,ws(it))throw it;return it}function bg(n){return dt(n).toLowerCase()}function Eg(n){return dt(n).toUpperCase()}function wg(n,d,A){if(n=dt(n),n&&(A||d===l))return Au(n);if(!n||!(d=ar(d)))return n;var I=Sr(n),U=Sr(d),V=Cu(I,U),te=Du(I,U)+1;return sn(I,V,te).join("")}function Sg(n,d,A){if(n=dt(n),n&&(A||d===l))return n.slice(0,Nu(n)+1);if(!n||!(d=ar(d)))return n;var I=Sr(n),U=Du(I,Sr(d))+1;return sn(I,0,U).join("")}function Ag(n,d,A){if(n=dt(n),n&&(A||d===l))return n.replace(di,"");if(!n||!(d=ar(d)))return n;var I=Sr(n),U=Cu(I,Sr(d));return sn(I,U).join("")}function Cg(n,d){var A=T,I=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,I="omission"in d?ar(d.omission):I}n=dt(n);var V=n.length;if(qn(n)){var te=Sr(n);V=te.length}if(A>=V)return n;var ue=A-Gn(I);if(ue<1)return I;var he=te?sn(te,0,ue).join(""):n.slice(0,ue);if(U===l)return he+I;if(te&&(ue+=he.length-ue),Ss(U)){if(n.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ua(U.source,dt(vn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===l?ue:Ie)}}else if(n.indexOf(ar(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+I}function Dg(n){return n=dt(n),n&&zt.test(n)?n.replace(wt,rd):n}var Tg=Kn(function(n,d,A){return n+(A?" ":"")+d.toUpperCase()}),Ds=yl("toUpperCase");function mc(n,d,A){return n=dt(n),d=A?l:d,d===l?Yh(n)?od(n):qh(n):n.match(d)||[]}var vc=at(function(n,d){try{return ir(n,l,d)}catch(A){return ws(A)?A:new Ze(A)}}),Ng=zr(function(n,d){return mr(d,function(A){A=Pr(A),jr(n,A,bs(n[A],n))}),n});function Og(n){var d=n==null?0:n.length,A=Xe();return n=d?xt(n,function(I){if(typeof I[1]!="function")throw new vr(S);return[A(I[0]),I[1]]}):[],at(function(I){for(var U=-1;++Uz)return[];var A=ee,I=qt(n,ee);d=Xe(d),n-=ee;for(var U=Ra(I,d);++A0||d<0)?new ut(A):(n<0?A=A.takeRight(-n):n&&(A=A.drop(n)),d!==l&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-n)),A)},ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Fr(ut.prototype,function(n,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),I=/^(?:head|last)$/.test(d),U=J[I?"take"+(d=="last"?"Right":""):d],V=I||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=I?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Zr([st],ue));return I&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,He=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=n.apply(te,ue);return Je.__actions__.push({func:Io,args:[Ie],thisArg:l}),new yr(Je,Be)}return He&&it?n.apply(this,ue):(Je=this.thru(Ie),He?I?Je.value()[0]:Je.value():Je)})}),mr(["pop","push","shift","sort","splice","unshift"],function(n){var d=no[n],A=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",I=/^(?:pop|shift)$/.test(n);J.prototype[n]=function(){var U=arguments;if(I&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Fr(ut.prototype,function(n,d){var A=J[d];if(A){var I=A.name+"";mt.call($n,I)||($n[I]=[]),$n[I].push({name:d,func:A})}}),$n[Ao(l,f).name]=[{name:"wrapper",func:l}],ut.prototype.clone=Dd,ut.prototype.reverse=Td,ut.prototype.value=Nd,J.prototype.at=iv,J.prototype.chain=ov,J.prototype.commit=av,J.prototype.next=sv,J.prototype.plant=lv,J.prototype.reverse=cv,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=fv,J.prototype.first=J.prototype.head,_i&&(J.prototype[_i]=uv),J},tn=ad();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=tn,define(function(){return tn})):_n?((_n.exports=tn)._=tn,Na._=tn):Bt._=tn}).call(ci)});var IA={};jt(IA,{default:()=>yh,options:()=>vh,setup:()=>OA,teardown:()=>FA});module.exports=__(IA);var pp=tr(require("k6/encoding")),aa=require("k6"),sa=tr(require("k6/http"));var x_=typeof global=="object"&&global&&global.Object===Object&&global,zo=x_;var b_=typeof self=="object"&&self&&self.Object===Object&&self,E_=zo||b_||Function("return this")(),Ft=E_;var w_=Ft.Symbol,$r=w_;var xc=Object.prototype,S_=xc.hasOwnProperty,A_=xc.toString,Pi=$r?$r.toStringTag:void 0;function C_(l){var i=S_.call(l,Pi),t=l[Pi];try{l[Pi]=void 0;var m=!0}catch{}var S=A_.call(l);return m&&(i?l[Pi]=t:delete l[Pi]),S}var bc=C_;var D_=Object.prototype,T_=D_.toString;function N_(l){return T_.call(l)}var Ec=N_;var O_="[object Null]",F_="[object Undefined]",wc=$r?$r.toStringTag:void 0;function I_(l){return l==null?l===void 0?F_:O_:wc&&wc in Object(l)?bc(l):Ec(l)}var cr=I_;function P_(l){return l!=null&&typeof l=="object"}var Er=P_;var k_="[object Symbol]";function L_(l){return typeof l=="symbol"||Er(l)&&cr(l)==k_}var Zn=L_;function B_(l,i){for(var t=-1,m=l==null?0:l.length,S=Array(m);++t0){if(++i>=f1)return arguments[0]}else i=0;return l.apply(void 0,arguments)}}var Rc=d1;function m1(l){return function(){return l}}var Mc=m1;var v1=function(){try{var l=rr(Object,"defineProperty");return l({},"",{}),l}catch{}}(),ti=v1;var y1=ti?function(l,i){return ti(l,"toString",{configurable:!0,enumerable:!1,value:Mc(i),writable:!0})}:qo,jc=y1;var g1=Rc(jc),Uc=g1;var _1=9007199254740991,x1=/^(?:0|[1-9]\d*)$/;function b1(l,i){var t=typeof l;return i=i??_1,!!i&&(t=="number"||t!="symbol"&&x1.test(l))&&l>-1&&l%1==0&&l-1&&l%1==0&&l<=O1}var $o=F1;function I1(l){return l!=null&&$o(l.length)&&!ei(l)}var cn=I1;function P1(l,i,t){if(!At(t))return!1;var m=typeof i;return(m=="number"?cn(t)&&ri(i,t.length):m=="string"&&i in t)?ln(t[i],l):!1}var Xc=P1;function k1(l){return Wc(function(i,t){var m=-1,S=t.length,_=S>1?t[S-1]:void 0,g=S>2?t[2]:void 0;for(_=l.length>3&&typeof _=="function"?(S--,_):void 0,g&&Xc(t[0],t[1],g)&&(_=S<3?void 0:_,S=1),i=Object(i);++m-1}var gf=rb;function nb(l,i){var t=this.__data__,m=pn(t,l);return m<0?(++this.size,t.push([l,i])):t[m][1]=i,this}var _f=nb;function si(l){var i=-1,t=l==null?0:l.length;for(this.clear();++i(0,sp.randomString)(l,i);var re={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var up=require("k6/http");var zs=require("https://jslib.k6.io/url/1.0.0/index.js"),kr=(...l)=>l.join("/").replace(/(?new zs.URLSearchParams(Object.keys(l).map(t=>[t,String(l[t])])).toString(),ra=l=>{let i=new URL(l).search,t=new zs.URLSearchParams(i);return Object.fromEntries(t)};var na=l=>(i,t,m,S)=>{let _=On({},l.params);return l.authn&&Fn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Fn(_,"jar",l.params.jar),(0,up.request)(i,kr(l.baseUrl,t),m,On(_,S))};var qs=require("k6");var ke=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,qs.check)(l.val,t,l.tags)};var hp=require("k6/http");var In={kopano:"kopano",basicAuth:"basicAuth"};var cp=tr(require("k6/encoding")),Pn=class{userLogin;userPassword;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword}get header(){return`Basic ${cp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var ia=require("k6"),oa=tr(require("k6/http"));var kn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(i){this.userLogin=i.userLogin,this.userPassword=i.userPassword,this.baseUrl=i.baseUrl,this.redirectURL=kr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=kr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=kr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let i=this.getContinueURI(),t=this.getCode(i),m=this.getToken(t);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+m.expiresIn-5),_})(),token:m}}return this.cache.token}getContinueURI(){let i=oa.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:ta(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),t=Kt(i.json(),"hello.continue_uri");return(i.status!==200||!t)&&(0,ia.fail)(this.logonURL),t}getCode(i){let t=`${i}?${Lr({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,m=oa.default.get(t,{redirects:0}),S=Kt(ra(m.headers.Location),"code");return(m.status!==302||!S)&&(0,ia.fail)(i),S}getToken(i){let t=oa.default.post(this.tokenURL,{client_id:"web",code:i,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),m={accessToken:Kt(t.json(),"access_token",""),tokenType:Kt(t.json(),"token_type",""),idToken:Kt(t.json(),"id_token",""),expiresIn:Kt(t.json(),"expires_in",0)};return(t.status!==200||!m.accessToken||!m.tokenType||!m.idToken||!m.expiresIn)&&(0,ia.fail)(this.tokenURL),m}};var $s={};jt($s,{POST__get_roles:()=>hE});var hE=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({}));var Hs={};jt(Hs,{SEARCH__search_for_resources:()=>dE});var dE=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}});var Js={};jt(Js,{DELETE__delete_resource:()=>gE,GET__download_resource:()=>vE,MKCOL__create_resource:()=>yE,MOVE__move_resource:()=>_E,PROPFIND__get_properties_for_resource:()=>xE,PUT__upload_resource:()=>mE,REPORT__get_report_for_resources:()=>bE});var mE=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),vE=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),yE=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),gE=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),_E=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),xE=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),bE=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i);var Ks={};jt(Ks,{DELETE__delete_resource:()=>AE,GET__download_resource:()=>wE,MKCOL__create_resource:()=>SE,MOVE__move_resource:()=>CE,PROPFIND__get_properties_for_resource:()=>DE,PUT__upload_resource:()=>EE});var EE=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),wE=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),SE=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),AE=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),CE=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),DE=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i);var Vs={};jt(Vs,{DELETE__delete_tag:()=>NE,POST__create_tag:()=>TE,PROPFIND__get_tags_with_properties:()=>OE});var TE=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),NE=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),OE=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i);var Ys={};jt(Ys,{DELETE__remove_tag_from_resource:()=>IE,PROPFIND__get_tags_with_properties_for_resource:()=>PE,PUT__add_tag_to_resource:()=>FE});var FE=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),IE=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),PE=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i);var Qs={};jt(Qs,{GET__get_applications:()=>kE});var kE=l=>l("GET","/graph/v1.0/applications");var Zs={};jt(Zs,{DELETE__delete_drive:()=>BE,POST__create_drive:()=>LE});var LE=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),BE=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`);var eu={};jt(eu,{DELETE__remove_tags_from_resource:()=>ME,PUT__add_tags_to_resource:()=>RE});var RE=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),ME=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i}));var tu={};jt(tu,{DELETE__delete_group:()=>UE,POST__create_group:()=>jE});var jE=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),UE=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`);var ru={};jt(ru,{GET__current_user:()=>qE,GET__get_current_user_drives:()=>zE});var zE=l=>l("GET","/graph/v1.0/me/drives"),qE=l=>l("GET","/graph/v1.0/me?$expand=memberOf");var nu={};jt(nu,{DELETE__delete_user:()=>WE,POST__add_app_role_to_user:()=>XE,POST__create_user:()=>GE});var GE=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),WE=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),XE=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i}));var iu={};jt(iu,{DELETE__delete_group:()=>HE,POST__create_group:()=>$E});var $E=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),HE=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var ou={};jt(ou,{DELETE__delete_user:()=>VE,POST__create_user:()=>JE,PUT__enable_user:()=>KE});var JE=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),KE=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),VE=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var au={};jt(au,{GET__search_for_sharees:()=>YE});var YE=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Lr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var su={};jt(su,{DELETE__delete_share:()=>ew,POST__accept_share:()=>ZE,POST__create_share:()=>QE});var QE=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let g={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==re.ownCloudInfiniteScale&&(s=JSON.stringify(s),g["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:g})},ZE=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),ew=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:$s}},dav:{...Hs,files:Js,spaces:Ks,systemtags:Vs,systemtags_relations:Ys},graph:{v1:{applications:Qs,drives:Zs,extensions:{org_libre_graph:{tags:eu}},groups:tu,me:ru,users:nu}},ocs:{v2:{apps:{cloud:{groups:iu,users:ou},file_sharing:{v1:{sharees:au,shares:su}}}}}};var dp=tr(Ui());var Ip=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Pp=require("k6/http");var lu=require("https://jslib.k6.io/url/1.0.0/index.js"),ua=require("k6"),Lp=tr(Ws());var Bp=tr(Ui()),tw=Object.defineProperty,It=(l,i)=>{for(var t in i)tw(l,t,{get:i[t],enumerable:!0})},rw={};It(rw,{Adapter:()=>nw,BasicAuth:()=>iw,Kopano:()=>ow});var nw={kopano:"kopano",basicAuth:"basicAuth"},iw=class{userLogin;userPassword;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword}get header(){return`Basic ${pp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},ow=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(l){this.userLogin=l.userLogin,this.userPassword=l.userPassword,this.baseUrl=l.baseUrl,this.redirectURL=kr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=kr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=kr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let l=this.getContinueURI(),i=this.getCode(l),t=this.getToken(i);this.cache={validTo:(()=>{let m=new Date;return m.setSeconds(m.getSeconds()+t.expiresIn-5),m})(),token:t}}return this.cache.token}getContinueURI(){let l=sa.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:ta(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),i=Kt(l.json(),"hello.continue_uri");return(l.status!==200||!i)&&(0,aa.fail)(this.logonURL),i}getCode(l){let i=`${l}?${Lr({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,t=sa.default.get(i,{redirects:0}),m=Kt(ra(t.headers.Location),"code");return(t.status!==302||!m)&&(0,aa.fail)(l),m}getToken(l){let i=sa.default.post(this.tokenURL,{client_id:"web",code:l,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),t={accessToken:Kt(i.json(),"access_token",""),tokenType:Kt(i.json(),"token_type",""),idToken:Kt(i.json(),"id_token",""),expiresIn:Kt(i.json(),"expires_in",0)};return(i.status!==200||!t.accessToken||!t.tokenType||!t.idToken||!t.expiresIn)&&(0,aa.fail)(this.tokenURL),t}},aw={};It(aw,{Client:()=>xw,EndpointClient:()=>Tr});var Tr=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},sw=class extends Tr{listApplications(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},uw=class extends Tr{createDrive(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},lw=class extends Tr{createGroup(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},cw=class extends Tr{getMyProfile(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Ln=()=>(0,dp.create)({version:"1.0",encoding:"UTF-8"}),fw={[re.ownCloudInfiniteScale](){return Ln().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[re.ownCloudServer](){return this[re.ownCloudInfiniteScale]({})},[re.nextcloud](){return this[re.ownCloudServer]({})}},fp={[re.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return Ln().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(i).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[re.ownCloudServer](l){return this[re.ownCloudInfiniteScale](l)},[re.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return Ln().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${i}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(t).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(m.toString()).end()}},pw={[re.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return Ln().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ke.oc,"limit").txt(t.toString()).end()},[re.ownCloudServer](l){let{tag:i}=l;return Ln().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(i).end()},[re.nextcloud](l){return this[re.ownCloudServer](l)}},mp={[re.ownCloudInfiniteScale](){return""},[re.ownCloudServer](){return Ln().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[re.nextcloud](){return this[re.ownCloudServer]({})}},hw={[re.ownCloudInfiniteScale](){return Ln().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[re.ownCloudServer](){return mp[re.ownCloudServer]({})},[re.nextcloud](){return this[re.ownCloudServer]({})}},dw=class extends Tr{createResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=fw[this.platform]({}),t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case re.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},mw=class extends Tr{getRoles(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},vw=class extends Tr{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case re.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:fp[this.platform](l)});break;case re.ownCloudServer:case re.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:fp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:pw[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},yw=class extends Tr{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},gw=class extends Tr{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case re.ownCloudServer:case re.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":g=>g?.status===201}),_}deleteTag(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:mp[this.platform]({})});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case re.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case re.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=hw[this.platform]({}),t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case re.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},_w=class extends Tr{createUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case re.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case re.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},xw=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case In.basicAuth:i=new Pn(l);break;case In.kopano:default:i=new kn(l);break}let t=na({authn:i,baseUrl:l.baseUrl,params:{jar:new hp.CookieJar}});this.application=new sw(l.platform,t),this.drive=new uw(l.platform,t),this.group=new lw(l.platform,t),this.me=new cw(l.platform,t),this.resource=new dw(l.platform,t),this.role=new mw(l.platform,t),this.search=new vw(l.platform,t),this.share=new yw(l.platform,t),this.tag=new gw(l.platform,t),this.user=new _w(l.platform,t)}},uu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},bw={};It(bw,{ItemType:()=>fS,Permission:()=>pS,ShareType:()=>cS,endpoints:()=>hS});var vp={};It(vp,{POST__get_roles:()=>Ew});var Ew=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),yp={};It(yp,{SEARCH__search_for_resources:()=>ww});var ww=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),gp={};It(gp,{DELETE__delete_resource:()=>Dw,GET__download_resource:()=>Aw,MKCOL__create_resource:()=>Cw,MOVE__move_resource:()=>Tw,PROPFIND__get_properties_for_resource:()=>Nw,PUT__upload_resource:()=>Sw,REPORT__get_report_for_resources:()=>Ow});var Sw=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),Aw=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),Cw=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),Dw=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),Tw=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),Nw=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),Ow=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),_p={};It(_p,{DELETE__delete_resource:()=>kw,GET__download_resource:()=>Iw,MKCOL__create_resource:()=>Pw,MOVE__move_resource:()=>Lw,PROPFIND__get_properties_for_resource:()=>Bw,PUT__upload_resource:()=>Fw});var Fw=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),Iw=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),Pw=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),kw=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),Lw=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),Bw=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),xp={};It(xp,{DELETE__delete_tag:()=>Mw,POST__create_tag:()=>Rw,PROPFIND__get_tags_with_properties:()=>jw});var Rw=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),Mw=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),jw=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),bp={};It(bp,{DELETE__remove_tag_from_resource:()=>zw,PROPFIND__get_tags_with_properties_for_resource:()=>qw,PUT__add_tag_to_resource:()=>Uw});var Uw=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),zw=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),qw=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),Ep={};It(Ep,{GET__get_applications:()=>Gw});var Gw=l=>l("GET","/graph/v1.0/applications"),wp={};It(wp,{DELETE__delete_drive:()=>Xw,POST__create_drive:()=>Ww});var Ww=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),Xw=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),Sp={};It(Sp,{DELETE__remove_tags_from_resource:()=>Hw,PUT__add_tags_to_resource:()=>$w});var $w=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Hw=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Ap={};It(Ap,{DELETE__delete_group:()=>Kw,POST__create_group:()=>Jw});var Jw=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),Kw=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Cp={};It(Cp,{GET__current_user:()=>Yw,GET__get_current_user_drives:()=>Vw});var Vw=l=>l("GET","/graph/v1.0/me/drives"),Yw=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Dp={};It(Dp,{DELETE__delete_user:()=>Zw,POST__add_app_role_to_user:()=>eS,POST__create_user:()=>Qw});var Qw=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),Zw=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),eS=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),Tp={};It(Tp,{DELETE__delete_group:()=>rS,POST__create_group:()=>tS});var tS=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),rS=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Np={};It(Np,{DELETE__delete_user:()=>oS,POST__create_user:()=>nS,PUT__enable_user:()=>iS});var nS=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),iS=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),oS=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Op={};It(Op,{GET__search_for_sharees:()=>aS});var aS=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Lr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Fp={};It(Fp,{DELETE__delete_share:()=>lS,POST__accept_share:()=>uS,POST__create_share:()=>sS});var sS=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let g={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==re.ownCloudInfiniteScale&&(s=JSON.stringify(s),g["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:g})},uS=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),lS=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),cS={user:0,group:1,publicLink:3,federatedCloudShare:6},fS={file:"file",folder:"folder"},pS={read:0,update:2,create:4,delete:8,share:16,all:31},hS={api:{v0:{settings:vp}},dav:{...yp,files:gp,spaces:_p,systemtags:xp,systemtags_relations:bp},graph:{v1:{applications:Ep,drives:wp,extensions:{org_libre_graph:{tags:Sp}},groups:Ap,me:Cp,users:Dp}},ocs:{v2:{apps:{cloud:{groups:Tp,users:Np},file_sharing:{v1:{sharees:Op,shares:Fp}}}}}},dS={};It(dS,{check:()=>bS,cleanURL:()=>kp,group:()=>xS,objectToQueryString:()=>yS,platformGuard:()=>vS,queryJson:()=>Rp,queryStringToObject:()=>gS,queryXml:()=>ES,randomString:()=>mS,requestFactory:()=>_S});var mS=(l=10,i)=>(0,Ip.randomString)(l,i),vS=l=>({isOwnCloudInfiniteScale:l===re.ownCloudInfiniteScale,isOwnCloudServer:l===re.ownCloudServer,isNextcloud:l===re.nextcloud}),kp=(...l)=>l.join("/").replace(/(?new lu.URLSearchParams(Object.keys(l).map(i=>[i,String(l[i])])).toString(),gS=l=>{let i=new URL(l).search,t=new lu.URLSearchParams(i);return Object.fromEntries(t)},_S=l=>(i,t,m,S)=>{let _=On({},l.params);return l.authn&&Fn(_,"headers.Authorization",l.authn.header),l.params?.jar&&Fn(_,"jar",l.params.jar),(0,Pp.request)(i,kp(l.baseUrl,t),m,On(_,S))},xS=(l,i)=>(0,ua.group)(l,()=>i(l)),bS=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,ua.check)(l.val,t,l.tags)},Rp=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return Lp.query(t,l).map(m=>At(m)&&Mi(m)?void 0:m)},ES=(l,i)=>{let t=Bp.create(i).end({format:"object"});return Rp(l,t)};var wS=tr(require("k6/encoding")),SS=require("k6"),AS=tr(require("k6/http"));var la={kopano:"kopano",basicAuth:"basicAuth"};var jp=require("k6/http");var Up=tr(Ui());var Br=class{platform;request;constructor(l,i){this.platform=l,this.request=i}},CS=class extends Br{listApplications(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!l,val:l},{"client -> application.listApplications - status":i=>i?.status===200}),l}},DS=class extends Br{createDrive(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.POST__create_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> application.createDrive - status":t=>t?.status===201}),i}deleteDrive(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.drives.DELETE__delete_drive(this.request,l)}return ke({skip:!i,val:i},{"client -> drive.deleteDrive - status":t=>t?.status===204}),i}},TS=class extends Br{createGroup(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.POST__create_group(this.request,l)}return ke({val:i},{"client -> group.createGroup - status":({status:t})=>t===200}),i}deleteGroup(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:l.groupIdOrName}),t=200;break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:l.groupIdOrName}),t=204}return ke({val:i},{"client -> group.deleteGroup - status":({status:m})=>m===t}),i}},NS=class extends Br{getMyProfile(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyProfile - status":i=>i?.status===200}),l}getMyDrives(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getMyDrives - status":i=>i?.status===200}),l}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},Bn=()=>(0,Up.create)({version:"1.0",encoding:"UTF-8"}),OS={[re.ownCloudInfiniteScale](){return Bn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[re.ownCloudServer](){return this[re.ownCloudInfiniteScale]({})},[re.nextcloud](){return this[re.ownCloudServer]({})}},Mp={[re.ownCloudInfiniteScale](l){let{searchQuery:i,searchLimit:t=100}=l;return Bn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(i).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[re.ownCloudServer](l){return this[re.ownCloudInfiniteScale](l)},[re.nextcloud](l){let{root:i,searchQuery:t,searchLimit:m=100}=l;return Bn().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${i}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(t).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(m.toString()).end()}},FS={[re.ownCloudInfiniteScale](l){let{tag:i,searchLimit:t=100}=l;return Bn().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${i}"`).up().ele(Ve.oc,"limit").txt(t.toString()).end()},[re.ownCloudServer](l){let{tag:i}=l;return Bn().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(i).end()},[re.nextcloud](l){return this[re.ownCloudServer](l)}},zp={[re.ownCloudInfiniteScale](){return""},[re.ownCloudServer](){return Bn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[re.nextcloud](){return this[re.ownCloudServer]({})}},IS={[re.ownCloudInfiniteScale](){return Bn().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[re.ownCloudServer](){return zp[re.ownCloudServer]({})},[re.nextcloud](){return this[re.ownCloudServer]({})}},PS=class extends Br{createResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.MKCOL__create_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MKCOL__create_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.createResource - status":({status:t})=>t===201}),i}deleteResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.DELETE__delete_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.DELETE__delete_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.deleteResource - status":({status:t})=>t===204}),i}moveResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.MOVE__move_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.MOVE__move_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.moveResource - status":({status:t})=>t===201}),i}getResourceProperties(l){let i=OS[this.platform]({}),t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...l,propfindXml:i});break;case re.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...l,driveId:l.root,propfindXml:i})}return ke({val:t},{"client -> resource.getResourceProperties - status":({status:m})=>m===207}),t}uploadResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.PUT__upload_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.PUT__upload_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.uploadResource - status":({status:t})=>t===201}),i}downloadResource(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.files.GET__download_resource(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.dav.spaces.GET__download_resource(this.request,{...l,driveId:l.root})}return ke({val:i},{"client -> resource.downloadResource - status":({status:t})=>t===200}),i}},kS=class extends Br{getRoles(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:l=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!l,val:l},{"client -> role.getRoles - status":i=>i?.status===201}),l}addRoleToUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,l)}return ke({skip:!i,val:i},{"client -> role.addRoleToUser - status":t=>t?.status===201}),i}},LS=class extends Br{searchForSharees(l){let i=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,l);return ke({val:i},{"client -> search.searchForSharees - status":({status:t})=>t===200}),i}searchForResources(l){let i;switch(this.platform){case re.nextcloud:i=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Mp[this.platform](l)});break;case re.ownCloudServer:case re.ownCloudInfiniteScale:default:i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:Mp[this.platform](l)})}return ke({val:i},{"client -> search.searchForResources - status":({status:t})=>t===207}),i}searchForResourcesByTag(l){let i=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...l,reportXml:FS[this.platform](l)});return ke({val:i},{"client -> search.searchForResourcesByTag - status":({status:t})=>t===207}),i}},BS=class extends Br{createShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,l,{platform:this.platform});return ke({val:i},{"client -> share.createShare - status":({status:t})=>t===200}),i}deleteShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,l);return ke({val:i},{"client -> share.deleteShare - status":({status:t})=>t===200}),i}acceptShare(l){let i=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,l);return ke({val:i},{"client -> share.acceptShare - status":({status:t})=>t===200}),i}},RS=class extends Br{createTag(l){let{tagName:i,userAssignableTag:t=!0,userVisibleTag:m=!0,canAssignTag:S=!0}=l,_;switch(this.platform){case re.ownCloudServer:case re.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:i,userAssignableTag:t,userVisibleTag:m,canAssignTag:S});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":g=>g?.status===201}),_}deleteTag(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:l.tag});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> tag.deleteTag - status":t=>t?.status===204}),i}getTags(){let l;switch(this.platform){case re.ownCloudServer:case re.nextcloud:l=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:zp[this.platform]({})});break;case re.ownCloudInfiniteScale:default:}return ke({skip:!l,val:l},{"client -> tag.getTags - status":i=>i?.status===207}),l}addTagToResource(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=201,i=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case re.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.addTagToResource - status":({status:m})=>m===t}),i}removeTagFromResource(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=204,i=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:l.resourceId,tagId:l.tag});break;case re.ownCloudInfiniteScale:default:t=200,i=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:l.resourceId,tagNames:[l.tag]})}return ke({val:i},{"client -> tag.removeTagToResource - status":({status:m})=>m===t}),i}getTagsForResource(l){let i=IS[this.platform]({}),t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:l.resourceId,propfindXml:i});break;case re.ownCloudInfiniteScale:default:t=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:l.root,resourcePath:l.resourcePath,propfindXml:i})}return ke({val:t},{"client -> tag.getTagsForResource - status":({status:m})=>m===207}),t}},MS=class extends Br{createUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,l);break;case re.ownCloudInfiniteScale:default:i=Oe.graph.v1.users.POST__create_user(this.request,l)}return ke({val:i},{"client -> user.createUser - status":({status:t})=>t===200}),i}deleteUser(l){let i,t;switch(this.platform){case re.ownCloudServer:case re.nextcloud:t=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,l),i=200;break;case re.ownCloudInfiniteScale:default:t=Oe.graph.v1.users.DELETE__delete_user(this.request,l),i=204}return ke({val:t},{"client -> user.deleteUser - status":({status:m})=>m===i}),t}enableUser(l){let i;switch(this.platform){case re.ownCloudServer:case re.nextcloud:i=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,l);break;case re.ownCloudInfiniteScale:default:}return ke({skip:!i,val:i},{"client -> user.enableUser - status":t=>t?.status===200}),i}},Rn=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(l){let i;switch(l.authAdapter){case In.basicAuth:i=new Pn(l);break;case In.kopano:default:i=new kn(l);break}let t=na({authn:i,baseUrl:l.baseUrl,params:{jar:new jp.CookieJar}});this.application=new CS(l.platform,t),this.drive=new DS(l.platform,t),this.group=new TS(l.platform,t),this.me=new NS(l.platform,t),this.resource=new PS(l.platform,t),this.role=new kS(l.platform,t),this.search=new LS(l.platform,t),this.share=new BS(l.platform,t),this.tag=new RS(l.platform,t),this.user=new MS(l.platform,t)}};var jS=Object.defineProperty,Wt=(l,i)=>{for(var t in i)jS(l,t,{get:i[t],enumerable:!0})},qp={};Wt(qp,{POST__get_roles:()=>US});var US=l=>l("POST","/api/v0/settings/roles-list",JSON.stringify({})),Gp={};Wt(Gp,{SEARCH__search_for_resources:()=>zS});var zS=(l,{searchXml:i})=>l("SEARCH","/remote.php/dav",i,{headers:{"Content-Type":"application/xml"}}),Wp={};Wt(Wp,{DELETE__delete_resource:()=>XS,GET__download_resource:()=>GS,MKCOL__create_resource:()=>WS,MOVE__move_resource:()=>$S,PROPFIND__get_properties_for_resource:()=>HS,PUT__upload_resource:()=>qS,REPORT__get_report_for_resources:()=>JS});var qS=(l,{resourceBytes:i,root:t,resourcePath:m})=>l("PUT",`/remote.php/dav/files/${t}/${m}`,i),GS=(l,{root:i,resourcePath:t})=>l("GET",`/remote.php/dav/files/${i}/${t}`),WS=(l,{resourcePath:i,root:t})=>l("MKCOL",`/remote.php/dav/files/${t}/${i}`),XS=(l,{resourcePath:i,root:t})=>l("DELETE",`/remote.php/dav/files/${t}/${i}`),$S=(l,{toResourcePath:i,root:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/files/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/files/${t}/${i}`}}),HS=(l,{root:i,resourcePath:t,propfindXml:m})=>l("PROPFIND",`/remote.php/dav/files/${i}/${t}`,m),JS=(l,{reportXml:i,root:t})=>l("REPORT",`/remote.php/dav/files/${t}`,i),Xp={};Wt(Xp,{DELETE__delete_resource:()=>QS,GET__download_resource:()=>VS,MKCOL__create_resource:()=>YS,MOVE__move_resource:()=>ZS,PROPFIND__get_properties_for_resource:()=>eA,PUT__upload_resource:()=>KS});var KS=(l,{resourcePath:i,driveId:t,resourceBytes:m})=>l("PUT",`/remote.php/dav/spaces/${t}/${i}`,m),VS=(l,{resourcePath:i,driveId:t})=>l("GET",`/remote.php/dav/spaces/${t}/${i}`),YS=(l,{resourcePath:i,driveId:t})=>l("MKCOL",`/remote.php/dav/spaces/${t}/${i}`),QS=(l,{resourcePath:i,driveId:t})=>l("DELETE",`/remote.php/dav/spaces/${t}/${i}`),ZS=(l,{toResourcePath:i,driveId:t,fromResourcePath:m})=>l("MOVE",`/remote.php/dav/spaces/${t}/${m}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${t}/${i}`}}),eA=(l,{propfindXml:i,resourcePath:t,driveId:m})=>l("PROPFIND",`/remote.php/dav/spaces/${m}/${t}`,i),$p={};Wt($p,{DELETE__delete_tag:()=>rA,POST__create_tag:()=>tA,PROPFIND__get_tags_with_properties:()=>nA});var tA=(l,{tagName:i,userAssignableTag:t=!0,canAssignTag:m=!0,userVisibleTag:S=!0})=>l("POST","/remote.php/dav/systemtags",JSON.stringify({name:i,canAssign:m,userAssignable:t,userVisible:S}),{headers:{"Content-Type":"application/json"}}),rA=(l,{tagId:i})=>l("DELETE",`/remote.php/dav/systemtags/${i}`),nA=(l,{propfindXml:i})=>l("PROPFIND","/remote.php/dav/systemtags",i),Hp={};Wt(Hp,{DELETE__remove_tag_from_resource:()=>oA,PROPFIND__get_tags_with_properties_for_resource:()=>aA,PUT__add_tag_to_resource:()=>iA});var iA=(l,{tagId:i,resourceId:t})=>l("PUT",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),oA=(l,{tagId:i,resourceId:t})=>l("DELETE",`/remote.php/dav/systemtags-relations/files/${t}/${i}`),aA=(l,{propfindXml:i,resourceId:t})=>l("PROPFIND",`/remote.php/dav/systemtags-relations/files/${t}`,i),Jp={};Wt(Jp,{GET__get_applications:()=>sA});var sA=l=>l("GET","/graph/v1.0/applications"),Kp={};Wt(Kp,{DELETE__delete_drive:()=>lA,POST__create_drive:()=>uA});var uA=(l,{driveName:i})=>l("POST","/graph/v1.0/drives",JSON.stringify({name:i})),lA=(l,{driveId:i})=>l("DELETE",`/graph/v1.0/drives/${i}`),Vp={};Wt(Vp,{DELETE__remove_tags_from_resource:()=>fA,PUT__add_tags_to_resource:()=>cA});var cA=(l,{tagNames:i,resourceId:t})=>l("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),fA=(l,{tagNames:i,resourceId:t})=>l("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:t,tags:i})),Yp={};Wt(Yp,{DELETE__delete_group:()=>hA,POST__create_group:()=>pA});var pA=(l,{groupName:i})=>l("POST","/graph/v1.0/groups",JSON.stringify({displayName:i})),hA=(l,{groupId:i})=>l("DELETE",`/graph/v1.0/groups/${i}`),Qp={};Wt(Qp,{GET__current_user:()=>mA,GET__get_current_user_drives:()=>dA});var dA=l=>l("GET","/graph/v1.0/me/drives"),mA=l=>l("GET","/graph/v1.0/me?$expand=memberOf"),Zp={};Wt(Zp,{DELETE__delete_user:()=>yA,POST__add_app_role_to_user:()=>gA,POST__create_user:()=>vA});var vA=(l,{userLogin:i,userPassword:t})=>l("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:i,displayName:i,mail:`${i}@cdperf.org`,passwordProfile:{password:t}})),yA=(l,{userLogin:i})=>l("DELETE",`/graph/v1.0/users/${i}`),gA=(l,{resourceId:i,principalId:t,appRoleId:m})=>l("POST",`/graph/v1.0/users/${t}/appRoleAssignments`,JSON.stringify({appRoleId:m,principalId:t,resourceId:i})),eh={};Wt(eh,{DELETE__delete_group:()=>xA,POST__create_group:()=>_A});var _A=(l,{groupName:i})=>l("POST","/ocs/v2.php/cloud/groups",{groupid:i},{headers:{"OCS-APIRequest":"true"}}),xA=(l,{groupName:i})=>l("DELETE",`/ocs/v2.php/cloud/groups/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),th={};Wt(th,{DELETE__delete_user:()=>wA,POST__create_user:()=>bA,PUT__enable_user:()=>EA});var bA=(l,{userPassword:i,userLogin:t})=>l("POST","/ocs/v2.php/cloud/users",{userid:t,password:i,email:`${t}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),EA=(l,{userLogin:i})=>l("PUT",`/ocs/v2.php/cloud/users/${i}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),wA=(l,{userLogin:i})=>l("DELETE",`/ocs/v2.php/cloud/users/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),rh={};Wt(rh,{GET__search_for_sharees:()=>SA});var SA=(l,{searchQuery:i,searchItemType:t})=>l("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Lr({search:i,itemType:t,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),nh={};Wt(nh,{DELETE__delete_share:()=>DA,POST__accept_share:()=>CA,POST__create_share:()=>AA});var AA=(l,{shareReceiverPermission:i,shareType:t,shareResourcePath:m,shareReceiver:S},_)=>{let g={"OCS-APIRequest":"true"},s={path:m,shareType:t.toString(),shareWith:S,permissions:i.toString()};return _?.platform!==re.ownCloudInfiniteScale&&(s=JSON.stringify(s),g["Content-Type"]="application/json"),l("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:g})},CA=(l,{shareId:i})=>l("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),DA=(l,{shareId:i})=>l("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${i}`,void 0,{headers:{"OCS-APIRequest":"true"}}),ih={user:0,group:1,publicLink:3,federatedCloudShare:6},oh={file:"file",folder:"folder"},ah={read:0,update:2,create:4,delete:8,share:16,all:31},oP={api:{v0:{settings:qp}},dav:{...Gp,files:Wp,spaces:Xp,systemtags:$p,systemtags_relations:Hp},graph:{v1:{applications:Jp,drives:Kp,extensions:{org_libre_graph:{tags:Vp}},groups:Yp,me:Qp,users:Zp}},ocs:{v2:{apps:{cloud:{groups:eh,users:th},file_sharing:{v1:{sharees:rh,shares:nh}}}}}};var sh=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var TA=require("k6/http");var NA=require("https://jslib.k6.io/url/1.0.0/index.js"),ca=require("k6"),lh=tr(Ws());var ch=tr(Ui()),Nr=(l=10,i)=>(0,sh.randomString)(l,i),uh=l=>({isOwnCloudInfiniteScale:l===re.ownCloudInfiniteScale,isOwnCloudServer:l===re.ownCloudServer,isNextcloud:l===re.nextcloud});var Ut=(l,i)=>(0,ca.group)(l,()=>i(l)),Xt=(l,i)=>{let t={...i};return l.skip&&Object.keys(t).forEach(m=>{t[`${m} -- (SKIPPED)`]=()=>!0,delete t[m]}),(0,ca.check)(l.val,t,l.tags)},pr=(l,i)=>{if(!l||!i)return[];let t=i;if(typeof t=="string")try{t=JSON.parse(t)}catch{return[]}return lh.query(t,l).map(m=>At(m)&&Mi(m)?void 0:m)},hr=(l,i)=>{let t=ch.create(i).end({format:"object"});return pr(l,t)};var ph=require("k6"),hh=require("k6/crypto"),cu=require("k6/encoding"),dh=tr(require("k6/execution")),mh=tr(fh()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===la.basicAuth?la.basicAuth:la.kopano,platform:uu[__ENV.PLATFORM]||uu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},k6:{vus:1,insecureSkipTLSVerify:!0}},vh=wr.k6,fi=()=>{let l=[];return{add:i=>{l.push(i)},exec:()=>{l.forEach(i=>i())}}};function OA(){let l=new Rn({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),i=(0,mh.times)(vh.vus||1,()=>{let[t,m]=[Nr(),Nr()],S=l.user.createUser({userLogin:t,userPassword:m}),[_]=pr("$.id",S.body);l.user.enableUser({userLogin:t});let s=new Rn({...wr,userLogin:t,userPassword:m}).me.getMyDrives(),[h=t]=pr("$.value[?(@.driveType === 'personal')].id",s?.body);return{actorLogin:t,actorPassword:m,actorId:_,actorRoot:h}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:i}}function yh({adminData:l,actorData:i}){let t={...uh(wr.platform)},{actorLogin:m,actorPassword:S,actorId:_,actorRoot:g}=i[dh.default.vu.idInTest-1],s=new Rn({...wr,userLogin:m,userPassword:S});Ut("client.me.*",()=>{let e=s.me.getMyProfile();Xt({skip:t.isOwnCloudServer||t.isNextcloud,val:e},{"test -> me.getMyProfile - displayName - match":b=>{let[x]=pr("displayName",b?.body);return x===m}});let y=s.me.getMyDrives();Xt({skip:t.isOwnCloudServer||t.isNextcloud,val:y},{"test -> me.getMyDrives - personal - match":b=>{let[x]=pr("$.value[?(@.driveType === 'personal')].id",b?.body);return x===g}})});let h=new Rn({...wr,userLogin:l.adminLogin,userPassword:l.adminPassword}),o=Ut("client.group.*",e=>{let y=Nr(),b=h.group.createGroup({groupName:y});Xt({skip:t.isOwnCloudServer||t.isNextcloud,val:b},{"test -> group.createGroup - displayName - match":({body:D})=>{let[T]=pr("displayName",D);return T===y}});let[x]=pr("id",b.body),E=x||y,w=fi();return w.add(()=>{Ut(e,()=>{h.group.deleteGroup({groupIdOrName:E})})}),{defer:w}}),a=Ut("client.application.*",()=>{let e=h.application.listApplications(),[y]=pr("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id",e?.body);return{applicationId:y}});Ut("client.role.*",()=>{let e=h.role.getRoles(),[y]=pr("$.bundles[?(@.name === 'spaceadmin')].id",e?.body),b={principalId:_,appRoleId:y,resourceId:a.applicationId},x=h.role.addRoleToUser(b);Xt({skip:t.isOwnCloudServer||t.isNextcloud,val:x},{"test -> role.addRoleToUser - match":E=>{let w=Object.keys(b).map(D=>{let[T]=pr(D,E?.body);return T===b[D]});return!!w.length&&w.every(Boolean)}})});let c=Ut("client.drive.*",e=>{let y=Nr(),b=s.drive.createDrive({driveName:y});Xt({skip:t.isOwnCloudServer||t.isNextcloud,val:b},{"test -> resource.createDrive - name - match":w=>{let[D]=pr("name",w?.body);return D===y}});let[x]=pr("id",b?.body),E=fi();return E.add(()=>{Ut(e,()=>{s.drive.deleteDrive({driveId:x})})}),{defer:E}}),u=Ut("client.resource.*",e=>{let y=Nr();s.resource.createResource({root:g,resourcePath:y});let b=Nr();s.resource.moveResource({root:g,fromResourcePath:y,toResourcePath:b});let x=fi();x.add(()=>{Ut(e,()=>{s.resource.deleteResource({root:g,resourcePath:b})})});let E=s.resource.getResourceProperties({root:g,resourcePath:b});Xt({val:E},{"test -> resource.getResourceProperties - path - match":({body:F})=>{let[R=""]=hr("$..['d:href']",F);return R.endsWith(`${b}/`)}});let w=[b,`${Nr()}.txt`].join("/"),D=(0,hh.randomBytes)(100);s.resource.uploadResource({root:g,resourceBytes:D,resourcePath:w});let T=s.resource.downloadResource({root:g,resourcePath:w});Xt({val:T},{"test -> resource.uploadResource and resource.downloadResource - bytes - match":({body:F})=>(0,cu.b64encode)(F.toString())===(0,cu.b64encode)(D)});let[N]=hr("$..['oc:fileid']",E.body);return{defer:x,folderId:N,folderName:b}}),p=Ut("client.tag.*",e=>{let y=Nr(),b=s.tag.getTags(),[{"oc:id":x}={"oc:id":""}]=hr(`$..[?(@['oc:display-name'] === '${y}')]`,b?.body);Xt({skip:!x,val:void 0},{"test -> tag.getTagsResponse - exists":()=>!!x});let E="";x||(E=(s.tag.createTag({tagName:y})?.headers["Content-Location"]||"").split("/").pop()||""),Xt({skip:!E,val:void 0},{"test -> tag.createTag - created":()=>!!E});let w=x||E||y;s.tag.addTagToResource({tag:w,resourceId:u.folderId});let D=s.tag.getTagsForResource({root:g,resourceId:u.folderId,resourcePath:u.folderName}),T=F=>{let[R]=hr("$..['oc:tags']",F),[k]=hr(`$..[?(@['oc:id'] === '${w}')]['oc:display-name']`,F);return R||k};Xt({val:T(D.body)},{"test -> tag.getTagsForResource - match":F=>F===y});let N=fi();return N.add(()=>{Ut(e,()=>{s.tag.removeTagFromResource({resourceId:u.folderId,tag:w});let F=s.tag.getTagsForResource({root:g,resourceId:u.folderId,resourcePath:u.folderName});Xt({val:T(F.body)},{"test -> tag.removeTagFromResource - removed":R=>!R}),h.tag.deleteTag({tag:w})})}),{defer:N,tagNameOrId:w}}),v=Ut("client.user.*",e=>{let[y,b]=[Nr(),Nr()];h.user.createUser({userLogin:y,userPassword:b});let x=fi();x.add(()=>{Ut(e,()=>{h.user.deleteUser({userLogin:y})})}),h.user.enableUser({userLogin:y});let E=new Rn({...wr,userLogin:y,userPassword:b});return{userLogin:y,userClient:E,defer:x}}),f=Ut("client.search.*",()=>{let e=s.search.searchForSharees({searchQuery:v.userLogin,searchItemType:oh.folder}),[y]=hr("$..shareWith",e.body);Xt({val:void 0},{"test -> search.searchForSharees - name - match":()=>y===v.userLogin});let b=(w,D)=>{let T=w.search.searchForResources({root:g,searchQuery:D}),[N]=hr("$..['oc:fileid']",T?.body);return!N?((0,ph.sleep)(1),b(w,D)):T},x=b(s,u.folderName);Xt({val:x},{"test -> search.searchForResources - id - match":({body:w})=>{let[D]=hr("$..['oc:fileid']",w);return D===u.folderId}});let E=s.search.searchForResourcesByTag({tag:p.tagNameOrId,root:g});return Xt({val:E},{"test -> search.searchForResourcesByTag - id - match":({body:w})=>{let[D]=hr("$..['oc:fileid']",w);return D===u.folderId}}),{sharee:y}});[Ut("client.share.*",e=>{let y=s.share.createShare({shareReceiver:f.sharee,shareResourcePath:u.folderName,shareReceiverPermission:ah.all,shareType:ih.user}),[b]=hr("ocs.data.id",y.body),x=v.userClient.share.acceptShare({shareId:b});Xt({skip:t.isNextcloud,val:x},{"test -> share.acceptShare - displayname_file_owner - match":({body:w})=>{let[D]=hr("ocs.data.element.displayname_file_owner",w);return D===m},"test -> share.acceptShare - path - match":({body:w})=>{let[D=""]=hr("ocs.data.element.path",w);return D.endsWith(u.folderName)}});let E=fi();return E.add(()=>{Ut(e,()=>{s.share.deleteShare({shareId:b})})}),{defer:E}}),v,p,u,c,o].forEach(({defer:e})=>{e.exec()})}function FA({adminData:l,actorData:i}){let t=new Rn({...wr,userLogin:l.adminLogin,userPassword:l.adminPassword});i.forEach(({actorLogin:m})=>{t.user.deleteUser({userLogin:m})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/artifacts/surf-upload.js b/packages/k6-tests/artifacts/surf-upload.js index e4ea107..a25ef48 100644 --- a/packages/k6-tests/artifacts/surf-upload.js +++ b/packages/k6-tests/artifacts/surf-upload.js @@ -1,90 +1,90 @@ -"use strict";var gg=Object.create;var bo=Object.defineProperty;var _g=Object.getOwnPropertyDescriptor;var xg=Object.getOwnPropertyNames;var bg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var zs=(E,l)=>()=>(l||E((l={exports:{}}).exports,l),l.exports),wg=(E,l)=>{for(var o in l)bo(E,o,{get:l[o],enumerable:!0})},hc=(E,l,o,v)=>{if(l&&typeof l=="object"||typeof l=="function")for(let w of xg(l))!Eg.call(E,w)&&w!==o&&bo(E,w,{get:()=>l[w],enumerable:!(v=_g(l,w))||v.enumerable});return E};var Ut=(E,l,o)=>(o=E!=null?gg(bg(E)):{},hc(l||!E||!E.__esModule?bo(o,"default",{value:E,enumerable:!0}):o,E)),Sg=E=>hc(bo({},"__esModule",{value:!0}),E);var Ys=zs((up,Vs)=>{(function(E){if(typeof up=="object"&&typeof Vs<"u")Vs.exports=E();else if(typeof define=="function"&&define.amd)define([],E);else{var l;typeof window<"u"?l=window:typeof global<"u"?l=global:typeof self<"u"?l=self:l=this,l.jsonpath=E()}})(function(){var E,l,o;return function v(w,y,m){function a(i,u){if(!y[i]){if(!w[i]){var s=typeof require=="function"&&require;if(!u&&s)return s(i,!0);if(p)return p(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var d=y[i]={exports:{}};w[i][0].call(d.exports,function(c){var t=w[i][1][c];return a(t||c)},d,d.exports,v,w,y,m)}return y[i].exports}for(var p=typeof require=="function"&&require,n=0;n",p[a.Identifier]="Identifier",p[a.Keyword]="Keyword",p[a.NullLiteral]="Null",p[a.NumericLiteral]="Numeric",p[a.Punctuator]="Punctuator",p[a.StringLiteral]="String",p[a.RegularExpression]="RegularExpression",n=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],i={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},u={Data:1,Get:2,Set:4},s={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(F,j){if(!F)throw new Error("ASSERT: "+j)}function I(F){return F>=48&&F<=57}function R(F){return"0123456789abcdefABCDEF".indexOf(F)>=0}function P(F){return"01234567".indexOf(F)>=0}function G(F){return F===32||F===9||F===11||F===12||F===160||F>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(F)>=0}function J(F){return F===10||F===13||F===8232||F===8233}function Y(F){return F==64||F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F===92||F>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(F))}function z(F){return F===36||F===95||F>=65&&F<=90||F>=97&&F<=122||F>=48&&F<=57||F===92||F>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(F))}function X(F){switch(F){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(F){return F==="eval"||F==="arguments"}function re(F){if(t&&H(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try"||F==="let";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function he(F,j,Z,le,be){var Ie,Qe;N(typeof Z=="number","Comment must have valid position"),!(C.lastCommentStart>=Z)&&(C.lastCommentStart=Z,Ie={type:F,value:j},T.range&&(Ie.range=[Z,le]),T.loc&&(Ie.loc=be),T.comments.push(Ie),T.attachComment&&(T.leadingComments.push(Ie),T.trailingComments.push(Ie)))}function me(F){var j,Z,le,be;for(j=e-F,Z={start:{line:g,column:e-x-F}};e<_;)if(le=c.charCodeAt(e),++e,J(le)){T.comments&&(be=c.slice(j+F,e-1),Z.end={line:g,column:e-x-1},he("Line",be,j,e-1,Z)),le===13&&c.charCodeAt(e)===10&&++e,++g,x=e;return}T.comments&&(be=c.slice(j+F,e),Z.end={line:g,column:e-x},he("Line",be,j,e,Z))}function ne(){var F,j,Z,le;for(T.comments&&(F=e-2,j={start:{line:g,column:e-x-2}});e<_;)if(Z=c.charCodeAt(e),J(Z))Z===13&&c.charCodeAt(e+1)===10&&++e,++g,++e,x=e,e>=_&&Ne({},s.UnexpectedToken,"ILLEGAL");else if(Z===42){if(c.charCodeAt(e+1)===47){++e,++e,T.comments&&(le=c.slice(F+2,e-2),j.end={line:g,column:e-x},he("Block",le,F,e,j));return}++e}else++e;Ne({},s.UnexpectedToken,"ILLEGAL")}function Q(){var F,j;for(j=e===0;e<_;)if(F=c.charCodeAt(e),G(F))++e;else if(J(F))++e,F===13&&c.charCodeAt(e)===10&&++e,++g,x=e,j=!0;else if(F===47)if(F=c.charCodeAt(e+1),F===47)++e,++e,me(2),j=!0;else if(F===42)++e,++e,ne();else break;else if(j&&F===45)if(c.charCodeAt(e+1)===45&&c.charCodeAt(e+2)===62)e+=3,me(3);else break;else if(F===60)if(c.slice(e+1,e+4)==="!--")++e,++e,++e,++e,me(4);else break;else break}function ie(F){var j,Z,le,be=0;for(Z=F==="u"?4:2,j=0;j>>=")return e+=4,{type:a.Punctuator,value:Qe,lineNumber:g,lineStart:x,start:F,end:e};if(Ie=Qe.substr(0,3),Ie===">>>"||Ie==="<<="||Ie===">>=")return e+=3,{type:a.Punctuator,value:Ie,lineNumber:g,lineStart:x,start:F,end:e};if(be=Ie.substr(0,2),le===be[1]&&"+-<>&|".indexOf(le)>=0||be==="=>")return e+=2,{type:a.Punctuator,value:be,lineNumber:g,lineStart:x,start:F,end:e};if("<>=!+-*%&|^/".indexOf(le)>=0)return++e,{type:a.Punctuator,value:le,lineNumber:g,lineStart:x,start:F,end:e};Ne({},s.UnexpectedToken,"ILLEGAL")}function L(F){for(var j="";e<_&&R(c[e]);)j+=c[e++];return j.length===0&&Ne({},s.UnexpectedToken,"ILLEGAL"),Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt("0x"+j,16),lineNumber:g,lineStart:x,start:F,end:e}}function B(F){for(var j="0"+c[e++];e<_&&P(c[e]);)j+=c[e++];return(Y(c.charCodeAt(e))||I(c.charCodeAt(e)))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseInt(j,8),octal:!0,lineNumber:g,lineStart:x,start:F,end:e}}function M(){var F,j,Z;if(Z=c[e],N(I(Z.charCodeAt(0))||Z===".","Numeric literal must start with a decimal digit or a decimal point"),j=e,F="",Z!=="."){if(F=c[e++],Z=c[e],F==="0"){if(Z==="x"||Z==="X")return++e,L(j);if(P(Z))return B(j);Z&&I(Z.charCodeAt(0))&&Ne({},s.UnexpectedToken,"ILLEGAL")}for(;I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="."){for(F+=c[e++];I(c.charCodeAt(e));)F+=c[e++];Z=c[e]}if(Z==="e"||Z==="E")if(F+=c[e++],Z=c[e],(Z==="+"||Z==="-")&&(F+=c[e++]),I(c.charCodeAt(e)))for(;I(c.charCodeAt(e));)F+=c[e++];else Ne({},s.UnexpectedToken,"ILLEGAL");return Y(c.charCodeAt(e))&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.NumericLiteral,value:parseFloat(F),lineNumber:g,lineStart:x,start:j,end:e}}function q(){var F="",j,Z,le,be,Ie,Qe,ut=!1,At,bt;for(At=g,bt=x,j=c[e],N(j==="'"||j==='"',"String literal must starts with a quote"),Z=e,++e;e<_;)if(le=c[e++],le===j){j="";break}else if(le==="\\")if(le=c[e++],!le||!J(le.charCodeAt(0)))switch(le){case"u":case"x":Qe=e,Ie=ie(le),Ie?F+=Ie:(e=Qe,F+=le);break;case"n":F+=` -`;break;case"r":F+="\r";break;case"t":F+=" ";break;case"b":F+="\b";break;case"f":F+="\f";break;case"v":F+="\v";break;default:P(le)?(be="01234567".indexOf(le),be!==0&&(ut=!0),e<_&&P(c[e])&&(ut=!0,be=be*8+"01234567".indexOf(c[e++]),"0123".indexOf(le)>=0&&e<_&&P(c[e])&&(be=be*8+"01234567".indexOf(c[e++]))),F+=String.fromCharCode(be)):F+=le;break}else++g,le==="\r"&&c[e]===` -`&&++e,x=e;else{if(J(le.charCodeAt(0)))break;F+=le}return j!==""&&Ne({},s.UnexpectedToken,"ILLEGAL"),{type:a.StringLiteral,value:F,octal:ut,startLineNumber:At,startLineStart:bt,lineNumber:g,lineStart:x,start:Z,end:e}}function W(F,j){var Z;try{Z=new RegExp(F,j)}catch{Ne({},s.InvalidRegExp)}return Z}function oe(){var F,j,Z,le,be;for(F=c[e],N(F==="/","Regular expression literal must start with a slash"),j=c[e++],Z=!1,le=!1;e<_;)if(F=c[e++],j+=F,F==="\\")F=c[e++],J(F.charCodeAt(0))&&Ne({},s.UnterminatedRegExp),j+=F;else if(J(F.charCodeAt(0)))Ne({},s.UnterminatedRegExp);else if(Z)F==="]"&&(Z=!1);else if(F==="/"){le=!0;break}else F==="["&&(Z=!0);return le||Ne({},s.UnterminatedRegExp),be=j.substr(1,j.length-2),{value:be,literal:j}}function de(){var F,j,Z,le;for(j="",Z="";e<_&&(F=c[e],!!z(F.charCodeAt(0)));)if(++e,F==="\\"&&e<_)if(F=c[e],F==="u"){if(++e,le=e,F=ie("u"),F)for(Z+=F,j+="\\u";le0&&(le=T.tokens[T.tokens.length-1],le.range[0]===F&&le.type==="Punctuator"&&(le.value==="/"||le.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[F,e],loc:j})),Z}function Be(F){return F.type===a.Identifier||F.type===a.Keyword||F.type===a.BooleanLiteral||F.type===a.NullLiteral}function Le(){var F,j;if(F=T.tokens[T.tokens.length-1],!F)return Se();if(F.type==="Punctuator"){if(F.value==="]")return D();if(F.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Se():D();if(F.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return D()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Se()}else return D();return n.indexOf(j.value)>=0?D():Se()}return Se()}return F.type==="Keyword"?Se():D()}function tt(){var F;return Q(),e>=_?{type:a.EOF,lineNumber:g,lineStart:x,start:e,end:e}:(F=c.charCodeAt(e),Y(F)?k():F===40||F===41||F===59?D():F===39||F===34?q():F===46?I(c.charCodeAt(e+1))?M():D():I(F)?M():T.tokenize&&F===47?Le():D())}function Je(){var F,j,Z,le;return Q(),F={start:{line:g,column:e-x}},j=tt(),F.end={line:g,column:e-x},j.type!==a.EOF&&(le=c.slice(j.start,j.end),T.tokens.push({type:p[j.type],value:le,range:[j.start,j.end],loc:F})),j}function we(){var F;return F=S,e=F.end,g=F.lineNumber,x=F.lineStart,S=typeof T.tokens<"u"?Je():tt(),e=F.end,g=F.lineNumber,x=F.lineStart,F}function at(){var F,j,Z;F=e,j=g,Z=x,S=typeof T.tokens<"u"?Je():tt(),e=F,g=j,x=Z}function K(F,j){this.line=F,this.column=j}function qe(F,j,Z,le){this.start=new K(F,j),this.end=new K(Z,le)}d={name:"SyntaxTree",processComment:function(F){var j,Z;if(!(F.type===i.Program&&F.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=F.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=F.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=F.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=F.range[0]&&(F.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(F.trailingComments=Z),T.bottomRightStack.push(F)}},markEnd:function(F,j){return T.range&&(F.range=[j.start,e]),T.loc&&(F.loc=new qe(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-x),this.postProcess(F)),T.attachComment&&this.processComment(F),F},postProcess:function(F){return T.source&&(F.loc.source=T.source),F},createArrayExpression:function(F){return{type:i.ArrayExpression,elements:F}},createAssignmentExpression:function(F,j,Z){return{type:i.AssignmentExpression,operator:F,left:j,right:Z}},createBinaryExpression:function(F,j,Z){var le=F==="||"||F==="&&"?i.LogicalExpression:i.BinaryExpression;return{type:le,operator:F,left:j,right:Z}},createBlockStatement:function(F){return{type:i.BlockStatement,body:F}},createBreakStatement:function(F){return{type:i.BreakStatement,label:F}},createCallExpression:function(F,j){return{type:i.CallExpression,callee:F,arguments:j}},createCatchClause:function(F,j){return{type:i.CatchClause,param:F,body:j}},createConditionalExpression:function(F,j,Z){return{type:i.ConditionalExpression,test:F,consequent:j,alternate:Z}},createContinueStatement:function(F){return{type:i.ContinueStatement,label:F}},createDebuggerStatement:function(){return{type:i.DebuggerStatement}},createDoWhileStatement:function(F,j){return{type:i.DoWhileStatement,body:F,test:j}},createEmptyStatement:function(){return{type:i.EmptyStatement}},createExpressionStatement:function(F){return{type:i.ExpressionStatement,expression:F}},createForStatement:function(F,j,Z,le){return{type:i.ForStatement,init:F,test:j,update:Z,body:le}},createForInStatement:function(F,j,Z){return{type:i.ForInStatement,left:F,right:j,body:Z,each:!1}},createFunctionDeclaration:function(F,j,Z,le){return{type:i.FunctionDeclaration,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(F,j,Z,le){return{type:i.FunctionExpression,id:F,params:j,defaults:Z,body:le,rest:null,generator:!1,expression:!1}},createIdentifier:function(F){return{type:i.Identifier,name:F}},createIfStatement:function(F,j,Z){return{type:i.IfStatement,test:F,consequent:j,alternate:Z}},createLabeledStatement:function(F,j){return{type:i.LabeledStatement,label:F,body:j}},createLiteral:function(F){return{type:i.Literal,value:F.value,raw:c.slice(F.start,F.end)}},createMemberExpression:function(F,j,Z){return{type:i.MemberExpression,computed:F==="[",object:j,property:Z}},createNewExpression:function(F,j){return{type:i.NewExpression,callee:F,arguments:j}},createObjectExpression:function(F){return{type:i.ObjectExpression,properties:F}},createPostfixExpression:function(F,j){return{type:i.UpdateExpression,operator:F,argument:j,prefix:!1}},createProgram:function(F){return{type:i.Program,body:F}},createProperty:function(F,j,Z){return{type:i.Property,key:j,value:Z,kind:F}},createReturnStatement:function(F){return{type:i.ReturnStatement,argument:F}},createSequenceExpression:function(F){return{type:i.SequenceExpression,expressions:F}},createSwitchCase:function(F,j){return{type:i.SwitchCase,test:F,consequent:j}},createSwitchStatement:function(F,j){return{type:i.SwitchStatement,discriminant:F,cases:j}},createThisExpression:function(){return{type:i.ThisExpression}},createThrowStatement:function(F){return{type:i.ThrowStatement,argument:F}},createTryStatement:function(F,j,Z,le){return{type:i.TryStatement,block:F,guardedHandlers:j,handlers:Z,finalizer:le}},createUnaryExpression:function(F,j){return F==="++"||F==="--"?{type:i.UpdateExpression,operator:F,argument:j,prefix:!0}:{type:i.UnaryExpression,operator:F,argument:j,prefix:!0}},createVariableDeclaration:function(F,j){return{type:i.VariableDeclaration,declarations:F,kind:j}},createVariableDeclarator:function(F,j){return{type:i.VariableDeclarator,id:F,init:j}},createWhileStatement:function(F,j){return{type:i.WhileStatement,test:F,body:j}},createWithStatement:function(F,j){return{type:i.WithStatement,object:F,body:j}}};function ze(){var F,j,Z,le;return F=e,j=g,Z=x,Q(),le=g!==j,e=F,g=j,x=Z,le}function Ne(F,j){var Z,le=Array.prototype.slice.call(arguments,2),be=j.replace(/%(\d)/g,function(Ie,Qe){return N(Qe>="||F===">>>="||F==="&="||F==="^="||F==="|=")}function We(){var F;if(c.charCodeAt(e)===59||Ae(";")){we();return}F=g,Q(),g===F&&S.type!==a.EOF&&!Ae("}")&&_e(S)}function Ve(F){return F.type===i.Identifier||F.type===i.MemberExpression}function gt(){var F=[],j;for(j=S,xe("[");!Ae("]");)Ae(",")?(we(),F.push(null)):(F.push($t()),Ae("]")||xe(","));return we(),b.markEnd(b.createArrayExpression(F),j)}function _t(F,j){var Z,le,be;return Z=t,be=S,le=Kn(),j&&t&&ee(F[0].name)&&ae(j,s.StrictParamName),t=Z,b.markEnd(b.createFunctionExpression(null,F,[],le),be)}function st(){var F,j;return j=S,F=we(),F.type===a.StringLiteral||F.type===a.NumericLiteral?(t&&F.octal&&ae(F,s.StrictOctalLiteral),b.markEnd(b.createLiteral(F),j)):b.markEnd(b.createIdentifier(F.value),j)}function kt(){var F,j,Z,le,be,Ie;if(F=S,Ie=S,F.type===a.Identifier)return Z=st(),F.value==="get"&&!Ae(":")?(j=st(),xe("("),xe(")"),le=_t([]),b.markEnd(b.createProperty("get",j,le),Ie)):F.value==="set"&&!Ae(":")?(j=st(),xe("("),F=S,F.type!==a.Identifier?(xe(")"),ae(F,s.UnexpectedToken,F.value),le=_t([])):(be=[vr()],xe(")"),le=_t(be,F)),b.markEnd(b.createProperty("set",j,le),Ie)):(xe(":"),le=$t(),b.markEnd(b.createProperty("init",Z,le),Ie));if(F.type===a.EOF||F.type===a.Punctuator)_e(F);else return j=st(),xe(":"),le=$t(),b.markEnd(b.createProperty("init",j,le),Ie)}function Xn(){var F=[],j,Z,le,be,Ie={},Qe=String,ut;for(ut=S,xe("{");!Ae("}");)j=kt(),j.key.type===i.Identifier?Z=j.key.name:Z=Qe(j.key.value),be=j.kind==="init"?u.Data:j.kind==="get"?u.Get:u.Set,le="$"+Z,Object.prototype.hasOwnProperty.call(Ie,le)?(Ie[le]===u.Data?t&&be===u.Data?ae({},s.StrictDuplicateProperty):be!==u.Data&&ae({},s.AccessorDataProperty):be===u.Data?ae({},s.AccessorDataProperty):Ie[le]&be&&ae({},s.AccessorGetSet),Ie[le]|=be):Ie[le]=be,F.push(j),Ae("}")||xe(",");return xe("}"),b.markEnd(b.createObjectExpression(F),ut)}function Hn(){var F;return xe("("),F=St(),xe(")"),F}function ye(){var F,j,Z,le;if(Ae("("))return Hn();if(Ae("["))return gt();if(Ae("{"))return Xn();if(F=S.type,le=S,F===a.Identifier)Z=b.createIdentifier(we().value);else if(F===a.StringLiteral||F===a.NumericLiteral)t&&S.octal&&ae(S,s.StrictOctalLiteral),Z=b.createLiteral(we());else if(F===a.Keyword){if(je("function"))return Oi();je("this")?(we(),Z=b.createThisExpression()):_e(we())}else F===a.BooleanLiteral?(j=we(),j.value=j.value==="true",Z=b.createLiteral(j)):F===a.NullLiteral?(j=we(),j.value=null,Z=b.createLiteral(j)):Ae("/")||Ae("/=")?(typeof T.tokens<"u"?Z=b.createLiteral(Se()):Z=b.createLiteral(ge()),at()):_e(we());return b.markEnd(Z,le)}function Oe(){var F=[];if(xe("("),!Ae(")"))for(;e<_&&(F.push($t()),!Ae(")"));)xe(",");return xe(")"),F}function $e(){var F,j;return j=S,F=we(),Be(F)||_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Nt(){return xe("."),$e()}function kr(){var F;return xe("["),F=St(),xe("]"),F}function Pr(){var F,j,Z;return Z=S,Te("new"),F=Jn(),j=Ae("(")?Oe():[],b.markEnd(b.createNewExpression(F,j),Z)}function ga(){var F,j,Z,le,be;for(be=S,F=C.allowIn,C.allowIn=!0,j=je("new")?Pr():ye(),C.allowIn=F;;){if(Ae("."))le=Nt(),j=b.createMemberExpression(".",j,le);else if(Ae("("))Z=Oe(),j=b.createCallExpression(j,Z);else if(Ae("["))le=kr(),j=b.createMemberExpression("[",j,le);else break;b.markEnd(j,be)}return j}function Jn(){var F,j,Z,le;for(le=S,F=C.allowIn,j=je("new")?Pr():ye(),C.allowIn=F;Ae(".")||Ae("[");)Ae("[")?(Z=kr(),j=b.createMemberExpression("[",j,Z)):(Z=Nt(),j=b.createMemberExpression(".",j,Z)),b.markEnd(j,le);return j}function wi(){var F,j,Z=S;return F=ga(),S.type===a.Punctuator&&(Ae("++")||Ae("--"))&&!ze()&&(t&&F.type===i.Identifier&&ee(F.name)&&ae({},s.StrictLHSPostfix),Ve(F)||ae({},s.InvalidLHSInAssignment),j=we(),F=b.markEnd(b.createPostfixExpression(j.value,F),Z)),F}function Br(){var F,j,Z;return S.type!==a.Punctuator&&S.type!==a.Keyword?j=wi():Ae("++")||Ae("--")?(Z=S,F=we(),j=Br(),t&&j.type===i.Identifier&&ee(j.name)&&ae({},s.StrictLHSPrefix),Ve(j)||ae({},s.InvalidLHSInAssignment),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):Ae("+")||Ae("-")||Ae("~")||Ae("!")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z)):je("delete")||je("void")||je("typeof")?(Z=S,F=we(),j=Br(),j=b.createUnaryExpression(F.value,j),j=b.markEnd(j,Z),t&&j.operator==="delete"&&j.argument.type===i.Identifier&&ae({},s.StrictDelete)):j=wi(),j}function Si(F,j){var Z=0;if(F.type!==a.Punctuator&&F.type!==a.Keyword)return 0;switch(F.value){case"||":Z=1;break;case"&&":Z=2;break;case"|":Z=3;break;case"^":Z=4;break;case"&":Z=5;break;case"==":case"!=":case"===":case"!==":Z=6;break;case"<":case">":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function _a(){var F,j,Z,le,be,Ie,Qe,ut,At,bt;if(F=S,At=Br(),le=S,be=Si(le,C.allowIn),be===0)return At;for(le.prec=be,we(),j=[F,S],Qe=Br(),Ie=[At,le,Qe];(be=Si(S,C.allowIn))>0;){for(;Ie.length>2&&be<=Ie[Ie.length-2].prec;)Qe=Ie.pop(),ut=Ie.pop().value,At=Ie.pop(),Z=b.createBinaryExpression(ut,At,Qe),j.pop(),F=j[j.length-1],b.markEnd(Z,F),Ie.push(Z);le=we(),le.prec=be,Ie.push(le),j.push(S),Z=Br(),Ie.push(Z)}for(bt=Ie.length-1,Z=Ie[bt],j.pop();bt>1;)Z=b.createBinaryExpression(Ie[bt-1].value,Ie[bt-2],Z),bt-=2,F=j.pop(),b.markEnd(Z,F);return Z}function xa(){var F,j,Z,le,be;return be=S,F=_a(),Ae("?")&&(we(),j=C.allowIn,C.allowIn=!0,Z=$t(),C.allowIn=j,xe(":"),le=$t(),F=b.createConditionalExpression(F,Z,le),b.markEnd(F,be)),F}function $t(){var F,j,Z,le,be;return F=S,be=S,le=j=xa(),Me()&&(Ve(j)||ae({},s.InvalidLHSInAssignment),t&&j.type===i.Identifier&&ee(j.name)&&ae(F,s.StrictLHSAssignment),F=we(),Z=$t(),le=b.markEnd(b.createAssignmentExpression(F.value,j,Z),be)),le}function St(){var F,j=S;if(F=$t(),Ae(",")){for(F=b.createSequenceExpression([F]);e<_&&Ae(",");)we(),F.expressions.push($t());b.markEnd(F,j)}return F}function ba(){for(var F=[],j;e<_&&!(Ae("}")||(j=rn(),typeof j>"u"));)F.push(j);return F}function en(){var F,j;return j=S,xe("{"),F=ba(),xe("}"),b.markEnd(b.createBlockStatement(F),j)}function vr(){var F,j;return j=S,F=we(),F.type!==a.Identifier&&_e(F),b.markEnd(b.createIdentifier(F.value),j)}function Ea(F){var j=null,Z,le;return le=S,Z=vr(),t&&ee(Z.name)&&ae({},s.StrictVarName),F==="const"?(xe("="),j=$t()):Ae("=")&&(we(),j=$t()),b.markEnd(b.createVariableDeclarator(Z,j),le)}function $n(F){var j=[];do{if(j.push(Ea(F)),!Ae(","))break;we()}while(e<_);return j}function wa(){var F;return Te("var"),F=$n(),We(),b.createVariableDeclaration(F,"var")}function Sa(F){var j,Z;return Z=S,Te(F),j=$n(F),We(),b.markEnd(b.createVariableDeclaration(j,F),Z)}function Aa(){return xe(";"),b.createEmptyStatement()}function gn(){var F=St();return We(),b.createExpressionStatement(F)}function Da(){var F,j,Z;return Te("if"),xe("("),F=St(),xe(")"),j=zt(),je("else")?(we(),Z=zt()):Z=null,b.createIfStatement(F,j,Z)}function _n(){var F,j,Z;return Te("do"),Z=C.inIteration,C.inIteration=!0,F=zt(),C.inIteration=Z,Te("while"),xe("("),j=St(),xe(")"),Ae(";")&&we(),b.createDoWhileStatement(F,j)}function Ca(){var F,j,Z;return Te("while"),xe("("),F=St(),xe(")"),Z=C.inIteration,C.inIteration=!0,j=zt(),C.inIteration=Z,b.createWhileStatement(F,j)}function Ta(){var F,j,Z;return Z=S,F=we(),j=$n(),b.markEnd(b.createVariableDeclaration(j,F.value),Z)}function Na(){var F,j,Z,le,be,Ie,Qe;return F=j=Z=null,Te("for"),xe("("),Ae(";")?we():(je("var")||je("let")?(C.allowIn=!1,F=Ta(),C.allowIn=!0,F.declarations.length===1&&je("in")&&(we(),le=F,be=St(),F=null)):(C.allowIn=!1,F=St(),C.allowIn=!0,je("in")&&(Ve(F)||ae({},s.InvalidLHSInForIn),we(),le=F,be=St(),F=null)),typeof le>"u"&&xe(";")),typeof le>"u"&&(Ae(";")||(j=St()),xe(";"),Ae(")")||(Z=St())),xe(")"),Qe=C.inIteration,C.inIteration=!0,Ie=zt(),C.inIteration=Qe,typeof le>"u"?b.createForStatement(F,j,Z,Ie):b.createForInStatement(le,be,Ie)}function Ai(){var F=null,j;return Te("continue"),c.charCodeAt(e)===59?(we(),C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):ze()?(C.inIteration||Ne({},s.IllegalContinue),b.createContinueStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!C.inIteration&&Ne({},s.IllegalContinue),b.createContinueStatement(F))}function Di(){var F=null,j;return Te("break"),c.charCodeAt(e)===59?(we(),C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):ze()?(C.inIteration||C.inSwitch||Ne({},s.IllegalBreak),b.createBreakStatement(null)):(S.type===a.Identifier&&(F=vr(),j="$"+F.name,Object.prototype.hasOwnProperty.call(C.labelSet,j)||Ne({},s.UnknownLabel,F.name)),We(),F===null&&!(C.inIteration||C.inSwitch)&&Ne({},s.IllegalBreak),b.createBreakStatement(F))}function Ci(){var F=null;return Te("return"),C.inFunctionBody||ae({},s.IllegalReturn),c.charCodeAt(e)===32&&Y(c.charCodeAt(e+1))?(F=St(),We(),b.createReturnStatement(F)):ze()?b.createReturnStatement(null):(Ae(";")||!Ae("}")&&S.type!==a.EOF&&(F=St()),We(),b.createReturnStatement(F))}function Fa(){var F,j;return t&&(Q(),ae({},s.StrictModeWith)),Te("with"),xe("("),F=St(),xe(")"),j=zt(),b.createWithStatement(F,j)}function Oa(){var F,j=[],Z,le;for(le=S,je("default")?(we(),F=null):(Te("case"),F=St()),xe(":");e<_&&!(Ae("}")||je("default")||je("case"));)Z=zt(),j.push(Z);return b.markEnd(b.createSwitchCase(F,j),le)}function Ia(){var F,j,Z,le,be;if(Te("switch"),xe("("),F=St(),xe(")"),xe("{"),j=[],Ae("}"))return we(),b.createSwitchStatement(F,j);for(le=C.inSwitch,C.inSwitch=!0,be=!1;e<_&&!Ae("}");)Z=Oa(),Z.test===null&&(be&&Ne({},s.MultipleDefaultsInSwitch),be=!0),j.push(Z);return C.inSwitch=le,xe("}"),b.createSwitchStatement(F,j)}function ka(){var F;return Te("throw"),ze()&&Ne({},s.NewlineAfterThrow),F=St(),We(),b.createThrowStatement(F)}function Ti(){var F,j,Z;return Z=S,Te("catch"),xe("("),Ae(")")&&_e(S),F=vr(),t&&ee(F.name)&&ae({},s.StrictCatchVariable),xe(")"),j=en(),b.markEnd(b.createCatchClause(F,j),Z)}function Ni(){var F,j=[],Z=null;return Te("try"),F=en(),je("catch")&&j.push(Ti()),je("finally")&&(we(),Z=en()),j.length===0&&!Z&&Ne({},s.NoCatchOrFinally),b.createTryStatement(F,[],j,Z)}function Fi(){return Te("debugger"),We(),b.createDebuggerStatement()}function zt(){var F=S.type,j,Z,le,be;if(F===a.EOF&&_e(S),F===a.Punctuator&&S.value==="{")return en();if(be=S,F===a.Punctuator)switch(S.value){case";":return b.markEnd(Aa(),be);case"(":return b.markEnd(gn(),be);default:break}if(F===a.Keyword)switch(S.value){case"break":return b.markEnd(Di(),be);case"continue":return b.markEnd(Ai(),be);case"debugger":return b.markEnd(Fi(),be);case"do":return b.markEnd(_n(),be);case"for":return b.markEnd(Na(),be);case"function":return b.markEnd(tn(),be);case"if":return b.markEnd(Da(),be);case"return":return b.markEnd(Ci(),be);case"switch":return b.markEnd(Ia(),be);case"throw":return b.markEnd(ka(),be);case"try":return b.markEnd(Ni(),be);case"var":return b.markEnd(wa(),be);case"while":return b.markEnd(Ca(),be);case"with":return b.markEnd(Fa(),be);default:break}return j=St(),j.type===i.Identifier&&Ae(":")?(we(),le="$"+j.name,Object.prototype.hasOwnProperty.call(C.labelSet,le)&&Ne({},s.Redeclaration,"Label",j.name),C.labelSet[le]=!0,Z=zt(),delete C.labelSet[le],b.markEnd(b.createLabeledStatement(j,Z),be)):(We(),b.markEnd(b.createExpressionStatement(j),be))}function Kn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;for(bt=S,xe("{");e<_&&!(S.type!==a.StringLiteral||(Z=S,F=rn(),j.push(F),F.expression.type!==i.Literal));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(Ie=C.labelSet,Qe=C.inIteration,ut=C.inSwitch,At=C.inFunctionBody,C.labelSet={},C.inIteration=!1,C.inSwitch=!1,C.inFunctionBody=!0;e<_&&!(Ae("}")||(F=rn(),typeof F>"u"));)j.push(F);return xe("}"),C.labelSet=Ie,C.inIteration=Qe,C.inSwitch=ut,C.inFunctionBody=At,b.markEnd(b.createBlockStatement(j),bt)}function Vn(F){var j,Z=[],le,be,Ie,Qe,ut;if(xe("("),!Ae(")"))for(Ie={};e<_&&(le=S,j=vr(),Qe="$"+le.value,t?(ee(le.value)&&(be=le,ut=s.StrictParamName),Object.prototype.hasOwnProperty.call(Ie,Qe)&&(be=le,ut=s.StrictParamDupe)):F||(ee(le.value)?(F=le,ut=s.StrictParamName):H(le.value)?(F=le,ut=s.StrictReservedWord):Object.prototype.hasOwnProperty.call(Ie,Qe)&&(F=le,ut=s.StrictParamDupe)),Z.push(j),Ie[Qe]=!0,!Ae(")"));)xe(",");return xe(")"),{params:Z,stricted:be,firstRestricted:F,message:ut}}function tn(){var F,j=[],Z,le,be,Ie,Qe,ut,At,bt;return bt=S,Te("function"),le=S,F=vr(),t?ee(le.value)&&ae(le,s.StrictFunctionName):ee(le.value)?(Qe=le,ut=s.StrictFunctionName):H(le.value)&&(Qe=le,ut=s.StrictReservedWord),Ie=Vn(Qe),j=Ie.params,be=Ie.stricted,Qe=Ie.firstRestricted,Ie.message&&(ut=Ie.message),At=t,Z=Kn(),t&&Qe&&Ne(Qe,ut),t&&be&&ae(be,ut),t=At,b.markEnd(b.createFunctionDeclaration(F,j,[],Z),bt)}function Oi(){var F,j=null,Z,le,be,Ie,Qe=[],ut,At,bt;return bt=S,Te("function"),Ae("(")||(F=S,j=vr(),t?ee(F.value)&&ae(F,s.StrictFunctionName):ee(F.value)?(le=F,be=s.StrictFunctionName):H(F.value)&&(le=F,be=s.StrictReservedWord)),Ie=Vn(le),Qe=Ie.params,Z=Ie.stricted,le=Ie.firstRestricted,Ie.message&&(be=Ie.message),At=t,ut=Kn(),t&&le&&Ne(le,be),t&&Z&&ae(Z,be),t=At,b.markEnd(b.createFunctionExpression(j,Qe,[],ut),bt)}function rn(){if(S.type===a.Keyword)switch(S.value){case"const":case"let":return Sa(S.value);case"function":return tn();default:return zt()}if(S.type!==a.EOF)return zt()}function Ii(){for(var F,j=[],Z,le,be;e<_&&(Z=S,!(Z.type!==a.StringLiteral||(F=rn(),j.push(F),F.expression.type!==i.Literal)));)le=c.slice(Z.start+1,Z.end-1),le==="use strict"?(t=!0,be&&ae(be,s.StrictOctalLiteral)):!be&&Z.octal&&(be=Z);for(;e<_&&(F=rn(),!(typeof F>"u"));)j.push(F);return j}function ki(){var F,j;return Q(),at(),j=S,t=!1,F=Ii(),b.markEnd(b.createProgram(F),j)}function xn(){var F,j,Z,le=[];for(F=0;F0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(at(),S.type===a.EOF)return T.tokens;for(le=we();S.type!==a.EOF;)try{le=we()}catch(Ie){if(le=S,T.errors){T.errors.push(Ie);break}else throw Ie}xn(),be=T.tokens,typeof T.comments<"u"&&(be.comments=T.comments),typeof T.errors<"u"&&(be.errors=T.errors)}catch(Ie){throw Ie}finally{T={}}return be}function Pi(F,j){var Z,le;le=String,typeof F!="string"&&!(F instanceof String)&&(F=le(F)),b=d,c=F,e=0,g=c.length>0?1:0,x=0,_=c.length,S=null,C={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=le(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=ki(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(xn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(be){throw be}finally{T={}}return Z}m.version="1.2.2",m.tokenize=Pa,m.parse=Pi,m.Syntax=function(){var F,j={};typeof Object.create=="function"&&(j=Object.create(null));for(F in i)i.hasOwnProperty(F)&&(j[F]=i[F]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,w,y){(function(m){var a=function(){var p={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,d,c,t,e,g,x){t.ast||(t.ast=n,n.initialize());var _=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[_]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[_-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[_]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[_]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[_]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[_])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[_].length>1?t.ast.set({expression:{type:"union",value:g[_]}}):this.$=g[_];break;case 25:this.$=[g[_]];break;case 26:this.$=g[_-2].concat(g[_]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[_])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[_]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[_]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[_]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[_]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[_]}},t.ast.set(this.$);break;case 33:this.$=g[_];break;case 34:this.$=g[_];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,d){if(d.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var d=this,c=[0],t=[null],e=[],g=this.table,x="",_=0,b=0,S=0,C=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var R=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function P(ue){c.length=c.length-2*ue,t.length=t.length-ue,e.length=e.length-ue}function G(){var ue;return ue=d.lexer.lex()||T,typeof ue!="number"&&(ue=d.symbols_[ue]||ue),ue}for(var J,Y,z,X,H,ee,re={},he,me,ne,Q;;){if(z=c[c.length-1],this.defaultActions[z]?X=this.defaultActions[z]:((J===null||typeof J>"u")&&(J=G()),X=g[z]&&g[z][J]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(he in g[z])this.terminals_[he]&&he>C&&Q.push("'"+this.terminals_[he]+"'");this.lexer.showPosition?ie="Parse error on line "+(_+1)+`: +"use strict";var U_=Object.create;var Po=Object.defineProperty;var z_=Object.getOwnPropertyDescriptor;var q_=Object.getOwnPropertyNames;var G_=Object.getPrototypeOf,W_=Object.prototype.hasOwnProperty;var Cs=(c,a)=>()=>(a||c((a={exports:{}}).exports,a),a.exports),jt=(c,a)=>{for(var n in a)Po(c,n,{get:a[n],enumerable:!0})},dc=(c,a,n,v)=>{if(a&&typeof a=="object"||typeof a=="function")for(let S of q_(a))!W_.call(c,S)&&S!==n&&Po(c,S,{get:()=>a[S],enumerable:!(v=z_(a,S))||v.enumerable});return c};var Qt=(c,a,n)=>(n=c!=null?U_(G_(c)):{},dc(a||!c||!c.__esModule?Po(n,"default",{value:c,enumerable:!0}):n,c)),X_=c=>dc(Po({},"__esModule",{value:!0}),c);var Bs=Cs((ip,Ls)=>{(function(c){if(typeof ip=="object"&&typeof Ls<"u")Ls.exports=c();else if(typeof define=="function"&&define.amd)define([],c);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.jsonpath=c()}})(function(){var c,a,n;return function v(S,_,y){function s(o,l){if(!_[o]){if(!S[o]){var u=typeof require=="function"&&require;if(!l&&u)return u(o,!0);if(h)return h(o,!0);var p=new Error("Cannot find module '"+o+"'");throw p.code="MODULE_NOT_FOUND",p}var m=_[o]={exports:{}};S[o][0].call(m.exports,function(f){var t=S[o][1][f];return s(t||f)},m,m.exports,v,S,_,y)}return _[o].exports}for(var h=typeof require=="function"&&require,i=0;i",h[s.Identifier]="Identifier",h[s.Keyword]="Keyword",h[s.NullLiteral]="Null",h[s.NumericLiteral]="Numeric",h[s.Punctuator]="Punctuator",h[s.StringLiteral]="String",h[s.RegularExpression]="RegularExpression",i=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],o={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},l={Data:1,Get:2,Set:4},u={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},p={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\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\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\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\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\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\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\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\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\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\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-\u191C\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\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\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\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\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-\uFE26\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]")};function N(O,j){if(!O)throw new Error("ASSERT: "+j)}function I(O){return O>=48&&O<=57}function M(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function k(O){return"01234567".indexOf(O)>=0}function G(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function $(O){return O===10||O===13||O===8232||O===8233}function Y(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&p.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function z(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&p.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function X(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function H(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ee(O){return O==="eval"||O==="arguments"}function re(O){if(t&&H(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function de(O,j,Z,ce,Ee){var Le,rt;N(typeof Z=="number","Comment must have valid position"),!(D.lastCommentStart>=Z)&&(D.lastCommentStart=Z,Le={type:O,value:j},T.range&&(Le.range=[Z,ce]),T.loc&&(Le.loc=Ee),T.comments.push(Le),T.attachComment&&(T.leadingComments.push(Le),T.trailingComments.push(Le)))}function ve(O){var j,Z,ce,Ee;for(j=e-O,Z={start:{line:g,column:e-b-O}};e=x&&Fe({},u.UnexpectedToken,"ILLEGAL");else if(Z===42){if(f.charCodeAt(e+1)===47){++e,++e,T.comments&&(ce=f.slice(O+2,e-2),j.end={line:g,column:e-b},de("Block",ce,O,e,j));return}++e}else++e;Fe({},u.UnexpectedToken,"ILLEGAL")}function Q(){var O,j;for(j=e===0;e>>=")return e+=4,{type:s.Punctuator,value:rt,lineNumber:g,lineStart:b,start:O,end:e};if(Le=rt.substr(0,3),Le===">>>"||Le==="<<="||Le===">>=")return e+=3,{type:s.Punctuator,value:Le,lineNumber:g,lineStart:b,start:O,end:e};if(Ee=Le.substr(0,2),ce===Ee[1]&&"+-<>&|".indexOf(ce)>=0||Ee==="=>")return e+=2,{type:s.Punctuator,value:Ee,lineNumber:g,lineStart:b,start:O,end:e};if("<>=!+-*%&|^/".indexOf(ce)>=0)return++e,{type:s.Punctuator,value:ce,lineNumber:g,lineStart:b,start:O,end:e};Fe({},u.UnexpectedToken,"ILLEGAL")}function B(O){for(var j="";e=0&&e0&&(ce=T.tokens[T.tokens.length-1],ce.range[0]===O&&ce.type==="Punctuator"&&(ce.value==="/"||ce.value==="/=")&&T.tokens.pop()),T.tokens.push({type:"RegularExpression",value:Z.literal,range:[O,e],loc:j})),Z}function Re(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function je(){var O,j;if(O=T.tokens[T.tokens.length-1],!O)return Ae();if(O.type==="Punctuator"){if(O.value==="]")return C();if(O.value===")")return j=T.tokens[T.openParenToken-1],j&&j.type==="Keyword"&&(j.value==="if"||j.value==="while"||j.value==="for"||j.value==="with")?Ae():C();if(O.value==="}"){if(T.tokens[T.openCurlyToken-3]&&T.tokens[T.openCurlyToken-3].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-4],!j)return C()}else if(T.tokens[T.openCurlyToken-4]&&T.tokens[T.openCurlyToken-4].type==="Keyword"){if(j=T.tokens[T.openCurlyToken-5],!j)return Ae()}else return C();return i.indexOf(j.value)>=0?C():Ae()}return Ae()}return O.type==="Keyword"?Ae():C()}function ot(){var O;return Q(),e>=x?{type:s.EOF,lineNumber:g,lineStart:b,start:e,end:e}:(O=f.charCodeAt(e),Y(O)?P():O===40||O===41||O===59?C():O===39||O===34?q():O===46?I(f.charCodeAt(e+1))?R():C():I(O)?R():T.tokenize&&O===47?je():C())}function Ye(){var O,j,Z,ce;return Q(),O={start:{line:g,column:e-b}},j=ot(),O.end={line:g,column:e-b},j.type!==s.EOF&&(ce=f.slice(j.start,j.end),T.tokens.push({type:h[j.type],value:ce,range:[j.start,j.end],loc:O})),j}function Se(){var O;return O=w,e=O.end,g=O.lineNumber,b=O.lineStart,w=typeof T.tokens<"u"?Ye():ot(),e=O.end,g=O.lineNumber,b=O.lineStart,O}function ct(){var O,j,Z;O=e,j=g,Z=b,w=typeof T.tokens<"u"?Ye():ot(),e=O,g=j,b=Z}function K(O,j){this.line=O,this.column=j}function We(O,j,Z,ce){this.start=new K(O,j),this.end=new K(Z,ce)}m={name:"SyntaxTree",processComment:function(O){var j,Z;if(!(O.type===o.Program&&O.body.length>0)){for(T.trailingComments.length>0?T.trailingComments[0].range[0]>=O.range[1]?(Z=T.trailingComments,T.trailingComments=[]):T.trailingComments.length=0:T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments&&T.bottomRightStack[T.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(Z=T.bottomRightStack[T.bottomRightStack.length-1].trailingComments,delete T.bottomRightStack[T.bottomRightStack.length-1].trailingComments);T.bottomRightStack.length>0&&T.bottomRightStack[T.bottomRightStack.length-1].range[0]>=O.range[0];)j=T.bottomRightStack.pop();j?j.leadingComments&&j.leadingComments[j.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=j.leadingComments,delete j.leadingComments):T.leadingComments.length>0&&T.leadingComments[T.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=T.leadingComments,T.leadingComments=[]),Z&&(O.trailingComments=Z),T.bottomRightStack.push(O)}},markEnd:function(O,j){return T.range&&(O.range=[j.start,e]),T.loc&&(O.loc=new We(j.startLineNumber===void 0?j.lineNumber:j.startLineNumber,j.start-(j.startLineStart===void 0?j.lineStart:j.startLineStart),g,e-b),this.postProcess(O)),T.attachComment&&this.processComment(O),O},postProcess:function(O){return T.source&&(O.loc.source=T.source),O},createArrayExpression:function(O){return{type:o.ArrayExpression,elements:O}},createAssignmentExpression:function(O,j,Z){return{type:o.AssignmentExpression,operator:O,left:j,right:Z}},createBinaryExpression:function(O,j,Z){var ce=O==="||"||O==="&&"?o.LogicalExpression:o.BinaryExpression;return{type:ce,operator:O,left:j,right:Z}},createBlockStatement:function(O){return{type:o.BlockStatement,body:O}},createBreakStatement:function(O){return{type:o.BreakStatement,label:O}},createCallExpression:function(O,j){return{type:o.CallExpression,callee:O,arguments:j}},createCatchClause:function(O,j){return{type:o.CatchClause,param:O,body:j}},createConditionalExpression:function(O,j,Z){return{type:o.ConditionalExpression,test:O,consequent:j,alternate:Z}},createContinueStatement:function(O){return{type:o.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:o.DebuggerStatement}},createDoWhileStatement:function(O,j){return{type:o.DoWhileStatement,body:O,test:j}},createEmptyStatement:function(){return{type:o.EmptyStatement}},createExpressionStatement:function(O){return{type:o.ExpressionStatement,expression:O}},createForStatement:function(O,j,Z,ce){return{type:o.ForStatement,init:O,test:j,update:Z,body:ce}},createForInStatement:function(O,j,Z){return{type:o.ForInStatement,left:O,right:j,body:Z,each:!1}},createFunctionDeclaration:function(O,j,Z,ce){return{type:o.FunctionDeclaration,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,j,Z,ce){return{type:o.FunctionExpression,id:O,params:j,defaults:Z,body:ce,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:o.Identifier,name:O}},createIfStatement:function(O,j,Z){return{type:o.IfStatement,test:O,consequent:j,alternate:Z}},createLabeledStatement:function(O,j){return{type:o.LabeledStatement,label:O,body:j}},createLiteral:function(O){return{type:o.Literal,value:O.value,raw:f.slice(O.start,O.end)}},createMemberExpression:function(O,j,Z){return{type:o.MemberExpression,computed:O==="[",object:j,property:Z}},createNewExpression:function(O,j){return{type:o.NewExpression,callee:O,arguments:j}},createObjectExpression:function(O){return{type:o.ObjectExpression,properties:O}},createPostfixExpression:function(O,j){return{type:o.UpdateExpression,operator:O,argument:j,prefix:!1}},createProgram:function(O){return{type:o.Program,body:O}},createProperty:function(O,j,Z){return{type:o.Property,key:j,value:Z,kind:O}},createReturnStatement:function(O){return{type:o.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:o.SequenceExpression,expressions:O}},createSwitchCase:function(O,j){return{type:o.SwitchCase,test:O,consequent:j}},createSwitchStatement:function(O,j){return{type:o.SwitchStatement,discriminant:O,cases:j}},createThisExpression:function(){return{type:o.ThisExpression}},createThrowStatement:function(O){return{type:o.ThrowStatement,argument:O}},createTryStatement:function(O,j,Z,ce){return{type:o.TryStatement,block:O,guardedHandlers:j,handlers:Z,finalizer:ce}},createUnaryExpression:function(O,j){return O==="++"||O==="--"?{type:o.UpdateExpression,operator:O,argument:j,prefix:!0}:{type:o.UnaryExpression,operator:O,argument:j,prefix:!0}},createVariableDeclaration:function(O,j){return{type:o.VariableDeclaration,declarations:O,kind:j}},createVariableDeclarator:function(O,j){return{type:o.VariableDeclarator,id:O,init:j}},createWhileStatement:function(O,j){return{type:o.WhileStatement,test:O,body:j}},createWithStatement:function(O,j){return{type:o.WithStatement,object:O,body:j}}};function Ge(){var O,j,Z,ce;return O=e,j=g,Z=b,Q(),ce=g!==j,e=O,g=j,b=Z,ce}function Fe(O,j){var Z,ce=Array.prototype.slice.call(arguments,2),Ee=j.replace(/%(\d)/g,function(Le,rt){return N(rt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function He(){var O;if(f.charCodeAt(e)===59||Ce(";")){Se();return}O=g,Q(),g===O&&w.type!==s.EOF&&!Ce("}")&&xe(w)}function et(O){return O.type===o.Identifier||O.type===o.MemberExpression}function Et(){var O=[],j;for(j=w,be("[");!Ce("]");)Ce(",")?(Se(),O.push(null)):(O.push(er()),Ce("]")||be(","));return Se(),E.markEnd(E.createArrayExpression(O),j)}function wt(O,j){var Z,ce,Ee;return Z=t,Ee=w,ce=ui(),j&&t&&ee(O[0].name)&&se(j,u.StrictParamName),t=Z,E.markEnd(E.createFunctionExpression(null,O,[],ce),Ee)}function ft(){var O,j;return j=w,O=Se(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(t&&O.octal&&se(O,u.StrictOctalLiteral),E.markEnd(E.createLiteral(O),j)):E.markEnd(E.createIdentifier(O.value),j)}function Ut(){var O,j,Z,ce,Ee,Le;if(O=w,Le=w,O.type===s.Identifier)return Z=ft(),O.value==="get"&&!Ce(":")?(j=ft(),be("("),be(")"),ce=wt([]),E.markEnd(E.createProperty("get",j,ce),Le)):O.value==="set"&&!Ce(":")?(j=ft(),be("("),O=w,O.type!==s.Identifier?(be(")"),se(O,u.UnexpectedToken,O.value),ce=wt([])):(Ee=[Sr()],be(")"),ce=wt(Ee,O)),E.markEnd(E.createProperty("set",j,ce),Le)):(be(":"),ce=er(),E.markEnd(E.createProperty("init",Z,ce),Le));if(O.type===s.EOF||O.type===s.Punctuator)xe(O);else return j=ft(),be(":"),ce=er(),E.markEnd(E.createProperty("init",j,ce),Le)}function ii(){var O=[],j,Z,ce,Ee,Le={},rt=String,pt;for(pt=w,be("{");!Ce("}");)j=Ut(),j.key.type===o.Identifier?Z=j.key.name:Z=rt(j.key.value),Ee=j.kind==="init"?l.Data:j.kind==="get"?l.Get:l.Set,ce="$"+Z,Object.prototype.hasOwnProperty.call(Le,ce)?(Le[ce]===l.Data?t&&Ee===l.Data?se({},u.StrictDuplicateProperty):Ee!==l.Data&&se({},u.AccessorDataProperty):Ee===l.Data?se({},u.AccessorDataProperty):Le[ce]&Ee&&se({},u.AccessorGetSet),Le[ce]|=Ee):Le[ce]=Ee,O.push(j),Ce("}")||be(",");return be("}"),E.markEnd(E.createObjectExpression(O),pt)}function oi(){var O;return be("("),O=Nt(),be(")"),O}function ye(){var O,j,Z,ce;if(Ce("("))return oi();if(Ce("["))return Et();if(Ce("{"))return ii();if(O=w.type,ce=w,O===s.Identifier)Z=E.createIdentifier(Se().value);else if(O===s.StringLiteral||O===s.NumericLiteral)t&&w.octal&&se(w,u.StrictOctalLiteral),Z=E.createLiteral(Se());else if(O===s.Keyword){if(ze("function"))return Gi();ze("this")?(Se(),Z=E.createThisExpression()):xe(Se())}else O===s.BooleanLiteral?(j=Se(),j.value=j.value==="true",Z=E.createLiteral(j)):O===s.NullLiteral?(j=Se(),j.value=null,Z=E.createLiteral(j)):Ce("/")||Ce("/=")?(typeof T.tokens<"u"?Z=E.createLiteral(Ae()):Z=E.createLiteral(ge()),ct()):xe(Se());return E.markEnd(Z,ce)}function Pe(){var O=[];if(be("("),!Ce(")"))for(;e":case"<=":case">=":case"instanceof":Z=7;break;case"in":Z=j?7:0;break;case"<<":case">>":case">>>":Z=8;break;case"+":case"-":Z=9;break;case"*":case"/":case"%":Z=11;break;default:break}return Z}function ia(){var O,j,Z,ce,Ee,Le,rt,pt,Ot,Ct;if(O=w,Ot=Wr(),ce=w,Ee=Bi(ce,D.allowIn),Ee===0)return Ot;for(ce.prec=Ee,Se(),j=[O,w],rt=Wr(),Le=[Ot,ce,rt];(Ee=Bi(w,D.allowIn))>0;){for(;Le.length>2&&Ee<=Le[Le.length-2].prec;)rt=Le.pop(),pt=Le.pop().value,Ot=Le.pop(),Z=E.createBinaryExpression(pt,Ot,rt),j.pop(),O=j[j.length-1],E.markEnd(Z,O),Le.push(Z);ce=Se(),ce.prec=Ee,Le.push(ce),j.push(w),Z=Wr(),Le.push(Z)}for(Ct=Le.length-1,Z=Le[Ct],j.pop();Ct>1;)Z=E.createBinaryExpression(Le[Ct-1].value,Le[Ct-2],Z),Ct-=2,O=j.pop(),E.markEnd(Z,O);return Z}function oa(){var O,j,Z,ce,Ee;return Ee=w,O=ia(),Ce("?")&&(Se(),j=D.allowIn,D.allowIn=!0,Z=er(),D.allowIn=j,be(":"),ce=er(),O=E.createConditionalExpression(O,Z,ce),E.markEnd(O,Ee)),O}function er(){var O,j,Z,ce,Ee;return O=w,Ee=w,ce=j=oa(),Ue()&&(et(j)||se({},u.InvalidLHSInAssignment),t&&j.type===o.Identifier&&ee(j.name)&&se(O,u.StrictLHSAssignment),O=Se(),Z=er(),ce=E.markEnd(E.createAssignmentExpression(O.value,j,Z),Ee)),ce}function Nt(){var O,j=w;if(O=er(),Ce(",")){for(O=E.createSequenceExpression([O]);e"u"));)O.push(j);return O}function cn(){var O,j;return j=w,be("{"),O=aa(),be("}"),E.markEnd(E.createBlockStatement(O),j)}function Sr(){var O,j;return j=w,O=Se(),O.type!==s.Identifier&&xe(O),E.markEnd(E.createIdentifier(O.value),j)}function sa(O){var j=null,Z,ce;return ce=w,Z=Sr(),t&&ee(Z.name)&&se({},u.StrictVarName),O==="const"?(be("="),j=er()):Ce("=")&&(Se(),j=er()),E.markEnd(E.createVariableDeclarator(Z,j),ce)}function si(O){var j=[];do{if(j.push(sa(O)),!Ce(","))break;Se()}while(e"u"&&be(";")),typeof ce>"u"&&(Ce(";")||(j=Nt()),be(";"),Ce(")")||(Z=Nt())),be(")"),rt=D.inIteration,D.inIteration=!0,Le=$t(),D.inIteration=rt,typeof ce>"u"?E.createForStatement(O,j,Z,Le):E.createForInStatement(ce,Ee,Le)}function Mi(){var O=null,j;return Ne("continue"),f.charCodeAt(e)===59?(Se(),D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):Ge()?(D.inIteration||Fe({},u.IllegalContinue),E.createContinueStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!D.inIteration&&Fe({},u.IllegalContinue),E.createContinueStatement(O))}function Ri(){var O=null,j;return Ne("break"),f.charCodeAt(e)===59?(Se(),D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):Ge()?(D.inIteration||D.inSwitch||Fe({},u.IllegalBreak),E.createBreakStatement(null)):(w.type===s.Identifier&&(O=Sr(),j="$"+O.name,Object.prototype.hasOwnProperty.call(D.labelSet,j)||Fe({},u.UnknownLabel,O.name)),He(),O===null&&!(D.inIteration||D.inSwitch)&&Fe({},u.IllegalBreak),E.createBreakStatement(O))}function ji(){var O=null;return Ne("return"),D.inFunctionBody||se({},u.IllegalReturn),f.charCodeAt(e)===32&&Y(f.charCodeAt(e+1))?(O=Nt(),He(),E.createReturnStatement(O)):Ge()?E.createReturnStatement(null):(Ce(";")||!Ce("}")&&w.type!==s.EOF&&(O=Nt()),He(),E.createReturnStatement(O))}function ma(){var O,j;return t&&(Q(),se({},u.StrictModeWith)),Ne("with"),be("("),O=Nt(),be(")"),j=$t(),E.createWithStatement(O,j)}function va(){var O,j=[],Z,ce;for(ce=w,ze("default")?(Se(),O=null):(Ne("case"),O=Nt()),be(":");e"u"));)j.push(O);return be("}"),D.labelSet=Le,D.inIteration=rt,D.inSwitch=pt,D.inFunctionBody=Ot,E.markEnd(E.createBlockStatement(j),Ct)}function li(O){var j,Z=[],ce,Ee,Le,rt,pt;if(be("("),!Ce(")"))for(Le={};e"u"));)j.push(O);return j}function Xi(){var O,j;return Q(),ct(),j=w,t=!1,O=Wi(),E.markEnd(E.createProgram(O),j)}function Pn(){var O,j,Z,ce=[];for(O=0;O0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},j=j||{},j.tokens=!0,T.tokens=[],T.tokenize=!0,T.openParenToken=-1,T.openCurlyToken=-1,T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]);try{if(ct(),w.type===s.EOF)return T.tokens;for(ce=Se();w.type!==s.EOF;)try{ce=Se()}catch(Le){if(ce=w,T.errors){T.errors.push(Le);break}else throw Le}Pn(),Ee=T.tokens,typeof T.comments<"u"&&(Ee.comments=T.comments),typeof T.errors<"u"&&(Ee.errors=T.errors)}catch(Le){throw Le}finally{T={}}return Ee}function Hi(O,j){var Z,ce;ce=String,typeof O!="string"&&!(O instanceof String)&&(O=ce(O)),E=m,f=O,e=0,g=f.length>0?1:0,b=0,x=f.length,w=null,D={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},T={},typeof j<"u"&&(T.range=typeof j.range=="boolean"&&j.range,T.loc=typeof j.loc=="boolean"&&j.loc,T.attachComment=typeof j.attachComment=="boolean"&&j.attachComment,T.loc&&j.source!==null&&j.source!==void 0&&(T.source=ce(j.source)),typeof j.tokens=="boolean"&&j.tokens&&(T.tokens=[]),typeof j.comment=="boolean"&&j.comment&&(T.comments=[]),typeof j.tolerant=="boolean"&&j.tolerant&&(T.errors=[]),T.attachComment&&(T.range=!0,T.comments=[],T.bottomRightStack=[],T.trailingComments=[],T.leadingComments=[]));try{Z=Xi(),typeof T.comments<"u"&&(Z.comments=T.comments),typeof T.tokens<"u"&&(Pn(),Z.tokens=T.tokens),typeof T.errors<"u"&&(Z.errors=T.errors)}catch(Ee){throw Ee}finally{T={}}return Z}y.version="1.2.2",y.tokenize=ga,y.parse=Hi,y.Syntax=function(){var O,j={};typeof Object.create=="function"&&(j=Object.create(null));for(O in o)o.hasOwnProperty(O)&&(j[O]=o[O]);return typeof Object.freeze=="function"&&Object.freeze(j),j}()})},{}],1:[function(v,S,_){(function(y){var s=function(){var h={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(p,m,f,t,e,g,b){t.ast||(t.ast=i,i.initialize());var x=g.length-1;switch(e){case 1:return t.ast.set({expression:{type:"root",value:g[x]}}),t.ast.unshift(),t.ast.yield();break;case 2:return t.ast.set({expression:{type:"root",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 3:return t.ast.unshift(),t.ast.yield();break;case 4:return t.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:g[x-1]}}),t.ast.unshift(),t.ast.yield();break;case 5:break;case 6:break;case 7:t.ast.set({operation:"member"}),t.ast.push();break;case 8:t.ast.set({operation:"subscript"}),t.ast.push();break;case 9:t.ast.set({scope:"child"});break;case 10:t.ast.set({scope:"descendant"});break;case 11:break;case 12:t.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:t.ast.set({expression:{type:"wildcard",value:g[x]}});break;case 15:t.ast.set({expression:{type:"identifier",value:g[x]}});break;case 16:t.ast.set({expression:{type:"script_expression",value:g[x]}});break;case 17:t.ast.set({expression:{type:"numeric_literal",value:parseInt(g[x])}});break;case 18:break;case 19:t.ast.set({scope:"child"});break;case 20:t.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:g[x].length>1?t.ast.set({expression:{type:"union",value:g[x]}}):this.$=g[x];break;case 25:this.$=[g[x]];break;case 26:this.$=g[x-2].concat(g[x]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(g[x])}},t.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:g[x]}},t.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:g[x]}},t.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:g[x]}},t.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:g[x]}},t.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:g[x]}},t.ast.set(this.$);break;case 33:this.$=g[x];break;case 34:this.$=g[x];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(p,m){if(m.recoverable)this.trace(p);else throw new Error(p)},parse:function(p){var m=this,f=[0],t=[null],e=[],g=this.table,b="",x=0,E=0,w=0,D=2,T=1,N=e.slice.call(arguments,1);this.lexer.setInput(p),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var I=this.lexer.yylloc;e.push(I);var M=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(le){f.length=f.length-2*le,t.length=t.length-le,e.length=e.length-le}function G(){var le;return le=m.lexer.lex()||T,typeof le!="number"&&(le=m.symbols_[le]||le),le}for(var $,Y,z,X,H,ee,re={},de,ve,ne,Q;;){if(z=f[f.length-1],this.defaultActions[z]?X=this.defaultActions[z]:(($===null||typeof $>"u")&&($=G()),X=g[z]&&g[z][$]),typeof X>"u"||!X.length||!X[0]){var ie="";Q=[];for(de in g[z])this.terminals_[de]&&de>D&&Q.push("'"+this.terminals_[de]+"'");this.lexer.showPosition?ie="Parse error on line "+(x+1)+`: `+this.lexer.showPosition()+` -Expecting `+Q.join(", ")+", got '"+(this.terminals_[J]||J)+"'":ie="Parse error on line "+(_+1)+": Unexpected "+(J==T?"end of input":"'"+(this.terminals_[J]||J)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[J]||J,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+J);switch(X[0]){case 1:c.push(J),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),c.push(X[1]),J=null,Y?(J=Y,Y=null):(b=this.lexer.yyleng,x=this.lexer.yytext,_=this.lexer.yylineno,I=this.lexer.yylloc,S>0&&S--);break;case 2:if(me=this.productions_[X[1]][1],re.$=t[t.length-me],re._$={first_line:e[e.length-(me||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(me||1)].first_column,last_column:e[e.length-1].last_column},R&&(re._$.range=[e[e.length-(me||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[x,b,_,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;me&&(c=c.slice(0,-1*me*2),t=t.slice(0,-1*me),e=e.slice(0,-1*me)),c.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[c[c.length-2]][c[c.length-1]],c.push(ne);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(s){for(var f in s)this._node[f]=s[f];return this._node},node:function(s){return arguments.length&&(this._node=s),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var s=this._nodes;return this.initialize(),s}},i=function(){var s={EOF:1,parseError:function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var d=f.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var d=f.length,c=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===t.length?this.yylloc.first_column:0)+t[t.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),d=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+d+"^"},test_match:function(f,d){var c,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=f[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],c=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,d,c,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gd[0].length)){if(d=c,t=g,this.options.backtrack_lexer){if(f=this.test_match(c,e[g]),f!==!1)return f;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(f=this.test_match(d,e[t]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,c,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return c.yytext=c.yytext.substr(1,c.yyleng-2),32;break;case 11:return c.yytext=c.yytext.substr(1,c.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return s}();p.lexer=i;function u(){this.yy={}}return u.prototype=p,p.Parser=u,new u}();typeof v<"u"&&typeof y<"u"&&(y.parser=a,y.Parser=a.Parser,y.parse=function(){return a.parse.apply(a,arguments)},y.main=function(n){n[1]||(console.log("Usage: "+n[0]+" FILE"),m.exit(1));var i=v("fs").readFileSync(v("path").normalize(n[1]),"utf8");return y.parser.parse(i)},typeof w<"u"&&v.main===w&&y.main(m.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,w,y){w.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,w,y){var m=v("./dict"),a=v("fs"),p={lex:{macros:{esc:"\\\\",int:m.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[m.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[m.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[m.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};a.readFileSync&&(p.moduleInclude=a.readFileSync(v.resolve("../include/module.js")),p.actionInclude=a.readFileSync(v.resolve("../include/action.js"))),w.exports=p},{"./dict":2,fs:12}],4:[function(v,w,y){var m=v("./aesprim"),a=v("./slice"),p=v("static-eval"),n=v("underscore").uniq,i=function(){return this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},i.prototype.keys=Object.keys,i.prototype.resolve=function(_){var b=[_.operation,_.scope,_.expression.type].join("-"),S=this._fns[b];if(!S)throw new Error("couldn't resolve key: "+b);return S.bind(this)},i.prototype.register=function(_,b){if(!b instanceof Function)throw new Error("handler must be a function");this._fns[_]=b},i.prototype._fns={"member-child-identifier":function(_,b){var S=_.expression.value,C=b.value;if(C instanceof Object&&S in C)return[{value:C[S],path:b.path.concat(S)}]},"member-descendant-identifier":t(function(_,b,S){return _==S}),"subscript-child-numeric_literal":c(function(_,b,S){return _===S}),"member-child-numeric_literal":c(function(_,b,S){return String(_)===String(S)}),"subscript-descendant-numeric_literal":t(function(_,b,S){return _===S}),"member-child-wildcard":c(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":c(function(){return!0}),"subscript-child-slice":function(_,b){if(s(b.value)){var S=_.expression.value.split(":").map(x),C=b.value.map(function(T,N){return{value:T,path:b.path.concat(N)}});return a.apply(null,[C].concat(S))}},"subscript-child-union":function(_,b){var S=[];return _.expression.value.forEach(function(C){var T={operation:"subscript",scope:"child",expression:C.expression},N=this.resolve(T),I=N(T,b);I&&(S=S.concat(I))},this),g(S)},"subscript-descendant-union":function(_,b,S){var C=v(".."),T=this,N=[],I=C.nodes(b,"$..*").slice(1);return I.forEach(function(R){N.length>=S||_.expression.value.forEach(function(P){var G={operation:"subscript",scope:"child",expression:P.expression},J=T.resolve(G),Y=J(G,R);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.descend(b,null,N,S)},"subscript-descendant-filter_expression":function(_,b,S){var C=_.expression.value.slice(2,-1),T=m.parse(C).body[0].expression,N=function(I,R){return e(T,{"@":R})};return this.traverse(b,null,N,S)},"subscript-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$[{{value}}]")},"member-child-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$.{{value}}")},"member-descendant-script_expression":function(_,b){var S=_.expression.value.slice(1,-1);return u(b,S,"$..value")}},i.prototype._fns["subscript-child-string_literal"]=i.prototype._fns["member-child-identifier"],i.prototype._fns["member-descendant-numeric_literal"]=i.prototype._fns["subscript-descendant-string_literal"]=i.prototype._fns["member-descendant-identifier"];function u(_,b,S){var C=v("./index"),T=m.parse(b).body[0].expression,N=e(T,{"@":_.value}),I=S.replace(/\{\{\s*value\s*\}\}/g,N),R=C.nodes(_.value,I);return R.forEach(function(P){P.path=_.path.concat(P.path.slice(1))}),R}function s(_){return Array.isArray(_)}function f(_){return _&&!(_ instanceof Array)&&_ instanceof Object}function d(_){return function(b,S,C,T){var N=b.value,I=b.path,R=[],P=function(G,J){s(G)?(G.forEach(function(Y,z){R.length>=T||C(z,Y,S)&&R.push({path:J.concat(z),value:Y})}),G.forEach(function(Y,z){R.length>=T||_&&P(Y,J.concat(z))})):f(G)&&(this.keys(G).forEach(function(Y){R.length>=T||C(Y,G[Y],S)&&R.push({path:J.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){R.length>=T||_&&P(G[Y],J.concat(Y))}))}.bind(this);return P(N,I),R}}function c(_){return function(b,S,C){return this.descend(S,b.expression.value,_,C)}}function t(_){return function(b,S,C){return this.traverse(S,b.expression.value,_,C)}}function e(){try{return p.apply(this,arguments)}catch{}}function g(_){return _=_.filter(function(b){return b}),n(_,function(b){return b.path.map(function(S){return String(S).replace("-","--")}).join("-")})}function x(_){var b=String(_);return b.match(/^-?[0-9]+$/)?parseInt(b):null}w.exports=i},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,w,y){var m=v("assert"),a=v("./dict"),p=v("./parser"),n=v("./handlers"),i=function(){this.initialize.apply(this,arguments)};i.prototype.initialize=function(){this.parser=new p,this.handlers=new n},i.prototype.parse=function(f){return m.ok(u(f),"we need a path"),this.parser.parse(f)},i.prototype.parent=function(f,d){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var c=this.nodes(f,d)[0],t=c.path.pop();return this.value(f,c.path)},i.prototype.apply=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),m.equal(typeof c,"function","fn needs to be function");var t=this.nodes(f,d).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),x=this.value(f,this.stringify(e.path)),_=e.value=c.call(f,x[g]);x[g]=_},this),t},i.prototype.value=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),arguments.length>=3){var t=this.nodes(f,d).shift();if(!t)return this._vivify(f,d,c);var e=t.path.slice(-1).shift(),g=this.parent(f,this.stringify(t.path));g[e]=c}return this.query(f,this.stringify(d),1).shift()},i.prototype._vivify=function(f,d,c){var t=this;m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var e=this.parser.parse(d).map(function(x){return x.expression.value}),g=function(x,_){var b=x.pop(),S=t.value(f,x);S||(g(x.concat(),typeof b=="string"?{}:[]),S=t.value(f,x)),S[b]=_};return g(e,c),this.query(f,d)[0]},i.prototype.query=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(u(d),"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.value});return t},i.prototype.paths=function(f,d,c){m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path");var t=this.nodes(f,d,c).map(function(e){return e.path});return t},i.prototype.nodes=function(f,d,c){if(m.ok(f instanceof Object,"obj needs to be an object"),m.ok(d,"we need a path"),c===0)return[];var t=this.parser.parse(d),e=this.handlers,g=[{path:["$"],value:f}],x=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(_,b){if(!(x.length>=c)){var S=e.resolve(_),C=[];g.forEach(function(T){if(!(x.length>=c)){var N=S(_,T,c);b==t.length-1?x=x.concat(N||[]):C=C.concat(N||[])}}),g=C}}),c?x.slice(0,c):x):g},i.prototype.stringify=function(f){m.ok(f,"we need a path");var d="$",c={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=c[e],x;if(t.expression.type=="string_literal"?x=JSON.stringify(t.expression.value):x=t.expression.value,!g)throw new Error("couldn't find template "+e);d+=g.replace(/{{value}}/,x)}}),d},i.prototype._normalize=function(f){if(m.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return f.forEach(function(c,t){if(!(c=="$"&&t===0))if(typeof c=="string"&&c.match("^"+a.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:c,type:"identifier"}});else{var e=typeof c=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:c,type:e}})}}),d}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function u(f){return Object.prototype.toString.call(f)=="[object String]"}i.Handlers=n,i.Parser=p;var s=new i;s.JSONPath=i,w.exports=s},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,w,y){var m=v("./grammar"),a=v("../generated/parser"),p=function(){var n=new a.Parser,i=n.parseError;return n.yy.parseError=function(){n.yy.ast&&n.yy.ast.initialize(),i.apply(n,arguments)},n};p.grammar=m,w.exports=p},{"../generated/parser":1,"./grammar":3}],7:[function(v,w,y){w.exports=function(a,p,n,i){if(typeof p=="string")throw new Error("start cannot be a string");if(typeof n=="string")throw new Error("end cannot be a string");if(typeof i=="string")throw new Error("step cannot be a string");var u=a.length;if(i===0)throw new Error("step cannot be zero");if(i=i?m(i):1,p=p<0?u+p:p,n=n<0?u+n:n,p=m(p===0?0:p||(i>0?0:u-1)),n=m(n===0?0:n||(i>0?u:-1)),p=i>0?Math.max(0,p):Math.min(u,p),n=i>0?Math.min(n,u):Math.max(-1,n),i>0&&n<=p)return[];if(i<0&&p<=n)return[];for(var s=[],f=p;f!=n&&!(i<0&&f<=n||i>0&&f>=n);f+=i)s.push(a[f]);return s};function m(a){return String(a).match(/^[0-9]+$/)?parseInt(a):Number.isFinite(a)?parseInt(a,10):0}},{}],8:[function(v,w,y){var m=v("util/"),a=Array.prototype.slice,p=Object.prototype.hasOwnProperty,n=w.exports=d;n.AssertionError=function(S){this.name="AssertionError",this.actual=S.actual,this.expected=S.expected,this.operator=S.operator,S.message?(this.message=S.message,this.generatedMessage=!1):(this.message=s(this),this.generatedMessage=!0);var C=S.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,C);else{var T=new Error;if(T.stack){var N=T.stack,I=C.name,R=N.indexOf(` -`+I);if(R>=0){var P=N.indexOf(` -`,R+1);N=N.substring(P+1)}this.stack=N}}},m.inherits(n.AssertionError,Error);function i(b,S){return m.isUndefined(S)?""+S:m.isNumber(S)&&!isFinite(S)||m.isFunction(S)||m.isRegExp(S)?S.toString():S}function u(b,S){return m.isString(b)?b.length=0;P--)if(N[P]!=I[P])return!1;for(P=N.length-1;P>=0;P--)if(R=N[P],!c(b[R],S[R]))return!1;return!0}n.notDeepEqual=function(S,C,T){c(S,C)&&f(S,C,T,"notDeepEqual",n.notDeepEqual)},n.strictEqual=function(S,C,T){S!==C&&f(S,C,T,"===",n.strictEqual)},n.notStrictEqual=function(S,C,T){S===C&&f(S,C,T,"!==",n.notStrictEqual)};function g(b,S){return!b||!S?!1:Object.prototype.toString.call(S)=="[object RegExp]"?S.test(b):b instanceof S?!0:S.call({},b)===!0}function x(b,S,C,T){var N;m.isString(C)&&(T=C,C=null);try{S()}catch(I){N=I}if(T=(C&&C.name?" ("+C.name+").":".")+(T?" "+T:"."),b&&!N&&f(N,C,"Missing expected exception"+T),!b&&g(N,C)&&f(N,C,"Got unwanted exception"+T),b&&N&&C&&!g(N,C)||!b&&N)throw N}n.throws=function(b,S,C){x.apply(this,[!0].concat(a.call(arguments)))},n.doesNotThrow=function(b,S){x.apply(this,[!1].concat(a.call(arguments)))},n.ifError=function(b){if(b)throw b};var _=Object.keys||function(b){var S=[];for(var C in b)p.call(b,C)&&S.push(C);return S}},{"util/":11}],9:[function(v,w,y){typeof Object.create=="function"?w.exports=function(a,p){a.super_=p,a.prototype=Object.create(p.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:w.exports=function(a,p){a.super_=p;var n=function(){};n.prototype=p.prototype,a.prototype=new n,a.prototype.constructor=a}},{}],10:[function(v,w,y){w.exports=function(a){return a&&typeof a=="object"&&typeof a.copy=="function"&&typeof a.fill=="function"&&typeof a.readUInt8=="function"}},{}],11:[function(v,w,y){(function(m,a){var p=/%[sdj%]/g;y.format=function(Q){if(!I(Q)){for(var ie=[],ue=0;ue=k)return B;switch(B){case"%s":return String(ce[ue++]);case"%d":return Number(ce[ue++]);case"%j":try{return JSON.stringify(ce[ue++])}catch{return"[Circular]"}default:return B}}),L=ce[ue];ue=3&&(ue.depth=arguments[2]),arguments.length>=4&&(ue.colors=arguments[3]),S(ie)?ue.showHidden=ie:ie&&y._extend(ue,ie),P(ue.showHidden)&&(ue.showHidden=!1),P(ue.depth)&&(ue.depth=2),P(ue.colors)&&(ue.colors=!1),P(ue.customInspect)&&(ue.customInspect=!0),ue.colors&&(ue.stylize=s),c(ue,Q,ue.depth)}y.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(Q,ie){var ue=u.styles[ie];return ue?"\x1B["+u.colors[ue][0]+"m"+Q+"\x1B["+u.colors[ue][1]+"m":Q}function f(Q,ie){return Q}function d(Q){var ie={};return Q.forEach(function(ue,ce){ie[ue]=!0}),ie}function c(Q,ie,ue){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==y.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var ce=ie.inspect(ue,Q);return I(ce)||(ce=c(Q,ce,ue)),ce}var k=t(Q,ie);if(k)return k;var D=Object.keys(ie),L=d(D);if(Q.showHidden&&(D=Object.getOwnPropertyNames(ie)),z(ie)&&(D.indexOf("message")>=0||D.indexOf("description")>=0))return e(ie);if(D.length===0){if(X(ie)){var B=ie.name?": "+ie.name:"";return Q.stylize("[Function"+B+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var M="",q=!1,W=["{","}"];if(b(ie)&&(q=!0,W=["[","]"]),X(ie)){var oe=ie.name?": "+ie.name:"";M=" [Function"+oe+"]"}if(G(ie)&&(M=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(M=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(M=" "+e(ie)),D.length===0&&(!q||ie.length==0))return W[0]+M+W[1];if(ue<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var de;return q?de=g(Q,ie,ue,L,D):de=D.map(function(ge){return x(Q,ie,ue,L,ge,q)}),Q.seen.pop(),_(de,M,W)}function t(Q,ie){if(P(ie))return Q.stylize("undefined","undefined");if(I(ie)){var ue="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(ue,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(S(ie))return Q.stylize(""+ie,"boolean");if(C(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,ue,ce,k){for(var D=[],L=0,B=ie.length;L-1&&(D?B=B.split(` +Expecting `+Q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":ie="Parse error on line "+(x+1)+": Unexpected "+($==T?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(ie,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:I,expected:Q})}if(X[0]instanceof Array&&X.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(X[0]){case 1:f.push($),t.push(this.lexer.yytext),e.push(this.lexer.yylloc),f.push(X[1]),$=null,Y?($=Y,Y=null):(E=this.lexer.yyleng,b=this.lexer.yytext,x=this.lexer.yylineno,I=this.lexer.yylloc,w>0&&w--);break;case 2:if(ve=this.productions_[X[1]][1],re.$=t[t.length-ve],re._$={first_line:e[e.length-(ve||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(ve||1)].first_column,last_column:e[e.length-1].last_column},M&&(re._$.range=[e[e.length-(ve||1)].range[0],e[e.length-1].range[1]]),ee=this.performAction.apply(re,[b,E,x,this.yy,X[1],t,e].concat(N)),typeof ee<"u")return ee;ve&&(f=f.slice(0,-1*ve*2),t=t.slice(0,-1*ve),e=e.slice(0,-1*ve)),f.push(this.productions_[X[1]][0]),t.push(re.$),e.push(re._$),ne=g[f[f.length-2]][f[f.length-1]],f.push(ne);break;case 3:return!0}}return!0}},i={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(u){for(var p in u)this._node[p]=u[p];return this._node},node:function(u){return arguments.length&&(this._node=u),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var u=this._nodes;return this.initialize(),u}},o=function(){var u={EOF:1,parseError:function(m,f){if(this.yy.parser)this.yy.parser.parseError(m,f);else throw new Error(m)},setInput:function(p){return this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var m=p.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},unput:function(p){var m=p.length,f=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m-1),this.offset-=m;var t=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===t.length?this.yylloc.first_column:0)+t[t.length-f.length].length-f[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(p){this.unput(this.match.slice(p))},pastInput:function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var p=this.pastInput(),m=new Array(p.length+1).join("-");return p+this.upcomingInput()+` +`+m+"^"},test_match:function(p,m){var f,t,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),t=p[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],f=this.performAction.call(this,this.yy,this,m,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var g in e)this[g]=e[g];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,m,f,t;this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),g=0;gm[0].length)){if(m=f,t=g,this.options.backtrack_lexer){if(p=this.test_match(f,e[g]),p!==!1)return p;if(this._backtrack){m=!1;continue}else return!1}else if(!this.options.flex)break}return m?(p=this.test_match(m,e[t]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var m=this.next();return m||this.lex()},begin:function(m){this.conditionStack.push(m)},popState:function(){var m=this.conditionStack.length-1;return m>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(m){return m=this.conditionStack.length-1-Math.abs(m||0),m>=0?this.conditionStack[m]:"INITIAL"},pushState:function(m){this.begin(m)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(m,f,t,e){var g=e;switch(t){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return f.yytext=f.yytext.substr(1,f.yyleng-2),32;break;case 11:return f.yytext=f.yytext.substr(1,f.yyleng-2),33;break;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return u}();h.lexer=o;function l(){this.yy={}}return l.prototype=h,h.Parser=l,new l}();typeof v<"u"&&typeof _<"u"&&(_.parser=s,_.Parser=s.Parser,_.parse=function(){return s.parse.apply(s,arguments)},_.main=function(i){i[1]||(console.log("Usage: "+i[0]+" FILE"),y.exit(1));var o=v("fs").readFileSync(v("path").normalize(i[1]),"utf8");return _.parser.parse(o)},typeof S<"u"&&v.main===S&&_.main(y.argv.slice(1)))}).call(this,v("_process"))},{_process:14,fs:12,path:13}],2:[function(v,S,_){S.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(v,S,_){var y=v("./dict"),s=v("fs"),h={lex:{macros:{esc:"\\\\",int:y.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[y.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[y.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[y.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(h.moduleInclude=s.readFileSync(v.resolve("../include/module.js")),h.actionInclude=s.readFileSync(v.resolve("../include/action.js"))),S.exports=h},{"./dict":2,fs:12}],4:[function(v,S,_){var y=v("./aesprim"),s=v("./slice"),h=v("static-eval"),i=v("underscore").uniq,o=function(){return this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.traverse=m(!0),this.descend=m()},o.prototype.keys=Object.keys,o.prototype.resolve=function(x){var E=[x.operation,x.scope,x.expression.type].join("-"),w=this._fns[E];if(!w)throw new Error("couldn't resolve key: "+E);return w.bind(this)},o.prototype.register=function(x,E){if(!E instanceof Function)throw new Error("handler must be a function");this._fns[x]=E},o.prototype._fns={"member-child-identifier":function(x,E){var w=x.expression.value,D=E.value;if(D instanceof Object&&w in D)return[{value:D[w],path:E.path.concat(w)}]},"member-descendant-identifier":t(function(x,E,w){return x==w}),"subscript-child-numeric_literal":f(function(x,E,w){return x===w}),"member-child-numeric_literal":f(function(x,E,w){return String(x)===String(w)}),"subscript-descendant-numeric_literal":t(function(x,E,w){return x===w}),"member-child-wildcard":f(function(){return!0}),"member-descendant-wildcard":t(function(){return!0}),"subscript-descendant-wildcard":t(function(){return!0}),"subscript-child-wildcard":f(function(){return!0}),"subscript-child-slice":function(x,E){if(u(E.value)){var w=x.expression.value.split(":").map(b),D=E.value.map(function(T,N){return{value:T,path:E.path.concat(N)}});return s.apply(null,[D].concat(w))}},"subscript-child-union":function(x,E){var w=[];return x.expression.value.forEach(function(D){var T={operation:"subscript",scope:"child",expression:D.expression},N=this.resolve(T),I=N(T,E);I&&(w=w.concat(I))},this),g(w)},"subscript-descendant-union":function(x,E,w){var D=v(".."),T=this,N=[],I=D.nodes(E,"$..*").slice(1);return I.forEach(function(M){N.length>=w||x.expression.value.forEach(function(k){var G={operation:"subscript",scope:"child",expression:k.expression},$=T.resolve(G),Y=$(G,M);N=N.concat(Y)})}),g(N)},"subscript-child-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.descend(E,null,N,w)},"subscript-descendant-filter_expression":function(x,E,w){var D=x.expression.value.slice(2,-1),T=y.parse(D).body[0].expression,N=function(I,M){return e(T,{"@":M})};return this.traverse(E,null,N,w)},"subscript-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$[{{value}}]")},"member-child-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$.{{value}}")},"member-descendant-script_expression":function(x,E){var w=x.expression.value.slice(1,-1);return l(E,w,"$..value")}},o.prototype._fns["subscript-child-string_literal"]=o.prototype._fns["member-child-identifier"],o.prototype._fns["member-descendant-numeric_literal"]=o.prototype._fns["subscript-descendant-string_literal"]=o.prototype._fns["member-descendant-identifier"];function l(x,E,w){var D=v("./index"),T=y.parse(E).body[0].expression,N=e(T,{"@":x.value}),I=w.replace(/\{\{\s*value\s*\}\}/g,N),M=D.nodes(x.value,I);return M.forEach(function(k){k.path=x.path.concat(k.path.slice(1))}),M}function u(x){return Array.isArray(x)}function p(x){return x&&!(x instanceof Array)&&x instanceof Object}function m(x){return function(E,w,D,T){var N=E.value,I=E.path,M=[],k=function(G,$){u(G)?(G.forEach(function(Y,z){M.length>=T||D(z,Y,w)&&M.push({path:$.concat(z),value:Y})}),G.forEach(function(Y,z){M.length>=T||x&&k(Y,$.concat(z))})):p(G)&&(this.keys(G).forEach(function(Y){M.length>=T||D(Y,G[Y],w)&&M.push({path:$.concat(Y),value:G[Y]})}),this.keys(G).forEach(function(Y){M.length>=T||x&&k(G[Y],$.concat(Y))}))}.bind(this);return k(N,I),M}}function f(x){return function(E,w,D){return this.descend(w,E.expression.value,x,D)}}function t(x){return function(E,w,D){return this.traverse(w,E.expression.value,x,D)}}function e(){try{return h.apply(this,arguments)}catch{}}function g(x){return x=x.filter(function(E){return E}),i(x,function(E){return E.path.map(function(w){return String(w).replace("-","--")}).join("-")})}function b(x){var E=String(x);return E.match(/^-?[0-9]+$/)?parseInt(E):null}S.exports=o},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(v,S,_){var y=v("assert"),s=v("./dict"),h=v("./parser"),i=v("./handlers"),o=function(){this.initialize.apply(this,arguments)};o.prototype.initialize=function(){this.parser=new h,this.handlers=new i},o.prototype.parse=function(p){return y.ok(l(p),"we need a path"),this.parser.parse(p)},o.prototype.parent=function(p,m){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var f=this.nodes(p,m)[0],t=f.path.pop();return this.value(p,f.path)},o.prototype.apply=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),y.equal(typeof f,"function","fn needs to be function");var t=this.nodes(p,m).sort(function(e,g){return g.path.length-e.path.length});return t.forEach(function(e){var g=e.path.pop(),b=this.value(p,this.stringify(e.path)),x=e.value=f.call(p,b[g]);b[g]=x},this),t},o.prototype.value=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),arguments.length>=3){var t=this.nodes(p,m).shift();if(!t)return this._vivify(p,m,f);var e=t.path.slice(-1).shift(),g=this.parent(p,this.stringify(t.path));g[e]=f}return this.query(p,this.stringify(m),1).shift()},o.prototype._vivify=function(p,m,f){var t=this;y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var e=this.parser.parse(m).map(function(b){return b.expression.value}),g=function(b,x){var E=b.pop(),w=t.value(p,b);w||(g(b.concat(),typeof E=="string"?{}:[]),w=t.value(p,b)),w[E]=x};return g(e,f),this.query(p,m)[0]},o.prototype.query=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(l(m),"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.value});return t},o.prototype.paths=function(p,m,f){y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path");var t=this.nodes(p,m,f).map(function(e){return e.path});return t},o.prototype.nodes=function(p,m,f){if(y.ok(p instanceof Object,"obj needs to be an object"),y.ok(m,"we need a path"),f===0)return[];var t=this.parser.parse(m),e=this.handlers,g=[{path:["$"],value:p}],b=[];return t.length&&t[0].expression.type=="root"&&t.shift(),t.length?(t.forEach(function(x,E){if(!(b.length>=f)){var w=e.resolve(x),D=[];g.forEach(function(T){if(!(b.length>=f)){var N=w(x,T,f);E==t.length-1?b=b.concat(N||[]):D=D.concat(N||[])}}),g=D}}),f?b.slice(0,f):b):g},o.prototype.stringify=function(p){y.ok(p,"we need a path");var m="$",f={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return p=this._normalize(p),p.forEach(function(t){if(t.expression.type!="root"){var e=[t.scope,t.operation].join("-"),g=f[e],b;if(t.expression.type=="string_literal"?b=JSON.stringify(t.expression.value):b=t.expression.value,!g)throw new Error("couldn't find template "+e);m+=g.replace(/{{value}}/,b)}}),m},o.prototype._normalize=function(p){if(y.ok(p,"we need a path"),typeof p=="string")return this.parser.parse(p);if(Array.isArray(p)&&typeof p[0]=="string"){var m=[{expression:{type:"root",value:"$"}}];return p.forEach(function(f,t){if(!(f=="$"&&t===0))if(typeof f=="string"&&f.match("^"+s.identifier+"$"))m.push({operation:"member",scope:"child",expression:{value:f,type:"identifier"}});else{var e=typeof f=="number"?"numeric_literal":"string_literal";m.push({operation:"subscript",scope:"child",expression:{value:f,type:e}})}}),m}else if(Array.isArray(p)&&typeof p[0]=="object")return p;throw new Error("couldn't understand path "+p)};function l(p){return Object.prototype.toString.call(p)=="[object String]"}o.Handlers=i,o.Parser=h;var u=new o;u.JSONPath=o,S.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(v,S,_){var y=v("./grammar"),s=v("../generated/parser"),h=function(){var i=new s.Parser,o=i.parseError;return i.yy.parseError=function(){i.yy.ast&&i.yy.ast.initialize(),o.apply(i,arguments)},i};h.grammar=y,S.exports=h},{"../generated/parser":1,"./grammar":3}],7:[function(v,S,_){S.exports=function(s,h,i,o){if(typeof h=="string")throw new Error("start cannot be a string");if(typeof i=="string")throw new Error("end cannot be a string");if(typeof o=="string")throw new Error("step cannot be a string");var l=s.length;if(o===0)throw new Error("step cannot be zero");if(o=o?y(o):1,h=h<0?l+h:h,i=i<0?l+i:i,h=y(h===0?0:h||(o>0?0:l-1)),i=y(i===0?0:i||(o>0?l:-1)),h=o>0?Math.max(0,h):Math.min(l,h),i=o>0?Math.min(i,l):Math.max(-1,i),o>0&&i<=h)return[];if(o<0&&h<=i)return[];for(var u=[],p=h;p!=i&&!(o<0&&p<=i||o>0&&p>=i);p+=o)u.push(s[p]);return u};function y(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(v,S,_){var y=v("util/"),s=Array.prototype.slice,h=Object.prototype.hasOwnProperty,i=S.exports=m;i.AssertionError=function(w){this.name="AssertionError",this.actual=w.actual,this.expected=w.expected,this.operator=w.operator,w.message?(this.message=w.message,this.generatedMessage=!1):(this.message=u(this),this.generatedMessage=!0);var D=w.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var T=new Error;if(T.stack){var N=T.stack,I=D.name,M=N.indexOf(` +`+I);if(M>=0){var k=N.indexOf(` +`,M+1);N=N.substring(k+1)}this.stack=N}}},y.inherits(i.AssertionError,Error);function o(E,w){return y.isUndefined(w)?""+w:y.isNumber(w)&&!isFinite(w)||y.isFunction(w)||y.isRegExp(w)?w.toString():w}function l(E,w){return y.isString(E)?E.length=0;k--)if(N[k]!=I[k])return!1;for(k=N.length-1;k>=0;k--)if(M=N[k],!f(E[M],w[M]))return!1;return!0}i.notDeepEqual=function(w,D,T){f(w,D)&&p(w,D,T,"notDeepEqual",i.notDeepEqual)},i.strictEqual=function(w,D,T){w!==D&&p(w,D,T,"===",i.strictEqual)},i.notStrictEqual=function(w,D,T){w===D&&p(w,D,T,"!==",i.notStrictEqual)};function g(E,w){return!E||!w?!1:Object.prototype.toString.call(w)=="[object RegExp]"?w.test(E):E instanceof w?!0:w.call({},E)===!0}function b(E,w,D,T){var N;y.isString(D)&&(T=D,D=null);try{w()}catch(I){N=I}if(T=(D&&D.name?" ("+D.name+").":".")+(T?" "+T:"."),E&&!N&&p(N,D,"Missing expected exception"+T),!E&&g(N,D)&&p(N,D,"Got unwanted exception"+T),E&&N&&D&&!g(N,D)||!E&&N)throw N}i.throws=function(E,w,D){b.apply(this,[!0].concat(s.call(arguments)))},i.doesNotThrow=function(E,w){b.apply(this,[!1].concat(s.call(arguments)))},i.ifError=function(E){if(E)throw E};var x=Object.keys||function(E){var w=[];for(var D in E)h.call(E,D)&&w.push(D);return w}},{"util/":11}],9:[function(v,S,_){typeof Object.create=="function"?S.exports=function(s,h){s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:S.exports=function(s,h){s.super_=h;var i=function(){};i.prototype=h.prototype,s.prototype=new i,s.prototype.constructor=s}},{}],10:[function(v,S,_){S.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(v,S,_){(function(y,s){var h=/%[sdj%]/g;_.format=function(Q){if(!I(Q)){for(var ie=[],le=0;le=P)return L;switch(L){case"%s":return String(fe[le++]);case"%d":return Number(fe[le++]);case"%j":try{return JSON.stringify(fe[le++])}catch{return"[Circular]"}default:return L}}),B=fe[le];le=3&&(le.depth=arguments[2]),arguments.length>=4&&(le.colors=arguments[3]),w(ie)?le.showHidden=ie:ie&&_._extend(le,ie),k(le.showHidden)&&(le.showHidden=!1),k(le.depth)&&(le.depth=2),k(le.colors)&&(le.colors=!1),k(le.customInspect)&&(le.customInspect=!0),le.colors&&(le.stylize=u),f(le,Q,le.depth)}_.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(Q,ie){var le=l.styles[ie];return le?"\x1B["+l.colors[le][0]+"m"+Q+"\x1B["+l.colors[le][1]+"m":Q}function p(Q,ie){return Q}function m(Q){var ie={};return Q.forEach(function(le,fe){ie[le]=!0}),ie}function f(Q,ie,le){if(Q.customInspect&&ie&&X(ie.inspect)&&ie.inspect!==_.inspect&&!(ie.constructor&&ie.constructor.prototype===ie)){var fe=ie.inspect(le,Q);return I(fe)||(fe=f(Q,fe,le)),fe}var P=t(Q,ie);if(P)return P;var C=Object.keys(ie),B=m(C);if(Q.showHidden&&(C=Object.getOwnPropertyNames(ie)),z(ie)&&(C.indexOf("message")>=0||C.indexOf("description")>=0))return e(ie);if(C.length===0){if(X(ie)){var L=ie.name?": "+ie.name:"";return Q.stylize("[Function"+L+"]","special")}if(G(ie))return Q.stylize(RegExp.prototype.toString.call(ie),"regexp");if(Y(ie))return Q.stylize(Date.prototype.toString.call(ie),"date");if(z(ie))return e(ie)}var R="",q=!1,W=["{","}"];if(E(ie)&&(q=!0,W=["[","]"]),X(ie)){var ae=ie.name?": "+ie.name:"";R=" [Function"+ae+"]"}if(G(ie)&&(R=" "+RegExp.prototype.toString.call(ie)),Y(ie)&&(R=" "+Date.prototype.toUTCString.call(ie)),z(ie)&&(R=" "+e(ie)),C.length===0&&(!q||ie.length==0))return W[0]+R+W[1];if(le<0)return G(ie)?Q.stylize(RegExp.prototype.toString.call(ie),"regexp"):Q.stylize("[Object]","special");Q.seen.push(ie);var me;return q?me=g(Q,ie,le,B,C):me=C.map(function(ge){return b(Q,ie,le,B,ge,q)}),Q.seen.pop(),x(me,R,W)}function t(Q,ie){if(k(ie))return Q.stylize("undefined","undefined");if(I(ie)){var le="'"+JSON.stringify(ie).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Q.stylize(le,"string")}if(N(ie))return Q.stylize(""+ie,"number");if(w(ie))return Q.stylize(""+ie,"boolean");if(D(ie))return Q.stylize("null","null")}function e(Q){return"["+Error.prototype.toString.call(Q)+"]"}function g(Q,ie,le,fe,P){for(var C=[],B=0,L=ie.length;B-1&&(C?L=L.split(` `).map(function(q){return" "+q}).join(` -`).substr(2):B=` -`+B.split(` +`).substr(2):L=` +`+L.split(` `).map(function(q){return" "+q}).join(` -`))):B=Q.stylize("[Circular]","special")),P(L)){if(D&&k.match(/^\d+$/))return B;L=JSON.stringify(""+k),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=Q.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=Q.stylize(L,"string"))}return L+": "+B}function _(Q,ie,ue){var ce=0,k=Q.reduce(function(D,L){return ce++,L.indexOf(` -`)>=0&&ce++,D+L.replace(/\u001b\[\d\d?m/g,"").length+1},0);return k>60?ue[0]+(ie===""?"":ie+` +`))):L=Q.stylize("[Circular]","special")),k(B)){if(C&&P.match(/^\d+$/))return L;B=JSON.stringify(""+P),B.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(B=B.substr(1,B.length-2),B=Q.stylize(B,"name")):(B=B.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),B=Q.stylize(B,"string"))}return B+": "+L}function x(Q,ie,le){var fe=0,P=Q.reduce(function(C,B){return fe++,B.indexOf(` +`)>=0&&fe++,C+B.replace(/\u001b\[\d\d?m/g,"").length+1},0);return P>60?le[0]+(ie===""?"":ie+` `)+" "+Q.join(`, - `)+" "+ue[1]:ue[0]+ie+" "+Q.join(", ")+" "+ue[1]}function b(Q){return Array.isArray(Q)}y.isArray=b;function S(Q){return typeof Q=="boolean"}y.isBoolean=S;function C(Q){return Q===null}y.isNull=C;function T(Q){return Q==null}y.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}y.isNumber=N;function I(Q){return typeof Q=="string"}y.isString=I;function R(Q){return typeof Q=="symbol"}y.isSymbol=R;function P(Q){return Q===void 0}y.isUndefined=P;function G(Q){return J(Q)&&ee(Q)==="[object RegExp]"}y.isRegExp=G;function J(Q){return typeof Q=="object"&&Q!==null}y.isObject=J;function Y(Q){return J(Q)&&ee(Q)==="[object Date]"}y.isDate=Y;function z(Q){return J(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}y.isError=z;function X(Q){return typeof Q=="function"}y.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}y.isPrimitive=H,y.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var he=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),he[Q.getMonth()],ie].join(" ")}y.log=function(){console.log("%s - %s",me(),y.format.apply(y,arguments))},y.inherits=v("inherits"),y._extend=function(Q,ie){if(!ie||!J(ie))return Q;for(var ue=Object.keys(ie),ce=ue.length;ce--;)Q[ue[ce]]=ie[ue[ce]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,w,y){},{}],13:[function(v,w,y){(function(m){function a(u,s){for(var f=0,d=u.length-1;d>=0;d--){var c=u[d];c==="."?u.splice(d,1):c===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(s)for(;f--;f)u.unshift("..");return u}y.resolve=function(){for(var u="",s=!1,f=arguments.length-1;f>=-1&&!s;f--){var d=f>=0?arguments[f]:m.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;u=d+"/"+u,s=d.charAt(0)==="/"}return u=a(n(u.split("/"),function(c){return!!c}),!s).join("/"),(s?"/":"")+u||"."},y.normalize=function(u){var s=y.isAbsolute(u),f=i(u,-1)==="/";return u=a(n(u.split("/"),function(d){return!!d}),!s).join("/"),!u&&!s&&(u="."),u&&f&&(u+="/"),(s?"/":"")+u},y.isAbsolute=function(u){return u.charAt(0)==="/"},y.join=function(){var u=Array.prototype.slice.call(arguments,0);return y.normalize(n(u,function(s,f){if(typeof s!="string")throw new TypeError("Arguments to path.join must be strings");return s}).join("/"))},y.relative=function(u,s){u=y.resolve(u).substr(1),s=y.resolve(s).substr(1);function f(_){for(var b=0;b<_.length&&_[b]==="";b++);for(var S=_.length-1;S>=0&&_[S]==="";S--);return b>S?[]:_.slice(b,S-b+1)}for(var d=f(u.split("/")),c=f(s.split("/")),t=Math.min(d.length,c.length),e=t,g=0;g=1;--t)if(s=u.charCodeAt(t),s===47){if(!c){d=t;break}}else c=!1;return d===-1?f?"/":".":f&&d===1?"/":u.slice(0,d)};function p(u){typeof u!="string"&&(u=u+"");var s=0,f=-1,d=!0,c;for(c=u.length-1;c>=0;--c)if(u.charCodeAt(c)===47){if(!d){s=c+1;break}}else f===-1&&(d=!1,f=c+1);return f===-1?"":u.slice(s,f)}y.basename=function(u,s){var f=p(u);return s&&f.substr(-1*s.length)===s&&(f=f.substr(0,f.length-s.length)),f},y.extname=function(u){typeof u!="string"&&(u=u+"");for(var s=-1,f=0,d=-1,c=!0,t=0,e=u.length-1;e>=0;--e){var g=u.charCodeAt(e);if(g===47){if(!c){f=e+1;break}continue}d===-1&&(c=!1,d=e+1),g===46?s===-1?s=e:t!==1&&(t=1):s!==-1&&(t=-1)}return s===-1||d===-1||t===0||t===1&&s===d-1&&s===f+1?"":u.slice(s,d)};function n(u,s){if(u.filter)return u.filter(s);for(var f=[],d=0;d1)for(var C=1;C"?e>S:C===">="?e>=S:C==="|"?e|S:C==="&"?e&S:C==="^"?e^S:C==="&&"?e&&S:C==="||"?e||S:n}else{if(s.type==="Identifier")return{}.hasOwnProperty.call(p,s.name)?p[s.name]:n;if(s.type==="ThisExpression")return{}.hasOwnProperty.call(p,"this")?p.this:n;if(s.type==="CallExpression"){var T=u(s.callee);if(T===n||typeof T!="function")return n;var N=s.callee.object?u(s.callee.object):n;N===n&&(N=null);for(var I=[],t=0,e=s.arguments.length;t{(function(E,l){typeof vi=="object"&&typeof Qs=="object"?Qs.exports=l():typeof define=="function"&&define.amd?define([],l):typeof vi=="object"?vi.xmlbuilder2=l():E.xmlbuilder2=l()})(vi,function(){return function(E){var l={};function o(v){if(l[v])return l[v].exports;var w=l[v]={i:v,l:!1,exports:{}};return E[v].call(w.exports,w,w.exports,o),w.l=!0,w.exports}return o.m=E,o.c=l,o.d=function(v,w,y){o.o(v,w)||Object.defineProperty(v,w,{enumerable:!0,get:y})},o.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},o.t=function(v,w){if(1&w&&(v=o(v)),8&w||4&w&&typeof v=="object"&&v&&v.__esModule)return v;var y=Object.create(null);if(o.r(y),Object.defineProperty(y,"default",{enumerable:!0,value:v}),2&w&&typeof v!="string")for(var m in v)o.d(y,m,function(a){return v[a]}.bind(null,m));return y},o.n=function(v){var w=v&&v.__esModule?function(){return v.default}:function(){return v};return o.d(w,"a",w),w},o.o=function(v,w){return Object.prototype.hasOwnProperty.call(v,w)},o.p="",o(o.s=184)}([function(E,l,o){"use strict";function v(w){for(var y in w)l.hasOwnProperty(y)||(l[y]=w[y])}Object.defineProperty(l,"__esModule",{value:!0}),v(o(240)),v(o(251)),v(o(175)),v(o(107)),v(o(29)),v(o(73)),v(o(106)),v(o(30)),v(o(252)),v(o(52)),v(o(97)),v(o(253)),v(o(37)),v(o(51)),v(o(173)),v(o(176)),v(o(172)),v(o(108)),v(o(254)),v(o(255)),v(o(256)),v(o(72)),v(o(177)),v(o(105)),v(o(17)),v(o(257)),v(o(12)),v(o(174))},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(212);l.FixedSizeSet=w.FixedSizeSet;var y=o(213);l.ObjectCache=y.ObjectCache;var m=o(214);l.CompareCache=m.CompareCache;var a=o(215);l.Lazy=a.Lazy;var p=o(216);function n(e,g,x){if(c(e))e.forEach(function(b,S){return g.call(x,S,b)});else for(var _ in e)e.hasOwnProperty(_)&&g.call(x,_,e[_])}function i(e){var g,x;if(u(e))return e;if(f(e)){var _=[];try{for(var b=v(e),S=b.next();!S.done;S=b.next()){var C=S.value;_.push(i(C))}}catch(I){g={error:I}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(g)throw g.error}}return _}if(s(e)){_={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];_[T]=i(N)}return _}return e}function u(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function s(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function f(e){return Array.isArray(e)}function d(e){return e instanceof Set}function c(e){return e instanceof Map}function t(e){if(s(e)){var g=Object.getPrototypeOf(e),x=g.constructor;return g&&x&&typeof x=="function"&&x instanceof x&&Function.prototype.toString.call(x)===Function.prototype.toString.call(Object)}return!1}l.StringWalker=p.StringWalker,l.applyMixin=function(e,g){for(var x=[],_=2;_>6|192;else{if(b>55295&&b<56320){if(++_>=e.length)throw new Error("Incomplete surrogate pair.");var S=e.charCodeAt(_);if(S<56320||S>57343)throw new Error("Invalid surrogate character.");b=65536+((1023&b)<<10)+(1023&S),g[x++]=b>>18|240,g[x++]=b>>12&63|128}else g[x++]=b>>12|224;g[x++]=b>>6&63|128}g[x++]=63&b|128}}return g.subarray(0,x)},l.utf8Decode=function(e){for(var g="",x=0;x127)if(_>191&&_<224){if(x>=e.length)throw new Error("Incomplete 2-byte sequence.");_=(31&_)<<6|63&e[x++]}else if(_>223&&_<240){if(x+1>=e.length)throw new Error("Incomplete 3-byte sequence.");_=(15&_)<<12|(63&e[x++])<<6|63&e[x++]}else{if(!(_>239&&_<248))throw new Error("Unknown multi-byte start.");if(x+2>=e.length)throw new Error("Incomplete 4-byte sequence.");_=(7&_)<<18|(63&e[x++])<<12|(63&e[x++])<<6|63&e[x++]}if(_<=65535)g+=String.fromCharCode(_);else{if(!(_<=1114111))throw new Error("Code point exceeds UTF-16 limit.");_-=65536,g+=String.fromCharCode(_>>10|55296),g+=String.fromCharCode(1023&_|56320)}}return g}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(l.BoundaryPosition||(l.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(l.EventPhase||(l.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(l.NodeType||(l.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(l.Position||(l.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(l.FilterResult||(l.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(l.WhatToShow||(l.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(l.HowToCompare||(l.HowToCompare={}))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(241);l.Cast=v.Cast;var w=o(150);l.Guard=w.Guard;var y=o(242);l.EmptySet=y.EmptySet},function(E,l,o){var v=o(11),w=o(55).f,y=o(21),m=o(25),a=o(80),p=o(119),n=o(123);E.exports=function(i,u){var s,f,d,c,t,e=i.target,g=i.global,x=i.stat;if(s=g?v:x?v[e]||a(e,{}):(v[e]||{}).prototype)for(f in u){if(c=u[f],d=i.noTargetGet?(t=w(s,f))&&t.value:s[f],!n(g?f:e+(x?".":"#")+f,i.forced)&&d!==void 0){if(typeof c==typeof d)continue;p(c,d)}(i.sham||d&&d.sham)&&y(c,"sham",!0),m(s,f,c,i)}}},function(E,l,o){var v=o(11),w=o(81),y=o(14),m=o(58),a=o(86),p=o(124),n=w("wks"),i=v.Symbol,u=p?i:i&&i.withoutSetter||m;E.exports=function(s){return y(n,s)||(a&&y(i,s)?n[s]=i[s]:n[s]=u("Symbol."+s)),n[s]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(29),y=function(){function m(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return m.prototype.setFeatures=function(a){if(a===void 0&&(a=!0),v.isObject(a))for(var p in a)this._features[p]=a[p]||!1;else for(var p in this._features)this._features[p]=a},Object.defineProperty(m.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"window",{get:function(){return this._window===null&&(this._window=w.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(m,"instance",{get:function(){return m._instance||(m._instance=new m),m._instance},enumerable:!0,configurable:!0}),m}();l.dom=y.instance},function(E,l,o){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(l,"__esModule",{value:!0});var w=v(o(228));l.base64=w;var y=v(o(146));l.byte=y;var m=v(o(147));l.byteSequence=m;var a=v(o(96));l.codePoint=a;var p=v(o(232));l.json=p;var n=v(o(233));l.list=n;var i=v(o(234));l.map=i;var u=v(o(235));l.namespace=u;var s=v(o(236));l.queue=s;var f=v(o(237));l.set=f;var d=v(o(238));l.stack=d;var c=v(o(239));l.string=c},function(E,l){E.exports=function(o){try{return!!o()}catch{return!0}}},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return w(X,z),X}(Error);l.DOMException=y;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return w(X,z),X}(y);l.DOMStringSizeError=m;var a=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return w(X,z),X}(y);l.WrongDocumentError=a;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return w(X,z),X}(y);l.NoDataAllowedError=p;var n=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return w(X,z),X}(y);l.NoModificationAllowedError=n;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return w(X,z),X}(y);l.NotSupportedError=i;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return w(X,z),X}(y);l.InUseAttributeError=u;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return w(X,z),X}(y);l.InvalidStateError=s;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return w(X,z),X}(y);l.InvalidModificationError=f;var d=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return w(X,z),X}(y);l.NamespaceError=d;var c=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return w(X,z),X}(y);l.InvalidAccessError=c;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return w(X,z),X}(y);l.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return w(X,z),X}(y);l.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return w(X,z),X}(y);l.SecurityError=g;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return w(X,z),X}(y);l.NetworkError=x;var _=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return w(X,z),X}(y);l.AbortError=_;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return w(X,z),X}(y);l.URLMismatchError=b;var S=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return w(X,z),X}(y);l.QuotaExceededError=S;var C=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return w(X,z),X}(y);l.TimeoutError=C;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return w(X,z),X}(y);l.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return w(X,z),X}(y);l.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return w(X,z),X}(y);l.NotImplementedError=I;var R=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return w(X,z),X}(y);l.HierarchyRequestError=R;var P=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return w(X,z),X}(y);l.NotFoundError=P;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return w(X,z),X}(y);l.IndexSizeError=G;var J=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return w(X,z),X}(y);l.SyntaxError=J;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return w(X,z),X}(y);l.InvalidCharacterError=Y},function(E,l,o){"use strict";var v=o(53),w=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],y=["scalar","sequence","mapping"];E.exports=function(m,a){var p,n;if(a=a||{},Object.keys(a).forEach(function(i){if(w.indexOf(i)===-1)throw new v('Unknown option "'+i+'" is met in definition of "'+m+'" YAML type.')}),this.tag=m,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(i){return i},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.defaultStyle=a.defaultStyle||null,this.styleAliases=(p=a.styleAliases||null,n={},p!==null&&Object.keys(p).forEach(function(i){p[i].forEach(function(u){n[String(u)]=i})}),n),y.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+m+'" YAML type.')}},function(E,l,o){(function(v){var w=function(y){return y&&y.Math==Math&&y};E.exports=w(typeof globalThis=="object"&&globalThis)||w(typeof window=="object"&&window)||w(typeof self=="object"&&self)||w(typeof v=="object"&&v)||Function("return this")()}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.idl_defineConst=function(v,w,y){Object.defineProperty(v,w,{writable:!1,enumerable:!0,configurable:!1,value:y})}},function(E,l){E.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},function(E,l){var o={}.hasOwnProperty;E.exports=function(v,w){return o.call(v,w)}},function(E,l,o){var v=o(16),w=o(115),y=o(18),m=o(56),a=Object.defineProperty;l.f=v?a:function(p,n,i){if(y(p),n=m(n,!0),y(i),w)try{return a(p,n,i)}catch{}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(p[n]=i.value),p}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(E,l,o){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,x=g&&e[g],_=0;if(x)return x.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&_>=e.length&&(e=void 0),{value:e&&e[_++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(2);function m(e,g,x){if(x===void 0&&(x=!1),x&&w.Guard.isElementNode(g)&&w.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var _=g._parent;_&&_!==e;){if(_._nextSibling)return _._nextSibling;_=_._parent}return null}function a(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function p(e,g,x,_){g===void 0&&(g=!1),x===void 0&&(x=!1);for(var b=g?e:m(e,e,x);b&&_&&!_(b);)b=m(e,b,x);return b}function n(e,g,x,_,b){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var S=m(e,g,_);S&&b&&!b(S);)S=m(e,S,_);return S}function i(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=g?e:m(e,e,x);return{next:function(){for(;S&&_&&!_(S);)S=m(e,S,x);if(S===null)return{done:!0,value:null};var C={done:!1,value:S};return S=m(e,S,x),C}}},b):a()}function u(e,g,x){g===void 0&&(g=!1);for(var _=g?e:e._parent;_&&x&&!x(_);)_=_._parent;return _}function s(e,g,x,_){x===void 0&&(x=!1);for(var b=g._parent;b&&_&&!_(b);)b=b._parent;return b}function f(e){return w.Guard.isDocumentTypeNode(e)?0:w.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function d(e,g){if(g===void 0&&(g=!1),g){var x=d(e,!1);return w.Guard.isShadowRoot(x)?d(x._host,!0):x}return e._parent?d(e._parent):e}function c(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=x?e:_&&w.Guard.isShadowRoot(e)?e._host:e._parent;b!==null;){if(b===g)return!0;b=_&&w.Guard.isShadowRoot(b)?b._host:b._parent}return!1}function t(e){for(var g=d(e),x=0,_=p(g);_!==null;){if(x++,_===e)return x;_=n(g,_)}return-1}l.tree_getFirstDescendantNode=p,l.tree_getNextDescendantNode=n,l.tree_getDescendantNodes=i,l.tree_getDescendantElements=function(e,g,x,_){var b;return g===void 0&&(g=!1),x===void 0&&(x=!1),g||e._children.size!==0?((b={})[Symbol.iterator]=function(){var S=i(e,g,x,function(T){return w.Guard.isElementNode(T)})[Symbol.iterator](),C=S.next().value;return{next:function(){for(;C&&_&&!_(C);)C=S.next().value;if(C===null)return{done:!0,value:null};var T={done:!1,value:C};return C=S.next().value,T}}},b):a()},l.tree_getSiblingNodes=function(e,g,x){var _;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((_={})[Symbol.iterator]=function(){var b=e._parent?e._parent._firstChild:null;return{next:function(){for(;b&&(x&&!x(b)||!g&&b===e);)b=b._nextSibling;if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=b._nextSibling,S}}},_):a()},l.tree_getFirstAncestorNode=u,l.tree_getNextAncestorNode=s,l.tree_getAncestorNodes=function(e,g,x){var _;return g===void 0&&(g=!1),g||e._parent?((_={})[Symbol.iterator]=function(){var b=u(e,g,x);return{next:function(){if(b===null)return{done:!0,value:null};var S={done:!1,value:b};return b=s(0,b,g,x),S}}},_):a()},l.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var x=[],_=[],b=u(e,!0);b!==null;)x.push(b),b=s(0,b,!0);for(var S=u(g,!0);S!==null;)_.push(S),S=s(0,S,!0);for(var C=x.length,T=_.length,N=null,I=Math.min(C,T);I>0;I--){var R=x[--C];if(R!==_[--T])break;N=R}return N},l.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var x=g._parent;if(x===null||x===e)return null;if(x._nextSibling)return x._nextSibling;g=x}},l.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},l.tree_isConstrained=function e(g){var x,_,b,S,C,T;switch(g._nodeType){case y.NodeType.Document:var N=!1,I=!1;try{for(var R=v(g._children),P=R.next();!P.done;P=R.next())switch(P.value._nodeType){case y.NodeType.ProcessingInstruction:case y.NodeType.Comment:break;case y.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case y.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){x={error:X}}finally{try{P&&!P.done&&(_=R.return)&&_.call(R)}finally{if(x)throw x.error}}break;case y.NodeType.DocumentFragment:case y.NodeType.Element:try{for(var G=v(g._children),J=G.next();!J.done;J=G.next())switch(J.value._nodeType){case y.NodeType.Element:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:break;default:return!1}}catch(X){b={error:X}}finally{try{J&&!J.done&&(S=G.return)&&S.call(G)}finally{if(b)throw b.error}}break;case y.NodeType.DocumentType:case y.NodeType.Text:case y.NodeType.ProcessingInstruction:case y.NodeType.CData:case y.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){C={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(C)throw C.error}}return!0},l.tree_nodeLength=f,l.tree_isEmpty=function(e){return f(e)===0},l.tree_rootNode=d,l.tree_isDescendantOf=function(e,g,x,_){x===void 0&&(x=!1),_===void 0&&(_=!1);for(var b=p(e,x,_);b!==null;){if(b===g)return!0;b=n(e,b,x,_)}return!1},l.tree_isAncestorOf=c,l.tree_isHostIncludingAncestorOf=function e(g,x,_){if(_===void 0&&(_=!1),c(g,x,_))return!0;var b=d(g);return!(!w.Guard.isDocumentFragmentNode(b)||b._host===null||!e(b._host,x,_))},l.tree_isSiblingOf=function(e,g,x){return x===void 0&&(x=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!x},l.tree_isPreceding=function(e,g){var x=t(e),_=t(g);return x!==-1&&_!==-1&&d(e)===d(g)&&_x},l.tree_isParentOf=function(e,g){return e._parent===g},l.tree_isChildOf=function(e,g){return g._parent===e},l.tree_previousSibling=function(e){return e._previousSibling},l.tree_nextSibling=function(e){return e._nextSibling},l.tree_firstChild=function(e){return e._firstChild},l.tree_lastChild=function(e){return e._lastChild},l.tree_treePosition=t,l.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},l.tree_retarget=function(e,g){for(;;){if(!e||!w.Guard.isNode(e))return e;var x=d(e);if(!w.Guard.isShadowRoot(x)||g&&w.Guard.isNode(g)&&c(x,g,!0,!0))return e;e=x.host}}},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w))throw TypeError(String(w)+" is not an object");return w}},function(E,l,o){"use strict";var v=o(24),w=o(130),y=o(49),m=o(43),a=o(88),p=m.set,n=m.getterFor("Array Iterator");E.exports=a(Array,"Array",function(i,u){p(this,{type:"Array Iterator",target:v(i),index:0,kind:u})},function(){var i=n(this),u=i.target,s=i.kind,f=i.index++;return!u||f>=u.length?(i.target=void 0,{value:void 0,done:!0}):s=="keys"?{value:f,done:!1}:s=="values"?{value:u[f],done:!1}:{value:[f,u[f]],done:!1}},"values"),y.Arguments=y.Array,w("keys"),w("values"),w("entries")},function(E,l,o){var v=o(90),w=o(25),y=o(202);v||w(Object.prototype,"toString",y,{unsafe:!0})},function(E,l,o){var v=o(16),w=o(15),y=o(40);E.exports=v?function(m,a,p){return w.f(m,a,y(1,p))}:function(m,a,p){return m[a]=p,m}},function(E,l,o){"use strict";var v=o(137).charAt,w=o(43),y=o(88),m=w.set,a=w.getterFor("String Iterator");y(String,"String",function(p){m(this,{type:"String Iterator",string:String(p),index:0})},function(){var p,n=a(this),i=n.string,u=n.index;return u>=i.length?{value:void 0,done:!0}:(p=v(i,u),n.index+=p.length,{value:p,done:!1})})},function(E,l,o){var v=o(11),w=o(203),y=o(19),m=o(21),a=o(5),p=a("iterator"),n=a("toStringTag"),i=y.values;for(var u in w){var s=v[u],f=s&&s.prototype;if(f){if(f[p]!==i)try{m(f,p,i)}catch{f[p]=i}if(f[n]||m(f,n,u),w[u]){for(var d in y)if(f[d]!==y[d])try{m(f,d,y[d])}catch{f[d]=y[d]}}}}},function(E,l,o){var v=o(41),w=o(35);E.exports=function(y){return v(w(y))}},function(E,l,o){var v=o(11),w=o(21),y=o(14),m=o(80),a=o(117),p=o(43),n=p.get,i=p.enforce,u=String(String).split("String");(E.exports=function(s,f,d,c){var t=!!c&&!!c.unsafe,e=!!c&&!!c.enumerable,g=!!c&&!!c.noTargetGet;typeof d=="function"&&(typeof f!="string"||y(d,"name")||w(d,"name",f),i(d).source=u.join(typeof f=="string"?f:"")),s!==v?(t?!g&&s[f]&&(e=!0):delete s[f],e?s[f]=d:w(s,f,d)):e?s[f]=d:m(f,d)})(Function.prototype,"toString",function(){return typeof this=="function"&&n(this).source||a(this)})},function(E,l,o){var v=o(47),w=Math.min;E.exports=function(y){return y>0?w(v(y),9007199254740991):0}},function(E,l,o){var v=o(35);E.exports=function(w){return Object(v(w))}},function(E,l,o){var v=o(16),w=o(8),y=o(14),m=Object.defineProperty,a={},p=function(n){throw n};E.exports=function(n,i){if(y(a,n))return a[n];i||(i={});var u=[][n],s=!!y(i,"ACCESSORS")&&i.ACCESSORS,f=y(i,0)?i[0]:p,d=y(i,1)?i[1]:void 0;return a[n]=!!u&&!w(function(){if(s&&!v)return!0;var c={length:-1};s?m(c,1,{enumerable:!0,get:p}):c[1]=1,u.call(c,f,d)})}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(148),w=o(149),y=o(151),m=o(98),a=o(153),p=o(154),n=o(155),i=o(99),u=o(100),s=o(156),f=o(157),d=o(101),c=o(158),t=o(159),e=o(160),g=o(161),x=o(162),_=o(163),b=o(164),S=o(165),C=o(166),T=o(167),N=o(168),I=o(169),R=o(170);l.create_domImplementation=function(P){return v.DOMImplementationImpl._create(P)},l.create_window=function(){return w.WindowImpl._create()},l.create_xmlDocument=function(){return new y.XMLDocumentImpl},l.create_document=function(){return new m.DocumentImpl},l.create_abortController=function(){return new a.AbortControllerImpl},l.create_abortSignal=function(){return p.AbortSignalImpl._create()},l.create_documentType=function(P,G,J,Y){return n.DocumentTypeImpl._create(P,G,J,Y)},l.create_element=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_htmlUnknownElement=function(P,G,J,Y){return i.ElementImpl._create(P,G,J,Y)},l.create_documentFragment=function(P){return u.DocumentFragmentImpl._create(P)},l.create_shadowRoot=function(P,G){return s.ShadowRootImpl._create(P,G)},l.create_attr=function(P,G){return f.AttrImpl._create(P,G)},l.create_text=function(P,G){return d.TextImpl._create(P,G)},l.create_cdataSection=function(P,G){return c.CDATASectionImpl._create(P,G)},l.create_comment=function(P,G){return t.CommentImpl._create(P,G)},l.create_processingInstruction=function(P,G,J){return e.ProcessingInstructionImpl._create(P,G,J)},l.create_htmlCollection=function(P,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(P,G)},l.create_nodeList=function(P){return x.NodeListImpl._create(P)},l.create_nodeListStatic=function(P,G){return _.NodeListStaticImpl._create(P,G)},l.create_namedNodeMap=function(P){return b.NamedNodeMapImpl._create(P)},l.create_range=function(P,G){return S.RangeImpl._create(P,G)},l.create_nodeIterator=function(P,G,J){return C.NodeIteratorImpl._create(P,G,J)},l.create_treeWalker=function(P,G){return T.TreeWalkerImpl._create(P,G)},l.create_nodeFilter=function(){return N.NodeFilterImpl._create()},l.create_mutationRecord=function(P,G,J,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(P,G,J,Y,z,X,H,ee,re)},l.create_domTokenList=function(P,G){return R.DOMTokenListImpl._create(P,G)}},function(E,l,o){"use strict";var v=this&&this.__values||function(f){var d=typeof Symbol=="function"&&Symbol.iterator,c=d&&f[d],t=0;if(c)return c.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&t>=f.length&&(f=void 0),{value:f&&f[t++],done:!f}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(17),m=o(3),a=o(72),p=new Map;function n(f,d){if(d!==f._root&&y.tree_isAncestorOf(f._reference,d,!0)){if(f._pointerBeforeReference)for(;;){var c=y.tree_getFollowingNode(f._root,d);if(c!==null&&y.tree_isDescendantOf(f._root,c,!0)&&!y.tree_isDescendantOf(d,c,!0))return void(f._reference=c);if(c===null)return void(f._pointerBeforeReference=!1)}if(d._previousSibling===null)d._parent!==null&&(f._reference=d._parent);else{for(var t=d._previousSibling,e=y.tree_getFirstDescendantNode(d._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=y.tree_getNextDescendantNode(d._previousSibling,e,!0,!1);f._reference=t}}}function i(f,d,c,t,e){if(m.Guard.isSlot(f)&&d==="name"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_assignSlotablesForATree(y.tree_rootNode(f))}}function u(f,d,c,t,e){if(m.Guard.isSlotable(f)&&d==="slot"&&e===null){if(t===c||t===null&&c===""||t===""&&c===null)return;f._name=t===null||t===""?"":t,a.shadowTree_isAssigned(f)&&a.shadowTree_assignSlotables(f._assignedSlot),a.shadowTree_assignASlot(f)}}function s(f,d,c,t){d==="id"&&t===null&&(f._uniqueIdentifier=c||void 0)}l.dom_runRemovingSteps=function(f,d){},l.dom_runCloningSteps=function(f,d,c,t){},l.dom_runAdoptingSteps=function(f,d){},l.dom_runAttributeChangeSteps=function(f,d,c,t,e){var g,x;w.dom.features.slots&&(u.call(f,f,d,c,t,e),i.call(f,f,d,c,t,e)),s.call(f,f,d,t,e);try{for(var _=v(f._attributeChangeSteps),b=_.next();!b.done;b=_.next())b.value.call(f,f,d,c,t,e)}catch(S){g={error:S}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},l.dom_runInsertionSteps=function(f){},l.dom_runNodeIteratorPreRemovingSteps=function(f,d){n.call(f,f,d)},l.dom_hasSupportedTokens=function(f){return p.has(f)},l.dom_getSupportedTokens=function(f){return p.get(f)||new Set},l.dom_runEventConstructingSteps=function(f){},l.dom_runChildTextContentChangeSteps=function(f){}},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(46),m=o(44),a=o(16),p=o(86),n=o(124),i=o(8),u=o(14),s=o(59),f=o(13),d=o(18),c=o(27),t=o(24),e=o(56),g=o(40),x=o(60),_=o(61),b=o(82),S=o(190),C=o(85),T=o(55),N=o(15),I=o(79),R=o(21),P=o(25),G=o(81),J=o(57),Y=o(45),z=o(58),X=o(5),H=o(125),ee=o(126),re=o(62),he=o(43),me=o(36).forEach,ne=J("hidden"),Q=X("toPrimitive"),ie=he.set,ue=he.getterFor("Symbol"),ce=Object.prototype,k=w.Symbol,D=y("JSON","stringify"),L=T.f,B=N.f,M=S.f,q=I.f,W=G("symbols"),oe=G("op-symbols"),de=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Se=G("wks"),Be=w.QObject,Le=!Be||!Be.prototype||!Be.prototype.findChild,tt=a&&i(function(){return x(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(_e,xe,Te){var Ae=L(ce,xe);Ae&&delete ce[xe],B(_e,xe,Te),Ae&&_e!==ce&&B(ce,xe,Ae)}:B,Je=function(_e,xe){var Te=W[_e]=x(k.prototype);return ie(Te,{type:"Symbol",tag:_e,description:xe}),a||(Te.description=xe),Te},we=n?function(_e){return typeof _e=="symbol"}:function(_e){return Object(_e)instanceof k},at=function(_e,xe,Te){_e===ce&&at(oe,xe,Te),d(_e);var Ae=e(xe,!0);return d(Te),u(W,Ae)?(Te.enumerable?(u(_e,ne)&&_e[ne][Ae]&&(_e[ne][Ae]=!1),Te=x(Te,{enumerable:g(0,!1)})):(u(_e,ne)||B(_e,ne,g(1,{})),_e[ne][Ae]=!0),tt(_e,Ae,Te)):B(_e,Ae,Te)},K=function(_e,xe){d(_e);var Te=t(xe),Ae=_(Te).concat(ae(Te));return me(Ae,function(je){a&&!qe.call(Te,je)||at(_e,je,Te[je])}),_e},qe=function(_e){var xe=e(_e,!0),Te=q.call(this,xe);return!(this===ce&&u(W,xe)&&!u(oe,xe))&&(!(Te||!u(this,xe)||!u(W,xe)||u(this,ne)&&this[ne][xe])||Te)},ze=function(_e,xe){var Te=t(_e),Ae=e(xe,!0);if(Te!==ce||!u(W,Ae)||u(oe,Ae)){var je=L(Te,Ae);return!je||!u(W,Ae)||u(Te,ne)&&Te[ne][Ae]||(je.enumerable=!0),je}},Ne=function(_e){var xe=M(t(_e)),Te=[];return me(xe,function(Ae){u(W,Ae)||u(Y,Ae)||Te.push(Ae)}),Te},ae=function(_e){var xe=_e===ce,Te=M(xe?oe:t(_e)),Ae=[];return me(Te,function(je){!u(W,je)||xe&&!u(ce,je)||Ae.push(W[je])}),Ae};p||(P((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor");var _e=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,xe=z(_e),Te=function(Ae){this===ce&&Te.call(oe,Ae),u(this,ne)&&u(this[ne],xe)&&(this[ne][xe]=!1),tt(this,xe,g(1,Ae))};return a&&Le&&tt(ce,xe,{configurable:!0,set:Te}),Je(xe,_e)}).prototype,"toString",function(){return ue(this).tag}),P(k,"withoutSetter",function(_e){return Je(z(_e),_e)}),I.f=qe,N.f=at,T.f=ze,b.f=S.f=Ne,C.f=ae,H.f=function(_e){return Je(X(_e),_e)},a&&(B(k.prototype,"description",{configurable:!0,get:function(){return ue(this).description}}),m||P(ce,"propertyIsEnumerable",qe,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:k}),me(_(Se),function(_e){ee(_e)}),v({target:"Symbol",stat:!0,forced:!p},{for:function(_e){var xe=String(_e);if(u(de,xe))return de[xe];var Te=k(xe);return de[xe]=Te,ge[Te]=xe,Te},keyFor:function(_e){if(!we(_e))throw TypeError(_e+" is not a symbol");if(u(ge,_e))return ge[_e]},useSetter:function(){Le=!0},useSimple:function(){Le=!1}}),v({target:"Object",stat:!0,forced:!p,sham:!a},{create:function(_e,xe){return xe===void 0?x(_e):K(x(_e),xe)},defineProperty:at,defineProperties:K,getOwnPropertyDescriptor:ze}),v({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:Ne,getOwnPropertySymbols:ae}),v({target:"Object",stat:!0,forced:i(function(){C.f(1)})},{getOwnPropertySymbols:function(_e){return C.f(c(_e))}}),D&&v({target:"JSON",stat:!0,forced:!p||i(function(){var _e=k();return D([_e])!="[null]"||D({a:_e})!="{}"||D(Object(_e))!="{}"})},{stringify:function(_e,xe,Te){for(var Ae,je=[_e],Me=1;arguments.length>Me;)je.push(arguments[Me++]);if(Ae=xe,(f(xe)||_e!==void 0)&&!we(_e))return s(xe)||(xe=function(We,Ve){if(typeof Ae=="function"&&(Ve=Ae.call(this,We,Ve)),!we(Ve))return Ve}),je[1]=xe,D.apply(null,je)}}),k.prototype[Q]||R(k.prototype,Q,k.prototype.valueOf),re(k,"Symbol"),Y[ne]=!0},function(E,l,o){"use strict";var v=o(4),w=o(16),y=o(11),m=o(14),a=o(13),p=o(15).f,n=o(119),i=y.Symbol;if(w&&typeof i=="function"&&(!("description"in i.prototype)||i().description!==void 0)){var u={},s=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof s?new i(e):e===void 0?i():i(e);return e===""&&(u[g]=!0),g};n(s,i);var f=s.prototype=i.prototype;f.constructor=s;var d=f.toString,c=String(i("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;p(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,g=d.call(e);if(m(u,e))return"";var x=c?g.slice(7,-1):g.replace(t,"$1");return x===""?void 0:x}}),v({global:!0,forced:!0},{Symbol:s})}},function(E,l,o){o(126)("iterator")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(c,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var x in g)g.hasOwnProperty(x)&&(e[x]=g[x])})(c,t)},function(c,t){function e(){this.constructor=c}v(c,t),c.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),y=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(70),n=o(3),i=o(9),u=o(0),s=o(152),f=o(12),d=function(c){function t(){var e=c.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return w(t,c),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=u.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||m.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return n.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:n.Guard.isAttrNode(this)?this._qualifiedName:n.Guard.isExclusiveTextNode(this)?"#text":n.Guard.isCDATASectionNode(this)?"#cdata-section":n.Guard.isProcessingInstructionNode(this)?this._target:n.Guard.isCommentNode(this)?"#comment":n.Guard.isDocumentNode(this)?"#document":n.Guard.isDocumentTypeNode(this)?this._name:n.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return s.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return n.Guard.isElementNode(this)&&u.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===a.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return u.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===a.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&n.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.text_descendantTextContent(this):n.Guard.isAttrNode(this)?this._value:n.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),n.Guard.isDocumentFragmentNode(this)||n.Guard.isElementNode(this)?u.node_stringReplaceAll(e,this):n.Guard.isAttrNode(this)?u.attr_setAnExistingAttributeValue(this,e):n.Guard.isCharacterDataNode(this)&&u.characterData_replaceData(this,0,u.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,x,_,b=[],S=u.tree_getFirstDescendantNode(this,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});S!==null;)b.push(S),S=u.tree_getNextDescendantNode(this,S,!1,!1,function(me){return n.Guard.isExclusiveTextNode(me)});for(var C=0;CR;R++)if((t||R in T)&&(S=N(b=T[R],R,C),i)){if(u)G[R]=S;else if(S)switch(i){case 3:return!0;case 5:return b;case 6:return R;case 2:p.call(G,b)}else if(d)return!1}return c?-1:f||d?d:G}};E.exports={forEach:n(0),map:n(1),filter:n(2),some:n(3),every:n(4),find:n(5),findIndex:n(6)}},function(E,l,o){"use strict";var v=this&&this.__values||function(C){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&C[T],I=0;if(N)return N.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&I>=C.length&&(C=void 0),{value:C&&C[I++],done:!C}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(C,T){var N=typeof Symbol=="function"&&C[Symbol.iterator];if(!N)return C;var I,R,P=N.call(C),G=[];try{for(;(T===void 0||T-- >0)&&!(I=P.next()).done;)G.push(I.value)}catch(J){R={error:J}}finally{try{I&&!I.done&&(N=P.return)&&N.call(P)}finally{if(R)throw R.error}}return G},y=this&&this.__spread||function(){for(var C=[],T=0;T1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+he+" element nodes.");if(he===1){try{for(var ie=v(T._children),ue=ie.next();!ue.done;ue=ie.next())if(ue.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(q){P={error:q}}finally{try{ue&&!ue.done&&(G=ie.return)&&G.call(ie)}finally{if(P)throw P.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");ce=ce._nextSibling}}}}else if(ee===p.NodeType.Element){try{for(var k=v(T._children),D=k.next();!D.done;D=k.next())if(D.value._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+C.nodeName+".")}catch(q){J={error:q}}finally{try{D&&!D.done&&(Y=k.return)&&Y.call(k)}finally{if(J)throw J.error}}if(N){if(re===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");for(ce=N._nextSibling;ce;){if(ce._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+C.nodeName+".");ce=ce._nextSibling}}}else if(ee===p.NodeType.DocumentType){try{for(var L=v(T._children),B=L.next();!B.done;B=L.next())if(B.value._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+C.nodeName+".")}catch(q){z={error:q}}finally{try{B&&!B.done&&(X=L.return)&&X.call(L)}finally{if(z)throw z.error}}if(N)for(var M=N._previousSibling;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._previousSibling}else for(M=T._firstChild;M;){if(M._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+C.nodeName+".");M=M._nextSibling}}}}function _(C,T,N){x(C,T,N);var I=N;return I===C&&(I=C._nextSibling),g.document_adopt(C,T._nodeDocument),b(C,T,I),C}function b(C,T,N,I){var R,P;if(N!==null||C._nodeType===p.NodeType.DocumentFragment){var G=C._nodeType===p.NodeType.DocumentFragment?C._children.size:1;if(N!==null&&m.dom.rangeList.size!==0){var J=f.tree_index(N);try{for(var Y=v(m.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>J&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>J&&(X._end[1]+=G)}}catch(ue){R={error:ue}}finally{try{z&&!z.done&&(P=Y.return)&&P.call(Y)}finally{if(R)throw R.error}}}var H=C._nodeType===p.NodeType.DocumentFragment?new(Array.bind.apply(Array,y([void 0],C._children))):[C];if(C._nodeType===p.NodeType.DocumentFragment)for(;C._firstChild;)S(C._firstChild,C,!0);m.dom.features.mutationObservers&&C._nodeType===p.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(C,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:f.tree_index(N),he=0;heH&&he._start[1]--,he._end[0]===T&&he._end[1]>H&&he._end[1]--}}catch(de){I={error:de}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}try{for(var me=v(m.dom.rangeList),ne=me.next();!ne.done;ne=me.next())(he=ne.value)._start[0]===T&&he._start[1]>H&&(he._start[1]-=1),he._end[0]===T&&he._end[1]>H&&(he._end[1]-=1)}catch(de){P={error:de}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}}if(m.dom.features.steps)try{for(var Q=v(d.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var ue=ie.value;ue._root._nodeDocument===C._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(ue,C)}}catch(de){J={error:de}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if(J)throw J.error}}var ce=C._previousSibling,k=C._nextSibling;n.Guard.isDocumentNode(T)&&n.Guard.isElementNode(C)&&(T._documentElement=null),C._parent=null,T._children.delete(C);var D=C._previousSibling,L=C._nextSibling;C._previousSibling=null,C._nextSibling=null,D&&(D._nextSibling=L),L&&(L._previousSibling=D),D||(T._firstChild=L),L||(T._lastChild=D),m.dom.features.slots&&n.Guard.isSlotable(C)&&C._assignedSlot!==null&&c.shadowTree_isAssigned(C)&&c.shadowTree_assignSlotables(C._assignedSlot),m.dom.features.slots&&n.Guard.isShadowRoot(f.tree_rootNode(T))&&n.Guard.isSlot(T)&&i.isEmpty(T._assignedNodes)&&c.shadowTree_signalASlotChange(T),m.dom.features.slots&&f.tree_getFirstDescendantNode(C,!0,!1,function(de){return n.Guard.isSlot(de)})!==null&&(c.shadowTree_assignSlotablesForATree(f.tree_rootNode(T)),c.shadowTree_assignSlotablesForATree(C)),m.dom.features.steps&&e.dom_runRemovingSteps(C,T),m.dom.features.customElements&&n.Guard.isCustomElementNode(C)&&s.customElement_enqueueACustomElementCallbackReaction(C,"disconnectedCallback",[]);for(var B=f.tree_getFirstDescendantNode(C,!1,!0);B!==null;)m.dom.features.steps&&e.dom_runRemovingSteps(B,C),m.dom.features.customElements&&n.Guard.isCustomElementNode(B)&&s.customElement_enqueueACustomElementCallbackReaction(B,"disconnectedCallback",[]),B=f.tree_getNextDescendantNode(C,B,!1,!0);if(m.dom.features.mutationObservers)for(var M=f.tree_getFirstAncestorNode(T,!0);M!==null;){try{for(var q=(z=void 0,v(M._registeredObserverList)),W=q.next();!W.done;W=q.next()){var oe=W.value;oe.options.subtree&&C._registeredObserverList.push({observer:oe.observer,options:oe.options,source:oe})}}catch(de){z={error:de}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}M=f.tree_getNextAncestorNode(T,M,!0)}m.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[C],ce,k)),m.dom.features.steps&&n.Guard.isTextNode(C)&&e.dom_runChildTextContentChangeSteps(T)}l.mutation_ensurePreInsertionValidity=x,l.mutation_preInsert=_,l.mutation_insert=b,l.mutation_append=function(C,T){return _(C,T,null)},l.mutation_replace=function(C,T,N){var I,R,P,G,J,Y,z,X;if(N._nodeType!==p.NodeType.Document&&N._nodeType!==p.NodeType.DocumentFragment&&N._nodeType!==p.NodeType.Element)throw new a.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(f.tree_isHostIncludingAncestorOf(N,T,!0))throw new a.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(C._parent!==N)throw new a.NotFoundError("The reference child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==p.NodeType.DocumentFragment&&T._nodeType!==p.NodeType.DocumentType&&T._nodeType!==p.NodeType.Element&&T._nodeType!==p.NodeType.Text&&T._nodeType!==p.NodeType.ProcessingInstruction&&T._nodeType!==p.NodeType.CData&&T._nodeType!==p.NodeType.Comment)throw new a.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.Text&&N._nodeType===p.NodeType.Document)throw new a.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===p.NodeType.DocumentType&&N._nodeType!==p.NodeType.Document)throw new a.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===p.NodeType.Document){if(T._nodeType===p.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var he=re.value;if(he._nodeType===p.NodeType.Element)H++;else if(he._nodeType===p.NodeType.Text)throw new a.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+he.nodeName+".")}}catch(oe){I={error:oe}}finally{try{re&&!re.done&&(R=ee.return)&&R.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new a.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var me=v(N._children),ne=me.next();!ne.done;ne=me.next())if((D=ne.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("The document node already has a document element node.")}catch(oe){P={error:oe}}finally{try{ne&&!ne.done&&(G=me.return)&&G.call(me)}finally{if(P)throw P.error}}for(var Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===p.NodeType.Element){try{for(var ie=v(N._children),ue=ie.next();!ue.done;ue=ie.next())if((D=ue.value)._nodeType===p.NodeType.Element&&D!==C)throw new a.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(oe){J={error:oe}}finally{try{ue&&!ue.done&&(Y=ie.return)&&Y.call(ie)}finally{if(J)throw J.error}}for(Q=C._nextSibling;Q;){if(Q._nodeType===p.NodeType.DocumentType)throw new a.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===p.NodeType.DocumentType){try{for(var ce=v(N._children),k=ce.next();!k.done;k=ce.next()){var D;if((D=k.value)._nodeType===p.NodeType.DocumentType&&D!==C)throw new a.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(oe){z={error:oe}}finally{try{k&&!k.done&&(X=ce.return)&&X.call(ce)}finally{if(z)throw z.error}}for(var L=C._previousSibling;L;){if(L._nodeType===p.NodeType.Element)throw new a.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");L=L._previousSibling}}}var B=C._nextSibling;B===T&&(B=T._nextSibling);var M=C._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];C._parent!==null&&(q.push(C),S(C,C._parent,!0));var W=[];return T._nodeType===p.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),b(T,N,B,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,M,B),C},l.mutation_replaceAll=function(C,T){var N,I;C!==null&&g.document_adopt(C,T._nodeDocument);var R=Array.from(T._children),P=[];C&&C._nodeType===p.NodeType.DocumentFragment?P=Array.from(C._children):C!==null&&P.push(C);try{for(var G=v(R),J=G.next();!J.done;J=G.next())S(J.value,T,!0)}catch(Y){N={error:Y}}finally{try{J&&!J.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}C!==null&&b(C,T,null,!0),m.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,P,R,null,null)},l.mutation_preRemove=function(C,T){if(C._parent!==T)throw new a.NotFoundError("The child node cannot be found under parent node. Child node is "+C.nodeName+", parent node is "+T.nodeName+".");return S(C,T),C},l.mutation_remove=S},function(E,l,o){"use strict";function v(w){return w==null}E.exports.isNothing=v,E.exports.isObject=function(w){return typeof w=="object"&&w!==null},E.exports.toArray=function(w){return Array.isArray(w)?w:v(w)?[]:[w]},E.exports.repeat=function(w,y){var m,a="";for(m=0;m0?v:o)(w)}},function(E,l,o){"use strict";var v=o(8);E.exports=function(w,y){var m=[][w];return!!m&&v(function(){m.call(null,y||function(){throw 1},1)})}},function(E,l){E.exports={}},function(E,l,o){"use strict";o(31),o(32),o(33),o(220),o(64),o(19),o(65),o(20),o(68),o(66),o(92),o(144),o(22),o(94),o(23);var v=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__spread||function(){for(var s=[],f=0;f/g,">");this.text(c)},s.prototype._serializeDocumentFragmentNS=function(f,d,c,t,e){var g,x;try{for(var _=v(f.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;this._serializeNodeNS(S,d,c,t,e)}}catch(C){g={error:C}}finally{try{b&&!b.done&&(x=_.return)&&x.call(_)}finally{if(g)throw g.error}}},s.prototype._serializeDocumentFragment=function(f,d){var c,t;try{for(var e=v(f._children),g=e.next();!g.done;g=e.next()){var x=g.value;this._serializeNode(x,d)}}catch(_){c={error:_}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(c)throw c.error}}},s.prototype._serializeDocumentType=function(f,d){if(d&&!i.xml_isPubidChar(f.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(d&&(!i.xml_isLegalChar(f.systemId)||f.systemId.indexOf('"')!==-1&&f.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(f.name,f.publicId,f.systemId)},s.prototype._serializeProcessingInstruction=function(f,d){if(d&&(f.target.indexOf(":")!==-1||/^xml$/i.test(f.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(d&&(!i.xml_isLegalChar(f.data)||f.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(f.target,f.data)},s.prototype._serializeCData=function(f,d){if(d&&f.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(f.data)},s.prototype._serializeAttributesNS=function(f,d,c,t,e,g){var x,_,b=[],S=g?new a.LocalNameSet:void 0;try{for(var C=v(f.attributes),T=C.next();!T.done;T=C.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&S&&S.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&S&&S.set(N.namespaceURI,N.localName);var I=N.namespaceURI,R=null;if(I!==null)if(R=d.get(N.prefix,I),I===n.namespace.XMLNS){if(N.value===n.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&d.has(N.localName,N.value))continue;if(g&&N.value===n.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(R="xmlns")}else R===null&&(R=N.prefix===null||d.hasPrefix(N.prefix)&&!d.has(N.prefix,I)?this._generatePrefix(I,d,c):N.prefix,b.push([null,"xmlns",R,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!i.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");b.push([I,R,N.localName,this._serializeAttributeValue(N.value,g)])}else b.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(P){x={error:P}}finally{try{T&&!T.done&&(_=C.return)&&_.call(C)}finally{if(x)throw x.error}}return b},s.prototype._serializeAttributes=function(f,d){var c,t,e=[],g=d?{}:void 0;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value;if(d){if(d&&g&&b.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(d&&g&&(g[b.localName]=!0),d&&(b.localName.indexOf(":")!==-1||!i.xml_isName(b.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}else e.push([null,null,b.localName,this._serializeAttributeValue(b.value,d)])}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}return e},s.prototype._recordNamespaceInformation=function(f,d,c){var t,e,g=null;try{for(var x=v(f.attributes),_=x.next();!_.done;_=x.next()){var b=_.value,S=b.namespaceURI,C=b.prefix;if(S===n.namespace.XMLNS){if(C===null){g=b.value;continue}var T=b.localName,N=b.value;if(N===n.namespace.XML||(N===""&&(N=null),d.has(T,N)))continue;d.set(T,N),c[T]=N||""}}}catch(I){t={error:I}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},s.prototype._generatePrefix=function(f,d,c){var t="ns"+c.value.toString();return c.value++,d.set(t,f),t},s.prototype._serializeAttributeValue=function(f,d){if(d&&f!==null&&!i.xml_isLegalChar(f))throw new Error("Invalid characters in attribute value.");return f===null?"":f.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},s._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),s}();l.BaseWriter=u},function(E,l,o){"use strict";var v=this&&this.__values||function(d){var c=typeof Symbol=="function"&&Symbol.iterator,t=c&&d[c],e=0;if(t)return t.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&e>=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(7),p=o(29),n=o(17),i=o(97);function u(){var d=y.dom.window;d._mutationObserverMicrotaskQueued||(d._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){s()}))}function s(){var d,c,t,e,g=y.dom.window;g._mutationObserverMicrotaskQueued=!1;var x=a.set.clone(g._mutationObservers),_=a.set.clone(g._signalSlots);a.set.empty(g._signalSlots);var b=function(R){var P=a.list.clone(R._recordQueue);a.list.empty(R._recordQueue);for(var G=0;G"+c+"<\/script>"},d=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var c,t;d=v?function(g){g.write(f("")),g.close();var x=g.parentWindow.Object;return g=null,x}(v):((t=n("iframe")).style.display="none",p.appendChild(t),t.src="javascript:",(c=t.contentWindow.document).open(),c.write(f("document.F=Object")),c.close(),c.F);for(var e=m.length;e--;)delete d.prototype[m[e]];return d()};a[u]=!0,E.exports=Object.create||function(c,t){var e;return c!==null?(s.prototype=w(c),e=new s,s.prototype=null,e[u]=c):e=d(),t===void 0?e:y(e,t)}},function(E,l,o){var v=o(121),w=o(84);E.exports=Object.keys||function(y){return v(y,w)}},function(E,l,o){var v=o(15).f,w=o(14),y=o(5)("toStringTag");E.exports=function(m,a,p){m&&!w(m=p?m:m.prototype,y)&&v(m,y,{configurable:!0,value:a})}},function(E,l,o){var v=o(8),w=o(5),y=o(129),m=w("species");E.exports=function(a){return y>=51||!v(function(){var p=[];return(p.constructor={})[m]=function(){return{foo:1}},p[a](Boolean).foo!==1})}},function(E,l,o){"use strict";var v=o(4),w=o(122).indexOf,y=o(48),m=o(28),a=[].indexOf,p=!!a&&1/[1].indexOf(1,-0)<0,n=y("indexOf"),i=m("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:p||!n||!i},{indexOf:function(u){return p?a.apply(this,arguments)||0:w(this,u,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(16),w=o(15).f,y=Function.prototype,m=y.toString,a=/^\s*function ([^ (]*)/;v&&!("name"in y)&&w(y,"name",{configurable:!0,get:function(){try{return m.call(this).match(a)[1]}catch{return""}}})},function(E,l,o){"use strict";var v=o(25),w=o(18),y=o(8),m=o(136),a=RegExp.prototype,p=a.toString,n=y(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),i=p.name!="toString";(n||i)&&v(RegExp.prototype,"toString",function(){var u=w(this),s=String(u.source),f=u.flags;return"/"+s+"/"+String(f===void 0&&u instanceof RegExp&&!("flags"in a)?m.call(u):f)},{unsafe:!0})},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(138),o(20),o(66),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(1),a=o(2),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=m.applyDefaults(s,{format:"object",wellFormed:!1,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(u,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},i.prototype._process=function(u,s){var f,d,c,t,e,g,x;if(u.length===0)return{};for(var _={},b=!1,S=0,C=0,T=0,N=0,I=0;I2)try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;s[d+(t++).toString()]=b}}catch(S){e={error:S}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}else s[c>1?d+(t++).toString():d]=u;return t},i.prototype.beginElement=function(u){var s,f,d=[];if(this._currentList.length===0)this._currentList.push(((s={})[u]=d,s));else{var c=this._currentList[this._currentList.length-1];this._isElementNode(c,u)?c[u].length!==0&&m.isArray(c[u][0])?c[u].push(d):c[u]=[c[u],d]:this._currentList.push(((f={})[u]=d,f))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=d:this._listRegister.push(d),this._currentList=d},i.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},i.prototype.attribute=function(u,s){var f,d;if(this._currentList.length===0)this._currentList.push({"@":(f={},f[u]=s,f)});else{var c=this._currentList[this._currentList.length-1];this._isAttrNode(c)?c["@"][u]=s:this._currentList.push({"@":(d={},d[u]=s,d)})}},i.prototype.comment=function(u){if(this._currentList.length===0)this._currentList.push({"!":u});else{var s=this._currentList[this._currentList.length-1];this._isCommentNode(s)?m.isArray(s["!"])?s["!"].push(u):s["!"]=[s["!"],u]:this._currentList.push({"!":u})}},i.prototype.text=function(u){if(this._currentList.length===0)this._currentList.push({"#":u});else{var s=this._currentList[this._currentList.length-1];this._isTextNode(s)?m.isArray(s["#"])?s["#"].push(u):s["#"]=[s["#"],u]:this._currentList.push({"#":u})}},i.prototype.instruction=function(u,s){var f=s===""?u:u+" "+s;if(this._currentList.length===0)this._currentList.push({"?":f});else{var d=this._currentList[this._currentList.length-1];this._isInstructionNode(d)?m.isArray(d["?"])?d["?"].push(f):d["?"]=[d["?"],f]:this._currentList.push({"?":f})}},i.prototype.cdata=function(u){if(this._currentList.length===0)this._currentList.push({$:u});else{var s=this._currentList[this._currentList.length-1];this._isCDATANode(s)?m.isArray(s.$)?s.$.push(u):s.$=[s.$,u]:this._currentList.push({$:u})}},i.prototype._isAttrNode=function(u){return"@"in u},i.prototype._isTextNode=function(u){return"#"in u},i.prototype._isCommentNode=function(u){return"!"in u},i.prototype._isInstructionNode=function(u){return"?"in u},i.prototype._isCDATANode=function(u){return"$"in u},i.prototype._isElementNode=function(u,s){return s in u},i.prototype._getAttrKey=function(){return this._builderOptions.convert.att},i.prototype._getNodeKey=function(u){switch(u){case a.NodeType.Comment:return this._builderOptions.convert.comment;case a.NodeType.Text:return this._builderOptions.convert.text;case a.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case a.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},i}(o(50).BaseWriter);l.ObjectWriter=p},function(E,l,o){"use strict";var v=o(4),w=o(93);v({target:"RegExp",proto:!0,forced:/./.exec!==w},{exec:w})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems={}}return w.prototype.set=function(y,m){y===null?this._nullItems[m]=!0:(this._items[y]||(this._items[y]={}),this._items[y][m]=!0)},w.prototype.has=function(y,m){return y===null?this._nullItems[m]===!0:!!this._items[y]&&this._items[y][m]===!0},w}();l.LocalNameSet=v},function(E,l,o){"use strict";var v=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d};Object.defineProperty(l,"__esModule",{value:!0});var w=o(9),y=o(3),m=o(0),a=function(){function p(){}return Object.defineProperty(p.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),p.prototype.addEventListener=function(n,i,u){u===void 0&&(u={passive:!1,once:!1,capture:!1});var s,f=v(m.eventTarget_flattenMore(u),3),d=f[0],c=f[1],t=f[2];i&&(s=y.Guard.isEventListener(i)?i:{handleEvent:i},m.eventTarget_addEventListener(this,{type:n,callback:s,capture:d,passive:c,once:t,removed:!1}))},p.prototype.removeEventListener=function(n,i,u){u===void 0&&(u={capture:!1});var s=m.eventTarget_flatten(u);if(i)for(var f=0;f=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(c,t){var e=typeof Symbol=="function"&&c[Symbol.iterator];if(!e)return c;var g,x,_=e.call(c),b=[];try{for(;(t===void 0||t-- >0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},y=this&&this.__spread||function(){for(var c=[],t=0;t",amp:"&",quot:'"',apos:"'"},y}();l.BaseReader=w},function(E,l,o){"use strict";var v=o(39);E.exports=v.DEFAULT=new v({include:[o(54)],explicit:[o(299),o(300),o(301)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(185);l.XMLBuilderImpl=v.XMLBuilderImpl;var w=o(304);l.XMLBuilderCBImpl=w.XMLBuilderCBImpl;var y=o(183);l.builder=y.builder,l.create=y.create,l.fragment=y.fragment,l.convert=y.convert;var m=o(309);l.createCB=m.createCB,l.fragmentCB=m.fragmentCB},function(E,l){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}E.exports=o},function(E,l,o){"use strict";var v={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,y=w&&!v.call({1:2},1);l.f=y?function(m){var a=w(this,m);return!!a&&a.enumerable}:v},function(E,l,o){var v=o(11),w=o(21);E.exports=function(y,m){try{w(v,y,m)}catch{v[y]=m}return m}},function(E,l,o){var v=o(44),w=o(118);(E.exports=function(y,m){return w[y]||(w[y]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(E,l,o){var v=o(121),w=o(84).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(y){return v(y,w)}},function(E,l,o){var v=o(47),w=Math.max,y=Math.min;E.exports=function(m,a){var p=v(m);return p<0?w(p+a,0):y(p,a)}},function(E,l){E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(E,l){l.f=Object.getOwnPropertySymbols},function(E,l,o){var v=o(8);E.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(E,l,o){var v=o(127);E.exports=function(w,y,m){if(v(w),y===void 0)return w;switch(m){case 0:return function(){return w.call(y)};case 1:return function(a){return w.call(y,a)};case 2:return function(a,p){return w.call(y,a,p)};case 3:return function(a,p,n){return w.call(y,a,p,n)}}return function(){return w.apply(y,arguments)}}},function(E,l,o){"use strict";var v=o(4),w=o(195),y=o(132),m=o(133),a=o(62),p=o(21),n=o(25),i=o(5),u=o(44),s=o(49),f=o(131),d=f.IteratorPrototype,c=f.BUGGY_SAFARI_ITERATORS,t=i("iterator"),e=function(){return this};E.exports=function(g,x,_,b,S,C,T){w(_,x,b);var N,I,R,P=function(ee){if(ee===S&&X)return X;if(!c&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new _(this,ee)}}return function(){return new _(this)}},G=x+" Iterator",J=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||S&&Y[S],X=!c&&z||P(S),H=x=="Array"&&Y.entries||z;if(H&&(N=y(H.call(new g)),d!==Object.prototype&&N.next&&(u||y(N)===d||(m?m(N,d):typeof N[t]!="function"&&p(N,t,e)),a(N,G,!0,!0),u&&(s[G]=e))),S=="values"&&z&&z.name!=="values"&&(J=!0,X=function(){return z.call(this)}),u&&!T||Y[t]===X||p(Y,t,X),s[x]=X,S)if(I={values:P("values"),keys:C?X:P("keys"),entries:P("entries")},T)for(R in I)(c||J||!(R in Y))&&n(Y,R,I[R]);else v({target:x,proto:!0,forced:c||J},I);return I}},function(E,l,o){"use strict";var v=o(4),w=o(13),y=o(59),m=o(83),a=o(26),p=o(24),n=o(134),i=o(5),u=o(63),s=o(28),f=u("slice"),d=s("slice",{ACCESSORS:!0,0:0,1:2}),c=i("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!f||!d},{slice:function(g,x){var _,b,S,C=p(this),T=a(C.length),N=m(g,T),I=m(x===void 0?T:x,T);if(y(C)&&(typeof(_=C.constructor)!="function"||_!==Array&&!y(_.prototype)?w(_)&&(_=_[c])===null&&(_=void 0):_=void 0,_===Array||_===void 0))return t.call(C,N,I);for(b=new(_===void 0?Array:_)(e(I-N,0)),S=0;N0&&(!g.multiline||g.multiline&&f[g.lastIndex-1]!==` -`)&&(b="(?: "+b+")",C=" "+C,S++),c=new RegExp("^(?:"+b+")",_)),s&&(c=new RegExp("^"+b+"$(?!\\s)",_)),i&&(d=g.lastIndex),t=a.call(x?c:g,C),x?t?(t.input=t.input.slice(S),t[0]=t[0].slice(S),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:i&&t&&(g.lastIndex=g.global?t.index+t[0].length:d),s&&t&&t.length>1&&p.call(t[0],c,function(){for(e=1;e]*>)/g,c=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,x){var _=x.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=x.REPLACE_KEEPS_$0,S=_?"$":"$0";return[function(T,N){var I=p(this),R=T?.[t];return R!==void 0?R.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!_&&b||typeof N=="string"&&N.indexOf(S)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var R=w(T),P=String(this),G=typeof N=="function";G||(N=String(N));var J=R.global;if(J){var Y=R.unicode;R.lastIndex=0}for(var z=[];;){var X=i(R,P);if(X===null||(z.push(X),!J))break;String(X[0])===""&&(R.lastIndex=n(P,m(R.lastIndex),Y))}for(var H,ee="",re=0,he=0;he=re&&(ee+=P.slice(re,ne)+k,re=ne+me.length)}return ee+P.slice(re)}];function C(T,N,I,R,P,G){var J=I+T.length,Y=R.length,z=c;return P!==void 0&&(P=y(P),z=d),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice(J);case"<":ee=P[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var he=f(re/10);return he===0?X:he<=Y?R[he-1]===void 0?H.charAt(1):R[he-1]+H.charAt(1):X}ee=R[re-1]}return ee===void 0?"":ee})}})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){this._items={},this._nullItems=[]}return w.prototype.copy=function(){var y=new w;for(var m in this._items)y._items[m]=this._items[m].slice(0);return y._nullItems=this._nullItems.slice(0),y},w.prototype.get=function(y,m){var a=m===null?this._nullItems:this._items[m]||null;if(a===null)return null;for(var p=null,n=0;n=N.length&&(N=void 0),{value:N&&N[P++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(N,I){var R=typeof Symbol=="function"&&N[Symbol.iterator];if(!R)return N;var P,G,J=R.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(P=J.next()).done;)Y.push(P.value)}catch(z){G={error:z}}finally{try{P&&!P.done&&(R=J.return)&&R.call(J)}finally{if(G)throw G.error}}return Y},y=this&&this.__spread||function(){for(var N=[],I=0;I=0;oe--)if((ge=W[oe]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(p.Guard.isNode(q.shadowAdjustedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(p.Guard.isNode(q.relatedTarget)&&p.Guard.isShadowRoot(s.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var de=0;de=0;oe--)(ge=W[oe]).shadowAdjustedTarget!==null?N._eventPhase=a.EventPhase.AtTarget:N._eventPhase=a.EventPhase.Capturing,x(ge,N,"capturing",P);for(oe=0;oe0&&(z=G[J-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,y([void 0],X)));if(!_(I,H,R,N,P)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),_(I,H,R,N,P),I._type=ee}}}function _(N,I,R,P,G){G===void 0&&(G={value:!1});for(var J=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[b++],done:!g}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(g,x){var _=typeof Symbol=="function"&&g[Symbol.iterator];if(!_)return g;var b,S,C=_.call(g),T=[];try{for(;(x===void 0||x-- >0)&&!(b=C.next()).done;)T.push(b.value)}catch(N){S={error:N}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(S)throw S.error}}return T};Object.defineProperty(l,"__esModule",{value:!0});var a=o(6),p=o(2),n=o(9),i=o(34),u=o(3),s=o(1),f=o(7),d=o(152),c=o(0),t=o(12),e=function(g){function x(){var _=g.call(this)||this;return _._children=new Set,_._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},_._contentType="application/xml",_._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},_._origin=null,_._type="xml",_._mode="no-quirks",_._documentElement=null,_._hasNamespaces=!1,_._nodeDocumentOverwrite=null,_}return w(x,g),Object.defineProperty(x.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(_){this._nodeDocumentOverwrite=_},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=c.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"URL",{get:function(){return d.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"doctype",{get:function(){var _,b;try{for(var S=y(this._children),C=S.next();!C.done;C=S.next()){var T=C.value;if(u.Guard.isDocumentTypeNode(T))return T}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),x.prototype.getElementsByTagName=function(_){return c.node_listOfElementsWithQualifiedName(_,this)},x.prototype.getElementsByTagNameNS=function(_,b){return c.node_listOfElementsWithNamespace(_,b,this)},x.prototype.getElementsByClassName=function(_){return c.node_listOfElementsWithClassNames(_,this)},x.prototype.createElement=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;this._type==="html"&&(_=_.toLowerCase());var S=null;b!==void 0&&(S=s.isString(b)?b:b.is);var C=this._type==="html"||this._contentType==="application/xhtml+xml"?f.namespace.HTML:null;return c.element_createAnElement(this,_,C,null,S,!0)},x.prototype.createElementNS=function(_,b,S){return c.document_internalCreateElementNS(this,_,b,S)},x.prototype.createDocumentFragment=function(){return c.create_documentFragment(this)},x.prototype.createTextNode=function(_){return c.create_text(this,_)},x.prototype.createCDATASection=function(_){if(this._type==="html")throw new n.NotSupportedError;if(_.indexOf("]]>")!==-1)throw new n.InvalidCharacterError;return c.create_cdataSection(this,_)},x.prototype.createComment=function(_){return c.create_comment(this,_)},x.prototype.createProcessingInstruction=function(_,b){if(!c.xml_isName(_))throw new n.InvalidCharacterError;if(b.indexOf("?>")!==-1)throw new n.InvalidCharacterError;return c.create_processingInstruction(this,_,b)},x.prototype.importNode=function(_,b){if(b===void 0&&(b=!1),u.Guard.isDocumentNode(_)||u.Guard.isShadowRoot(_))throw new n.NotSupportedError;return c.node_clone(_,this,b)},x.prototype.adoptNode=function(_){if(u.Guard.isDocumentNode(_))throw new n.NotSupportedError;if(u.Guard.isShadowRoot(_))throw new n.HierarchyRequestError;return c.document_adopt(_,this),_},x.prototype.createAttribute=function(_){if(!c.xml_isName(_))throw new n.InvalidCharacterError;return this._type==="html"&&(_=_.toLowerCase()),c.create_attr(this,_)},x.prototype.createAttributeNS=function(_,b){var S=m(c.namespace_validateAndExtract(_,b),3),C=S[0],T=S[1],N=S[2],I=c.create_attr(this,N);return I._namespace=C,I._namespacePrefix=T,I},x.prototype.createEvent=function(_){return c.event_createLegacyEvent(_)},x.prototype.createRange=function(){var _=c.create_range();return _._start=[this,0],_._end=[this,0],_},x.prototype.createNodeIterator=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_nodeIterator(_,_,!0);return C._whatToShow=b,C._iteratorCollection=c.create_nodeList(_),s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype.createTreeWalker=function(_,b,S){b===void 0&&(b=p.WhatToShow.All),S===void 0&&(S=null);var C=c.create_treeWalker(_,_);return C._whatToShow=b,s.isFunction(S)?(C._filter=c.create_nodeFilter(),C._filter.acceptNode=S):C._filter=S,C},x.prototype._getTheParent=function(_){return _._type==="load"?null:a.dom.window},x.prototype.getElementById=function(_){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(x.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),x.prototype.prepend=function(){for(var _=[],b=0;b=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(d,c){var t=typeof Symbol=="function"&&d[Symbol.iterator];if(!t)return d;var e,g,x=t.call(d),_=[];try{for(;(c===void 0||c-- >0)&&!(e=x.next()).done;)_.push(e.value)}catch(b){g={error:b}}finally{try{e&&!e.done&&(t=x.return)&&t.call(x)}finally{if(g)throw g.error}}return _};Object.defineProperty(l,"__esModule",{value:!0});var a=o(2),p=o(34),n=o(9),i=o(7),u=o(0),s=o(12),f=function(d){function c(){var t=d.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=u.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return w(c,d),Object.defineProperty(c.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return u.element_getAnAttributeValue(this,"id")},set:function(t){u.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"className",{get:function(){return u.element_getAnAttributeValue(this,"class")},set:function(t){u.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"classList",{get:function(){var t=u.element_getAnAttributeByName("class",this);return t===null&&(t=u.create_attr(this._nodeDocument,"class")),u.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"slot",{get:function(){return u.element_getAnAttributeValue(this,"slot")},set:function(t){u.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),c.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(c.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),c.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var x=y(this._attributeList),_=x.next();!_.done;_=x.next()){var b=_.value;g.push(b._qualifiedName)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},c.prototype.getAttribute=function(t){var e=u.element_getAnAttributeByName(t,this);return e?e._value:null},c.prototype.getAttributeNS=function(t,e){var g=u.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},c.prototype.setAttribute=function(t,e){if(!u.xml_isName(t))throw new n.InvalidCharacterError;this._namespace===i.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,x=0;x=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(2),a=o(71),p=o(0),n=o(12),i=function(u){function s(f){f===void 0&&(f="");var d=u.call(this,f)||this;return d._name="",d._assignedSlot=null,d}return w(s,u),Object.defineProperty(s.prototype,"wholeText",{get:function(){var f,d,c="";try{for(var t=y(p.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())c+=e.value._data}catch(g){f={error:g}}finally{try{e&&!e.done&&(d=t.return)&&d.call(t)}finally{if(f)throw f.error}}return c},enumerable:!0,configurable:!0}),s.prototype.splitText=function(f){return p.text_split(this,f)},Object.defineProperty(s.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),s._create=function(f,d){d===void 0&&(d="");var c=new s(d);return c._nodeDocument=f,c},s}(a.CharacterDataImpl);l.TextImpl=i,n.idl_defineConst(i.prototype,"_nodeType",m.NodeType.Text)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(){}return Object.defineProperty(w.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),w}();l.AbstractRangeImpl=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(m){this._activeFlag=!1,this._root=m,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(y.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),y}();l.TraverserImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(0),y=o(12),m=function(){function a(p,n){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=p,n&&(this._bubbles=n.bubbles||!1,this._cancelable=n.cancelable||!1,this._composedFlag=n.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(a.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),a.prototype.composedPath=function(){var p=[],n=this._path;if(n.length===0)return p;var i=this._currentTarget;if(i===null)throw new Error("Event currentTarget is null.");p.push(i);for(var u=0,s=0,f=n.length-1;f>=0;){if(n[f].rootOfClosedTree&&s++,n[f].invocationTarget===i){u=f;break}n[f].slotInClosedTree&&s--,f--}var d=s,c=s;for(f=u-1;f>=0;)n[f].rootOfClosedTree&&d++,d<=c&&p.unshift(n[f].invocationTarget),n[f].slotInClosedTree&&--d0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(6),m=o(3),a=o(1),p=o(99),n=o(73),i=o(17),u=o(173),s=o(30),f=o(52),d=o(37);l.document_elementInterface=function(c,t){return p.ElementImpl},l.document_internalCreateElementNS=function(c,t,e,g){var x=v(u.namespace_validateAndExtract(t,e),3),_=x[0],b=x[1],S=x[2],C=null;return g!==void 0&&(C=a.isString(g)?g:g.is),f.element_createAnElement(c,S,_,b,C,!0)},l.document_adopt=function(c,t){var e,g;if(c._nodeDocument!==t||c._parent!==null){var x=c._nodeDocument;if(c._parent&&d.mutation_remove(c,c._parent),t!==x)for(var _=i.tree_getFirstDescendantNode(c,!0,!0);_!==null;){if(_._nodeDocument=t,m.Guard.isElementNode(_))try{for(var b=(e=void 0,w(_._attributeList._asArray())),S=b.next();!S.done;S=b.next())S.value._nodeDocument=t}catch(C){e={error:C}}finally{try{S&&!S.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}y.dom.features.customElements&&m.Guard.isElementNode(_)&&_._customElementState==="custom"&&n.customElement_enqueueACustomElementCallbackReaction(_,"adoptedCallback",[x,t]),y.dom.features.steps&&s.dom_runAdoptingSteps(_,x),_=i.tree_getNextDescendantNode(c,_,!0,!0)}}}},function(E,l,o){"use strict";var v=this&&this.__values||function(i){var u=typeof Symbol=="function"&&Symbol.iterator,s=u&&i[u],f=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&f>=i.length&&(i=void 0),{value:i&&i[f++],done:!i}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(17),p=o(51),n=o(30);l.characterData_replaceData=function(i,u,s,f){var d,c,t=a.tree_nodeLength(i);if(u>t)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+t+", Node is "+i.nodeName+".");u+s>t&&(s=t-u),w.dom.features.mutationObservers&&p.observer_queueMutationRecord("characterData",i,null,null,i._data,[],[],null,null);var e=i._data.substring(0,u)+f+i._data.substring(u+s);i._data=e;try{for(var g=v(w.dom.rangeList),x=g.next();!x.done;x=g.next()){var _=x.value;_._start[0]===i&&_._start[1]>u&&_._start[1]<=u+s&&(_._start[1]=u),_._end[0]===i&&_._end[1]>u&&_._end[1]<=u+s&&(_._end[1]=u),_._start[0]===i&&_._start[1]>u+s&&(_._start[1]+=f.length-s),_._end[0]===i&&_._end[1]>u+s&&(_._end[1]+=f.length-s)}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}w.dom.features.steps&&y.Guard.isTextNode(i)&&i._parent!==null&&n.dom_runChildTextContentChangeSteps(i._parent)},l.characterData_substringData=function(i,u,s){var f=a.tree_nodeLength(i);if(u>f)throw new m.IndexSizeError("Offset exceeds character data length. Offset: "+u+", Length: "+f+", Node is "+i.nodeName+".");return u+s>f?i._data.substr(u):i._data.substr(u,s)}},function(E,l,o){"use strict";var v=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},w=this&&this.__spread||function(){for(var n=[],i=0;i=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(7);function a(n){var i=m.string.splitAStringOnASCIIWhitespace(n);return new Set(i)}function p(n){return w(n).join(" ")}l.orderedSet_parse=a,l.orderedSet_serialize=p,l.orderedSet_sanitize=function(n){return p(a(n))},l.orderedSet_contains=function(n,i,u){var s,f,d,c;try{for(var t=y(i),e=t.next();!e.done;e=t.next()){var g=e.value,x=!1;try{for(var _=(d=void 0,y(n)),b=_.next();!b.done;b=_.next()){var S=b.value;if(u){if(S===g){x=!0;break}}else if(S.toUpperCase()===g.toUpperCase()){x=!0;break}}}catch(C){d={error:C}}finally{try{b&&!b.done&&(c=_.return)&&c.call(_)}finally{if(d)throw d.error}}if(!x)return!1}}catch(C){s={error:C}}finally{try{e&&!e.done&&(f=t.return)&&f.call(t)}finally{if(s)throw s.error}}return!0}},function(E,l,o){"use strict";o(179),Object.defineProperty(l,"__esModule",{value:!0});var v=o(262),w=o(110),y=o(1);w.dom.setFeatures(!1),l.createDocument=function(){var m=new v.DOMImplementation().createDocument(null,"root",null);return m.documentElement&&m.removeChild(m.documentElement),m},l.sanitizeInput=function(m,a){if(m==null)return m;if(a===void 0)return m+"";var p="";m+="";for(var n=0;n=32&&i<=55295||i>=57344&&i<=65533)p+=m.charAt(n);else if(i>=55296&&i<=56319&&n=56320&&u<=57343?(i=1024*(i-55296)+u-56320+65536,p+=String.fromCodePoint(i),n++):p+=y.isString(a)?a:a(m.charAt(n),n,m)}else p+=y.isString(a)?a:a(m.charAt(n),n,m)}return p}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(1),w=o(153);l.AbortController=w.AbortControllerImpl;var y=o(154);l.AbortSignal=y.AbortSignalImpl;var m=o(102);l.AbstractRange=m.AbstractRangeImpl;var a=o(157);l.Attr=a.AttrImpl;var p=o(158);l.CDATASection=p.CDATASectionImpl;var n=o(71);l.CharacterData=n.CharacterDataImpl;var i=o(263),u=o(159);l.Comment=u.CommentImpl;var s=o(171);l.CustomEvent=s.CustomEventImpl;var f=o(100);l.DocumentFragment=f.DocumentFragmentImpl;var d=o(98);l.Document=d.DocumentImpl;var c=o(264),t=o(155);l.DocumentType=t.DocumentTypeImpl;var e=o(6);l.dom=e.dom;var g=o(148);l.DOMImplementation=g.DOMImplementationImpl;var x=o(170);l.DOMTokenList=x.DOMTokenListImpl;var _=o(99);l.Element=_.ElementImpl;var b=o(104);l.Event=b.EventImpl;var S=o(70);l.EventTarget=S.EventTargetImpl;var C=o(161);l.HTMLCollection=C.HTMLCollectionImpl;var T=o(265);l.MutationObserver=T.MutationObserverImpl;var N=o(169);l.MutationRecord=N.MutationRecordImpl;var I=o(164);l.NamedNodeMap=I.NamedNodeMapImpl;var R=o(168);l.NodeFilter=R.NodeFilterImpl;var P=o(34);l.Node=P.NodeImpl;var G=o(166);l.NodeIterator=G.NodeIteratorImpl;var J=o(162);l.NodeList=J.NodeListImpl;var Y=o(163);l.NodeListStatic=Y.NodeListStaticImpl;var z=o(266),X=o(267),H=o(268),ee=o(160);l.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=o(165);l.Range=re.RangeImpl;var he=o(156);l.ShadowRoot=he.ShadowRootImpl;var me=o(269),ne=o(270);l.StaticRange=ne.StaticRangeImpl;var Q=o(101);l.Text=Q.TextImpl;var ie=o(103);l.Traverser=ie.TraverserImpl;var ue=o(167);l.TreeWalker=ue.TreeWalkerImpl;var ce=o(149);l.Window=ce.WindowImpl;var k=o(151);l.XMLDocument=k.XMLDocumentImpl,v.applyMixin(_.ElementImpl,i.ChildNodeImpl),v.applyMixin(n.CharacterDataImpl,i.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,i.ChildNodeImpl),v.applyMixin(d.DocumentImpl,c.DocumentOrShadowRootImpl),v.applyMixin(he.ShadowRootImpl,c.DocumentOrShadowRootImpl),v.applyMixin(_.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(n.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(d.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(d.DocumentImpl,H.ParentNodeImpl),v.applyMixin(f.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(_.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,me.SlotableImpl),v.applyMixin(_.ElementImpl,me.SlotableImpl)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(l.TokenType||(l.TokenType={}))},function(E,l,o){"use strict";o(64),o(20),o(66);var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){var u=this,s=this._builderOptions,f=null;return y.isFunction(i)?f=this.parse(n,i.apply(this)):y.isArray(i)||y.isSet(i)?y.forEachArray(i,function(d){return f=u.parse(n,d)},this):y.isMap(i)||y.isObject(i)?y.forEachObject(i,function(d,c){if(y.isFunction(c)&&(c=c.apply(u)),s.ignoreConverters||d.indexOf(s.convert.att)!==0)if(s.ignoreConverters||d.indexOf(s.convert.text)!==0)if(s.ignoreConverters||d.indexOf(s.convert.cdata)!==0)if(s.ignoreConverters||d.indexOf(s.convert.comment)!==0)if(s.ignoreConverters||d.indexOf(s.convert.ins)!==0){if(!((y.isArray(c)||y.isSet(c))&&y.isEmpty(c))){if((y.isMap(c)||y.isObject(c))&&y.isEmpty(c))f=u.element(n,void 0,u.sanitize(d))||f;else if(s.keepNullNodes||c!=null)if(y.isArray(c)||y.isSet(c))y.forEachArray(c,function(_){var b={};b[d]=_,f=u.parse(n,b)},u);else if(y.isMap(c)||y.isObject(c))(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.parse(t,c));else if(c!=null&&c!==""){var t;(t=u.element(n,void 0,u.sanitize(d)))&&(f=t,u.text(t,u._decodeText(u.sanitize(c))))}else f=u.element(n,void 0,u.sanitize(d))||f}}else if(y.isString(c)){var e=c.indexOf(" "),g=e===-1?c:c.substr(0,e),x=e===-1?"":c.substr(e+1);f=u.instruction(n,u.sanitize(g),u.sanitize(x))||f}else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){var b=_.indexOf(" "),S=b===-1?_:_.substr(0,b),C=b===-1?"":_.substr(b+1);f=u.instruction(n,u.sanitize(S),u.sanitize(C))||f},u):y.forEachObject(c,function(_,b){return f=u.instruction(n,u.sanitize(_),u.sanitize(b))||f},u);else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.comment(n,u.sanitize(_))||f},u):f=u.comment(n,u.sanitize(c))||f;else y.isArray(c)||y.isSet(c)?y.forEachArray(c,function(_){return f=u.cdata(n,u.sanitize(_))||f},u):f=u.cdata(n,u.sanitize(c))||f;else f=y.isMap(c)||y.isObject(c)?u.parse(n,c):u.text(n,u._decodeText(u.sanitize(c)))||f;else if(d===s.convert.att){if(y.isArray(c)||y.isSet(c))throw new Error("Invalid attribute: "+c.toString()+". "+n._debugInfo());y.forEachObject(c,function(_,b){f=u.attribute(n,void 0,u.sanitize(_),u._decodeAttributeValue(u.sanitize(b)))||f})}else f=u.attribute(n,void 0,u.sanitize(d.substr(s.convert.att.length)),u._decodeAttributeValue(u.sanitize(c)))||f},this):(s.keepNullNodes||i!=null)&&(f=this.text(n,this._decodeText(this.sanitize(i)))||f),f||n},p}(o(75).BaseReader);l.ObjectReader=m},function(E,l,o){"use strict";var v=o(39);E.exports=new v({explicit:[o(286),o(287),o(288)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(w){this.level=0,this._builderOptions=w,this._writerOptions=w};l.BaseCBWriter=v},function(E,l,o){var v=o(16),w=o(8),y=o(116);E.exports=!v&&!w(function(){return Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a!=7})},function(E,l,o){var v=o(11),w=o(13),y=v.document,m=w(y)&&w(y.createElement);E.exports=function(a){return m?y.createElement(a):{}}},function(E,l,o){var v=o(118),w=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(y){return w.call(y)}),E.exports=v.inspectSource},function(E,l,o){var v=o(11),w=o(80),y=v["__core-js_shared__"]||w("__core-js_shared__",{});E.exports=y},function(E,l,o){var v=o(14),w=o(187),y=o(55),m=o(15);E.exports=function(a,p){for(var n=w(p),i=m.f,u=y.f,s=0;su;)v(i,n=p[u++])&&(~y(s,n)||s.push(n));return s}},function(E,l,o){var v=o(24),w=o(26),y=o(83),m=function(a){return function(p,n,i){var u,s=v(p),f=w(s.length),d=y(i,f);if(a&&n!=n){for(;f>d;)if((u=s[d++])!=u)return!0}else for(;f>d;d++)if((a||d in s)&&s[d]===n)return a||d||0;return!a&&-1}};E.exports={includes:m(!0),indexOf:m(!1)}},function(E,l,o){var v=o(8),w=/#|\.prototype\./,y=function(i,u){var s=a[m(i)];return s==n||s!=p&&(typeof u=="function"?v(u):!!u)},m=y.normalize=function(i){return String(i).replace(w,".").toLowerCase()},a=y.data={},p=y.NATIVE="N",n=y.POLYFILL="P";E.exports=y},function(E,l,o){var v=o(86);E.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(E,l,o){var v=o(5);l.f=v},function(E,l,o){var v=o(120),w=o(14),y=o(125),m=o(15).f;E.exports=function(a){var p=v.Symbol||(v.Symbol={});w(p,a)||m(p,a,{value:y.f(a)})}},function(E,l){E.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},function(E,l,o){var v=o(13),w=o(59),y=o(5)("species");E.exports=function(m,a){var p;return w(m)&&(typeof(p=m.constructor)!="function"||p!==Array&&!w(p.prototype)?v(p)&&(p=p[y])===null&&(p=void 0):p=void 0),new(p===void 0?Array:p)(a===0?0:a)}},function(E,l,o){var v,w,y=o(11),m=o(193),a=y.process,p=a&&a.versions,n=p&&p.v8;n?w=(v=n.split("."))[0]+v[1]:m&&(!(v=m.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=m.match(/Chrome\/(\d+)/))&&(w=v[1]),E.exports=w&&+w},function(E,l,o){var v=o(5),w=o(60),y=o(15),m=v("unscopables"),a=Array.prototype;a[m]==null&&y.f(a,m,{configurable:!0,value:w(null)}),E.exports=function(p){a[m][p]=!0}},function(E,l,o){"use strict";var v,w,y,m=o(132),a=o(21),p=o(14),n=o(5),i=o(44),u=n("iterator"),s=!1;[].keys&&("next"in(y=[].keys())?(w=m(m(y)))!==Object.prototype&&(v=w):s=!0),v==null&&(v={}),i||p(v,u)||a(v,u,function(){return this}),E.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:s}},function(E,l,o){var v=o(14),w=o(27),y=o(57),m=o(196),a=y("IE_PROTO"),p=Object.prototype;E.exports=m?Object.getPrototypeOf:function(n){return n=w(n),v(n,a)?n[a]:typeof n.constructor=="function"&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?p:null}},function(E,l,o){var v=o(18),w=o(197);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var y,m=!1,a={};try{(y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),m=a instanceof Array}catch{}return function(p,n){return v(p),w(n),m?y.call(p,n):p.__proto__=n,p}}():void 0)},function(E,l,o){"use strict";var v=o(56),w=o(15),y=o(40);E.exports=function(m,a,p){var n=v(a);n in m?w.f(m,n,y(0,p)):m[n]=p}},function(E,l,o){var v=o(90),w=o(42),y=o(5)("toStringTag"),m=w(function(){return arguments}())=="Arguments";E.exports=v?w:function(a){var p,n,i;return a===void 0?"Undefined":a===null?"Null":typeof(n=function(u,s){try{return u[s]}catch{}}(p=Object(a),y))=="string"?n:m?w(p):(i=w(p))=="Object"&&typeof p.callee=="function"?"Arguments":i}},function(E,l,o){"use strict";var v=o(18);E.exports=function(){var w=v(this),y="";return w.global&&(y+="g"),w.ignoreCase&&(y+="i"),w.multiline&&(y+="m"),w.dotAll&&(y+="s"),w.unicode&&(y+="u"),w.sticky&&(y+="y"),y}},function(E,l,o){var v=o(47),w=o(35),y=function(m){return function(a,p){var n,i,u=String(w(a)),s=v(p),f=u.length;return s<0||s>=f?m?"":void 0:(n=u.charCodeAt(s))<55296||n>56319||s+1===f||(i=u.charCodeAt(s+1))<56320||i>57343?m?u.charAt(s):n:m?u.slice(s,s+2):i-56320+(n-55296<<10)+65536}};E.exports={codeAt:y(!1),charAt:y(!0)}},function(E,l,o){var v=o(4),w=o(27),y=o(61);v({target:"Object",stat:!0,forced:o(8)(function(){y(1)})},{keys:function(m){return y(w(m))}})},function(E,l,o){"use strict";var v=o(4),w=o(11),y=o(123),m=o(25),a=o(140),p=o(141),n=o(142),i=o(13),u=o(8),s=o(208),f=o(62),d=o(209);E.exports=function(c,t,e){var g=c.indexOf("Map")!==-1,x=c.indexOf("Weak")!==-1,_=g?"set":"add",b=w[c],S=b&&b.prototype,C=b,T={},N=function(Y){var z=S[Y];m(S,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return x&&!i(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(x&&!i(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(y(c,typeof b!="function"||!(x||S.forEach&&!u(function(){new b().entries().next()}))))C=e.getConstructor(t,c,g,_),a.REQUIRED=!0;else if(y(c,!0)){var I=new C,R=I[_](x?{}:-0,1)!=I,P=u(function(){I.has(1)}),G=s(function(Y){new b(Y)}),J=!x&&u(function(){for(var Y=new b,z=5;z--;)Y[_](z,z);return!Y.has(-0)});G||((C=t(function(Y,z){n(Y,C,c);var X=d(new b,Y,C);return z!=null&&p(z,X[_],X,g),X})).prototype=S,S.constructor=C),(P||J)&&(N("delete"),N("has"),g&&N("get")),(J||R)&&N(_),x&&S.clear&&delete S.clear}return T[c]=C,v({global:!0,forced:C!=b},T),f(C,c),x||e.setStrong(C,c,g),C}},function(E,l,o){var v=o(45),w=o(13),y=o(14),m=o(15).f,a=o(58),p=o(204),n=a("meta"),i=0,u=Object.isExtensible||function(){return!0},s=function(d){m(d,n,{value:{objectID:"O"+ ++i,weakData:{}}})},f=E.exports={REQUIRED:!1,fastKey:function(d,c){if(!w(d))return typeof d=="symbol"?d:(typeof d=="string"?"S":"P")+d;if(!y(d,n)){if(!u(d))return"F";if(!c)return"E";s(d)}return d[n].objectID},getWeakData:function(d,c){if(!y(d,n)){if(!u(d))return!0;if(!c)return!1;s(d)}return d[n].weakData},onFreeze:function(d){return p&&f.REQUIRED&&u(d)&&!y(d,n)&&s(d),d}};v[n]=!0},function(E,l,o){var v=o(18),w=o(205),y=o(26),m=o(87),a=o(206),p=o(207),n=function(i,u){this.stopped=i,this.result=u};(E.exports=function(i,u,s,f,d){var c,t,e,g,x,_,b,S=m(u,s,f?2:1);if(d)c=i;else{if(typeof(t=a(i))!="function")throw TypeError("Target is not iterable");if(w(t)){for(e=0,g=y(i.length);g>e;e++)if((x=f?S(v(b=i[e])[0],b[1]):S(i[e]))&&x instanceof n)return x;return new n(!1)}c=t.call(i)}for(_=c.next;!(b=_.call(c)).done;)if(typeof(x=p(c,S,b.value,f))=="object"&&x&&x instanceof n)return x;return new n(!1)}).stop=function(i){return new n(!0,i)}},function(E,l){E.exports=function(o,v,w){if(!(o instanceof v))throw TypeError("Incorrect "+(w?w+" ":"")+"invocation");return o}},function(E,l,o){"use strict";var v=o(15).f,w=o(60),y=o(210),m=o(87),a=o(142),p=o(141),n=o(88),i=o(211),u=o(16),s=o(140).fastKey,f=o(43),d=f.set,c=f.getterFor;E.exports={getConstructor:function(t,e,g,x){var _=t(function(T,N){a(T,_,e),d(T,{type:e,index:w(null),first:void 0,last:void 0,size:0}),u||(T.size=0),N!=null&&p(N,T[x],T,g)}),b=c(e),S=function(T,N,I){var R,P,G=b(T),J=C(T,N);return J?J.value=I:(G.last=J={index:P=s(N,!0),key:N,value:I,previous:R=G.last,next:void 0,removed:!1},G.first||(G.first=J),R&&(R.next=J),u?G.size++:T.size++,P!=="F"&&(G.index[P]=J)),T},C=function(T,N){var I,R=b(T),P=s(N);if(P!=="F")return R.index[P];for(I=R.first;I;I=I.next)if(I.key==N)return I};return y(_.prototype,{clear:function(){for(var T=b(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,u?T.size=0:this.size=0},delete:function(T){var N=b(this),I=C(this,T);if(I){var R=I.next,P=I.previous;delete N.index[I.index],I.removed=!0,P&&(P.next=R),R&&(R.previous=P),N.first==I&&(N.first=R),N.last==I&&(N.last=P),u?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=b(this),R=m(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(R(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!C(this,T)}}),y(_.prototype,g?{get:function(T){var N=C(this,T);return N&&N.value},set:function(T,N){return S(this,T===0?0:T,N)}}:{add:function(T){return S(this,T=T===0?0:T,T)}}),u&&v(_.prototype,"size",{get:function(){return b(this).size}}),_},setStrong:function(t,e,g){var x=e+" Iterator",_=c(e),b=c(x);n(t,e,function(S,C){d(this,{type:x,target:S,state:_(S),kind:C,last:void 0})},function(){for(var S=b(this),C=S.kind,T=S.last;T&&T.removed;)T=T.previous;return S.target&&(S.last=T=T?T.next:S.state.first)?C=="keys"?{value:T.key,done:!1}:C=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(S.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),i(e)}}},function(E,l,o){"use strict";var v,w=o(4),y=o(55).f,m=o(26),a=o(222),p=o(35),n=o(224),i=o(44),u="".endsWith,s=Math.min,f=n("endsWith");w({target:"String",proto:!0,forced:!!(i||f||(v=y(String.prototype,"endsWith"),!v||v.writable))&&!f},{endsWith:function(d){var c=String(p(this));a(d);var t=arguments.length>1?arguments[1]:void 0,e=m(c.length),g=t===void 0?e:s(m(t),e),x=String(d);return u?u.call(c,x,g):c.slice(g-x.length,g)===x}})},function(E,l,o){"use strict";(function(v){var w=o(229),y=o(230),m=o(231);function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function p(k,D){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|k}function c(k,D){if(n.isBuffer(k))return k.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(k)||k instanceof ArrayBuffer))return k.byteLength;typeof k!="string"&&(k=""+k);var L=k.length;if(L===0)return 0;for(var B=!1;;)switch(D){case"ascii":case"latin1":case"binary":return L;case"utf8":case"utf-8":case void 0:return ie(k).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*L;case"hex":return L>>>1;case"base64":return ue(k).length;default:if(B)return ie(k).length;D=(""+D).toLowerCase(),B=!0}}function t(k,D,L){var B=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((L===void 0||L>this.length)&&(L=this.length),L<=0)||(L>>>=0)<=(D>>>=0))return"";for(k||(k="utf8");;)switch(k){case"hex":return J(this,D,L);case"utf8":case"utf-8":return R(this,D,L);case"ascii":return P(this,D,L);case"latin1":case"binary":return G(this,D,L);case"base64":return I(this,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,D,L);default:if(B)throw new TypeError("Unknown encoding: "+k);k=(k+"").toLowerCase(),B=!0}}function e(k,D,L){var B=k[D];k[D]=k[L],k[L]=B}function g(k,D,L,B,M){if(k.length===0)return-1;if(typeof L=="string"?(B=L,L=0):L>2147483647?L=2147483647:L<-2147483648&&(L=-2147483648),L=+L,isNaN(L)&&(L=M?0:k.length-1),L<0&&(L=k.length+L),L>=k.length){if(M)return-1;L=k.length-1}else if(L<0){if(!M)return-1;L=0}if(typeof D=="string"&&(D=n.from(D,B)),n.isBuffer(D))return D.length===0?-1:x(k,D,L,B,M);if(typeof D=="number")return D&=255,n.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(k,D,L):Uint8Array.prototype.lastIndexOf.call(k,D,L):x(k,[D],L,B,M);throw new TypeError("val must be string, number or Buffer")}function x(k,D,L,B,M){var q,W=1,oe=k.length,de=D.length;if(B!==void 0&&((B=String(B).toLowerCase())==="ucs2"||B==="ucs-2"||B==="utf16le"||B==="utf-16le")){if(k.length<2||D.length<2)return-1;W=2,oe/=2,de/=2,L/=2}function ge(tt,Je){return W===1?tt[Je]:tt.readUInt16BE(Je*W)}if(M){var Se=-1;for(q=L;qoe&&(L=oe-de),q=L;q>=0;q--){for(var Be=!0,Le=0;LeM&&(B=M):B=M;var q=D.length;if(q%2!=0)throw new TypeError("Invalid hex string");B>q/2&&(B=q/2);for(var W=0;W>8,de=W%256,ge.push(de),ge.push(oe);return ge}(D,k.length-L),k,L,B)}function I(k,D,L){return D===0&&L===k.length?w.fromByteArray(k):w.fromByteArray(k.slice(D,L))}function R(k,D,L){L=Math.min(k.length,L);for(var B=[],M=D;M239?4:ge>223?3:ge>191?2:1;if(M+Be<=L)switch(Be){case 1:ge<128&&(Se=ge);break;case 2:(192&(q=k[M+1]))==128&&(de=(31&ge)<<6|63&q)>127&&(Se=de);break;case 3:q=k[M+1],W=k[M+2],(192&q)==128&&(192&W)==128&&(de=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(de<55296||de>57343)&&(Se=de);break;case 4:q=k[M+1],W=k[M+2],oe=k[M+3],(192&q)==128&&(192&W)==128&&(192&oe)==128&&(de=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&oe)>65535&&de<1114112&&(Se=de)}Se===null?(Se=65533,Be=1):Se>65535&&(Se-=65536,B.push(Se>>>10&1023|55296),Se=56320|1023&Se),B.push(Se),M+=Be}return function(Le){var tt=Le.length;if(tt<=4096)return String.fromCharCode.apply(String,Le);for(var Je="",we=0;we0&&(k=this.toString("hex",0,D).match(/.{2}/g).join(" "),this.length>D&&(k+=" ... ")),""},n.prototype.compare=function(k,D,L,B,M){if(!n.isBuffer(k))throw new TypeError("Argument must be a Buffer");if(D===void 0&&(D=0),L===void 0&&(L=k?k.length:0),B===void 0&&(B=0),M===void 0&&(M=this.length),D<0||L>k.length||B<0||M>this.length)throw new RangeError("out of range index");if(B>=M&&D>=L)return 0;if(B>=M)return-1;if(D>=L)return 1;if(this===k)return 0;for(var q=(M>>>=0)-(B>>>=0),W=(L>>>=0)-(D>>>=0),oe=Math.min(q,W),de=this.slice(B,M),ge=k.slice(D,L),Se=0;SeM)&&(L=M),k.length>0&&(L<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var q=!1;;)switch(B){case"hex":return _(this,k,D,L);case"utf8":case"utf-8":return b(this,k,D,L);case"ascii":return S(this,k,D,L);case"latin1":case"binary":return C(this,k,D,L);case"base64":return T(this,k,D,L);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,k,D,L);default:if(q)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),q=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function P(k,D,L){var B="";L=Math.min(k.length,L);for(var M=D;MB)&&(L=B);for(var M="",q=D;qL)throw new RangeError("Trying to access beyond buffer length")}function X(k,D,L,B,M,q){if(!n.isBuffer(k))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>M||Dk.length)throw new RangeError("Index out of range")}function H(k,D,L,B){D<0&&(D=65535+D+1);for(var M=0,q=Math.min(k.length-L,2);M>>8*(B?M:1-M)}function ee(k,D,L,B){D<0&&(D=4294967295+D+1);for(var M=0,q=Math.min(k.length-L,4);M>>8*(B?M:3-M)&255}function re(k,D,L,B,M,q){if(L+B>k.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("Index out of range")}function he(k,D,L,B,M){return M||re(k,0,L,4),y.write(k,D,L,B,23,4),L+4}function me(k,D,L,B,M){return M||re(k,0,L,8),y.write(k,D,L,B,52,8),L+8}n.prototype.slice=function(k,D){var L,B=this.length;if((k=~~k)<0?(k+=B)<0&&(k=0):k>B&&(k=B),(D=D===void 0?B:~~D)<0?(D+=B)<0&&(D=0):D>B&&(D=B),D0&&(M*=256);)B+=this[k+--D]*M;return B},n.prototype.readUInt8=function(k,D){return D||z(k,1,this.length),this[k]},n.prototype.readUInt16LE=function(k,D){return D||z(k,2,this.length),this[k]|this[k+1]<<8},n.prototype.readUInt16BE=function(k,D){return D||z(k,2,this.length),this[k]<<8|this[k+1]},n.prototype.readUInt32LE=function(k,D){return D||z(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},n.prototype.readUInt32BE=function(k,D){return D||z(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},n.prototype.readIntLE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=this[k],M=1,q=0;++q=(M*=128)&&(B-=Math.pow(2,8*D)),B},n.prototype.readIntBE=function(k,D,L){k|=0,D|=0,L||z(k,D,this.length);for(var B=D,M=1,q=this[k+--B];B>0&&(M*=256);)q+=this[k+--B]*M;return q>=(M*=128)&&(q-=Math.pow(2,8*D)),q},n.prototype.readInt8=function(k,D){return D||z(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},n.prototype.readInt16LE=function(k,D){D||z(k,2,this.length);var L=this[k]|this[k+1]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt16BE=function(k,D){D||z(k,2,this.length);var L=this[k+1]|this[k]<<8;return 32768&L?4294901760|L:L},n.prototype.readInt32LE=function(k,D){return D||z(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},n.prototype.readInt32BE=function(k,D){return D||z(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},n.prototype.readFloatLE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!0,23,4)},n.prototype.readFloatBE=function(k,D){return D||z(k,4,this.length),y.read(this,k,!1,23,4)},n.prototype.readDoubleLE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!0,52,8)},n.prototype.readDoubleBE=function(k,D){return D||z(k,8,this.length),y.read(this,k,!1,52,8)},n.prototype.writeUIntLE=function(k,D,L,B){k=+k,D|=0,L|=0,B||X(this,k,D,L,Math.pow(2,8*L)-1,0);var M=1,q=0;for(this[D]=255&k;++q=0&&(q*=256);)this[D+M]=k/q&255;return D+L},n.prototype.writeUInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,255,0),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),this[D]=255&k,D+1},n.prototype.writeUInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeUInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeUInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D+3]=k>>>24,this[D+2]=k>>>16,this[D+1]=k>>>8,this[D]=255&k):ee(this,k,D,!0),D+4},n.prototype.writeUInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeIntLE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=0,W=1,oe=0;for(this[D]=255&k;++q>0)-oe&255;return D+L},n.prototype.writeIntBE=function(k,D,L,B){if(k=+k,D|=0,!B){var M=Math.pow(2,8*L-1);X(this,k,D,L,M-1,-M)}var q=L-1,W=1,oe=0;for(this[D+q]=255&k;--q>=0&&(W*=256);)k<0&&oe===0&&this[D+q+1]!==0&&(oe=1),this[D+q]=(k/W>>0)-oe&255;return D+L},n.prototype.writeInt8=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,1,127,-128),n.TYPED_ARRAY_SUPPORT||(k=Math.floor(k)),k<0&&(k=255+k+1),this[D]=255&k,D+1},n.prototype.writeInt16LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8):H(this,k,D,!0),D+2},n.prototype.writeInt16BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>8,this[D+1]=255&k):H(this,k,D,!1),D+2},n.prototype.writeInt32LE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[D]=255&k,this[D+1]=k>>>8,this[D+2]=k>>>16,this[D+3]=k>>>24):ee(this,k,D,!0),D+4},n.prototype.writeInt32BE=function(k,D,L){return k=+k,D|=0,L||X(this,k,D,4,2147483647,-2147483648),k<0&&(k=4294967295+k+1),n.TYPED_ARRAY_SUPPORT?(this[D]=k>>>24,this[D+1]=k>>>16,this[D+2]=k>>>8,this[D+3]=255&k):ee(this,k,D,!1),D+4},n.prototype.writeFloatLE=function(k,D,L){return he(this,k,D,!0,L)},n.prototype.writeFloatBE=function(k,D,L){return he(this,k,D,!1,L)},n.prototype.writeDoubleLE=function(k,D,L){return me(this,k,D,!0,L)},n.prototype.writeDoubleBE=function(k,D,L){return me(this,k,D,!1,L)},n.prototype.copy=function(k,D,L,B){if(L||(L=0),B||B===0||(B=this.length),D>=k.length&&(D=k.length),D||(D=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),k.length-D=0;--M)k[M+D]=this[M+L];else if(q<1e3||!n.TYPED_ARRAY_SUPPORT)for(M=0;M>>=0,L=L===void 0?this.length:L>>>0,k||(k=0),typeof k=="number")for(q=D;q55295&&L<57344){if(!M){if(L>56319){(D-=3)>-1&&q.push(239,191,189);continue}if(W+1===B){(D-=3)>-1&&q.push(239,191,189);continue}M=L;continue}if(L<56320){(D-=3)>-1&&q.push(239,191,189),M=L;continue}L=65536+(M-55296<<10|L-56320)}else M&&(D-=3)>-1&&q.push(239,191,189);if(M=null,L<128){if((D-=1)<0)break;q.push(L)}else if(L<2048){if((D-=2)<0)break;q.push(L>>6|192,63&L|128)}else if(L<65536){if((D-=3)<0)break;q.push(L>>12|224,L>>6&63|128,63&L|128)}else{if(!(L<1114112))throw new Error("Invalid code point");if((D-=4)<0)break;q.push(L>>18|240,L>>12&63|128,L>>6&63|128,63&L|128)}}return q}function ue(k){return w.toByteArray(function(D){if((D=function(L){return L.trim?L.trim():L.replace(/^\s+|\s+$/g,"")}(D).replace(ne,"")).length<2)return"";for(;D.length%4!=0;)D+="=";return D}(k))}function ce(k,D,L,B){for(var M=0;M=D.length||M>=k.length);++M)D[M+L]=k[M];return M}}).call(this,o(78))},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isASCIIByte=function(v){return v>=0&&v<=127}},function(E,l,o){"use strict";var v=this&&this.__read||function(y,m){var a=typeof Symbol=="function"&&y[Symbol.iterator];if(!a)return y;var p,n,i=a.call(y),u=[];try{for(;(m===void 0||m-- >0)&&!(p=i.next()).done;)u.push(p.value)}catch(s){n={error:s}}finally{try{p&&!p.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}return u},w=this&&this.__spread||function(){for(var y=[],m=0;m=65&&a<=90&&(y[m]=a+32)}},l.byteUppercase=function(y){for(var m=0;m=97&&a<=122&&(y[m]=a-32)}},l.byteCaseInsensitiveMatch=function(y,m){if(y.length!==m.length)return!1;for(var a=0;a=65&&p<=90&&(p+=32),n>=65&&n<=90&&(n+=32),p!==n)return!1}return!0},l.startsWith=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;if(y[a]!==m[a])return!1;a++}},l.byteLessThan=function(y,m){for(var a=0;;){if(a>=y.length)return!1;if(a>=m.length)return!0;var p=y[a],n=m[a];if(pn)return!1;a++}},l.isomorphicDecode=function(y){return String.fromCodePoint.apply(String,w(y))}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(6),w=o(7),y=o(0),m=o(12),a=function(){function p(n){this._associatedDocument=n||v.dom.window.document}return p.prototype.createDocumentType=function(n,i,u){return y.namespace_validate(n),y.create_documentType(this._associatedDocument,n,i,u)},p.prototype.createDocument=function(n,i,u){u===void 0&&(u=null);var s=y.create_xmlDocument(),f=null;return i&&(f=y.document_internalCreateElementNS(s,n,i)),u&&s.appendChild(u),f&&s.appendChild(f),s._origin=this._associatedDocument._origin,n===w.namespace.HTML?s._contentType="application/xhtml+xml":n===w.namespace.SVG?s._contentType="image/svg+xml":s._contentType="application/xml",s},p.prototype.createHTMLDocument=function(n){var i=y.create_document();i._type="html",i._contentType="text/html",i.appendChild(y.create_documentType(i,"html","",""));var u=y.element_createAnElement(i,"html",w.namespace.HTML);i.appendChild(u);var s=y.element_createAnElement(i,"head",w.namespace.HTML);if(u.appendChild(s),n!==void 0){var f=y.element_createAnElement(i,"title",w.namespace.HTML);s.appendChild(f);var d=y.create_text(i,n);f.appendChild(d)}var c=y.element_createAnElement(i,"body",w.namespace.HTML);return u.appendChild(c),i._origin=this._associatedDocument._origin,i},p.prototype.hasFeature=function(){return!0},p._create=function(n){return new p(n)},p}();l.DOMImplementationImpl=a,m.idl_defineConst(a.prototype,"_ID","@oozcitak/dom")},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(1),a=o(0),p=function(n){function i(){var u=n.call(this)||this;return u._signalSlots=new Set,u._mutationObserverMicrotaskQueued=!1,u._mutationObservers=new Set,u._iteratorList=new m.FixedSizeSet,u._associatedDocument=a.create_document(),u}return w(i,n),Object.defineProperty(i.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(y.EventTargetImpl);l.WindowImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=function(){function y(){}return y.isNode=function(m){return!!m&&m._nodeType!==void 0},y.isDocumentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Document},y.isDocumentTypeNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentType},y.isDocumentFragmentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.DocumentFragment},y.isAttrNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Attribute},y.isCharacterDataNode=function(m){if(!y.isNode(m))return!1;var a=m._nodeType;return a===v.NodeType.Text||a===v.NodeType.ProcessingInstruction||a===v.NodeType.Comment||a===v.NodeType.CData},y.isTextNode=function(m){return y.isNode(m)&&(m._nodeType===v.NodeType.Text||m._nodeType===v.NodeType.CData)},y.isExclusiveTextNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Text},y.isCDATASectionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.CData},y.isCommentNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Comment},y.isProcessingInstructionNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.ProcessingInstruction},y.isElementNode=function(m){return y.isNode(m)&&m._nodeType===v.NodeType.Element},y.isCustomElementNode=function(m){return y.isElementNode(m)&&m._customElementState==="custom"},y.isShadowRoot=function(m){return!!m&&m.host!==void 0},y.isMouseEvent=function(m){return!!m&&m.screenX!==void 0&&m.screenY!=null},y.isSlotable=function(m){return!!m&&m._name!==void 0&&m._assignedSlot!==void 0&&(y.isTextNode(m)||y.isElementNode(m))},y.isSlot=function(m){return!!m&&m._name!==void 0&&m._assignedNodes!==void 0&&y.isElementNode(m)},y.isWindow=function(m){return!!m&&m.navigator!==void 0},y.isEventListener=function(m){return!!m&&m.handleEvent!==void 0},y.isRegisteredObserver=function(m){return!!m&&m.observer!==void 0&&m.options!==void 0},y.isTransientRegisteredObserver=function(m){return!!m&&m.source!==void 0&&y.isRegisteredObserver(m)},y}();l.Guard=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(){return m.call(this)||this}return w(a,m),a}(o(98).DocumentImpl);l.XMLDocumentImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(B){var M=typeof Symbol=="function"&&Symbol.iterator,q=M&&B[M],W=0;if(q)return q.call(B);if(B&&typeof B.length=="number")return{next:function(){return B&&W>=B.length&&(B=void 0),{value:B&&B[W++],done:!B}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(B,M){var q=typeof Symbol=="function"&&B[Symbol.iterator];if(!q)return B;var W,oe,de=q.call(B),ge=[];try{for(;(M===void 0||M-- >0)&&!(W=de.next()).done;)ge.push(W.value)}catch(Se){oe={error:Se}}finally{try{W&&!W.done&&(q=de.return)&&q.call(de)}finally{if(oe)throw oe.error}}return ge};Object.defineProperty(l,"__esModule",{value:!0});var y,m=o(1),a=o(243),p=o(7),n=o(244),i={ftp:21,file:null,http:80,https:443,ws:80,wss:443},u=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,d=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,c=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(B){y!==void 0&&y.call(null,"Validation Error: "+B)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function x(B){return B in i}function _(B){return x(B.scheme)}function b(B){return i[B]||null}function S(B){return B.username!==""||B.password!==""}function C(B,M){var q,W;M===void 0&&(M=!1);var oe=B.scheme+":";if(B.host!==null?(oe+="//",S(B)&&(oe+=B.username,B.password!==""&&(oe+=":"+B.password),oe+="@"),oe+=T(B.host),B.port!==null&&(oe+=":"+B.port)):B.host===null&&B.scheme==="file"&&(oe+="//"),B._cannotBeABaseURLFlag)oe+=B.path[0];else try{for(var de=v(B.path),ge=de.next();!ge.done;ge=de.next())oe+="/"+ge.value}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return B.query!==null&&(oe+="?"+B.query),M||B.fragment===null||(oe+="#"+B.fragment),oe}function T(B){return m.isNumber(B)?N(B):m.isArray(B)?"["+I(B)+"]":B}function N(B){for(var M="",q=B,W=1;W<=4;W++)M=(q%256).toString()+M,W!==4&&(M="."+M),q=Math.floor(q/256);return M}function I(B){for(var M="",q=null,W=-1,oe=0,de=0,ge=0;ge<8;ge++)if(B[ge]===0){oe=1;for(var Se=ge+1;Se<8&&B[Se]===0;Se++)oe++;oe>de&&(de=oe,W=ge)}de>1&&(q=W);for(var Be=!1,Le=0;Le<8;Le++)Be&&B[Le]===0||(Be&&(Be=!1),q!==Le?(M+=B[Le].toString(16),Le!==7&&(M+=":")):(M+=Le===0?"::":":",Be=!0));return M}function R(B,M,q,W,oe){var de,ge,Se,Be;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var Le=/^[\u0000-\u001F\u0020]+/,tt=/[\u0000-\u001F\u0020]+$/;(Le.test(B)||tt.test(B))&&e("Input string contains leading or trailing control characters or space."),B=(B=B.replace(Le,"")).replace(tt,"")}var Je=/[\u0009\u000A\u000D]/g;Je.test(B)&&e("Input string contains tab or newline characters."),B=B.replace(Je,"");var we=oe===void 0?a.ParserState.SchemeStart:oe;M===void 0&&(M=null);for(var at=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",qe=!1,ze=!1,Ne=!1,ae=new m.StringWalker(B);;){switch(we){case a.ParserState.SchemeStart:if(p.codePoint.ASCIIAlpha.test(ae.c()))K+=ae.c().toLowerCase(),we=a.ParserState.Scheme;else{if(oe!==void 0)return e("Invalid scheme start character."),null;we=a.ParserState.NoScheme,ae.pointer--}break;case a.ParserState.Scheme:if(p.codePoint.ASCIIAlphanumeric.test(ae.c())||ae.c()==="+"||ae.c()==="-"||ae.c()===".")K+=ae.c().toLowerCase();else{if(ae.c()!==":"){if(oe===void 0){K="",we=a.ParserState.NoScheme,ae.pointer=0;continue}return e("Invalid input string."),null}if(oe!==void 0&&(x(W.scheme)&&!x(K)||!x(W.scheme)&&x(K)||(S(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,oe!==void 0)return W.port===b(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(ae.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),we=a.ParserState.File):_(W)&&M!==null&&M.scheme===W.scheme?we=a.ParserState.SpecialRelativeOrAuthority:_(W)?we=a.ParserState.SpecialAuthoritySlashes:ae.remaining().startsWith("/")?(we=a.ParserState.PathOrAuthority,ae.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),we=a.ParserState.CannotBeABaseURLPath)}break;case a.ParserState.NoScheme:if(M===null||M._cannotBeABaseURLFlag&&ae.c()!=="#")return e("Invalid input string."),null;M._cannotBeABaseURLFlag&&ae.c()==="#"?(W.scheme=M.scheme,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",W._cannotBeABaseURLFlag=!0,we=a.ParserState.Fragment):M.scheme!=="file"?(we=a.ParserState.Relative,ae.pointer--):(we=a.ParserState.File,ae.pointer--);break;case a.ParserState.SpecialRelativeOrAuthority:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Invalid input string."),we=a.ParserState.Relative,ae.pointer--);break;case a.ParserState.PathOrAuthority:ae.c()==="/"?we=a.ParserState.Authority:(we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.Relative:if(M===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=M.scheme,ae.c()){case"":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query;break;case"/":we=a.ParserState.RelativeSlash;break;case"?":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:_(W)&&ae.c()==="\\"?(e("Invalid input string."),we=a.ParserState.RelativeSlash):(W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,W.path=p.list.clone(M.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),we=a.ParserState.Path,ae.pointer--)}break;case a.ParserState.RelativeSlash:if(!_(W)||ae.c()!=="/"&&ae.c()!=="\\")if(ae.c()==="/")we=a.ParserState.Authority;else{if(M===null)throw new Error("Invalid parser state. Base URL is null.");W.username=M.username,W.password=M.password,W.host=M.host,W.port=M.port,we=a.ParserState.Path,ae.pointer--}else ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.SpecialAuthorityIgnoreSlashes;break;case a.ParserState.SpecialAuthoritySlashes:ae.c()==="/"&&ae.remaining().startsWith("/")?(we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer++):(e("Expected '//'."),we=a.ParserState.SpecialAuthorityIgnoreSlashes,ae.pointer--);break;case a.ParserState.SpecialAuthorityIgnoreSlashes:ae.c()!=="/"&&ae.c()!=="\\"?(we=a.ParserState.Authority,ae.pointer--):e("Unexpected '/' or '\\'.");break;case a.ParserState.Authority:if(ae.c()==="@"){e("Unexpected '@'."),qe&&(K="%40"+K),qe=!0;try{for(var _e=(de=void 0,v(K)),xe=_e.next();!xe.done;xe=_e.next()){var Te=xe.value;if(Te!==":"||Ne){var Ae=ce(Te,d);Ne?W.password+=Ae:W.username+=Ae}else Ne=!0}}catch(kt){de={error:kt}}finally{try{xe&&!xe.done&&(ge=_e.return)&&ge.call(_e)}finally{if(de)throw de.error}}K=""}else if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(qe&&K==="")return e("Invalid input string."),null;ae.pointer-=K.length+1,K="",we=a.ParserState.Host}else K+=ae.c();break;case a.ParserState.Host:case a.ParserState.Hostname:if(oe!==void 0&&W.scheme==="file")ae.pointer--,we=a.ParserState.FileHost;else if(ae.c()!==":"||ze)if(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"){if(ae.pointer--,_(W)&&K==="")return e("Invalid input string."),null;if(oe!==void 0&&K===""&&(S(W)||W.port!==null))return e("Invalid input string."),W;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.PathStart,oe!==void 0)return W}else ae.c()==="["&&(ze=!0),ae.c()==="]"&&(ze=!1),K+=ae.c();else{if(K==="")return e("Invalid input string."),null;if((Me=H(K,!_(W)))===null)return null;if(W.host=Me,K="",we=a.ParserState.Port,oe===a.ParserState.Hostname)return W}break;case a.ParserState.Port:if(p.codePoint.ASCIIDigit.test(ae.c()))K+=ae.c();else{if(!(ae.c()===""||ae.c()==="/"||ae.c()==="?"||ae.c()==="#"||_(W)&&ae.c()==="\\"||oe))return e("Invalid input string."),null;if(K!==""&&K!==""){var je=parseInt(K,10);if(je>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=je===b(W.scheme)?null:je,K=""}if(oe!==void 0)return W;we=a.ParserState.PathStart,ae.pointer--}break;case a.ParserState.File:if(W.scheme="file",ae.c()==="/"||ae.c()==="\\")ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileSlash;else if(M!==null&&M.scheme==="file")switch(ae.c()){case"":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query;break;case"?":W.host=M.host,W.path=p.list.clone(M.path),W.query="",we=a.ParserState.Query;break;case"#":W.host=M.host,W.path=p.list.clone(M.path),W.query=M.query,W.fragment="",we=a.ParserState.Fragment;break;default:X(ae.substring())?e("Unexpected windows drive letter in input string."):(W.host=M.host,W.path=p.list.clone(M.path),J(W)),we=a.ParserState.Path,ae.pointer--}else we=a.ParserState.Path,ae.pointer--;break;case a.ParserState.FileSlash:ae.c()==="/"||ae.c()==="\\"?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.FileHost):(M===null||M.scheme!=="file"||X(ae.substring())||(Y(M.path[0])?W.path.push(M.path[0]):W.host=M.host),we=a.ParserState.Path,ae.pointer--);break;case a.ParserState.FileHost:if(ae.c()===""||ae.c()==="/"||ae.c()==="\\"||ae.c()==="?"||ae.c()==="#")if(ae.pointer--,oe===void 0&&z(K))e("Unexpected windows drive letter in input string."),we=a.ParserState.Path;else if(K===""){if(W.host="",oe!==void 0)return W;we=a.ParserState.PathStart}else{var Me;if((Me=H(K,!_(W)))===null)return null;if(Me==="localhost"&&(Me=""),W.host=Me,oe!==void 0)return W;K="",we=a.ParserState.PathStart}else K+=ae.c();break;case a.ParserState.PathStart:_(W)?(ae.c()==="\\"&&e("Invalid input string."),we=a.ParserState.Path,ae.c()!=="/"&&ae.c()!=="\\"&&ae.pointer--):oe===void 0&&ae.c()==="?"?(W.query="",we=a.ParserState.Query):oe===void 0&&ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):ae.c()!==""&&(we=a.ParserState.Path,ae.c()!=="/"&&ae.pointer--);break;case a.ParserState.Path:if(ae.c()===""||ae.c()==="/"||_(W)&&ae.c()==="\\"||oe===void 0&&(ae.c()==="?"||ae.c()==="#")){if(_(W)&&ae.c()==="\\"&&e("Invalid input string."),G(K))J(W),ae.c()==="/"||_(W)&&ae.c()==="\\"||W.path.push("");else if(!P(K)||ae.c()==="/"||_(W)&&ae.c()==="\\"){if(!P(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var We=Array.from(K);K=We.slice(0,1)+":"+We.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(ae.c()===""||ae.c()==="?"||ae.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);ae.c()==="?"&&(W.query="",we=a.ParserState.Query),ae.c()==="#"&&(W.fragment="",we=a.ParserState.Fragment)}else c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=ce(ae.c(),f);break;case a.ParserState.CannotBeABaseURLPath:ae.c()==="?"?(W.query="",we=a.ParserState.Query):ae.c()==="#"?(W.fragment="",we=a.ParserState.Fragment):(ae.c()===""||c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),ae.c()!==""&&(W.path[0]+=ce(ae.c(),u)));break;case a.ParserState.Query:if(at==="UTF-8"||_(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(at="UTF-8"),oe===void 0&&ae.c()==="#")W.fragment="",we=a.ParserState.Fragment;else if(ae.c()!==""){if(c.test(ae.c())||ae.c()==="%"||e("Character is not a URL code point or a percent encoded character."),ae.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(ae.remaining())||e("Percent encoded character must be followed by two hex digits."),at.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var Ve=m.utf8Encode(ae.c());if(Ve.length>=3&&Ve[0]===38&&Ve[1]===35&&Ve[Ve.length-1]===59)Ve=Ve.subarray(2,Ve.length-1),W.query+="%26%23"+p.byteSequence.isomorphicDecode(Ve)+"%3B";else try{for(var gt=(Se=void 0,v(Ve)),_t=gt.next();!_t.done;_t=gt.next()){var st=_t.value;st<33||st>126||st===34||st===35||st===60||st===62||st===39&&_(W)?W.query+=Q(st):W.query+=String.fromCharCode(st)}}catch(kt){Se={error:kt}}finally{try{_t&&!_t.done&&(Be=gt.return)&&Be.call(gt)}finally{if(Se)throw Se.error}}}break;case a.ParserState.Fragment:ae.c()===""||(ae.c()==="\0"?e("NULL character in input string."):(c.test(ae.c())||ae.c()==="%"||e("Unexpected character in fragment string."),ae.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(ae.remaining())||e("Unexpected character in fragment string."),W.fragment+=ce(ae.c(),s)))}if(ae.eof)break;ae.pointer++}return W}function P(B){return B==="."||B.toLowerCase()==="%2e"}function G(B){var M=B.toLowerCase();return M===".."||M===".%2e"||M==="%2e."||M==="%2e%2e"}function J(B){var M=B.path;M.length!==0&&(B.scheme==="file"&&M.length===1&&Y(M[0])||B.path.splice(B.path.length-1,1))}function Y(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&B[1]===":"}function z(B){return B.length>=2&&p.codePoint.ASCIIAlpha.test(B[0])&&(B[1]===":"||B[1]==="|")}function X(B){return B.length>=2&&z(B)&&(B.length===2||B[2]==="/"||B[2]==="\\"||B[2]==="?"||B[2]==="#")}function H(B,M){if(M===void 0&&(M=!1),B.startsWith("["))return B.endsWith("]")?he(B.substring(1,B.length-1)):(e("Expected ']' after '['."),null);if(M)return me(B);var q=L(m.utf8Decode(ue(B)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||m.isNumber(W)?W:q}function ee(B,M){M===void 0&&(M={value:!1});var q=10;return B.startsWith("0x")||B.startsWith("0X")?(M.value=!0,B=B.substr(2),q=16):B.length>=2&&B[0]==="0"&&(M.value=!0,B=B.substr(1),q=8),B===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(B)?parseInt(B,q):null}function re(B){var M,q,W,oe,de={value:!1},ge=B.split(".");if(ge[ge.length-1]===""&&(de.value=!0,ge.length>1&&ge.pop()),ge.length>4)return B;var Se=[];try{for(var Be=v(ge),Le=Be.next();!Le.done;Le=Be.next()){var tt=Le.value;if(tt===""||(ze=ee(tt,de))===null)return B;Se.push(ze)}}catch(Ne){M={error:Ne}}finally{try{Le&&!Le.done&&(q=Be.return)&&q.call(Be)}finally{if(M)throw M.error}}de.value&&e("Invalid IP v4 address.");for(var Je=0;Je255&&(e("Invalid IP v4 address."),Je=Math.pow(256,5-Se.length))return e("Invalid IP v4 address."),null;var we=Se[Se.length-1];Se.pop();var at=0;try{for(var K=v(Se),qe=K.next();!qe.done;qe=K.next()){var ze;we+=(ze=qe.value)*Math.pow(256,3-at),at++}}catch(Ne){W={error:Ne}}finally{try{qe&&!qe.done&&(oe=K.return)&&oe.call(K)}finally{if(W)throw W.error}}return we}function he(B){var M,q=[0,0,0,0,0,0,0,0],W=0,oe=null,de=new m.StringWalker(B);if(de.c()===":"){if(!de.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;de.pointer+=2,oe=W+=1}for(;de.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(de.c()!==":"){for(var ge=0,Se=0;Se<4&&p.codePoint.ASCIIHexDigit.test(de.c());)ge=16*ge+parseInt(de.c(),16),de.pointer++,Se++;if(de.c()==="."){if(Se===0||(de.pointer-=Se,W>6))return e("Invalid IP v6 address."),null;for(var Be=0;de.c()!=="";){var Le=null;if(Be>0){if(!(de.c()==="."&&Be<4))return e("Invalid IP v6 address."),null;de.pointer++}if(!p.codePoint.ASCIIDigit.test(de.c()))return e("Invalid IP v6 address."),null;for(;p.codePoint.ASCIIDigit.test(de.c());){var tt=parseInt(de.c(),10);if(Le===null)Le=tt;else{if(Le===0)return e("Invalid IP v6 address."),null;Le=10*Le+tt}if(Le>255)return e("Invalid IP v6 address."),null;de.pointer++}if(Le===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+Le,++Be!==2&&Be!==4||W++}if(Be!==4)return e("Invalid IP v6 address."),null;break}if(de.c()===":"){if(de.pointer++,de.c()==="")return e("Invalid IP v6 address."),null}else if(de.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(oe!==null)return e("Invalid IP v6 address."),null;de.pointer++,oe=++W}}if(oe!==null){var Je=W-oe;for(W=7;W!==0&&Je>0;)M=w([q[oe+Je-1],q[W]],2),q[W]=M[0],q[oe+Je-1]=M[1],W--,Je--}else if(oe===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function me(B){var M,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(B))return e("Invalid host string."),null;var W="";try{for(var oe=v(B),de=oe.next();!de.done;de=oe.next())W+=ce(de.value,u)}catch(ge){M={error:ge}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function ne(B){return null}function Q(B){return"%"+("00"+B.toString(16).toUpperCase()).slice(-2)}function ie(B){for(var M=function(Se){return Se>=48&&Se<=57||Se>=65&&Se<=70||Se>=97&&Se<=102},q=new Uint8Array(B.length),W=0,oe=0;oe=B.length-2)q[W]=de,W++;else if(de!==37||M(B[oe+1])&&M(B[oe+2])){var ge=parseInt(m.utf8Decode(Uint8Array.of(B[oe+1],B[oe+2])),16);q[W]=ge,W++,oe+=2}else q[W]=de,W++}return q.subarray(0,W)}function ue(B){return ie(m.utf8Encode(B))}function ce(B,M){var q,W;if(!M.test(B))return B;var oe=m.utf8Encode(B),de="";try{for(var ge=v(oe),Se=ge.next();!Se.done;Se=ge.next())de+=Q(Se.value)}catch(Be){q={error:Be}}finally{try{Se&&!Se.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return de}function k(B){var M,q,W,oe,de=[],ge=[];try{for(var Se=v(B),Be=Se.next();!Be.done;Be=Se.next()){var Le=Be.value;Le===38?(de.push(Uint8Array.from(ge)),ge=[]):ge.push(Le)}}catch(xe){M={error:xe}}finally{try{Be&&!Be.done&&(q=Se.return)&&q.call(Se)}finally{if(M)throw M.error}}ge.length!==0&&de.push(Uint8Array.from(ge));var tt=[];try{for(var Je=v(de),we=Je.next();!we.done;we=Je.next()){var at=we.value;if(at.length!==0){for(var K=at.indexOf(61),qe=K!==-1?at.slice(0,K):at,ze=K!==-1?at.slice(K+1):new Uint8Array,Ne=0;Ne=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Se){M={error:Se}}finally{try{de&&!de.done&&(q=oe.return)&&q.call(oe)}finally{if(M)throw M.error}}return W}function L(B,M){M===void 0&&(M=!1);var q=n.domainToASCII(B);return q===""?(e("Invalid domain name."),null):q}l.setValidationErrorCallback=function(B){y=B},l.newURL=g,l.isSpecialScheme=x,l.isSpecial=_,l.defaultPort=b,l.includesCredentials=S,l.cannotHaveAUsernamePasswordPort=function(B){return B.host===null||B.host===""||B._cannotBeABaseURLFlag||B.scheme==="file"},l.urlSerializer=C,l.hostSerializer=T,l.iPv4Serializer=N,l.iPv6Serializer=I,l.urlParser=function(B,M,q){var W=R(B,M,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},l.basicURLParser=R,l.setTheUsername=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.username=oe},l.setThePassword=function(B,M){var q,W,oe="";try{for(var de=v(M),ge=de.next();!ge.done;ge=de.next())oe+=ce(ge.value,d)}catch(Se){q={error:Se}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}B.password=oe},l.isSingleDotPathSegment=P,l.isDoubleDotPathSegment=G,l.shorten=J,l.isNormalizedWindowsDriveLetter=Y,l.isWindowsDriveLetter=z,l.startsWithAWindowsDriveLetter=X,l.hostParser=H,l.iPv4NumberParser=ee,l.iPv4Parser=re,l.iPv6Parser=he,l.opaqueHostParser=me,l.resolveABlobURL=ne,l.percentEncode=Q,l.percentDecode=ie,l.stringPercentDecode=ue,l.utf8PercentEncode=ce,l.hostEquals=function(B,M){return B===M},l.urlEquals=function(B,M,q){return q===void 0&&(q=!1),C(B,q)===C(M,q)},l.urlEncodedStringParser=function(B){return k(m.utf8Encode(B))},l.urlEncodedParser=k,l.urlEncodedByteSerializer=D,l.urlEncodedSerializer=function(B,M){var q,W;if((M===void 0||M==="replacement"||M==="UTF-16BE"||M==="UTF-16LE"?"UTF-8":M).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var oe="";try{for(var de=v(B),ge=de.next();!ge.done;ge=de.next()){var Se=ge.value,Be=D(m.utf8Encode(Se[0])),Le=Se[1];Le=D(m.utf8Encode(Le)),oe!==""&&(oe+="&"),oe+=Be+"="+Le}}catch(tt){q={error:tt}}finally{try{ge&&!ge.done&&(W=de.return)&&W.call(de)}finally{if(q)throw q.error}}return oe},l.origin=function B(M){switch(M.scheme){case"blob":M._blobURLEntry;var q=R(M.path[0]);return q===null?a.OpaqueOrigin:B(q);case"ftp":case"http":case"https":case"ws":case"wss":return[M.scheme,M.host===null?"":M.host,M.port,null];case"file":default:return a.OpaqueOrigin}},l.domainToASCII=L,l.domainToUnicode=function(B,M){M===void 0&&(M=!1);var q=n.domainToUnicode(B);return q===""&&e("Invalid domain name."),q},l.asciiSerializationOfAnOrigin=function(B){if(B[0]===""&&B[1]===""&&B[2]===null&&B[3]===null)return"null";var M=B[0]+"://"+T(B[1]);return B[2]!==null&&(M+=":"+B[2].toString()),M}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(0),w=function(){function y(){this._signal=v.create_abortSignal()}return Object.defineProperty(y.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),y.prototype.abort=function(){v.abort_signalAbort(this._signal)},y}();l.AbortControllerImpl=w},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(70),m=o(0),a=function(p){function n(){var i=p.call(this)||this;return i._abortedFlag=!1,i._abortAlgorithms=new Set,i}return w(n,p),Object.defineProperty(n.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onabort",{get:function(){return m.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(i){m.event_setterEventHandlerIDLAttribute(this,"onabort",i)},enumerable:!0,configurable:!0}),n._create=function(){return new n},n}(y.EventTargetImpl);l.AbortSignalImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(34),a=o(12),p=function(n){function i(u,s,f){var d=n.call(this)||this;return d._name="",d._publicId="",d._systemId="",d._name=u,d._publicId=s,d._systemId=f,d}return w(i,n),Object.defineProperty(i.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),i.prototype.before=function(){for(var u=[],s=0;s=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=o(0),a=function(){function p(n){return this._live=!0,this._filter=null,this._length=0,this._root=n,new Proxy(this,this)}return Object.defineProperty(p.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),p.prototype.item=function(n){if(n<0||n>this.length-1)return null;if(n=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(1),m=function(){function a(p){return this._live=!1,this._items=[],this._length=0,this._root=p,this._items=[],this._filter=function(n){return!0},new Proxy(this,this)}return Object.defineProperty(a.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),a.prototype.item=function(p){return p<0||p>this.length-1?null:this._items[p]},a.prototype.keys=function(){var p;return(p={})[Symbol.iterator]=function(){var n=0;return{next:function(){return n===this.length?{done:!0,value:null}:{done:!1,value:n++}}.bind(this)}}.bind(this),p},a.prototype.values=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator]();return{next:function(){return n.next()}}}.bind(this),p},a.prototype.entries=function(){var p;return(p={})[Symbol.iterator]=function(){var n=this[Symbol.iterator](),i=0;return{next:function(){var u=n.next();return u.done?{done:!0,value:null}:{done:!1,value:[i++,u.value]}}}}.bind(this),p},a.prototype[Symbol.iterator]=function(){var p=this._items[Symbol.iterator]();return{next:function(){return p.next()}}},a.prototype.forEach=function(p,n){var i,u;n===void 0&&(n=w.dom.window);var s=0;try{for(var f=v(this._items),d=f.next();!d.done;d=f.next()){var c=d.value;p.call(n,c,s++,this)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}},a.prototype.get=function(p,n,i){if(!y.isString(n))return Reflect.get(p,n,i);var u=Number(n);return isNaN(u)?Reflect.get(p,n,i):p._items[u]||void 0},a.prototype.set=function(p,n,i,u){if(!y.isString(n))return Reflect.set(p,n,i,u);var s=Number(n);return isNaN(s)?Reflect.set(p,n,i,u):s>=0&&s=d.length&&(d=void 0),{value:d&&d[e++],done:!d}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(6),a=o(2),p=o(102),n=o(9),i=o(0),u=o(12),s=o(3),f=function(d){function c(){var t=d.call(this)||this,e=m.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],m.dom.rangeList.add(t),t}return w(c,d),Object.defineProperty(c.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!i.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),c.prototype.setStart=function(t,e){i.range_setTheStart(this,t,e)},c.prototype.setEnd=function(t,e){i.range_setTheEnd(this,t,e)},c.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t))},c.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheStart(this,e,i.tree_index(t)+1)},c.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t))},c.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new n.InvalidNodeTypeError;i.range_setTheEnd(this,e,i.tree_index(t)+1)},c.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},c.prototype.selectNode=function(t){i.range_select(t,this)},c.prototype.selectNodeContents=function(t){if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;var e=i.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},c.prototype.compareBoundaryPoints=function(t,e){if(t!==a.HowToCompare.StartToStart&&t!==a.HowToCompare.StartToEnd&&t!==a.HowToCompare.EndToEnd&&t!==a.HowToCompare.EndToStart)throw new n.NotSupportedError;if(i.range_root(this)!==i.range_root(e))throw new n.WrongDocumentError;var g,x;switch(t){case a.HowToCompare.StartToStart:g=this._start,x=e._start;break;case a.HowToCompare.StartToEnd:g=this._end,x=e._start;break;case a.HowToCompare.EndToEnd:g=this._end,x=e._end;break;case a.HowToCompare.EndToStart:g=this._start,x=e._end;break;default:throw new n.NotSupportedError}var _=i.boundaryPoint_position(g,x);return _===a.BoundaryPosition.Before?-1:_===a.BoundaryPosition.After?1:0},c.prototype.deleteContents=function(){var t,e,g,x;if(!i.range_collapsed(this)){var _=this._startNode,b=this._startOffset,S=this._endNode,C=this._endOffset;if(_===S&&s.Guard.isCharacterDataNode(_))i.characterData_replaceData(_,b,C-b,"");else{var T,N,I=[];try{for(var R=y(i.range_getContainedNodes(this)),P=R.next();!P.done;P=R.next()){var G=(X=P.value)._parent;G!==null&&i.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{P&&!P.done&&(e=R.return)&&e.call(R)}finally{if(t)throw t.error}}if(i.tree_isAncestorOf(S,_,!0))T=_,N=b;else{for(var J=_;J._parent!==null&&!i.tree_isAncestorOf(S,J._parent,!0);)J=J._parent;if(J._parent===null)throw new Error("Parent node is null.");T=J._parent,N=i.tree_index(J)+1}s.Guard.isCharacterDataNode(_)&&i.characterData_replaceData(_,b,i.tree_nodeLength(_)-b,"");try{for(var Y=y(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&i.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(x=Y.return)&&x.call(Y)}finally{if(g)throw g.error}}s.Guard.isCharacterDataNode(S)&&i.characterData_replaceData(S,0,C,""),this._start=[T,N],this._end=[T,N]}}},c.prototype.extractContents=function(){return i.range_extract(this)},c.prototype.cloneContents=function(){return i.range_cloneTheContents(this)},c.prototype.insertNode=function(t){return i.range_insert(t,this)},c.prototype.surroundContents=function(t){var e,g;try{for(var x=y(i.range_getPartiallyContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;if(!s.Guard.isTextNode(b))throw new n.InvalidStateError}}catch(C){e={error:C}}finally{try{_&&!_.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}if(s.Guard.isDocumentNode(t)||s.Guard.isDocumentTypeNode(t)||s.Guard.isDocumentFragmentNode(t))throw new n.InvalidNodeTypeError;var S=i.range_extract(this);t._children.size!==0&&i.mutation_replaceAll(null,t),i.range_insert(t,this),i.mutation_append(S,t),i.range_select(t,this)},c.prototype.cloneRange=function(){return i.create_range(this._start,this._end)},c.prototype.detach=function(){m.dom.rangeList.delete(this)},c.prototype.isPointInRange=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))return!1;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)!==a.BoundaryPosition.Before&&i.boundaryPoint_position(g,this._end)!==a.BoundaryPosition.After},c.prototype.comparePoint=function(t,e){if(i.tree_rootNode(t)!==i.range_root(this))throw new n.WrongDocumentError;if(s.Guard.isDocumentTypeNode(t))throw new n.InvalidNodeTypeError;if(e>i.tree_nodeLength(t))throw new n.IndexSizeError;var g=[t,e];return i.boundaryPoint_position(g,this._start)===a.BoundaryPosition.Before?-1:i.boundaryPoint_position(g,this._end)===a.BoundaryPosition.After?1:0},c.prototype.intersectsNode=function(t){if(i.tree_rootNode(t)!==i.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=i.tree_index(t);return i.boundaryPoint_position([e,g],this._end)===a.BoundaryPosition.Before&&i.boundaryPoint_position([e,g+1],this._start)===a.BoundaryPosition.After},c.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&s.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);s.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var x=y(i.range_getContainedNodes(this)),_=x.next();!_.done;_=x.next()){var b=_.value;s.Guard.isTextNode(b)&&(g+=b._data)}}catch(S){t={error:S}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return s.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},c._create=function(t,e){var g=new c;return t&&(g._start=t),e&&(g._end=e),g},c.START_TO_START=0,c.START_TO_END=1,c.END_TO_END=2,c.END_TO_START=3,c}(p.AbstractRangeImpl);l.RangeImpl=f,u.idl_defineConst(f.prototype,"START_TO_START",0),u.idl_defineConst(f.prototype,"START_TO_END",1),u.idl_defineConst(f.prototype,"END_TO_END",2),u.idl_defineConst(f.prototype,"END_TO_START",3)},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(103),m=o(0),a=function(p){function n(i,u,s){var f=p.call(this,i)||this;return f._iteratorCollection=void 0,f._reference=u,f._pointerBeforeReference=s,m.nodeIterator_iteratorList().add(f),f}return w(n,p),Object.defineProperty(n.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),n.prototype.nextNode=function(){return m.nodeIterator_traverse(this,!0)},n.prototype.previousNode=function(){return m.nodeIterator_traverse(this,!1)},n.prototype.detach=function(){m.nodeIterator_iteratorList().delete(this)},n._create=function(i,u,s){return new n(i,u,s)},n}(y.TraverserImpl);l.NodeIteratorImpl=a},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(2),m=o(103),a=o(0),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._current=s,f}return w(i,n),Object.defineProperty(i.prototype,"currentNode",{get:function(){return this._current},set:function(u){this._current=u},enumerable:!0,configurable:!0}),i.prototype.parentNode=function(){for(var u=this._current;u!==null&&u!==this._root;)if((u=u._parent)!==null&&a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u;return null},i.prototype.firstChild=function(){return a.treeWalker_traverseChildren(this,!0)},i.prototype.lastChild=function(){return a.treeWalker_traverseChildren(this,!1)},i.prototype.nextSibling=function(){return a.treeWalker_traverseSiblings(this,!0)},i.prototype.previousNode=function(){for(var u=this._current;u!==this._root;){for(var s=u._previousSibling;s;){u=s;for(var f=a.traversal_filter(this,u);f!==y.FilterResult.Reject&&u._lastChild;)u=u._lastChild,f=a.traversal_filter(this,u);if(f===y.FilterResult.Accept)return this._current=u,u;s=u._previousSibling}if(u===this._root||u._parent===null)return null;if(u=u._parent,a.traversal_filter(this,u)===y.FilterResult.Accept)return this._current=u,u}return null},i.prototype.previousSibling=function(){return a.treeWalker_traverseSiblings(this,!1)},i.prototype.nextNode=function(){for(var u=this._current,s=y.FilterResult.Accept;;){for(;s!==y.FilterResult.Reject&&u._firstChild;)if(u=u._firstChild,(s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u;for(var f=null,d=u;d!==null;){if(d===this._root)return null;if((f=d._nextSibling)!==null){u=f;break}d=d._parent}if((s=a.traversal_filter(this,u))===y.FilterResult.Accept)return this._current=u,u}},i._create=function(u,s){return new i(u,s)},i}(m.TraverserImpl);l.TreeWalkerImpl=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(12),y=function(){function m(){}return m.prototype.acceptNode=function(a){return v.FilterResult.Accept},m._create=function(){return new m},m.FILTER_ACCEPT=1,m.FILTER_REJECT=2,m.FILTER_SKIP=3,m.SHOW_ALL=4294967295,m.SHOW_ELEMENT=1,m.SHOW_ATTRIBUTE=2,m.SHOW_TEXT=4,m.SHOW_CDATA_SECTION=8,m.SHOW_ENTITY_REFERENCE=16,m.SHOW_ENTITY=32,m.SHOW_PROCESSING_INSTRUCTION=64,m.SHOW_COMMENT=128,m.SHOW_DOCUMENT=256,m.SHOW_DOCUMENT_TYPE=512,m.SHOW_DOCUMENT_FRAGMENT=1024,m.SHOW_NOTATION=2048,m}();l.NodeFilterImpl=y,w.idl_defineConst(y.prototype,"FILTER_ACCEPT",1),w.idl_defineConst(y.prototype,"FILTER_REJECT",2),w.idl_defineConst(y.prototype,"FILTER_SKIP",3),w.idl_defineConst(y.prototype,"SHOW_ALL",4294967295),w.idl_defineConst(y.prototype,"SHOW_ELEMENT",1),w.idl_defineConst(y.prototype,"SHOW_ATTRIBUTE",2),w.idl_defineConst(y.prototype,"SHOW_TEXT",4),w.idl_defineConst(y.prototype,"SHOW_CDATA_SECTION",8),w.idl_defineConst(y.prototype,"SHOW_ENTITY_REFERENCE",16),w.idl_defineConst(y.prototype,"SHOW_ENTITY",32),w.idl_defineConst(y.prototype,"SHOW_PROCESSING_INSTRUCTION",64),w.idl_defineConst(y.prototype,"SHOW_COMMENT",128),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT",256),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_TYPE",512),w.idl_defineConst(y.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),w.idl_defineConst(y.prototype,"SHOW_NOTATION",2048)},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y,m,a,p,n,i,u,s,f){this._type=y,this._target=m,this._addedNodes=a,this._removedNodes=p,this._previousSibling=n,this._nextSibling=i,this._attributeName=u,this._attributeNamespace=s,this._oldValue=f}return Object.defineProperty(w.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),w._create=function(y,m,a,p,n,i,u,s,f){return new w(y,m,a,p,n,i,u,s,f)},w}();l.MutationRecordImpl=v},function(E,l,o){"use strict";var v=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(9),m=o(7),a=o(0),p=function(){function n(i,u){this._element=i,this._attribute=u,this._tokenSet=new Set;var s=u._localName,f=a.element_getAnAttributeValue(i,s),d=this;this._element._attributeChangeSteps.push(function(c,t,e,g,x){t===d._attribute._localName&&x===null&&(g?d._tokenSet=a.orderedSet_parse(g):d._tokenSet.clear())}),w.dom.features.steps&&a.dom_runAttributeChangeSteps(i,s,f,f,null)}return Object.defineProperty(n.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),n.prototype.item=function(i){var u,s,f=0;try{for(var d=v(this._tokenSet),c=d.next();!c.done;c=d.next()){var t=c.value;if(f===i)return t;f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}return null},n.prototype.contains=function(i){return this._tokenSet.has(i)},n.prototype.add=function(){for(var i,u,s=[],f=0;f=97&&y<=122||y>=65&&y<=90||y===58||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(w===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=983039))continue}return!1}}return!0},l.xml_isQName=function(v){for(var w=!1,y=0;y=97&&m<=122||m>=65&&m<=90||m===95||m>=192&&m<=214||m>=216&&m<=246||m>=248&&m<=767||m>=880&&m<=893||m>=895&&m<=8191||m>=8204&&m<=8205||m>=8304&&m<=8591||m>=11264&&m<=12271||m>=12289&&m<=55295||m>=63744&&m<=64975||m>=65008&&m<=65533)&&(y===0||!(m===45||m===46||m>=48&&m<=57||m===183||m>=768&&m<=879||m>=8255&&m<=8256))){if(y===0||m!==58){if(m>=55296&&m<=56319&&y=56320&&a<=57343&&(y++,(m=1024*(m-55296)+a-56320+65536)>=65536&&m<=983039))continue}return!1}if(w||y===v.length-1)return!1;w=!0}}return!0},l.xml_isLegalChar=function(v){for(var w=0;w=32&&y<=55295||y>=57344&&y<=65533)){if(y>=55296&&y<=56319&&w=56320&&m<=57343&&(w++,(y=1024*(y-55296)+m-56320+65536)>=65536&&y<=1114111))continue}return!1}}return!0},l.xml_isPubidChar=function(v){for(var w=0;w=97&&y<=122||y>=65&&y<=90||y>=39&&y<=59||y===32||y===13||y===10||y>=35&&y<=37||y===33||y===61||y===63||y===64||y===95))return!1}return!0}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(17);l.boundaryPoint_position=function y(m,a){var p=m[0],n=m[1],i=a[0],u=a[1];if(console.assert(w.tree_rootNode(p)===w.tree_rootNode(i),"Boundary points must share the same root node."),p===i)return n===u?v.BoundaryPosition.Equal:n=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=o(29),p=o(108),n=o(30),i=o(37),u=o(52);l.node_stringReplaceAll=function(s,f){var d=null;s!==""&&(d=a.create_text(f._nodeDocument,s)),i.mutation_replaceAll(d,f)},l.node_clone=function s(f,d,c){var t,e,g,x,_;if(d===void 0&&(d=null),c===void 0&&(c=!1),d===null&&(d=f._nodeDocument),y.Guard.isElementNode(f)){_=u.element_createAnElement(d,f._localName,f._namespace,f._namespacePrefix,f._is,!1);try{for(var b=v(f._attributeList),S=b.next();!S.done;S=b.next()){var C=s(S.value,d);u.element_append(C,_)}}catch(G){t={error:G}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}}else if(y.Guard.isDocumentNode(f)){var T=a.create_document();T._encoding=f._encoding,T._contentType=f._contentType,T._URL=f._URL,T._origin=f._origin,T._type=f._type,T._mode=f._mode,_=T}else if(y.Guard.isDocumentTypeNode(f))_=a.create_documentType(d,f._name,f._publicId,f._systemId);else if(y.Guard.isAttrNode(f)){var N=a.create_attr(d,f.localName);N._namespace=f._namespace,N._namespacePrefix=f._namespacePrefix,N._value=f._value,_=N}else _=y.Guard.isExclusiveTextNode(f)?a.create_text(d,f._data):y.Guard.isCDATASectionNode(f)?a.create_cdataSection(d,f._data):y.Guard.isCommentNode(f)?a.create_comment(d,f._data):y.Guard.isProcessingInstructionNode(f)?a.create_processingInstruction(d,f._target,f._data):y.Guard.isDocumentFragmentNode(f)?a.create_documentFragment(d):Object.create(f);if(y.Guard.isDocumentNode(_)?(_._nodeDocument=_,d=_):_._nodeDocument=d,w.dom.features.steps&&n.dom_runCloningSteps(_,f,d,c),c)try{for(var I=v(f._children),R=I.next();!R.done;R=I.next()){var P=s(R.value,d,!0);i.mutation_append(P,_)}}catch(G){g={error:G}}finally{try{R&&!R.done&&(x=I.return)&&x.call(I)}finally{if(g)throw g.error}}return _},l.node_equals=function s(f,d){var c,t,e,g;if(f._nodeType!==d._nodeType)return!1;if(y.Guard.isDocumentTypeNode(f)&&y.Guard.isDocumentTypeNode(d)){if(f._name!==d._name||f._publicId!==d._publicId||f._systemId!==d._systemId)return!1}else if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){if(f._namespace!==d._namespace||f._namespacePrefix!==d._namespacePrefix||f._localName!==d._localName||f._attributeList.length!==d._attributeList.length)return!1}else if(y.Guard.isAttrNode(f)&&y.Guard.isAttrNode(d)){if(f._namespace!==d._namespace||f._localName!==d._localName||f._value!==d._value)return!1}else if(y.Guard.isProcessingInstructionNode(f)&&y.Guard.isProcessingInstructionNode(d)){if(f._target!==d._target||f._data!==d._data)return!1}else if(y.Guard.isCharacterDataNode(f)&&y.Guard.isCharacterDataNode(d)&&f._data!==d._data)return!1;if(y.Guard.isElementNode(f)&&y.Guard.isElementNode(d)){var x={};try{for(var _=v(f._attributeList),b=_.next();!b.done;b=_.next())x[(T=b.value)._localName]=T}catch(J){c={error:J}}finally{try{b&&!b.done&&(t=_.return)&&t.call(_)}finally{if(c)throw c.error}}try{for(var S=v(d._attributeList),C=S.next();!C.done;C=S.next()){var T,N=C.value;if(!(T=x[N._localName])||!s(T,N))return!1}}catch(J){e={error:J}}finally{try{C&&!C.done&&(g=S.return)&&g.call(S)}finally{if(e)throw e.error}}}if(f._children.size!==d._children.size)return!1;for(var I=f._children[Symbol.iterator](),R=d._children[Symbol.iterator](),P=I.next(),G=R.next();!P.done&&!G.done;){if(!s(P.value,G.value))return!1;P=I.next(),G=R.next()}return!0},l.node_listOfElementsWithQualifiedName=function(s,f){return s==="*"?a.create_htmlCollection(f):f._nodeDocument._type==="html"?a.create_htmlCollection(f,function(d){return d._namespace===m.namespace.HTML&&d._qualifiedName===s.toLowerCase()||d._namespace!==m.namespace.HTML&&d._qualifiedName===s}):a.create_htmlCollection(f,function(d){return d._qualifiedName===s})},l.node_listOfElementsWithNamespace=function(s,f,d){return s===""&&(s=null),s==="*"&&f==="*"?a.create_htmlCollection(d):s==="*"?a.create_htmlCollection(d,function(c){return c._localName===f}):f==="*"?a.create_htmlCollection(d,function(c){return c._namespace===s}):a.create_htmlCollection(d,function(c){return c._localName===f&&c._namespace===s})},l.node_listOfElementsWithClassNames=function(s,f){var d=p.orderedSet_parse(s);if(d.size===0)return a.create_htmlCollection(f,function(){return!1});var c=f._nodeDocument._mode!=="quirks";return a.create_htmlCollection(f,function(t){var e=t.classList;return p.orderedSet_contains(e._tokenSet,d,c)})},l.node_locateANamespacePrefix=function s(f,d){if(f._namespace===d&&f._namespacePrefix!==null)return f._namespacePrefix;for(var c=0;c=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(9),a=o(29),p=o(17),n=o(107),i=o(37);l.text_contiguousTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_contiguousExclusiveTextNodes=function(u,s){var f;return s===void 0&&(s=!1),(f={})[Symbol.iterator]=function(){for(var d=u;d&&y.Guard.isExclusiveTextNode(d._previousSibling);)d=d._previousSibling;return{next:function(){if(d&&!s&&d===u&&(d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null),d===null)return{done:!0,value:null};var c={done:!1,value:d};return d=y.Guard.isExclusiveTextNode(d._nextSibling)?d._nextSibling:null,c}}},f},l.text_descendantTextContent=function(u){for(var s="",f=p.tree_getFirstDescendantNode(u,!1,!1,function(d){return y.Guard.isTextNode(d)});f!==null;)s+=f._data,f=p.tree_getNextDescendantNode(u,f,!1,!1,function(d){return y.Guard.isTextNode(d)});return s},l.text_split=function(u,s){var f,d,c=u._data.length;if(s>c)throw new m.IndexSizeError;var t=c-s,e=n.characterData_substringData(u,s,t),g=a.create_text(u._nodeDocument,e),x=u._parent;if(x!==null){i.mutation_insert(g,x,u._nextSibling);try{for(var _=v(w.dom.rangeList),b=_.next();!b.done;b=_.next()){var S=b.value;S._start[0]===u&&S._start[1]>s&&(S._start[0]=g,S._start[1]-=s),S._end[0]===u&&S._end[1]>s&&(S._end[0]=g,S._end[1]-=s);var C=p.tree_index(u);S._start[0]===x&&S._start[1]===C+1&&S._start[1]++,S._end[0]===x&&S._end[1]===C+1&&S._end[1]++}}catch(T){f={error:T}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}}return n.characterData_replaceData(u,s,t,""),g}},function(E,l,o){"use strict";var v=o(4),w=o(41),y=o(24),m=o(48),a=[].join,p=w!=Object,n=m("join",",");v({target:"Array",proto:!0,forced:p||!n},{join:function(i){return a.call(y(this),i===void 0?",":i)}})},function(E,l,o){var v=o(4),w=o(83),y=String.fromCharCode,m=String.fromCodePoint;v({target:"String",stat:!0,forced:!!m&&m.length!=1},{fromCodePoint:function(a){for(var p,n=[],i=arguments.length,u=0;i>u;){if(p=+arguments[u++],w(p,1114111)!==p)throw RangeError(p+" is not a valid code point");n.push(p<65536?y(p):y(55296+((p-=65536)>>10),p%1024+56320))}return n.join("")}})},function(E,l,o){"use strict";var v=this&&this.__read||function(m,a){var p=typeof Symbol=="function"&&m[Symbol.iterator];if(!p)return m;var n,i,u=p.call(m),s=[];try{for(;(a===void 0||a-- >0)&&!(n=u.next()).done;)s.push(n.value)}catch(f){i={error:f}}finally{try{n&&!n.done&&(p=u.return)&&p.call(u)}finally{if(i)throw i.error}}return s};Object.defineProperty(l,"__esModule",{value:!0});var w=o(111),y=function(){function m(a,p){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=a,this._index=0,this._length=a.length,p&&(this._options.skipWhitespaceOnlyText=p.skipWhitespaceOnlyText||!1)}return m.prototype.nextToken=function(){if(this.eof())return{type:w.TokenType.EOF};var a=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&a.type===w.TokenType.Text&&m.isWhiteSpaceToken(a)&&(a=this.nextToken()),a},m.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?m.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},m.prototype.declaration=function(){for(var a="",p="",n="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.Declaration,version:a,encoding:p,standalone:n};var i=v(this.attribute(),2),u=i[0],s=i[1];u==="version"?a=s:u==="encoding"?p=s:u==="standalone"?n=s:this.throwError("Invalid attribute name: "+u)}this.throwError("Missing declaration end symbol `?>`")},m.prototype.doctype=function(){var a="",p="";this.skipSpace();var n=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(a=this.quotedString(),p=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(p=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:w.TokenType.DocType,name:n,pubId:a,sysId:p}},m.prototype.pi=function(){var a=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:w.TokenType.PI,target:a,data:""};var p=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:w.TokenType.PI,target:a,data:p}},m.prototype.text=function(){var a=this.takeUntil("<");return{type:w.TokenType.Text,data:a}},m.prototype.comment=function(){var a=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:w.TokenType.Comment,data:a}},m.prototype.cdata=function(){var a=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:w.TokenType.CDATA,data:a}},m.prototype.openTag=function(){this.skipSpace();var a=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:[],selfClosing:!0};for(var p=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:w.TokenType.Element,name:a,attributes:p,selfClosing:!0};var n=this.attribute();p.push(n)}this.throwError("Missing opening element tag end symbol `>`")},m.prototype.closeTag=function(){this.skipSpace();var a=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:w.TokenType.ClosingTag,name:a}},m.prototype.attribute=function(){this.skipSpace();var a=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[a,this.quotedString()]},m.prototype.quotedString=function(){this.skipSpace();var a=this.take(1);m.isQuote(a)||this.throwError("Missing start quote character before quoted value");var p=this.takeUntil(a);return this.skipIfStartsWith(a)||this.throwError("Missing end quote character after quoted value"),p},m.prototype.eof=function(){return this._index>=this._length},m.prototype.skipIfStartsWith=function(a){var p=a.length;if(p===1)return this._str[this._index]===a&&(this._index++,!0);for(var n=0;nthis._length&&(this._index=this._length)},m.prototype.skipSpace=function(){for(;!this.eof()&&m.isSpace(this._str[this._index]);)this._index++},m.prototype.take=function(a){if(a===1)return this._str[this._index++];var p=this._index;return this.seek(a),this._str.slice(p,this._index)},m.prototype.takeUntil=function(a,p){p===void 0&&(p=!1);for(var n=this._index;this._indexthis._index){s=n.index;break}throw this.err={line:i,col:this._index-u,index:this._index,str:this._str.substring(u,s)},new Error(a+` + `)+" "+le[1]:le[0]+ie+" "+Q.join(", ")+" "+le[1]}function E(Q){return Array.isArray(Q)}_.isArray=E;function w(Q){return typeof Q=="boolean"}_.isBoolean=w;function D(Q){return Q===null}_.isNull=D;function T(Q){return Q==null}_.isNullOrUndefined=T;function N(Q){return typeof Q=="number"}_.isNumber=N;function I(Q){return typeof Q=="string"}_.isString=I;function M(Q){return typeof Q=="symbol"}_.isSymbol=M;function k(Q){return Q===void 0}_.isUndefined=k;function G(Q){return $(Q)&&ee(Q)==="[object RegExp]"}_.isRegExp=G;function $(Q){return typeof Q=="object"&&Q!==null}_.isObject=$;function Y(Q){return $(Q)&&ee(Q)==="[object Date]"}_.isDate=Y;function z(Q){return $(Q)&&(ee(Q)==="[object Error]"||Q instanceof Error)}_.isError=z;function X(Q){return typeof Q=="function"}_.isFunction=X;function H(Q){return Q===null||typeof Q=="boolean"||typeof Q=="number"||typeof Q=="string"||typeof Q=="symbol"||typeof Q>"u"}_.isPrimitive=H,_.isBuffer=v("./support/isBuffer");function ee(Q){return Object.prototype.toString.call(Q)}function re(Q){return Q<10?"0"+Q.toString(10):Q.toString(10)}var de=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ve(){var Q=new Date,ie=[re(Q.getHours()),re(Q.getMinutes()),re(Q.getSeconds())].join(":");return[Q.getDate(),de[Q.getMonth()],ie].join(" ")}_.log=function(){console.log("%s - %s",ve(),_.format.apply(_,arguments))},_.inherits=v("inherits"),_._extend=function(Q,ie){if(!ie||!$(ie))return Q;for(var le=Object.keys(ie),fe=le.length;fe--;)Q[le[fe]]=ie[le[fe]];return Q};function ne(Q,ie){return Object.prototype.hasOwnProperty.call(Q,ie)}}).call(this,v("_process"),typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(v,S,_){},{}],13:[function(v,S,_){(function(y){function s(l,u){for(var p=0,m=l.length-1;m>=0;m--){var f=l[m];f==="."?l.splice(m,1):f===".."?(l.splice(m,1),p++):p&&(l.splice(m,1),p--)}if(u)for(;p--;p)l.unshift("..");return l}_.resolve=function(){for(var l="",u=!1,p=arguments.length-1;p>=-1&&!u;p--){var m=p>=0?arguments[p]:y.cwd();if(typeof m!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!m)continue;l=m+"/"+l,u=m.charAt(0)==="/"}return l=s(i(l.split("/"),function(f){return!!f}),!u).join("/"),(u?"/":"")+l||"."},_.normalize=function(l){var u=_.isAbsolute(l),p=o(l,-1)==="/";return l=s(i(l.split("/"),function(m){return!!m}),!u).join("/"),!l&&!u&&(l="."),l&&p&&(l+="/"),(u?"/":"")+l},_.isAbsolute=function(l){return l.charAt(0)==="/"},_.join=function(){var l=Array.prototype.slice.call(arguments,0);return _.normalize(i(l,function(u,p){if(typeof u!="string")throw new TypeError("Arguments to path.join must be strings");return u}).join("/"))},_.relative=function(l,u){l=_.resolve(l).substr(1),u=_.resolve(u).substr(1);function p(x){for(var E=0;E=0&&x[w]==="";w--);return E>w?[]:x.slice(E,w-E+1)}for(var m=p(l.split("/")),f=p(u.split("/")),t=Math.min(m.length,f.length),e=t,g=0;g=1;--t)if(u=l.charCodeAt(t),u===47){if(!f){m=t;break}}else f=!1;return m===-1?p?"/":".":p&&m===1?"/":l.slice(0,m)};function h(l){typeof l!="string"&&(l=l+"");var u=0,p=-1,m=!0,f;for(f=l.length-1;f>=0;--f)if(l.charCodeAt(f)===47){if(!m){u=f+1;break}}else p===-1&&(m=!1,p=f+1);return p===-1?"":l.slice(u,p)}_.basename=function(l,u){var p=h(l);return u&&p.substr(-1*u.length)===u&&(p=p.substr(0,p.length-u.length)),p},_.extname=function(l){typeof l!="string"&&(l=l+"");for(var u=-1,p=0,m=-1,f=!0,t=0,e=l.length-1;e>=0;--e){var g=l.charCodeAt(e);if(g===47){if(!f){p=e+1;break}continue}m===-1&&(f=!1,m=e+1),g===46?u===-1?u=e:t!==1&&(t=1):u!==-1&&(t=-1)}return u===-1||m===-1||t===0||t===1&&u===m-1&&u===p+1?"":l.slice(u,m)};function i(l,u){if(l.filter)return l.filter(u);for(var p=[],m=0;m1)for(var D=1;D"?e>w:D===">="?e>=w:D==="|"?e|w:D==="&"?e&w:D==="^"?e^w:D==="&&"?e&&w:D==="||"?e||w:i}else{if(u.type==="Identifier")return{}.hasOwnProperty.call(h,u.name)?h[u.name]:i;if(u.type==="ThisExpression")return{}.hasOwnProperty.call(h,"this")?h.this:i;if(u.type==="CallExpression"){var T=l(u.callee);if(T===i||typeof T!="function")return i;var N=u.callee.object?l(u.callee.object):i;N===i&&(N=null);for(var I=[],t=0,e=u.arguments.length;t{(function(c,a){typeof Fi=="object"&&typeof Ms=="object"?Ms.exports=a():typeof define=="function"&&define.amd?define([],a):typeof Fi=="object"?Fi.xmlbuilder2=a():c.xmlbuilder2=a()})(Fi,function(){return function(c){var a={};function n(v){if(a[v])return a[v].exports;var S=a[v]={i:v,l:!1,exports:{}};return c[v].call(S.exports,S,S.exports,n),S.l=!0,S.exports}return n.m=c,n.c=a,n.d=function(v,S,_){n.o(v,S)||Object.defineProperty(v,S,{enumerable:!0,get:_})},n.r=function(v){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(v,"__esModule",{value:!0})},n.t=function(v,S){if(1&S&&(v=n(v)),8&S||4&S&&typeof v=="object"&&v&&v.__esModule)return v;var _=Object.create(null);if(n.r(_),Object.defineProperty(_,"default",{enumerable:!0,value:v}),2&S&&typeof v!="string")for(var y in v)n.d(_,y,function(s){return v[s]}.bind(null,y));return _},n.n=function(v){var S=v&&v.__esModule?function(){return v.default}:function(){return v};return n.d(S,"a",S),S},n.o=function(v,S){return Object.prototype.hasOwnProperty.call(v,S)},n.p="",n(n.s=184)}([function(c,a,n){"use strict";function v(S){for(var _ in S)a.hasOwnProperty(_)||(a[_]=S[_])}Object.defineProperty(a,"__esModule",{value:!0}),v(n(240)),v(n(251)),v(n(175)),v(n(107)),v(n(29)),v(n(73)),v(n(106)),v(n(30)),v(n(252)),v(n(52)),v(n(97)),v(n(253)),v(n(37)),v(n(51)),v(n(173)),v(n(176)),v(n(172)),v(n(108)),v(n(254)),v(n(255)),v(n(256)),v(n(72)),v(n(177)),v(n(105)),v(n(17)),v(n(257)),v(n(12)),v(n(174))},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(212);a.FixedSizeSet=S.FixedSizeSet;var _=n(213);a.ObjectCache=_.ObjectCache;var y=n(214);a.CompareCache=y.CompareCache;var s=n(215);a.Lazy=s.Lazy;var h=n(216);function i(e,g,b){if(f(e))e.forEach(function(E,w){return g.call(b,w,E)});else for(var x in e)e.hasOwnProperty(x)&&g.call(b,x,e[x])}function o(e){var g,b;if(l(e))return e;if(p(e)){var x=[];try{for(var E=v(e),w=E.next();!w.done;w=E.next()){var D=w.value;x.push(o(D))}}catch(I){g={error:I}}finally{try{w&&!w.done&&(b=E.return)&&b.call(E)}finally{if(g)throw g.error}}return x}if(u(e)){x={};for(var T in e)if(e.hasOwnProperty(T)){var N=e[T];x[T]=o(N)}return x}return e}function l(e){return!!e&&Object.prototype.toString.call(e)==="[object Function]"}function u(e){var g=typeof e;return!!e&&(g==="function"||g==="object")}function p(e){return Array.isArray(e)}function m(e){return e instanceof Set}function f(e){return e instanceof Map}function t(e){if(u(e)){var g=Object.getPrototypeOf(e),b=g.constructor;return g&&b&&typeof b=="function"&&b instanceof b&&Function.prototype.toString.call(b)===Function.prototype.toString.call(Object)}return!1}a.StringWalker=h.StringWalker,a.applyMixin=function(e,g){for(var b=[],x=2;x>6|192;else{if(E>55295&&E<56320){if(++x>=e.length)throw new Error("Incomplete surrogate pair.");var w=e.charCodeAt(x);if(w<56320||w>57343)throw new Error("Invalid surrogate character.");E=65536+((1023&E)<<10)+(1023&w),g[b++]=E>>18|240,g[b++]=E>>12&63|128}else g[b++]=E>>12|224;g[b++]=E>>6&63|128}g[b++]=63&E|128}}return g.subarray(0,b)},a.utf8Decode=function(e){for(var g="",b=0;b127)if(x>191&&x<224){if(b>=e.length)throw new Error("Incomplete 2-byte sequence.");x=(31&x)<<6|63&e[b++]}else if(x>223&&x<240){if(b+1>=e.length)throw new Error("Incomplete 3-byte sequence.");x=(15&x)<<12|(63&e[b++])<<6|63&e[b++]}else{if(!(x>239&&x<248))throw new Error("Unknown multi-byte start.");if(b+2>=e.length)throw new Error("Incomplete 4-byte sequence.");x=(7&x)<<18|(63&e[b++])<<12|(63&e[b++])<<6|63&e[b++]}if(x<=65535)g+=String.fromCharCode(x);else{if(!(x<=1114111))throw new Error("Code point exceeds UTF-16 limit.");x-=65536,g+=String.fromCharCode(x>>10|55296),g+=String.fromCharCode(1023&x|56320)}}return g}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.Before=0]="Before",v[v.Equal=1]="Equal",v[v.After=2]="After"}(a.BoundaryPosition||(a.BoundaryPosition={})),function(v){v[v.None=0]="None",v[v.Capturing=1]="Capturing",v[v.AtTarget=2]="AtTarget",v[v.Bubbling=3]="Bubbling"}(a.EventPhase||(a.EventPhase={})),function(v){v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=3]="Text",v[v.CData=4]="CData",v[v.EntityReference=5]="EntityReference",v[v.Entity=6]="Entity",v[v.ProcessingInstruction=7]="ProcessingInstruction",v[v.Comment=8]="Comment",v[v.Document=9]="Document",v[v.DocumentType=10]="DocumentType",v[v.DocumentFragment=11]="DocumentFragment",v[v.Notation=12]="Notation"}(a.NodeType||(a.NodeType={})),function(v){v[v.Disconnected=1]="Disconnected",v[v.Preceding=2]="Preceding",v[v.Following=4]="Following",v[v.Contains=8]="Contains",v[v.ContainedBy=16]="ContainedBy",v[v.ImplementationSpecific=32]="ImplementationSpecific"}(a.Position||(a.Position={})),function(v){v[v.Accept=1]="Accept",v[v.Reject=2]="Reject",v[v.Skip=3]="Skip"}(a.FilterResult||(a.FilterResult={})),function(v){v[v.All=4294967295]="All",v[v.Element=1]="Element",v[v.Attribute=2]="Attribute",v[v.Text=4]="Text",v[v.CDataSection=8]="CDataSection",v[v.EntityReference=16]="EntityReference",v[v.Entity=32]="Entity",v[v.ProcessingInstruction=64]="ProcessingInstruction",v[v.Comment=128]="Comment",v[v.Document=256]="Document",v[v.DocumentType=512]="DocumentType",v[v.DocumentFragment=1024]="DocumentFragment",v[v.Notation=2048]="Notation"}(a.WhatToShow||(a.WhatToShow={})),function(v){v[v.StartToStart=0]="StartToStart",v[v.StartToEnd=1]="StartToEnd",v[v.EndToEnd=2]="EndToEnd",v[v.EndToStart=3]="EndToStart"}(a.HowToCompare||(a.HowToCompare={}))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(241);a.Cast=v.Cast;var S=n(150);a.Guard=S.Guard;var _=n(242);a.EmptySet=_.EmptySet},function(c,a,n){var v=n(11),S=n(55).f,_=n(21),y=n(25),s=n(80),h=n(119),i=n(123);c.exports=function(o,l){var u,p,m,f,t,e=o.target,g=o.global,b=o.stat;if(u=g?v:b?v[e]||s(e,{}):(v[e]||{}).prototype)for(p in l){if(f=l[p],m=o.noTargetGet?(t=S(u,p))&&t.value:u[p],!i(g?p:e+(b?".":"#")+p,o.forced)&&m!==void 0){if(typeof f==typeof m)continue;h(f,m)}(o.sham||m&&m.sham)&&_(f,"sham",!0),y(u,p,f,o)}}},function(c,a,n){var v=n(11),S=n(81),_=n(14),y=n(58),s=n(86),h=n(124),i=S("wks"),o=v.Symbol,l=h?o:o&&o.withoutSetter||y;c.exports=function(u){return _(i,u)||(s&&_(o,u)?i[u]=o[u]:i[u]=l("Symbol."+u)),i[u]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(29),_=function(){function y(){this._features={mutationObservers:!0,customElements:!0,slots:!0,steps:!0},this._window=null,this._compareCache=new v.CompareCache,this._rangeList=new v.FixedSizeSet}return y.prototype.setFeatures=function(s){if(s===void 0&&(s=!0),v.isObject(s))for(var h in s)this._features[h]=s[h]||!1;else for(var h in this._features)this._features[h]=s},Object.defineProperty(y.prototype,"features",{get:function(){return this._features},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"window",{get:function(){return this._window===null&&(this._window=S.create_window()),this._window},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"compareCache",{get:function(){return this._compareCache},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"rangeList",{get:function(){return this._rangeList},enumerable:!0,configurable:!0}),Object.defineProperty(y,"instance",{get:function(){return y._instance||(y._instance=new y),y._instance},enumerable:!0,configurable:!0}),y}();a.dom=_.instance},function(c,a,n){"use strict";var v=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var g in t)Object.hasOwnProperty.call(t,g)&&(e[g]=t[g]);return e.default=t,e};Object.defineProperty(a,"__esModule",{value:!0});var S=v(n(228));a.base64=S;var _=v(n(146));a.byte=_;var y=v(n(147));a.byteSequence=y;var s=v(n(96));a.codePoint=s;var h=v(n(232));a.json=h;var i=v(n(233));a.list=i;var o=v(n(234));a.map=o;var l=v(n(235));a.namespace=l;var u=v(n(236));a.queue=u;var p=v(n(237));a.set=p;var m=v(n(238));a.stack=m;var f=v(n(239));a.string=f},function(c,a){c.exports=function(n){try{return!!n()}catch{return!0}}},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(z,X){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(H,ee){H.__proto__=ee}||function(H,ee){for(var re in ee)ee.hasOwnProperty(re)&&(H[re]=ee[re])})(z,X)},function(z,X){function H(){this.constructor=z}v(z,X),z.prototype=X===null?Object.create(X):(H.prototype=X.prototype,new H)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(z){function X(H,ee){ee===void 0&&(ee="");var re=z.call(this,ee)||this;return re.name=H,re}return S(X,z),X}(Error);a.DOMException=_;var y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DOMStringSizeError",H)||this}return S(X,z),X}(_);a.DOMStringSizeError=y;var s=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"WrongDocumentError","The object is in the wrong document. "+H)||this}return S(X,z),X}(_);a.WrongDocumentError=s;var h=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoDataAllowedError",H)||this}return S(X,z),X}(_);a.NoDataAllowedError=h;var i=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NoModificationAllowedError","The object can not be modified. "+H)||this}return S(X,z),X}(_);a.NoModificationAllowedError=i;var o=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotSupportedError","The operation is not supported. "+H)||this}return S(X,z),X}(_);a.NotSupportedError=o;var l=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InUseAttributeError",H)||this}return S(X,z),X}(_);a.InUseAttributeError=l;var u=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidStateError","The object is in an invalid state. "+H)||this}return S(X,z),X}(_);a.InvalidStateError=u;var p=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidModificationError","The object can not be modified in this way. "+H)||this}return S(X,z),X}(_);a.InvalidModificationError=p;var m=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NamespaceError","The operation is not allowed by Namespaces in XML. [XMLNS] "+H)||this}return S(X,z),X}(_);a.NamespaceError=m;var f=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidAccessError","The object does not support the operation or argument. "+H)||this}return S(X,z),X}(_);a.InvalidAccessError=f;var t=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"ValidationError",H)||this}return S(X,z),X}(_);a.ValidationError=t;var e=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TypeMismatchError",H)||this}return S(X,z),X}(_);a.TypeMismatchError=e;var g=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SecurityError","The operation is insecure. "+H)||this}return S(X,z),X}(_);a.SecurityError=g;var b=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NetworkError","A network error occurred. "+H)||this}return S(X,z),X}(_);a.NetworkError=b;var x=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"AbortError","The operation was aborted. "+H)||this}return S(X,z),X}(_);a.AbortError=x;var E=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"URLMismatchError","The given URL does not match another URL. "+H)||this}return S(X,z),X}(_);a.URLMismatchError=E;var w=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"QuotaExceededError","The quota has been exceeded. "+H)||this}return S(X,z),X}(_);a.QuotaExceededError=w;var D=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"TimeoutError","The operation timed out. "+H)||this}return S(X,z),X}(_);a.TimeoutError=D;var T=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidNodeTypeError","The supplied node is incorrect or has an incorrect ancestor for this operation. "+H)||this}return S(X,z),X}(_);a.InvalidNodeTypeError=T;var N=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"DataCloneError","The object can not be cloned. "+H)||this}return S(X,z),X}(_);a.DataCloneError=N;var I=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotImplementedError","The DOM method is not implemented by this module. "+H)||this}return S(X,z),X}(_);a.NotImplementedError=I;var M=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"HierarchyRequestError","The operation would yield an incorrect node tree. "+H)||this}return S(X,z),X}(_);a.HierarchyRequestError=M;var k=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"NotFoundError","The object can not be found here. "+H)||this}return S(X,z),X}(_);a.NotFoundError=k;var G=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"IndexSizeError","The index is not in the allowed range. "+H)||this}return S(X,z),X}(_);a.IndexSizeError=G;var $=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"SyntaxError","The string did not match the expected pattern. "+H)||this}return S(X,z),X}(_);a.SyntaxError=$;var Y=function(z){function X(H){return H===void 0&&(H=""),z.call(this,"InvalidCharacterError","The string contains invalid characters. "+H)||this}return S(X,z),X}(_);a.InvalidCharacterError=Y},function(c,a,n){"use strict";var v=n(53),S=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];c.exports=function(y,s){var h,i;if(s=s||{},Object.keys(s).forEach(function(o){if(S.indexOf(o)===-1)throw new v('Unknown option "'+o+'" is met in definition of "'+y+'" YAML type.')}),this.tag=y,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(o){return o},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.defaultStyle=s.defaultStyle||null,this.styleAliases=(h=s.styleAliases||null,i={},h!==null&&Object.keys(h).forEach(function(o){h[o].forEach(function(l){i[String(l)]=o})}),i),_.indexOf(this.kind)===-1)throw new v('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}},function(c,a,n){(function(v){var S=function(_){return _&&_.Math==Math&&_};c.exports=S(typeof globalThis=="object"&&globalThis)||S(typeof window=="object"&&window)||S(typeof self=="object"&&self)||S(typeof v=="object"&&v)||Function("return this")()}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.idl_defineConst=function(v,S,_){Object.defineProperty(v,S,{writable:!1,enumerable:!0,configurable:!1,value:_})}},function(c,a){c.exports=function(n){return typeof n=="object"?n!==null:typeof n=="function"}},function(c,a){var n={}.hasOwnProperty;c.exports=function(v,S){return n.call(v,S)}},function(c,a,n){var v=n(16),S=n(115),_=n(18),y=n(56),s=Object.defineProperty;a.f=v?s:function(h,i,o){if(_(h),i=y(i,!0),_(o),S)try{return s(h,i,o)}catch{}if("get"in o||"set"in o)throw TypeError("Accessors not supported");return"value"in o&&(h[i]=o.value),h}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},function(c,a,n){"use strict";var v=this&&this.__values||function(e){var g=typeof Symbol=="function"&&Symbol.iterator,b=g&&e[g],x=0;if(b)return b.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&x>=e.length&&(e=void 0),{value:e&&e[x++],done:!e}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(2);function y(e,g,b){if(b===void 0&&(b=!1),b&&S.Guard.isElementNode(g)&&S.Guard.isShadowRoot(g.shadowRoot)&&g.shadowRoot._firstChild)return g.shadowRoot._firstChild;if(g._firstChild)return g._firstChild;if(g===e)return null;if(g._nextSibling)return g._nextSibling;for(var x=g._parent;x&&x!==e;){if(x._nextSibling)return x._nextSibling;x=x._parent}return null}function s(){var e;return(e={})[Symbol.iterator]=function(){return{next:function(){return{done:!0,value:null}}}},e}function h(e,g,b,x){g===void 0&&(g=!1),b===void 0&&(b=!1);for(var E=g?e:y(e,e,b);E&&x&&!x(E);)E=y(e,E,b);return E}function i(e,g,b,x,E){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var w=y(e,g,x);w&&E&&!E(w);)w=y(e,w,x);return w}function o(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=g?e:y(e,e,b);return{next:function(){for(;w&&x&&!x(w);)w=y(e,w,b);if(w===null)return{done:!0,value:null};var D={done:!1,value:w};return w=y(e,w,b),D}}},E):s()}function l(e,g,b){g===void 0&&(g=!1);for(var x=g?e:e._parent;x&&b&&!b(x);)x=x._parent;return x}function u(e,g,b,x){b===void 0&&(b=!1);for(var E=g._parent;E&&x&&!x(E);)E=E._parent;return E}function p(e){return S.Guard.isDocumentTypeNode(e)?0:S.Guard.isCharacterDataNode(e)?e._data.length:e._children.size}function m(e,g){if(g===void 0&&(g=!1),g){var b=m(e,!1);return S.Guard.isShadowRoot(b)?m(b._host,!0):b}return e._parent?m(e._parent):e}function f(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=b?e:x&&S.Guard.isShadowRoot(e)?e._host:e._parent;E!==null;){if(E===g)return!0;E=x&&S.Guard.isShadowRoot(E)?E._host:E._parent}return!1}function t(e){for(var g=m(e),b=0,x=h(g);x!==null;){if(b++,x===e)return b;x=i(g,x)}return-1}a.tree_getFirstDescendantNode=h,a.tree_getNextDescendantNode=i,a.tree_getDescendantNodes=o,a.tree_getDescendantElements=function(e,g,b,x){var E;return g===void 0&&(g=!1),b===void 0&&(b=!1),g||e._children.size!==0?((E={})[Symbol.iterator]=function(){var w=o(e,g,b,function(T){return S.Guard.isElementNode(T)})[Symbol.iterator](),D=w.next().value;return{next:function(){for(;D&&x&&!x(D);)D=w.next().value;if(D===null)return{done:!0,value:null};var T={done:!1,value:D};return D=w.next().value,T}}},E):s()},a.tree_getSiblingNodes=function(e,g,b){var x;return g===void 0&&(g=!1),e._parent&&e._parent._children.size!==0?((x={})[Symbol.iterator]=function(){var E=e._parent?e._parent._firstChild:null;return{next:function(){for(;E&&(b&&!b(E)||!g&&E===e);)E=E._nextSibling;if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=E._nextSibling,w}}},x):s()},a.tree_getFirstAncestorNode=l,a.tree_getNextAncestorNode=u,a.tree_getAncestorNodes=function(e,g,b){var x;return g===void 0&&(g=!1),g||e._parent?((x={})[Symbol.iterator]=function(){var E=l(e,g,b);return{next:function(){if(E===null)return{done:!0,value:null};var w={done:!1,value:E};return E=u(0,E,g,b),w}}},x):s()},a.tree_getCommonAncestor=function(e,g){if(e===g)return e._parent;for(var b=[],x=[],E=l(e,!0);E!==null;)b.push(E),E=u(0,E,!0);for(var w=l(g,!0);w!==null;)x.push(w),w=u(0,w,!0);for(var D=b.length,T=x.length,N=null,I=Math.min(D,T);I>0;I--){var M=b[--D];if(M!==x[--T])break;N=M}return N},a.tree_getFollowingNode=function(e,g){if(g._firstChild)return g._firstChild;if(g._nextSibling)return g._nextSibling;for(;;){var b=g._parent;if(b===null||b===e)return null;if(b._nextSibling)return b._nextSibling;g=b}},a.tree_getPrecedingNode=function(e,g){return g===e?null:g._previousSibling?(g=g._previousSibling)._lastChild?g._lastChild:g:g._parent},a.tree_isConstrained=function e(g){var b,x,E,w,D,T;switch(g._nodeType){case _.NodeType.Document:var N=!1,I=!1;try{for(var M=v(g._children),k=M.next();!k.done;k=M.next())switch(k.value._nodeType){case _.NodeType.ProcessingInstruction:case _.NodeType.Comment:break;case _.NodeType.DocumentType:if(N||I)return!1;N=!0;break;case _.NodeType.Element:if(I)return!1;I=!0;break;default:return!1}}catch(X){b={error:X}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(b)throw b.error}}break;case _.NodeType.DocumentFragment:case _.NodeType.Element:try{for(var G=v(g._children),$=G.next();!$.done;$=G.next())switch($.value._nodeType){case _.NodeType.Element:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:break;default:return!1}}catch(X){E={error:X}}finally{try{$&&!$.done&&(w=G.return)&&w.call(G)}finally{if(E)throw E.error}}break;case _.NodeType.DocumentType:case _.NodeType.Text:case _.NodeType.ProcessingInstruction:case _.NodeType.CData:case _.NodeType.Comment:return!g.hasChildNodes()}try{for(var Y=v(g._children),z=Y.next();!z.done;z=Y.next())if(!e(z.value))return!1}catch(X){D={error:X}}finally{try{z&&!z.done&&(T=Y.return)&&T.call(Y)}finally{if(D)throw D.error}}return!0},a.tree_nodeLength=p,a.tree_isEmpty=function(e){return p(e)===0},a.tree_rootNode=m,a.tree_isDescendantOf=function(e,g,b,x){b===void 0&&(b=!1),x===void 0&&(x=!1);for(var E=h(e,b,x);E!==null;){if(E===g)return!0;E=i(e,E,b,x)}return!1},a.tree_isAncestorOf=f,a.tree_isHostIncludingAncestorOf=function e(g,b,x){if(x===void 0&&(x=!1),f(g,b,x))return!0;var E=m(g);return!(!S.Guard.isDocumentFragmentNode(E)||E._host===null||!e(E._host,b,x))},a.tree_isSiblingOf=function(e,g,b){return b===void 0&&(b=!1),e!==g?e._parent!==null&&e._parent===g._parent:!!b},a.tree_isPreceding=function(e,g){var b=t(e),x=t(g);return b!==-1&&x!==-1&&m(e)===m(g)&&xb},a.tree_isParentOf=function(e,g){return e._parent===g},a.tree_isChildOf=function(e,g){return g._parent===e},a.tree_previousSibling=function(e){return e._previousSibling},a.tree_nextSibling=function(e){return e._nextSibling},a.tree_firstChild=function(e){return e._firstChild},a.tree_lastChild=function(e){return e._lastChild},a.tree_treePosition=t,a.tree_index=function(e){for(var g=0;e._previousSibling!==null;)g++,e=e._previousSibling;return g},a.tree_retarget=function(e,g){for(;;){if(!e||!S.Guard.isNode(e))return e;var b=m(e);if(!S.Guard.isShadowRoot(b)||g&&S.Guard.isNode(g)&&f(b,g,!0,!0))return e;e=b.host}}},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S))throw TypeError(String(S)+" is not an object");return S}},function(c,a,n){"use strict";var v=n(24),S=n(130),_=n(49),y=n(43),s=n(88),h=y.set,i=y.getterFor("Array Iterator");c.exports=s(Array,"Array",function(o,l){h(this,{type:"Array Iterator",target:v(o),index:0,kind:l})},function(){var o=i(this),l=o.target,u=o.kind,p=o.index++;return!l||p>=l.length?(o.target=void 0,{value:void 0,done:!0}):u=="keys"?{value:p,done:!1}:u=="values"?{value:l[p],done:!1}:{value:[p,l[p]],done:!1}},"values"),_.Arguments=_.Array,S("keys"),S("values"),S("entries")},function(c,a,n){var v=n(90),S=n(25),_=n(202);v||S(Object.prototype,"toString",_,{unsafe:!0})},function(c,a,n){var v=n(16),S=n(15),_=n(40);c.exports=v?function(y,s,h){return S.f(y,s,_(1,h))}:function(y,s,h){return y[s]=h,y}},function(c,a,n){"use strict";var v=n(137).charAt,S=n(43),_=n(88),y=S.set,s=S.getterFor("String Iterator");_(String,"String",function(h){y(this,{type:"String Iterator",string:String(h),index:0})},function(){var h,i=s(this),o=i.string,l=i.index;return l>=o.length?{value:void 0,done:!0}:(h=v(o,l),i.index+=h.length,{value:h,done:!1})})},function(c,a,n){var v=n(11),S=n(203),_=n(19),y=n(21),s=n(5),h=s("iterator"),i=s("toStringTag"),o=_.values;for(var l in S){var u=v[l],p=u&&u.prototype;if(p){if(p[h]!==o)try{y(p,h,o)}catch{p[h]=o}if(p[i]||y(p,i,l),S[l]){for(var m in _)if(p[m]!==_[m])try{y(p,m,_[m])}catch{p[m]=_[m]}}}}},function(c,a,n){var v=n(41),S=n(35);c.exports=function(_){return v(S(_))}},function(c,a,n){var v=n(11),S=n(21),_=n(14),y=n(80),s=n(117),h=n(43),i=h.get,o=h.enforce,l=String(String).split("String");(c.exports=function(u,p,m,f){var t=!!f&&!!f.unsafe,e=!!f&&!!f.enumerable,g=!!f&&!!f.noTargetGet;typeof m=="function"&&(typeof p!="string"||_(m,"name")||S(m,"name",p),o(m).source=l.join(typeof p=="string"?p:"")),u!==v?(t?!g&&u[p]&&(e=!0):delete u[p],e?u[p]=m:S(u,p,m)):e?u[p]=m:y(p,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&i(this).source||s(this)})},function(c,a,n){var v=n(47),S=Math.min;c.exports=function(_){return _>0?S(v(_),9007199254740991):0}},function(c,a,n){var v=n(35);c.exports=function(S){return Object(v(S))}},function(c,a,n){var v=n(16),S=n(8),_=n(14),y=Object.defineProperty,s={},h=function(i){throw i};c.exports=function(i,o){if(_(s,i))return s[i];o||(o={});var l=[][i],u=!!_(o,"ACCESSORS")&&o.ACCESSORS,p=_(o,0)?o[0]:h,m=_(o,1)?o[1]:void 0;return s[i]=!!l&&!S(function(){if(u&&!v)return!0;var f={length:-1};u?y(f,1,{enumerable:!0,get:h}):f[1]=1,l.call(f,p,m)})}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(148),S=n(149),_=n(151),y=n(98),s=n(153),h=n(154),i=n(155),o=n(99),l=n(100),u=n(156),p=n(157),m=n(101),f=n(158),t=n(159),e=n(160),g=n(161),b=n(162),x=n(163),E=n(164),w=n(165),D=n(166),T=n(167),N=n(168),I=n(169),M=n(170);a.create_domImplementation=function(k){return v.DOMImplementationImpl._create(k)},a.create_window=function(){return S.WindowImpl._create()},a.create_xmlDocument=function(){return new _.XMLDocumentImpl},a.create_document=function(){return new y.DocumentImpl},a.create_abortController=function(){return new s.AbortControllerImpl},a.create_abortSignal=function(){return h.AbortSignalImpl._create()},a.create_documentType=function(k,G,$,Y){return i.DocumentTypeImpl._create(k,G,$,Y)},a.create_element=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_htmlUnknownElement=function(k,G,$,Y){return o.ElementImpl._create(k,G,$,Y)},a.create_documentFragment=function(k){return l.DocumentFragmentImpl._create(k)},a.create_shadowRoot=function(k,G){return u.ShadowRootImpl._create(k,G)},a.create_attr=function(k,G){return p.AttrImpl._create(k,G)},a.create_text=function(k,G){return m.TextImpl._create(k,G)},a.create_cdataSection=function(k,G){return f.CDATASectionImpl._create(k,G)},a.create_comment=function(k,G){return t.CommentImpl._create(k,G)},a.create_processingInstruction=function(k,G,$){return e.ProcessingInstructionImpl._create(k,G,$)},a.create_htmlCollection=function(k,G){return G===void 0&&(G=function(){return!0}),g.HTMLCollectionImpl._create(k,G)},a.create_nodeList=function(k){return b.NodeListImpl._create(k)},a.create_nodeListStatic=function(k,G){return x.NodeListStaticImpl._create(k,G)},a.create_namedNodeMap=function(k){return E.NamedNodeMapImpl._create(k)},a.create_range=function(k,G){return w.RangeImpl._create(k,G)},a.create_nodeIterator=function(k,G,$){return D.NodeIteratorImpl._create(k,G,$)},a.create_treeWalker=function(k,G){return T.TreeWalkerImpl._create(k,G)},a.create_nodeFilter=function(){return N.NodeFilterImpl._create()},a.create_mutationRecord=function(k,G,$,Y,z,X,H,ee,re){return I.MutationRecordImpl._create(k,G,$,Y,z,X,H,ee,re)},a.create_domTokenList=function(k,G){return M.DOMTokenListImpl._create(k,G)}},function(c,a,n){"use strict";var v=this&&this.__values||function(p){var m=typeof Symbol=="function"&&Symbol.iterator,f=m&&p[m],t=0;if(f)return f.call(p);if(p&&typeof p.length=="number")return{next:function(){return p&&t>=p.length&&(p=void 0),{value:p&&p[t++],done:!p}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(17),y=n(3),s=n(72),h=new Map;function i(p,m){if(m!==p._root&&_.tree_isAncestorOf(p._reference,m,!0)){if(p._pointerBeforeReference)for(;;){var f=_.tree_getFollowingNode(p._root,m);if(f!==null&&_.tree_isDescendantOf(p._root,f,!0)&&!_.tree_isDescendantOf(m,f,!0))return void(p._reference=f);if(f===null)return void(p._pointerBeforeReference=!1)}if(m._previousSibling===null)m._parent!==null&&(p._reference=m._parent);else{for(var t=m._previousSibling,e=_.tree_getFirstDescendantNode(m._previousSibling,!0,!1);e!==null;)e!==null&&(t=e),e=_.tree_getNextDescendantNode(m._previousSibling,e,!0,!1);p._reference=t}}}function o(p,m,f,t,e){if(y.Guard.isSlot(p)&&m==="name"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_assignSlotablesForATree(_.tree_rootNode(p))}}function l(p,m,f,t,e){if(y.Guard.isSlotable(p)&&m==="slot"&&e===null){if(t===f||t===null&&f===""||t===""&&f===null)return;p._name=t===null||t===""?"":t,s.shadowTree_isAssigned(p)&&s.shadowTree_assignSlotables(p._assignedSlot),s.shadowTree_assignASlot(p)}}function u(p,m,f,t){m==="id"&&t===null&&(p._uniqueIdentifier=f||void 0)}a.dom_runRemovingSteps=function(p,m){},a.dom_runCloningSteps=function(p,m,f,t){},a.dom_runAdoptingSteps=function(p,m){},a.dom_runAttributeChangeSteps=function(p,m,f,t,e){var g,b;S.dom.features.slots&&(l.call(p,p,m,f,t,e),o.call(p,p,m,f,t,e)),u.call(p,p,m,t,e);try{for(var x=v(p._attributeChangeSteps),E=x.next();!E.done;E=x.next())E.value.call(p,p,m,f,t,e)}catch(w){g={error:w}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},a.dom_runInsertionSteps=function(p){},a.dom_runNodeIteratorPreRemovingSteps=function(p,m){i.call(p,p,m)},a.dom_hasSupportedTokens=function(p){return h.has(p)},a.dom_getSupportedTokens=function(p){return h.get(p)||new Set},a.dom_runEventConstructingSteps=function(p){},a.dom_runChildTextContentChangeSteps=function(p){}},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(46),y=n(44),s=n(16),h=n(86),i=n(124),o=n(8),l=n(14),u=n(59),p=n(13),m=n(18),f=n(27),t=n(24),e=n(56),g=n(40),b=n(60),x=n(61),E=n(82),w=n(190),D=n(85),T=n(55),N=n(15),I=n(79),M=n(21),k=n(25),G=n(81),$=n(57),Y=n(45),z=n(58),X=n(5),H=n(125),ee=n(126),re=n(62),de=n(43),ve=n(36).forEach,ne=$("hidden"),Q=X("toPrimitive"),ie=de.set,le=de.getterFor("Symbol"),fe=Object.prototype,P=S.Symbol,C=_("JSON","stringify"),B=T.f,L=N.f,R=w.f,q=I.f,W=G("symbols"),ae=G("op-symbols"),me=G("string-to-symbol-registry"),ge=G("symbol-to-string-registry"),Ae=G("wks"),Re=S.QObject,je=!Re||!Re.prototype||!Re.prototype.findChild,ot=s&&o(function(){return b(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a!=7})?function(xe,be,Ne){var Ce=B(fe,be);Ce&&delete fe[be],L(xe,be,Ne),Ce&&xe!==fe&&L(fe,be,Ce)}:L,Ye=function(xe,be){var Ne=W[xe]=b(P.prototype);return ie(Ne,{type:"Symbol",tag:xe,description:be}),s||(Ne.description=be),Ne},Se=i?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},ct=function(xe,be,Ne){xe===fe&&ct(ae,be,Ne),m(xe);var Ce=e(be,!0);return m(Ne),l(W,Ce)?(Ne.enumerable?(l(xe,ne)&&xe[ne][Ce]&&(xe[ne][Ce]=!1),Ne=b(Ne,{enumerable:g(0,!1)})):(l(xe,ne)||L(xe,ne,g(1,{})),xe[ne][Ce]=!0),ot(xe,Ce,Ne)):L(xe,Ce,Ne)},K=function(xe,be){m(xe);var Ne=t(be),Ce=x(Ne).concat(se(Ne));return ve(Ce,function(ze){s&&!We.call(Ne,ze)||ct(xe,ze,Ne[ze])}),xe},We=function(xe){var be=e(xe,!0),Ne=q.call(this,be);return!(this===fe&&l(W,be)&&!l(ae,be))&&(!(Ne||!l(this,be)||!l(W,be)||l(this,ne)&&this[ne][be])||Ne)},Ge=function(xe,be){var Ne=t(xe),Ce=e(be,!0);if(Ne!==fe||!l(W,Ce)||l(ae,Ce)){var ze=B(Ne,Ce);return!ze||!l(W,Ce)||l(Ne,ne)&&Ne[ne][Ce]||(ze.enumerable=!0),ze}},Fe=function(xe){var be=R(t(xe)),Ne=[];return ve(be,function(Ce){l(W,Ce)||l(Y,Ce)||Ne.push(Ce)}),Ne},se=function(xe){var be=xe===fe,Ne=R(be?ae:t(xe)),Ce=[];return ve(Ne,function(ze){!l(W,ze)||be&&!l(fe,ze)||Ce.push(W[ze])}),Ce};h||(k((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,be=z(xe),Ne=function(Ce){this===fe&&Ne.call(ae,Ce),l(this,ne)&&l(this[ne],be)&&(this[ne][be]=!1),ot(this,be,g(1,Ce))};return s&&je&&ot(fe,be,{configurable:!0,set:Ne}),Ye(be,xe)}).prototype,"toString",function(){return le(this).tag}),k(P,"withoutSetter",function(xe){return Ye(z(xe),xe)}),I.f=We,N.f=ct,T.f=Ge,E.f=w.f=Fe,D.f=se,H.f=function(xe){return Ye(X(xe),xe)},s&&(L(P.prototype,"description",{configurable:!0,get:function(){return le(this).description}}),y||k(fe,"propertyIsEnumerable",We,{unsafe:!0}))),v({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:P}),ve(x(Ae),function(xe){ee(xe)}),v({target:"Symbol",stat:!0,forced:!h},{for:function(xe){var be=String(xe);if(l(me,be))return me[be];var Ne=P(be);return me[be]=Ne,ge[Ne]=be,Ne},keyFor:function(xe){if(!Se(xe))throw TypeError(xe+" is not a symbol");if(l(ge,xe))return ge[xe]},useSetter:function(){je=!0},useSimple:function(){je=!1}}),v({target:"Object",stat:!0,forced:!h,sham:!s},{create:function(xe,be){return be===void 0?b(xe):K(b(xe),be)},defineProperty:ct,defineProperties:K,getOwnPropertyDescriptor:Ge}),v({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Fe,getOwnPropertySymbols:se}),v({target:"Object",stat:!0,forced:o(function(){D.f(1)})},{getOwnPropertySymbols:function(xe){return D.f(f(xe))}}),C&&v({target:"JSON",stat:!0,forced:!h||o(function(){var xe=P();return C([xe])!="[null]"||C({a:xe})!="{}"||C(Object(xe))!="{}"})},{stringify:function(xe,be,Ne){for(var Ce,ze=[xe],Ue=1;arguments.length>Ue;)ze.push(arguments[Ue++]);if(Ce=be,(p(be)||xe!==void 0)&&!Se(xe))return u(be)||(be=function(He,et){if(typeof Ce=="function"&&(et=Ce.call(this,He,et)),!Se(et))return et}),ze[1]=be,C.apply(null,ze)}}),P.prototype[Q]||M(P.prototype,Q,P.prototype.valueOf),re(P,"Symbol"),Y[ne]=!0},function(c,a,n){"use strict";var v=n(4),S=n(16),_=n(11),y=n(14),s=n(13),h=n(15).f,i=n(119),o=_.Symbol;if(S&&typeof o=="function"&&(!("description"in o.prototype)||o().description!==void 0)){var l={},u=function(){var e=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),g=this instanceof u?new o(e):e===void 0?o():o(e);return e===""&&(l[g]=!0),g};i(u,o);var p=u.prototype=o.prototype;p.constructor=u;var m=p.toString,f=String(o("test"))=="Symbol(test)",t=/^Symbol\((.*)\)[^)]+$/;h(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,g=m.call(e);if(y(l,e))return"";var b=f?g.slice(7,-1):g.replace(t,"$1");return b===""?void 0:b}}),v({global:!0,forced:!0},{Symbol:u})}},function(c,a,n){n(126)("iterator")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(f,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,g){e.__proto__=g}||function(e,g){for(var b in g)g.hasOwnProperty(b)&&(e[b]=g[b])})(f,t)},function(f,t){function e(){this.constructor=f}v(f,t),f.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}),_=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(70),i=n(3),o=n(9),l=n(0),u=n(152),p=n(12),m=function(f){function t(){var e=f.call(this)||this;return e._parent=null,e._firstChild=null,e._lastChild=null,e._previousSibling=null,e._nextSibling=null,e}return S(t,f),Object.defineProperty(t.prototype,"_childNodes",{get:function(){return this.__childNodes||(this.__childNodes=l.create_nodeList(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverride||y.dom.window._associatedDocument},set:function(e){this._nodeDocumentOverride=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_registeredObserverList",{get:function(){return this.__registeredObserverList||(this.__registeredObserverList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this._nodeType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeName",{get:function(){return i.Guard.isElementNode(this)?this._htmlUppercasedQualifiedName:i.Guard.isAttrNode(this)?this._qualifiedName:i.Guard.isExclusiveTextNode(this)?"#text":i.Guard.isCDATASectionNode(this)?"#cdata-section":i.Guard.isProcessingInstructionNode(this)?this._target:i.Guard.isCommentNode(this)?"#comment":i.Guard.isDocumentNode(this)?"#document":i.Guard.isDocumentTypeNode(this)?this._name:i.Guard.isDocumentFragmentNode(this)?"#document-fragment":""},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"baseURI",{get:function(){return u.urlSerializer(this._nodeDocument._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isConnected",{get:function(){return i.Guard.isElementNode(this)&&l.shadowTree_isConnected(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this._nodeType===s.NodeType.Document?null:this._nodeDocument},enumerable:!0,configurable:!0}),t.prototype.getRootNode=function(e){return l.tree_rootNode(this,!!e&&e.composed)},Object.defineProperty(t.prototype,"parentNode",{get:function(){return this._nodeType===s.NodeType.Attribute?null:this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentElement",{get:function(){return this._parent&&i.Guard.isElementNode(this._parent)?this._parent:null},enumerable:!0,configurable:!0}),t.prototype.hasChildNodes=function(){return this._firstChild!==null},Object.defineProperty(t.prototype,"childNodes",{get:function(){return this._childNodes},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._firstChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this._lastChild},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,this._data.length,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"textContent",{get:function(){return i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.text_descendantTextContent(this):i.Guard.isAttrNode(this)?this._value:i.Guard.isCharacterDataNode(this)?this._data:null},set:function(e){e===null&&(e=""),i.Guard.isDocumentFragmentNode(this)||i.Guard.isElementNode(this)?l.node_stringReplaceAll(e,this):i.Guard.isAttrNode(this)?l.attr_setAnExistingAttributeValue(this,e):i.Guard.isCharacterDataNode(this)&&l.characterData_replaceData(this,0,l.tree_nodeLength(this),e)},enumerable:!0,configurable:!0}),t.prototype.normalize=function(){for(var e,g,b,x,E=[],w=l.tree_getFirstDescendantNode(this,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});w!==null;)E.push(w),w=l.tree_getNextDescendantNode(this,w,!1,!1,function(ve){return i.Guard.isExclusiveTextNode(ve)});for(var D=0;DM;M++)if((t||M in T)&&(w=N(E=T[M],M,D),o)){if(l)G[M]=w;else if(w)switch(o){case 3:return!0;case 5:return E;case 6:return M;case 2:h.call(G,E)}else if(m)return!1}return f?-1:p||m?m:G}};c.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6)}},function(c,a,n){"use strict";var v=this&&this.__values||function(D){var T=typeof Symbol=="function"&&Symbol.iterator,N=T&&D[T],I=0;if(N)return N.call(D);if(D&&typeof D.length=="number")return{next:function(){return D&&I>=D.length&&(D=void 0),{value:D&&D[I++],done:!D}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(D,T){var N=typeof Symbol=="function"&&D[Symbol.iterator];if(!N)return D;var I,M,k=N.call(D),G=[];try{for(;(T===void 0||T-- >0)&&!(I=k.next()).done;)G.push(I.value)}catch($){M={error:$}}finally{try{I&&!I.done&&(N=k.return)&&N.call(k)}finally{if(M)throw M.error}}return G},_=this&&this.__spread||function(){for(var D=[],T=0;T1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+de+" element nodes.");if(de===1){try{for(var ie=v(T._children),le=ie.next();!le.done;le=ie.next())if(le.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(q){k={error:q}}finally{try{le&&!le.done&&(G=ie.return)&&G.call(ie)}finally{if(k)throw k.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");for(var fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");fe=fe._nextSibling}}}}else if(ee===h.NodeType.Element){try{for(var P=v(T._children),C=P.next();!C.done;C=P.next())if(C.value._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+D.nodeName+".")}catch(q){$={error:q}}finally{try{C&&!C.done&&(Y=P.return)&&Y.call(P)}finally{if($)throw $.error}}if(N){if(re===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");for(fe=N._nextSibling;fe;){if(fe._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+D.nodeName+".");fe=fe._nextSibling}}}else if(ee===h.NodeType.DocumentType){try{for(var B=v(T._children),L=B.next();!L.done;L=B.next())if(L.value._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+D.nodeName+".")}catch(q){z={error:q}}finally{try{L&&!L.done&&(X=B.return)&&X.call(B)}finally{if(z)throw z.error}}if(N)for(var R=N._previousSibling;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._previousSibling}else for(R=T._firstChild;R;){if(R._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+D.nodeName+".");R=R._nextSibling}}}}function x(D,T,N){b(D,T,N);var I=N;return I===D&&(I=D._nextSibling),g.document_adopt(D,T._nodeDocument),E(D,T,I),D}function E(D,T,N,I){var M,k;if(N!==null||D._nodeType===h.NodeType.DocumentFragment){var G=D._nodeType===h.NodeType.DocumentFragment?D._children.size:1;if(N!==null&&y.dom.rangeList.size!==0){var $=p.tree_index(N);try{for(var Y=v(y.dom.rangeList),z=Y.next();!z.done;z=Y.next()){var X=z.value;X._start[0]===T&&X._start[1]>$&&(X._start[1]+=G),X._end[0]===T&&X._end[1]>$&&(X._end[1]+=G)}}catch(le){M={error:le}}finally{try{z&&!z.done&&(k=Y.return)&&k.call(Y)}finally{if(M)throw M.error}}}var H=D._nodeType===h.NodeType.DocumentFragment?new(Array.bind.apply(Array,_([void 0],D._children))):[D];if(D._nodeType===h.NodeType.DocumentFragment)for(;D._firstChild;)w(D._firstChild,D,!0);y.dom.features.mutationObservers&&D._nodeType===h.NodeType.DocumentFragment&&t.observer_queueTreeMutationRecord(D,[],H,null,null);for(var ee=N?N._previousSibling:T._lastChild,re=N===null?-1:p.tree_index(N),de=0;deH&&de._start[1]--,de._end[0]===T&&de._end[1]>H&&de._end[1]--}}catch(me){I={error:me}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}try{for(var ve=v(y.dom.rangeList),ne=ve.next();!ne.done;ne=ve.next())(de=ne.value)._start[0]===T&&de._start[1]>H&&(de._start[1]-=1),de._end[0]===T&&de._end[1]>H&&(de._end[1]-=1)}catch(me){k={error:me}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}}if(y.dom.features.steps)try{for(var Q=v(m.nodeIterator_iteratorList()),ie=Q.next();!ie.done;ie=Q.next()){var le=ie.value;le._root._nodeDocument===D._nodeDocument&&e.dom_runNodeIteratorPreRemovingSteps(le,D)}}catch(me){$={error:me}}finally{try{ie&&!ie.done&&(Y=Q.return)&&Y.call(Q)}finally{if($)throw $.error}}var fe=D._previousSibling,P=D._nextSibling;i.Guard.isDocumentNode(T)&&i.Guard.isElementNode(D)&&(T._documentElement=null),D._parent=null,T._children.delete(D);var C=D._previousSibling,B=D._nextSibling;D._previousSibling=null,D._nextSibling=null,C&&(C._nextSibling=B),B&&(B._previousSibling=C),C||(T._firstChild=B),B||(T._lastChild=C),y.dom.features.slots&&i.Guard.isSlotable(D)&&D._assignedSlot!==null&&f.shadowTree_isAssigned(D)&&f.shadowTree_assignSlotables(D._assignedSlot),y.dom.features.slots&&i.Guard.isShadowRoot(p.tree_rootNode(T))&&i.Guard.isSlot(T)&&o.isEmpty(T._assignedNodes)&&f.shadowTree_signalASlotChange(T),y.dom.features.slots&&p.tree_getFirstDescendantNode(D,!0,!1,function(me){return i.Guard.isSlot(me)})!==null&&(f.shadowTree_assignSlotablesForATree(p.tree_rootNode(T)),f.shadowTree_assignSlotablesForATree(D)),y.dom.features.steps&&e.dom_runRemovingSteps(D,T),y.dom.features.customElements&&i.Guard.isCustomElementNode(D)&&u.customElement_enqueueACustomElementCallbackReaction(D,"disconnectedCallback",[]);for(var L=p.tree_getFirstDescendantNode(D,!1,!0);L!==null;)y.dom.features.steps&&e.dom_runRemovingSteps(L,D),y.dom.features.customElements&&i.Guard.isCustomElementNode(L)&&u.customElement_enqueueACustomElementCallbackReaction(L,"disconnectedCallback",[]),L=p.tree_getNextDescendantNode(D,L,!1,!0);if(y.dom.features.mutationObservers)for(var R=p.tree_getFirstAncestorNode(T,!0);R!==null;){try{for(var q=(z=void 0,v(R._registeredObserverList)),W=q.next();!W.done;W=q.next()){var ae=W.value;ae.options.subtree&&D._registeredObserverList.push({observer:ae.observer,options:ae.options,source:ae})}}catch(me){z={error:me}}finally{try{W&&!W.done&&(X=q.return)&&X.call(q)}finally{if(z)throw z.error}}R=p.tree_getNextAncestorNode(T,R,!0)}y.dom.features.mutationObservers&&(N||t.observer_queueTreeMutationRecord(T,[],[D],fe,P)),y.dom.features.steps&&i.Guard.isTextNode(D)&&e.dom_runChildTextContentChangeSteps(T)}a.mutation_ensurePreInsertionValidity=b,a.mutation_preInsert=x,a.mutation_insert=E,a.mutation_append=function(D,T){return x(D,T,null)},a.mutation_replace=function(D,T,N){var I,M,k,G,$,Y,z,X;if(N._nodeType!==h.NodeType.Document&&N._nodeType!==h.NodeType.DocumentFragment&&N._nodeType!==h.NodeType.Element)throw new s.HierarchyRequestError("Only document, document fragment and element nodes can contain child nodes. Parent node is "+N.nodeName+".");if(p.tree_isHostIncludingAncestorOf(N,T,!0))throw new s.HierarchyRequestError("The node to be inserted cannot be an ancestor of parent node. Node is "+T.nodeName+", parent node is "+N.nodeName+".");if(D._parent!==N)throw new s.NotFoundError("The reference child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+N.nodeName+".");if(T._nodeType!==h.NodeType.DocumentFragment&&T._nodeType!==h.NodeType.DocumentType&&T._nodeType!==h.NodeType.Element&&T._nodeType!==h.NodeType.Text&&T._nodeType!==h.NodeType.ProcessingInstruction&&T._nodeType!==h.NodeType.CData&&T._nodeType!==h.NodeType.Comment)throw new s.HierarchyRequestError("Only document fragment, document type, element, text, processing instruction, cdata section or comment nodes can be inserted. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.Text&&N._nodeType===h.NodeType.Document)throw new s.HierarchyRequestError("Cannot insert a text node as a child of a document node. Node is "+T.nodeName+".");if(T._nodeType===h.NodeType.DocumentType&&N._nodeType!==h.NodeType.Document)throw new s.HierarchyRequestError("A document type node can only be inserted under a document node. Parent node is "+N.nodeName+".");if(N._nodeType===h.NodeType.Document){if(T._nodeType===h.NodeType.DocumentFragment){var H=0;try{for(var ee=v(T._children),re=ee.next();!re.done;re=ee.next()){var de=re.value;if(de._nodeType===h.NodeType.Element)H++;else if(de._nodeType===h.NodeType.Text)throw new s.HierarchyRequestError("Cannot insert text a node as a child of a document node. Node is "+de.nodeName+".")}}catch(ae){I={error:ae}}finally{try{re&&!re.done&&(M=ee.return)&&M.call(ee)}finally{if(I)throw I.error}}if(H>1)throw new s.HierarchyRequestError("A document node can only have one document element node. Document fragment to be inserted has "+H+" element nodes.");if(H===1){try{for(var ve=v(N._children),ne=ve.next();!ne.done;ne=ve.next())if((C=ne.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("The document node already has a document element node.")}catch(ae){k={error:ae}}finally{try{ne&&!ne.done&&(G=ve.return)&&G.call(ve)}finally{if(k)throw k.error}}for(var Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node.");Q=Q._nextSibling}}}else if(T._nodeType===h.NodeType.Element){try{for(var ie=v(N._children),le=ie.next();!le.done;le=ie.next())if((C=le.value)._nodeType===h.NodeType.Element&&C!==D)throw new s.HierarchyRequestError("Document already has a document element node. Node is "+T.nodeName+".")}catch(ae){$={error:ae}}finally{try{le&&!le.done&&(Y=ie.return)&&Y.call(ie)}finally{if($)throw $.error}}for(Q=D._nextSibling;Q;){if(Q._nodeType===h.NodeType.DocumentType)throw new s.HierarchyRequestError("Cannot insert an element node before a document type node. Node is "+T.nodeName+".");Q=Q._nextSibling}}else if(T._nodeType===h.NodeType.DocumentType){try{for(var fe=v(N._children),P=fe.next();!P.done;P=fe.next()){var C;if((C=P.value)._nodeType===h.NodeType.DocumentType&&C!==D)throw new s.HierarchyRequestError("Document already has a document type node. Node is "+T.nodeName+".")}}catch(ae){z={error:ae}}finally{try{P&&!P.done&&(X=fe.return)&&X.call(fe)}finally{if(z)throw z.error}}for(var B=D._previousSibling;B;){if(B._nodeType===h.NodeType.Element)throw new s.HierarchyRequestError("Cannot insert a document type node before an element node. Node is "+T.nodeName+".");B=B._previousSibling}}}var L=D._nextSibling;L===T&&(L=T._nextSibling);var R=D._previousSibling;g.document_adopt(T,N._nodeDocument);var q=[];D._parent!==null&&(q.push(D),w(D,D._parent,!0));var W=[];return T._nodeType===h.NodeType.DocumentFragment?W=Array.from(T._children):W.push(T),E(T,N,L,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(N,W,q,R,L),D},a.mutation_replaceAll=function(D,T){var N,I;D!==null&&g.document_adopt(D,T._nodeDocument);var M=Array.from(T._children),k=[];D&&D._nodeType===h.NodeType.DocumentFragment?k=Array.from(D._children):D!==null&&k.push(D);try{for(var G=v(M),$=G.next();!$.done;$=G.next())w($.value,T,!0)}catch(Y){N={error:Y}}finally{try{$&&!$.done&&(I=G.return)&&I.call(G)}finally{if(N)throw N.error}}D!==null&&E(D,T,null,!0),y.dom.features.mutationObservers&&t.observer_queueTreeMutationRecord(T,k,M,null,null)},a.mutation_preRemove=function(D,T){if(D._parent!==T)throw new s.NotFoundError("The child node cannot be found under parent node. Child node is "+D.nodeName+", parent node is "+T.nodeName+".");return w(D,T),D},a.mutation_remove=w},function(c,a,n){"use strict";function v(S){return S==null}c.exports.isNothing=v,c.exports.isObject=function(S){return typeof S=="object"&&S!==null},c.exports.toArray=function(S){return Array.isArray(S)?S:v(S)?[]:[S]},c.exports.repeat=function(S,_){var y,s="";for(y=0;y<_;y+=1)s+=S;return s},c.exports.isNegativeZero=function(S){return S===0&&Number.NEGATIVE_INFINITY===1/S},c.exports.extend=function(S,_){var y,s,h,i;if(_)for(y=0,s=(i=Object.keys(_)).length;y0?v:n)(S)}},function(c,a,n){"use strict";var v=n(8);c.exports=function(S,_){var y=[][S];return!!y&&v(function(){y.call(null,_||function(){throw 1},1)})}},function(c,a){c.exports={}},function(c,a,n){"use strict";n(31),n(32),n(33),n(220),n(64),n(19),n(65),n(20),n(68),n(66),n(92),n(144),n(22),n(94),n(23);var v=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},_=this&&this.__spread||function(){for(var u=[],p=0;p/g,">");this.text(f)},u.prototype._serializeDocumentFragmentNS=function(p,m,f,t,e){var g,b;try{for(var x=v(p.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;this._serializeNodeNS(w,m,f,t,e)}}catch(D){g={error:D}}finally{try{E&&!E.done&&(b=x.return)&&b.call(x)}finally{if(g)throw g.error}}},u.prototype._serializeDocumentFragment=function(p,m){var f,t;try{for(var e=v(p._children),g=e.next();!g.done;g=e.next()){var b=g.value;this._serializeNode(b,m)}}catch(x){f={error:x}}finally{try{g&&!g.done&&(t=e.return)&&t.call(e)}finally{if(f)throw f.error}}},u.prototype._serializeDocumentType=function(p,m){if(m&&!o.xml_isPubidChar(p.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(m&&(!o.xml_isLegalChar(p.systemId)||p.systemId.indexOf('"')!==-1&&p.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");this.docType(p.name,p.publicId,p.systemId)},u.prototype._serializeProcessingInstruction=function(p,m){if(m&&(p.target.indexOf(":")!==-1||/^xml$/i.test(p.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(m&&(!o.xml_isLegalChar(p.data)||p.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");this.instruction(p.target,p.data)},u.prototype._serializeCData=function(p,m){if(m&&p.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");this.cdata(p.data)},u.prototype._serializeAttributesNS=function(p,m,f,t,e,g){var b,x,E=[],w=g?new s.LocalNameSet:void 0;try{for(var D=v(p.attributes),T=D.next();!T.done;T=D.next()){var N=T.value;if(g||e||N.namespaceURI!==null){if(g&&w&&w.has(N.namespaceURI,N.localName))throw new Error("Element contains duplicate attributes (well-formed required).");g&&w&&w.set(N.namespaceURI,N.localName);var I=N.namespaceURI,M=null;if(I!==null)if(M=m.get(N.prefix,I),I===i.namespace.XMLNS){if(N.value===i.namespace.XML||N.prefix===null&&e||N.prefix!==null&&(!(N.localName in t)||t[N.localName]!==N.value)&&m.has(N.localName,N.value))continue;if(g&&N.value===i.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(g&&N.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");N.prefix==="xmlns"&&(M="xmlns")}else M===null&&(M=N.prefix===null||m.hasPrefix(N.prefix)&&!m.has(N.prefix,I)?this._generatePrefix(I,m,f):N.prefix,E.push([null,"xmlns",M,this._serializeAttributeValue(I,g)]));if(g&&(N.localName.indexOf(":")!==-1||!o.xml_isName(N.localName)||N.localName==="xmlns"&&I===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");E.push([I,M,N.localName,this._serializeAttributeValue(N.value,g)])}else E.push([null,null,N.localName,this._serializeAttributeValue(N.value,g)])}}catch(k){b={error:k}}finally{try{T&&!T.done&&(x=D.return)&&x.call(D)}finally{if(b)throw b.error}}return E},u.prototype._serializeAttributes=function(p,m){var f,t,e=[],g=m?{}:void 0;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value;if(m){if(m&&g&&E.localName in g)throw new Error("Element contains duplicate attributes (well-formed required).");if(m&&g&&(g[E.localName]=!0),m&&(E.localName.indexOf(":")!==-1||!o.xml_isName(E.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}else e.push([null,null,E.localName,this._serializeAttributeValue(E.value,m)])}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}return e},u.prototype._recordNamespaceInformation=function(p,m,f){var t,e,g=null;try{for(var b=v(p.attributes),x=b.next();!x.done;x=b.next()){var E=x.value,w=E.namespaceURI,D=E.prefix;if(w===i.namespace.XMLNS){if(D===null){g=E.value;continue}var T=E.localName,N=E.value;if(N===i.namespace.XML||(N===""&&(N=null),m.has(T,N)))continue;m.set(T,N),f[T]=N||""}}}catch(I){t={error:I}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},u.prototype._generatePrefix=function(p,m,f){var t="ns"+f.value.toString();return f.value++,m.set(t,p),t},u.prototype._serializeAttributeValue=function(p,m){if(m&&p!==null&&!o.xml_isLegalChar(p))throw new Error("Invalid characters in attribute value.");return p===null?"":p.replace(/(?!&([^&;]*);)&/g,"&").replace(//g,">").replace(/"/g,""")},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();a.BaseWriter=l},function(c,a,n){"use strict";var v=this&&this.__values||function(m){var f=typeof Symbol=="function"&&Symbol.iterator,t=f&&m[f],e=0;if(t)return t.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&e>=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(7),h=n(29),i=n(17),o=n(97);function l(){var m=_.dom.window;m._mutationObserverMicrotaskQueued||(m._mutationObserverMicrotaskQueued=!0,Promise.resolve().then(function(){u()}))}function u(){var m,f,t,e,g=_.dom.window;g._mutationObserverMicrotaskQueued=!1;var b=s.set.clone(g._mutationObservers),x=s.set.clone(g._signalSlots);s.set.empty(g._signalSlots);var E=function(M){var k=s.list.clone(M._recordQueue);s.list.empty(M._recordQueue);for(var G=0;G"+f+"<\/script>"},m=function(){try{v=document.domain&&new ActiveXObject("htmlfile")}catch{}var f,t;m=v?function(g){g.write(p("")),g.close();var b=g.parentWindow.Object;return g=null,b}(v):((t=i("iframe")).style.display="none",h.appendChild(t),t.src="javascript:",(f=t.contentWindow.document).open(),f.write(p("document.F=Object")),f.close(),f.F);for(var e=y.length;e--;)delete m.prototype[y[e]];return m()};s[l]=!0,c.exports=Object.create||function(f,t){var e;return f!==null?(u.prototype=S(f),e=new u,u.prototype=null,e[l]=f):e=m(),t===void 0?e:_(e,t)}},function(c,a,n){var v=n(121),S=n(84);c.exports=Object.keys||function(_){return v(_,S)}},function(c,a,n){var v=n(15).f,S=n(14),_=n(5)("toStringTag");c.exports=function(y,s,h){y&&!S(y=h?y:y.prototype,_)&&v(y,_,{configurable:!0,value:s})}},function(c,a,n){var v=n(8),S=n(5),_=n(129),y=S("species");c.exports=function(s){return _>=51||!v(function(){var h=[];return(h.constructor={})[y]=function(){return{foo:1}},h[s](Boolean).foo!==1})}},function(c,a,n){"use strict";var v=n(4),S=n(122).indexOf,_=n(48),y=n(28),s=[].indexOf,h=!!s&&1/[1].indexOf(1,-0)<0,i=_("indexOf"),o=y("indexOf",{ACCESSORS:!0,1:0});v({target:"Array",proto:!0,forced:h||!i||!o},{indexOf:function(l){return h?s.apply(this,arguments)||0:S(this,l,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(16),S=n(15).f,_=Function.prototype,y=_.toString,s=/^\s*function ([^ (]*)/;v&&!("name"in _)&&S(_,"name",{configurable:!0,get:function(){try{return y.call(this).match(s)[1]}catch{return""}}})},function(c,a,n){"use strict";var v=n(25),S=n(18),_=n(8),y=n(136),s=RegExp.prototype,h=s.toString,i=_(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),o=h.name!="toString";(i||o)&&v(RegExp.prototype,"toString",function(){var l=S(this),u=String(l.source),p=l.flags;return"/"+u+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in s)?y.call(l):p)},{unsafe:!0})},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(138),n(20),n(66),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(1),s=n(2),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=y.applyDefaults(u,{format:"object",wellFormed:!1,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){return this._currentList=[],this._currentIndex=0,this._listRegister=[this._currentList],this.serializeNode(l,this._writerOptions.wellFormed),this._process(this._currentList,this._writerOptions)},o.prototype._process=function(l,u){var p,m,f,t,e,g,b;if(l.length===0)return{};for(var x={},E=!1,w=0,D=0,T=0,N=0,I=0;I2)try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;u[m+(t++).toString()]=E}}catch(w){e={error:w}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}else u[f>1?m+(t++).toString():m]=l;return t},o.prototype.beginElement=function(l){var u,p,m=[];if(this._currentList.length===0)this._currentList.push(((u={})[l]=m,u));else{var f=this._currentList[this._currentList.length-1];this._isElementNode(f,l)?f[l].length!==0&&y.isArray(f[l][0])?f[l].push(m):f[l]=[f[l],m]:this._currentList.push(((p={})[l]=m,p))}this._currentIndex++,this._listRegister.length>this._currentIndex?this._listRegister[this._currentIndex]=m:this._listRegister.push(m),this._currentList=m},o.prototype.endElement=function(){this._currentList=this._listRegister[--this._currentIndex]},o.prototype.attribute=function(l,u){var p,m;if(this._currentList.length===0)this._currentList.push({"@":(p={},p[l]=u,p)});else{var f=this._currentList[this._currentList.length-1];this._isAttrNode(f)?f["@"][l]=u:this._currentList.push({"@":(m={},m[l]=u,m)})}},o.prototype.comment=function(l){if(this._currentList.length===0)this._currentList.push({"!":l});else{var u=this._currentList[this._currentList.length-1];this._isCommentNode(u)?y.isArray(u["!"])?u["!"].push(l):u["!"]=[u["!"],l]:this._currentList.push({"!":l})}},o.prototype.text=function(l){if(this._currentList.length===0)this._currentList.push({"#":l});else{var u=this._currentList[this._currentList.length-1];this._isTextNode(u)?y.isArray(u["#"])?u["#"].push(l):u["#"]=[u["#"],l]:this._currentList.push({"#":l})}},o.prototype.instruction=function(l,u){var p=u===""?l:l+" "+u;if(this._currentList.length===0)this._currentList.push({"?":p});else{var m=this._currentList[this._currentList.length-1];this._isInstructionNode(m)?y.isArray(m["?"])?m["?"].push(p):m["?"]=[m["?"],p]:this._currentList.push({"?":p})}},o.prototype.cdata=function(l){if(this._currentList.length===0)this._currentList.push({$:l});else{var u=this._currentList[this._currentList.length-1];this._isCDATANode(u)?y.isArray(u.$)?u.$.push(l):u.$=[u.$,l]:this._currentList.push({$:l})}},o.prototype._isAttrNode=function(l){return"@"in l},o.prototype._isTextNode=function(l){return"#"in l},o.prototype._isCommentNode=function(l){return"!"in l},o.prototype._isInstructionNode=function(l){return"?"in l},o.prototype._isCDATANode=function(l){return"$"in l},o.prototype._isElementNode=function(l,u){return u in l},o.prototype._getAttrKey=function(){return this._builderOptions.convert.att},o.prototype._getNodeKey=function(l){switch(l){case s.NodeType.Comment:return this._builderOptions.convert.comment;case s.NodeType.Text:return this._builderOptions.convert.text;case s.NodeType.ProcessingInstruction:return this._builderOptions.convert.ins;case s.NodeType.CData:return this._builderOptions.convert.cdata;default:throw new Error("Invalid node type.")}},o}(n(50).BaseWriter);a.ObjectWriter=h},function(c,a,n){"use strict";var v=n(4),S=n(93);v({target:"RegExp",proto:!0,forced:/./.exec!==S},{exec:S})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems={}}return S.prototype.set=function(_,y){_===null?this._nullItems[y]=!0:(this._items[_]||(this._items[_]={}),this._items[_][y]=!0)},S.prototype.has=function(_,y){return _===null?this._nullItems[y]===!0:!!this._items[_]&&this._items[_][y]===!0},S}();a.LocalNameSet=v},function(c,a,n){"use strict";var v=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m};Object.defineProperty(a,"__esModule",{value:!0});var S=n(9),_=n(3),y=n(0),s=function(){function h(){}return Object.defineProperty(h.prototype,"_eventListenerList",{get:function(){return this.__eventListenerList||(this.__eventListenerList=[])},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"_eventHandlerMap",{get:function(){return this.__eventHandlerMap||(this.__eventHandlerMap={})},enumerable:!0,configurable:!0}),h.prototype.addEventListener=function(i,o,l){l===void 0&&(l={passive:!1,once:!1,capture:!1});var u,p=v(y.eventTarget_flattenMore(l),3),m=p[0],f=p[1],t=p[2];o&&(u=_.Guard.isEventListener(o)?o:{handleEvent:o},y.eventTarget_addEventListener(this,{type:i,callback:u,capture:m,passive:f,once:t,removed:!1}))},h.prototype.removeEventListener=function(i,o,l){l===void 0&&(l={capture:!1});var u=y.eventTarget_flatten(l);if(o)for(var p=0;p=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(f,t){var e=typeof Symbol=="function"&&f[Symbol.iterator];if(!e)return f;var g,b,x=e.call(f),E=[];try{for(;(t===void 0||t-- >0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},_=this&&this.__spread||function(){for(var f=[],t=0;t",amp:"&",quot:'"',apos:"'"},_}();a.BaseReader=S},function(c,a,n){"use strict";var v=n(39);c.exports=v.DEFAULT=new v({include:[n(54)],explicit:[n(299),n(300),n(301)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(185);a.XMLBuilderImpl=v.XMLBuilderImpl;var S=n(304);a.XMLBuilderCBImpl=S.XMLBuilderCBImpl;var _=n(183);a.builder=_.builder,a.create=_.create,a.fragment=_.fragment,a.convert=_.convert;var y=n(309);a.createCB=y.createCB,a.fragmentCB=y.fragmentCB},function(c,a){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch{typeof window=="object"&&(n=window)}c.exports=n},function(c,a,n){"use strict";var v={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,_=S&&!v.call({1:2},1);a.f=_?function(y){var s=S(this,y);return!!s&&s.enumerable}:v},function(c,a,n){var v=n(11),S=n(21);c.exports=function(_,y){try{S(v,_,y)}catch{v[_]=y}return y}},function(c,a,n){var v=n(44),S=n(118);(c.exports=function(_,y){return S[_]||(S[_]=y!==void 0?y:{})})("versions",[]).push({version:"3.6.5",mode:v?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},function(c,a,n){var v=n(121),S=n(84).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(_){return v(_,S)}},function(c,a,n){var v=n(47),S=Math.max,_=Math.min;c.exports=function(y,s){var h=v(y);return h<0?S(h+s,0):_(h,s)}},function(c,a){c.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(c,a){a.f=Object.getOwnPropertySymbols},function(c,a,n){var v=n(8);c.exports=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())})},function(c,a,n){var v=n(127);c.exports=function(S,_,y){if(v(S),_===void 0)return S;switch(y){case 0:return function(){return S.call(_)};case 1:return function(s){return S.call(_,s)};case 2:return function(s,h){return S.call(_,s,h)};case 3:return function(s,h,i){return S.call(_,s,h,i)}}return function(){return S.apply(_,arguments)}}},function(c,a,n){"use strict";var v=n(4),S=n(195),_=n(132),y=n(133),s=n(62),h=n(21),i=n(25),o=n(5),l=n(44),u=n(49),p=n(131),m=p.IteratorPrototype,f=p.BUGGY_SAFARI_ITERATORS,t=o("iterator"),e=function(){return this};c.exports=function(g,b,x,E,w,D,T){S(x,b,E);var N,I,M,k=function(ee){if(ee===w&&X)return X;if(!f&&ee in Y)return Y[ee];switch(ee){case"keys":case"values":case"entries":return function(){return new x(this,ee)}}return function(){return new x(this)}},G=b+" Iterator",$=!1,Y=g.prototype,z=Y[t]||Y["@@iterator"]||w&&Y[w],X=!f&&z||k(w),H=b=="Array"&&Y.entries||z;if(H&&(N=_(H.call(new g)),m!==Object.prototype&&N.next&&(l||_(N)===m||(y?y(N,m):typeof N[t]!="function"&&h(N,t,e)),s(N,G,!0,!0),l&&(u[G]=e))),w=="values"&&z&&z.name!=="values"&&($=!0,X=function(){return z.call(this)}),l&&!T||Y[t]===X||h(Y,t,X),u[b]=X,w)if(I={values:k("values"),keys:D?X:k("keys"),entries:k("entries")},T)for(M in I)(f||$||!(M in Y))&&i(Y,M,I[M]);else v({target:b,proto:!0,forced:f||$},I);return I}},function(c,a,n){"use strict";var v=n(4),S=n(13),_=n(59),y=n(83),s=n(26),h=n(24),i=n(134),o=n(5),l=n(63),u=n(28),p=l("slice"),m=u("slice",{ACCESSORS:!0,0:0,1:2}),f=o("species"),t=[].slice,e=Math.max;v({target:"Array",proto:!0,forced:!p||!m},{slice:function(g,b){var x,E,w,D=h(this),T=s(D.length),N=y(g,T),I=y(b===void 0?T:b,T);if(_(D)&&(typeof(x=D.constructor)!="function"||x!==Array&&!_(x.prototype)?S(x)&&(x=x[f])===null&&(x=void 0):x=void 0,x===Array||x===void 0))return t.call(D,N,I);for(E=new(x===void 0?Array:x)(e(I-N,0)),w=0;N0&&(!g.multiline||g.multiline&&p[g.lastIndex-1]!==` +`)&&(E="(?: "+E+")",D=" "+D,w++),f=new RegExp("^(?:"+E+")",x)),u&&(f=new RegExp("^"+E+"$(?!\\s)",x)),o&&(m=g.lastIndex),t=s.call(b?f:g,D),b?t?(t.input=t.input.slice(w),t[0]=t[0].slice(w),t.index=g.lastIndex,g.lastIndex+=t[0].length):g.lastIndex=0:o&&t&&(g.lastIndex=g.global?t.index+t[0].length:m),u&&t&&t.length>1&&h.call(t[0],f,function(){for(e=1;e]*>)/g,f=/\$([$&'`]|\d\d?)/g;v("replace",2,function(t,e,g,b){var x=b.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=b.REPLACE_KEEPS_$0,w=x?"$":"$0";return[function(T,N){var I=h(this),M=T?.[t];return M!==void 0?M.call(T,I,N):e.call(String(I),T,N)},function(T,N){if(!x&&E||typeof N=="string"&&N.indexOf(w)===-1){var I=g(e,T,this,N);if(I.done)return I.value}var M=S(T),k=String(this),G=typeof N=="function";G||(N=String(N));var $=M.global;if($){var Y=M.unicode;M.lastIndex=0}for(var z=[];;){var X=o(M,k);if(X===null||(z.push(X),!$))break;String(X[0])===""&&(M.lastIndex=i(k,y(M.lastIndex),Y))}for(var H,ee="",re=0,de=0;de=re&&(ee+=k.slice(re,ne)+P,re=ne+ve.length)}return ee+k.slice(re)}];function D(T,N,I,M,k,G){var $=I+T.length,Y=M.length,z=f;return k!==void 0&&(k=_(k),z=m),e.call(G,z,function(X,H){var ee;switch(H.charAt(0)){case"$":return"$";case"&":return T;case"`":return N.slice(0,I);case"'":return N.slice($);case"<":ee=k[H.slice(1,-1)];break;default:var re=+H;if(re===0)return X;if(re>Y){var de=p(re/10);return de===0?X:de<=Y?M[de-1]===void 0?H.charAt(1):M[de-1]+H.charAt(1):X}ee=M[re-1]}return ee===void 0?"":ee})}})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){this._items={},this._nullItems=[]}return S.prototype.copy=function(){var _=new S;for(var y in this._items)_._items[y]=this._items[y].slice(0);return _._nullItems=this._nullItems.slice(0),_},S.prototype.get=function(_,y){var s=y===null?this._nullItems:this._items[y]||null;if(s===null)return null;for(var h=null,i=0;i=N.length&&(N=void 0),{value:N&&N[k++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(N,I){var M=typeof Symbol=="function"&&N[Symbol.iterator];if(!M)return N;var k,G,$=M.call(N),Y=[];try{for(;(I===void 0||I-- >0)&&!(k=$.next()).done;)Y.push(k.value)}catch(z){G={error:z}}finally{try{k&&!k.done&&(M=$.return)&&M.call($)}finally{if(G)throw G.error}}return Y},_=this&&this.__spread||function(){for(var N=[],I=0;I=0;ae--)if((ge=W[ae]).shadowAdjustedTarget!==null){q=ge;break}if(q!==null)if(h.Guard.isNode(q.shadowAdjustedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.shadowAdjustedTarget,!0)))X=!0;else if(h.Guard.isNode(q.relatedTarget)&&h.Guard.isShadowRoot(u.tree_rootNode(q.relatedTarget,!0)))X=!0;else for(var me=0;me=0;ae--)(ge=W[ae]).shadowAdjustedTarget!==null?N._eventPhase=s.EventPhase.AtTarget:N._eventPhase=s.EventPhase.Capturing,b(ge,N,"capturing",k);for(ae=0;ae0&&(z=G[$-1]).shadowAdjustedTarget!==null)&&(I._target=z.shadowAdjustedTarget)}if(I._relatedTarget=N.relatedTarget,I._touchTargetList=N.touchTargetList,!I._stopPropagationFlag){I._currentTarget=N.invocationTarget;var X=I._currentTarget._eventListenerList,H=new(Array.bind.apply(Array,_([void 0],X)));if(!x(I,H,M,N,k)&&I._isTrusted){var ee=I._type;ee==="animationend"?I._type="webkitAnimationEnd":ee==="animationiteration"?I._type="webkitAnimationIteration":ee==="animationstart"?I._type="webkitAnimationStart":ee==="transitionend"&&(I._type="webkitTransitionEnd"),x(I,H,M,N,k),I._type=ee}}}function x(N,I,M,k,G){G===void 0&&(G={value:!1});for(var $=!1,Y=0;Y=g.length&&(g=void 0),{value:g&&g[E++],done:!g}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(g,b){var x=typeof Symbol=="function"&&g[Symbol.iterator];if(!x)return g;var E,w,D=x.call(g),T=[];try{for(;(b===void 0||b-- >0)&&!(E=D.next()).done;)T.push(E.value)}catch(N){w={error:N}}finally{try{E&&!E.done&&(x=D.return)&&x.call(D)}finally{if(w)throw w.error}}return T};Object.defineProperty(a,"__esModule",{value:!0});var s=n(6),h=n(2),i=n(9),o=n(34),l=n(3),u=n(1),p=n(7),m=n(152),f=n(0),t=n(12),e=function(g){function b(){var x=g.call(this)||this;return x._children=new Set,x._encoding={name:"UTF-8",labels:["unicode-1-1-utf-8","utf-8","utf8"]},x._contentType="application/xml",x._URL={scheme:"about",username:"",password:"",host:null,port:null,path:["blank"],query:null,fragment:null,_cannotBeABaseURLFlag:!0,_blobURLEntry:null},x._origin=null,x._type="xml",x._mode="no-quirks",x._documentElement=null,x._hasNamespaces=!1,x._nodeDocumentOverwrite=null,x}return S(b,g),Object.defineProperty(b.prototype,"_nodeDocument",{get:function(){return this._nodeDocumentOverwrite||this},set:function(x){this._nodeDocumentOverwrite=x},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"implementation",{get:function(){return this._implementation||(this._implementation=f.create_domImplementation(this))},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"URL",{get:function(){return m.urlSerializer(this._URL)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentURI",{get:function(){return this.URL},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"origin",{get:function(){return"null"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"compatMode",{get:function(){return this._mode==="quirks"?"BackCompat":"CSS1Compat"},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"characterSet",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"charset",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"inputEncoding",{get:function(){return this._encoding.name},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"contentType",{get:function(){return this._contentType},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"doctype",{get:function(){var x,E;try{for(var w=_(this._children),D=w.next();!D.done;D=w.next()){var T=D.value;if(l.Guard.isDocumentTypeNode(T))return T}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"documentElement",{get:function(){return this._documentElement},enumerable:!0,configurable:!0}),b.prototype.getElementsByTagName=function(x){return f.node_listOfElementsWithQualifiedName(x,this)},b.prototype.getElementsByTagNameNS=function(x,E){return f.node_listOfElementsWithNamespace(x,E,this)},b.prototype.getElementsByClassName=function(x){return f.node_listOfElementsWithClassNames(x,this)},b.prototype.createElement=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;this._type==="html"&&(x=x.toLowerCase());var w=null;E!==void 0&&(w=u.isString(E)?E:E.is);var D=this._type==="html"||this._contentType==="application/xhtml+xml"?p.namespace.HTML:null;return f.element_createAnElement(this,x,D,null,w,!0)},b.prototype.createElementNS=function(x,E,w){return f.document_internalCreateElementNS(this,x,E,w)},b.prototype.createDocumentFragment=function(){return f.create_documentFragment(this)},b.prototype.createTextNode=function(x){return f.create_text(this,x)},b.prototype.createCDATASection=function(x){if(this._type==="html")throw new i.NotSupportedError;if(x.indexOf("]]>")!==-1)throw new i.InvalidCharacterError;return f.create_cdataSection(this,x)},b.prototype.createComment=function(x){return f.create_comment(this,x)},b.prototype.createProcessingInstruction=function(x,E){if(!f.xml_isName(x))throw new i.InvalidCharacterError;if(E.indexOf("?>")!==-1)throw new i.InvalidCharacterError;return f.create_processingInstruction(this,x,E)},b.prototype.importNode=function(x,E){if(E===void 0&&(E=!1),l.Guard.isDocumentNode(x)||l.Guard.isShadowRoot(x))throw new i.NotSupportedError;return f.node_clone(x,this,E)},b.prototype.adoptNode=function(x){if(l.Guard.isDocumentNode(x))throw new i.NotSupportedError;if(l.Guard.isShadowRoot(x))throw new i.HierarchyRequestError;return f.document_adopt(x,this),x},b.prototype.createAttribute=function(x){if(!f.xml_isName(x))throw new i.InvalidCharacterError;return this._type==="html"&&(x=x.toLowerCase()),f.create_attr(this,x)},b.prototype.createAttributeNS=function(x,E){var w=y(f.namespace_validateAndExtract(x,E),3),D=w[0],T=w[1],N=w[2],I=f.create_attr(this,N);return I._namespace=D,I._namespacePrefix=T,I},b.prototype.createEvent=function(x){return f.event_createLegacyEvent(x)},b.prototype.createRange=function(){var x=f.create_range();return x._start=[this,0],x._end=[this,0],x},b.prototype.createNodeIterator=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_nodeIterator(x,x,!0);return D._whatToShow=E,D._iteratorCollection=f.create_nodeList(x),u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype.createTreeWalker=function(x,E,w){E===void 0&&(E=h.WhatToShow.All),w===void 0&&(w=null);var D=f.create_treeWalker(x,x);return D._whatToShow=E,u.isFunction(w)?(D._filter=f.create_nodeFilter(),D._filter.acceptNode=w):D._filter=w,D},b.prototype._getTheParent=function(x){return x._type==="load"?null:s.dom.window},b.prototype.getElementById=function(x){throw new Error("Mixin: NonElementParentNode not implemented.")},Object.defineProperty(b.prototype,"children",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"firstElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"lastElementChild",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"childElementCount",{get:function(){throw new Error("Mixin: ParentNode not implemented.")},enumerable:!0,configurable:!0}),b.prototype.prepend=function(){for(var x=[],E=0;E=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(m,f){var t=typeof Symbol=="function"&&m[Symbol.iterator];if(!t)return m;var e,g,b=t.call(m),x=[];try{for(;(f===void 0||f-- >0)&&!(e=b.next()).done;)x.push(e.value)}catch(E){g={error:E}}finally{try{e&&!e.done&&(t=b.return)&&t.call(b)}finally{if(g)throw g.error}}return x};Object.defineProperty(a,"__esModule",{value:!0});var s=n(2),h=n(34),i=n(9),o=n(7),l=n(0),u=n(12),p=function(m){function f(){var t=m.call(this)||this;return t._children=new Set,t._namespace=null,t._namespacePrefix=null,t._localName="",t._customElementState="undefined",t._customElementDefinition=null,t._is=null,t._shadowRoot=null,t._attributeList=l.create_namedNodeMap(t),t._attributeChangeSteps=[],t._name="",t._assignedSlot=null,t}return S(f,m),Object.defineProperty(f.prototype,"namespaceURI",{get:function(){return this._namespace},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"prefix",{get:function(){return this._namespacePrefix},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"localName",{get:function(){return this._localName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"tagName",{get:function(){return this._htmlUppercasedQualifiedName},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"id",{get:function(){return l.element_getAnAttributeValue(this,"id")},set:function(t){l.element_setAnAttributeValue(this,"id",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"className",{get:function(){return l.element_getAnAttributeValue(this,"class")},set:function(t){l.element_setAnAttributeValue(this,"class",t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"classList",{get:function(){var t=l.element_getAnAttributeByName("class",this);return t===null&&(t=l.create_attr(this._nodeDocument,"class")),l.create_domTokenList(this,t)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"slot",{get:function(){return l.element_getAnAttributeValue(this,"slot")},set:function(t){l.element_setAnAttributeValue(this,"slot",t)},enumerable:!0,configurable:!0}),f.prototype.hasAttributes=function(){return this._attributeList.length!==0},Object.defineProperty(f.prototype,"attributes",{get:function(){return this._attributeList},enumerable:!0,configurable:!0}),f.prototype.getAttributeNames=function(){var t,e,g=[];try{for(var b=_(this._attributeList),x=b.next();!x.done;x=b.next()){var E=x.value;g.push(E._qualifiedName)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},f.prototype.getAttribute=function(t){var e=l.element_getAnAttributeByName(t,this);return e?e._value:null},f.prototype.getAttributeNS=function(t,e){var g=l.element_getAnAttributeByNamespaceAndLocalName(t,e,this);return g?g._value:null},f.prototype.setAttribute=function(t,e){if(!l.xml_isName(t))throw new i.InvalidCharacterError;this._namespace===o.namespace.HTML&&this._nodeDocument._type==="html"&&(t=t.toLowerCase());for(var g=null,b=0;b=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(2),s=n(71),h=n(0),i=n(12),o=function(l){function u(p){p===void 0&&(p="");var m=l.call(this,p)||this;return m._name="",m._assignedSlot=null,m}return S(u,l),Object.defineProperty(u.prototype,"wholeText",{get:function(){var p,m,f="";try{for(var t=_(h.text_contiguousTextNodes(this,!0)),e=t.next();!e.done;e=t.next())f+=e.value._data}catch(g){p={error:g}}finally{try{e&&!e.done&&(m=t.return)&&m.call(t)}finally{if(p)throw p.error}}return f},enumerable:!0,configurable:!0}),u.prototype.splitText=function(p){return h.text_split(this,p)},Object.defineProperty(u.prototype,"assignedSlot",{get:function(){throw new Error("Mixin: Slotable not implemented.")},enumerable:!0,configurable:!0}),u._create=function(p,m){m===void 0&&(m="");var f=new u(m);return f._nodeDocument=p,f},u}(s.CharacterDataImpl);a.TextImpl=o,i.idl_defineConst(o.prototype,"_nodeType",y.NodeType.Text)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(){}return Object.defineProperty(S.prototype,"_startNode",{get:function(){return this._start[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_startOffset",{get:function(){return this._start[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endNode",{get:function(){return this._end[0]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_endOffset",{get:function(){return this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"_collapsed",{get:function(){return this._start[0]===this._end[0]&&this._start[1]===this._end[1]},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startContainer",{get:function(){return this._startNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startOffset",{get:function(){return this._startOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endContainer",{get:function(){return this._endNode},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"endOffset",{get:function(){return this._endOffset},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"collapsed",{get:function(){return this._collapsed},enumerable:!0,configurable:!0}),S}();a.AbstractRangeImpl=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(y){this._activeFlag=!1,this._root=y,this._whatToShow=v.WhatToShow.All,this._filter=null}return Object.defineProperty(_.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"whatToShow",{get:function(){return this._whatToShow},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),_}();a.TraverserImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(0),_=n(12),y=function(){function s(h,i){this._target=null,this._relatedTarget=null,this._touchTargetList=[],this._path=[],this._currentTarget=null,this._eventPhase=v.EventPhase.None,this._stopPropagationFlag=!1,this._stopImmediatePropagationFlag=!1,this._canceledFlag=!1,this._inPassiveListenerFlag=!1,this._composedFlag=!1,this._initializedFlag=!1,this._dispatchFlag=!1,this._isTrusted=!1,this._bubbles=!1,this._cancelable=!1,this._type=h,i&&(this._bubbles=i.bubbles||!1,this._cancelable=i.cancelable||!1,this._composedFlag=i.composed||!1),this._initializedFlag=!0,this._timeStamp=new Date().getTime()}return Object.defineProperty(s.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"srcElement",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"currentTarget",{get:function(){return this._currentTarget},enumerable:!0,configurable:!0}),s.prototype.composedPath=function(){var h=[],i=this._path;if(i.length===0)return h;var o=this._currentTarget;if(o===null)throw new Error("Event currentTarget is null.");h.push(o);for(var l=0,u=0,p=i.length-1;p>=0;){if(i[p].rootOfClosedTree&&u++,i[p].invocationTarget===o){l=p;break}i[p].slotInClosedTree&&u--,p--}var m=u,f=u;for(p=l-1;p>=0;)i[p].rootOfClosedTree&&m++,m<=f&&h.unshift(i[p].invocationTarget),i[p].slotInClosedTree&&--m0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(6),y=n(3),s=n(1),h=n(99),i=n(73),o=n(17),l=n(173),u=n(30),p=n(52),m=n(37);a.document_elementInterface=function(f,t){return h.ElementImpl},a.document_internalCreateElementNS=function(f,t,e,g){var b=v(l.namespace_validateAndExtract(t,e),3),x=b[0],E=b[1],w=b[2],D=null;return g!==void 0&&(D=s.isString(g)?g:g.is),p.element_createAnElement(f,w,x,E,D,!0)},a.document_adopt=function(f,t){var e,g;if(f._nodeDocument!==t||f._parent!==null){var b=f._nodeDocument;if(f._parent&&m.mutation_remove(f,f._parent),t!==b)for(var x=o.tree_getFirstDescendantNode(f,!0,!0);x!==null;){if(x._nodeDocument=t,y.Guard.isElementNode(x))try{for(var E=(e=void 0,S(x._attributeList._asArray())),w=E.next();!w.done;w=E.next())w.value._nodeDocument=t}catch(D){e={error:D}}finally{try{w&&!w.done&&(g=E.return)&&g.call(E)}finally{if(e)throw e.error}}_.dom.features.customElements&&y.Guard.isElementNode(x)&&x._customElementState==="custom"&&i.customElement_enqueueACustomElementCallbackReaction(x,"adoptedCallback",[b,t]),_.dom.features.steps&&u.dom_runAdoptingSteps(x,b),x=o.tree_getNextDescendantNode(f,x,!0,!0)}}}},function(c,a,n){"use strict";var v=this&&this.__values||function(o){var l=typeof Symbol=="function"&&Symbol.iterator,u=l&&o[l],p=0;if(u)return u.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&p>=o.length&&(o=void 0),{value:o&&o[p++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(17),h=n(51),i=n(30);a.characterData_replaceData=function(o,l,u,p){var m,f,t=s.tree_nodeLength(o);if(l>t)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+t+", Node is "+o.nodeName+".");l+u>t&&(u=t-l),S.dom.features.mutationObservers&&h.observer_queueMutationRecord("characterData",o,null,null,o._data,[],[],null,null);var e=o._data.substring(0,l)+p+o._data.substring(l+u);o._data=e;try{for(var g=v(S.dom.rangeList),b=g.next();!b.done;b=g.next()){var x=b.value;x._start[0]===o&&x._start[1]>l&&x._start[1]<=l+u&&(x._start[1]=l),x._end[0]===o&&x._end[1]>l&&x._end[1]<=l+u&&(x._end[1]=l),x._start[0]===o&&x._start[1]>l+u&&(x._start[1]+=p.length-u),x._end[0]===o&&x._end[1]>l+u&&(x._end[1]+=p.length-u)}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}S.dom.features.steps&&_.Guard.isTextNode(o)&&o._parent!==null&&i.dom_runChildTextContentChangeSteps(o._parent)},a.characterData_substringData=function(o,l,u){var p=s.tree_nodeLength(o);if(l>p)throw new y.IndexSizeError("Offset exceeds character data length. Offset: "+l+", Length: "+p+", Node is "+o.nodeName+".");return l+u>p?o._data.substr(l):o._data.substr(l,u)}},function(c,a,n){"use strict";var v=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},S=this&&this.__spread||function(){for(var i=[],o=0;o=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(7);function s(i){var o=y.string.splitAStringOnASCIIWhitespace(i);return new Set(o)}function h(i){return S(i).join(" ")}a.orderedSet_parse=s,a.orderedSet_serialize=h,a.orderedSet_sanitize=function(i){return h(s(i))},a.orderedSet_contains=function(i,o,l){var u,p,m,f;try{for(var t=_(o),e=t.next();!e.done;e=t.next()){var g=e.value,b=!1;try{for(var x=(m=void 0,_(i)),E=x.next();!E.done;E=x.next()){var w=E.value;if(l){if(w===g){b=!0;break}}else if(w.toUpperCase()===g.toUpperCase()){b=!0;break}}}catch(D){m={error:D}}finally{try{E&&!E.done&&(f=x.return)&&f.call(x)}finally{if(m)throw m.error}}if(!b)return!1}}catch(D){u={error:D}}finally{try{e&&!e.done&&(p=t.return)&&p.call(t)}finally{if(u)throw u.error}}return!0}},function(c,a,n){"use strict";n(179),Object.defineProperty(a,"__esModule",{value:!0});var v=n(262),S=n(110),_=n(1);S.dom.setFeatures(!1),a.createDocument=function(){var y=new v.DOMImplementation().createDocument(null,"root",null);return y.documentElement&&y.removeChild(y.documentElement),y},a.sanitizeInput=function(y,s){if(y==null)return y;if(s===void 0)return y+"";var h="";y+="";for(var i=0;i=32&&o<=55295||o>=57344&&o<=65533)h+=y.charAt(i);else if(o>=55296&&o<=56319&&i=56320&&l<=57343?(o=1024*(o-55296)+l-56320+65536,h+=String.fromCodePoint(o),i++):h+=_.isString(s)?s:s(y.charAt(i),i,y)}else h+=_.isString(s)?s:s(y.charAt(i),i,y)}return h}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(1),S=n(153);a.AbortController=S.AbortControllerImpl;var _=n(154);a.AbortSignal=_.AbortSignalImpl;var y=n(102);a.AbstractRange=y.AbstractRangeImpl;var s=n(157);a.Attr=s.AttrImpl;var h=n(158);a.CDATASection=h.CDATASectionImpl;var i=n(71);a.CharacterData=i.CharacterDataImpl;var o=n(263),l=n(159);a.Comment=l.CommentImpl;var u=n(171);a.CustomEvent=u.CustomEventImpl;var p=n(100);a.DocumentFragment=p.DocumentFragmentImpl;var m=n(98);a.Document=m.DocumentImpl;var f=n(264),t=n(155);a.DocumentType=t.DocumentTypeImpl;var e=n(6);a.dom=e.dom;var g=n(148);a.DOMImplementation=g.DOMImplementationImpl;var b=n(170);a.DOMTokenList=b.DOMTokenListImpl;var x=n(99);a.Element=x.ElementImpl;var E=n(104);a.Event=E.EventImpl;var w=n(70);a.EventTarget=w.EventTargetImpl;var D=n(161);a.HTMLCollection=D.HTMLCollectionImpl;var T=n(265);a.MutationObserver=T.MutationObserverImpl;var N=n(169);a.MutationRecord=N.MutationRecordImpl;var I=n(164);a.NamedNodeMap=I.NamedNodeMapImpl;var M=n(168);a.NodeFilter=M.NodeFilterImpl;var k=n(34);a.Node=k.NodeImpl;var G=n(166);a.NodeIterator=G.NodeIteratorImpl;var $=n(162);a.NodeList=$.NodeListImpl;var Y=n(163);a.NodeListStatic=Y.NodeListStaticImpl;var z=n(266),X=n(267),H=n(268),ee=n(160);a.ProcessingInstruction=ee.ProcessingInstructionImpl;var re=n(165);a.Range=re.RangeImpl;var de=n(156);a.ShadowRoot=de.ShadowRootImpl;var ve=n(269),ne=n(270);a.StaticRange=ne.StaticRangeImpl;var Q=n(101);a.Text=Q.TextImpl;var ie=n(103);a.Traverser=ie.TraverserImpl;var le=n(167);a.TreeWalker=le.TreeWalkerImpl;var fe=n(149);a.Window=fe.WindowImpl;var P=n(151);a.XMLDocument=P.XMLDocumentImpl,v.applyMixin(x.ElementImpl,o.ChildNodeImpl),v.applyMixin(i.CharacterDataImpl,o.ChildNodeImpl),v.applyMixin(t.DocumentTypeImpl,o.ChildNodeImpl),v.applyMixin(m.DocumentImpl,f.DocumentOrShadowRootImpl),v.applyMixin(de.ShadowRootImpl,f.DocumentOrShadowRootImpl),v.applyMixin(x.ElementImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(i.CharacterDataImpl,z.NonDocumentTypeChildNodeImpl),v.applyMixin(m.DocumentImpl,X.NonElementParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,X.NonElementParentNodeImpl),v.applyMixin(m.DocumentImpl,H.ParentNodeImpl),v.applyMixin(p.DocumentFragmentImpl,H.ParentNodeImpl),v.applyMixin(x.ElementImpl,H.ParentNodeImpl),v.applyMixin(Q.TextImpl,ve.SlotableImpl),v.applyMixin(x.ElementImpl,ve.SlotableImpl)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.EOF=0]="EOF",v[v.Declaration=1]="Declaration",v[v.DocType=2]="DocType",v[v.Element=3]="Element",v[v.Text=4]="Text",v[v.CDATA=5]="CDATA",v[v.PI=6]="PI",v[v.Comment=7]="Comment",v[v.ClosingTag=8]="ClosingTag"}(a.TokenType||(a.TokenType={}))},function(c,a,n){"use strict";n(64),n(20),n(66);var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){var l=this,u=this._builderOptions,p=null;return _.isFunction(o)?p=this.parse(i,o.apply(this)):_.isArray(o)||_.isSet(o)?_.forEachArray(o,function(m){return p=l.parse(i,m)},this):_.isMap(o)||_.isObject(o)?_.forEachObject(o,function(m,f){if(_.isFunction(f)&&(f=f.apply(l)),u.ignoreConverters||m.indexOf(u.convert.att)!==0)if(u.ignoreConverters||m.indexOf(u.convert.text)!==0)if(u.ignoreConverters||m.indexOf(u.convert.cdata)!==0)if(u.ignoreConverters||m.indexOf(u.convert.comment)!==0)if(u.ignoreConverters||m.indexOf(u.convert.ins)!==0){if(!((_.isArray(f)||_.isSet(f))&&_.isEmpty(f))){if((_.isMap(f)||_.isObject(f))&&_.isEmpty(f))p=l.element(i,void 0,l.sanitize(m))||p;else if(u.keepNullNodes||f!=null)if(_.isArray(f)||_.isSet(f))_.forEachArray(f,function(x){var E={};E[m]=x,p=l.parse(i,E)},l);else if(_.isMap(f)||_.isObject(f))(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.parse(t,f));else if(f!=null&&f!==""){var t;(t=l.element(i,void 0,l.sanitize(m)))&&(p=t,l.text(t,l._decodeText(l.sanitize(f))))}else p=l.element(i,void 0,l.sanitize(m))||p}}else if(_.isString(f)){var e=f.indexOf(" "),g=e===-1?f:f.substr(0,e),b=e===-1?"":f.substr(e+1);p=l.instruction(i,l.sanitize(g),l.sanitize(b))||p}else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){var E=x.indexOf(" "),w=E===-1?x:x.substr(0,E),D=E===-1?"":x.substr(E+1);p=l.instruction(i,l.sanitize(w),l.sanitize(D))||p},l):_.forEachObject(f,function(x,E){return p=l.instruction(i,l.sanitize(x),l.sanitize(E))||p},l);else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.comment(i,l.sanitize(x))||p},l):p=l.comment(i,l.sanitize(f))||p;else _.isArray(f)||_.isSet(f)?_.forEachArray(f,function(x){return p=l.cdata(i,l.sanitize(x))||p},l):p=l.cdata(i,l.sanitize(f))||p;else p=_.isMap(f)||_.isObject(f)?l.parse(i,f):l.text(i,l._decodeText(l.sanitize(f)))||p;else if(m===u.convert.att){if(_.isArray(f)||_.isSet(f))throw new Error("Invalid attribute: "+f.toString()+". "+i._debugInfo());_.forEachObject(f,function(x,E){p=l.attribute(i,void 0,l.sanitize(x),l._decodeAttributeValue(l.sanitize(E)))||p})}else p=l.attribute(i,void 0,l.sanitize(m.substr(u.convert.att.length)),l._decodeAttributeValue(l.sanitize(f)))||p},this):(u.keepNullNodes||o!=null)&&(p=this.text(i,this._decodeText(this.sanitize(o)))||p),p||i},h}(n(75).BaseReader);a.ObjectReader=y},function(c,a,n){"use strict";var v=n(39);c.exports=new v({explicit:[n(286),n(287),n(288)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(S){this.level=0,this._builderOptions=S,this._writerOptions=S};a.BaseCBWriter=v},function(c,a,n){var v=n(16),S=n(8),_=n(116);c.exports=!v&&!S(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7})},function(c,a,n){var v=n(11),S=n(13),_=v.document,y=S(_)&&S(_.createElement);c.exports=function(s){return y?_.createElement(s):{}}},function(c,a,n){var v=n(118),S=Function.toString;typeof v.inspectSource!="function"&&(v.inspectSource=function(_){return S.call(_)}),c.exports=v.inspectSource},function(c,a,n){var v=n(11),S=n(80),_=v["__core-js_shared__"]||S("__core-js_shared__",{});c.exports=_},function(c,a,n){var v=n(14),S=n(187),_=n(55),y=n(15);c.exports=function(s,h){for(var i=S(h),o=y.f,l=_.f,u=0;ul;)v(o,i=h[l++])&&(~_(u,i)||u.push(i));return u}},function(c,a,n){var v=n(24),S=n(26),_=n(83),y=function(s){return function(h,i,o){var l,u=v(h),p=S(u.length),m=_(o,p);if(s&&i!=i){for(;p>m;)if((l=u[m++])!=l)return!0}else for(;p>m;m++)if((s||m in u)&&u[m]===i)return s||m||0;return!s&&-1}};c.exports={includes:y(!0),indexOf:y(!1)}},function(c,a,n){var v=n(8),S=/#|\.prototype\./,_=function(o,l){var u=s[y(o)];return u==i||u!=h&&(typeof l=="function"?v(l):!!l)},y=_.normalize=function(o){return String(o).replace(S,".").toLowerCase()},s=_.data={},h=_.NATIVE="N",i=_.POLYFILL="P";c.exports=_},function(c,a,n){var v=n(86);c.exports=v&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},function(c,a,n){var v=n(5);a.f=v},function(c,a,n){var v=n(120),S=n(14),_=n(125),y=n(15).f;c.exports=function(s){var h=v.Symbol||(v.Symbol={});S(h,s)||y(h,s,{value:_.f(s)})}},function(c,a){c.exports=function(n){if(typeof n!="function")throw TypeError(String(n)+" is not a function");return n}},function(c,a,n){var v=n(13),S=n(59),_=n(5)("species");c.exports=function(y,s){var h;return S(y)&&(typeof(h=y.constructor)!="function"||h!==Array&&!S(h.prototype)?v(h)&&(h=h[_])===null&&(h=void 0):h=void 0),new(h===void 0?Array:h)(s===0?0:s)}},function(c,a,n){var v,S,_=n(11),y=n(193),s=_.process,h=s&&s.versions,i=h&&h.v8;i?S=(v=i.split("."))[0]+v[1]:y&&(!(v=y.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=y.match(/Chrome\/(\d+)/))&&(S=v[1]),c.exports=S&&+S},function(c,a,n){var v=n(5),S=n(60),_=n(15),y=v("unscopables"),s=Array.prototype;s[y]==null&&_.f(s,y,{configurable:!0,value:S(null)}),c.exports=function(h){s[y][h]=!0}},function(c,a,n){"use strict";var v,S,_,y=n(132),s=n(21),h=n(14),i=n(5),o=n(44),l=i("iterator"),u=!1;[].keys&&("next"in(_=[].keys())?(S=y(y(_)))!==Object.prototype&&(v=S):u=!0),v==null&&(v={}),o||h(v,l)||s(v,l,function(){return this}),c.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:u}},function(c,a,n){var v=n(14),S=n(27),_=n(57),y=n(196),s=_("IE_PROTO"),h=Object.prototype;c.exports=y?Object.getPrototypeOf:function(i){return i=S(i),v(i,s)?i[s]:typeof i.constructor=="function"&&i instanceof i.constructor?i.constructor.prototype:i instanceof Object?h:null}},function(c,a,n){var v=n(18),S=n(197);c.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var _,y=!1,s={};try{(_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(s,[]),y=s instanceof Array}catch{}return function(h,i){return v(h),S(i),y?_.call(h,i):h.__proto__=i,h}}():void 0)},function(c,a,n){"use strict";var v=n(56),S=n(15),_=n(40);c.exports=function(y,s,h){var i=v(s);i in y?S.f(y,i,_(0,h)):y[i]=h}},function(c,a,n){var v=n(90),S=n(42),_=n(5)("toStringTag"),y=S(function(){return arguments}())=="Arguments";c.exports=v?S:function(s){var h,i,o;return s===void 0?"Undefined":s===null?"Null":typeof(i=function(l,u){try{return l[u]}catch{}}(h=Object(s),_))=="string"?i:y?S(h):(o=S(h))=="Object"&&typeof h.callee=="function"?"Arguments":o}},function(c,a,n){"use strict";var v=n(18);c.exports=function(){var S=v(this),_="";return S.global&&(_+="g"),S.ignoreCase&&(_+="i"),S.multiline&&(_+="m"),S.dotAll&&(_+="s"),S.unicode&&(_+="u"),S.sticky&&(_+="y"),_}},function(c,a,n){var v=n(47),S=n(35),_=function(y){return function(s,h){var i,o,l=String(S(s)),u=v(h),p=l.length;return u<0||u>=p?y?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===p||(o=l.charCodeAt(u+1))<56320||o>57343?y?l.charAt(u):i:y?l.slice(u,u+2):o-56320+(i-55296<<10)+65536}};c.exports={codeAt:_(!1),charAt:_(!0)}},function(c,a,n){var v=n(4),S=n(27),_=n(61);v({target:"Object",stat:!0,forced:n(8)(function(){_(1)})},{keys:function(y){return _(S(y))}})},function(c,a,n){"use strict";var v=n(4),S=n(11),_=n(123),y=n(25),s=n(140),h=n(141),i=n(142),o=n(13),l=n(8),u=n(208),p=n(62),m=n(209);c.exports=function(f,t,e){var g=f.indexOf("Map")!==-1,b=f.indexOf("Weak")!==-1,x=g?"set":"add",E=S[f],w=E&&E.prototype,D=E,T={},N=function(Y){var z=w[Y];y(w,Y,Y=="add"?function(X){return z.call(this,X===0?0:X),this}:Y=="delete"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:Y=="get"?function(X){return b&&!o(X)?void 0:z.call(this,X===0?0:X)}:Y=="has"?function(X){return!(b&&!o(X))&&z.call(this,X===0?0:X)}:function(X,H){return z.call(this,X===0?0:X,H),this})};if(_(f,typeof E!="function"||!(b||w.forEach&&!l(function(){new E().entries().next()}))))D=e.getConstructor(t,f,g,x),s.REQUIRED=!0;else if(_(f,!0)){var I=new D,M=I[x](b?{}:-0,1)!=I,k=l(function(){I.has(1)}),G=u(function(Y){new E(Y)}),$=!b&&l(function(){for(var Y=new E,z=5;z--;)Y[x](z,z);return!Y.has(-0)});G||((D=t(function(Y,z){i(Y,D,f);var X=m(new E,Y,D);return z!=null&&h(z,X[x],X,g),X})).prototype=w,w.constructor=D),(k||$)&&(N("delete"),N("has"),g&&N("get")),($||M)&&N(x),b&&w.clear&&delete w.clear}return T[f]=D,v({global:!0,forced:D!=E},T),p(D,f),b||e.setStrong(D,f,g),D}},function(c,a,n){var v=n(45),S=n(13),_=n(14),y=n(15).f,s=n(58),h=n(204),i=s("meta"),o=0,l=Object.isExtensible||function(){return!0},u=function(m){y(m,i,{value:{objectID:"O"+ ++o,weakData:{}}})},p=c.exports={REQUIRED:!1,fastKey:function(m,f){if(!S(m))return typeof m=="symbol"?m:(typeof m=="string"?"S":"P")+m;if(!_(m,i)){if(!l(m))return"F";if(!f)return"E";u(m)}return m[i].objectID},getWeakData:function(m,f){if(!_(m,i)){if(!l(m))return!0;if(!f)return!1;u(m)}return m[i].weakData},onFreeze:function(m){return h&&p.REQUIRED&&l(m)&&!_(m,i)&&u(m),m}};v[i]=!0},function(c,a,n){var v=n(18),S=n(205),_=n(26),y=n(87),s=n(206),h=n(207),i=function(o,l){this.stopped=o,this.result=l};(c.exports=function(o,l,u,p,m){var f,t,e,g,b,x,E,w=y(l,u,p?2:1);if(m)f=o;else{if(typeof(t=s(o))!="function")throw TypeError("Target is not iterable");if(S(t)){for(e=0,g=_(o.length);g>e;e++)if((b=p?w(v(E=o[e])[0],E[1]):w(o[e]))&&b instanceof i)return b;return new i(!1)}f=t.call(o)}for(x=f.next;!(E=x.call(f)).done;)if(typeof(b=h(f,w,E.value,p))=="object"&&b&&b instanceof i)return b;return new i(!1)}).stop=function(o){return new i(!0,o)}},function(c,a){c.exports=function(n,v,S){if(!(n instanceof v))throw TypeError("Incorrect "+(S?S+" ":"")+"invocation");return n}},function(c,a,n){"use strict";var v=n(15).f,S=n(60),_=n(210),y=n(87),s=n(142),h=n(141),i=n(88),o=n(211),l=n(16),u=n(140).fastKey,p=n(43),m=p.set,f=p.getterFor;c.exports={getConstructor:function(t,e,g,b){var x=t(function(T,N){s(T,x,e),m(T,{type:e,index:S(null),first:void 0,last:void 0,size:0}),l||(T.size=0),N!=null&&h(N,T[b],T,g)}),E=f(e),w=function(T,N,I){var M,k,G=E(T),$=D(T,N);return $?$.value=I:(G.last=$={index:k=u(N,!0),key:N,value:I,previous:M=G.last,next:void 0,removed:!1},G.first||(G.first=$),M&&(M.next=$),l?G.size++:T.size++,k!=="F"&&(G.index[k]=$)),T},D=function(T,N){var I,M=E(T),k=u(N);if(k!=="F")return M.index[k];for(I=M.first;I;I=I.next)if(I.key==N)return I};return _(x.prototype,{clear:function(){for(var T=E(this),N=T.index,I=T.first;I;)I.removed=!0,I.previous&&(I.previous=I.previous.next=void 0),delete N[I.index],I=I.next;T.first=T.last=void 0,l?T.size=0:this.size=0},delete:function(T){var N=E(this),I=D(this,T);if(I){var M=I.next,k=I.previous;delete N.index[I.index],I.removed=!0,k&&(k.next=M),M&&(M.previous=k),N.first==I&&(N.first=M),N.last==I&&(N.last=k),l?N.size--:this.size--}return!!I},forEach:function(T){for(var N,I=E(this),M=y(T,arguments.length>1?arguments[1]:void 0,3);N=N?N.next:I.first;)for(M(N.value,N.key,this);N&&N.removed;)N=N.previous},has:function(T){return!!D(this,T)}}),_(x.prototype,g?{get:function(T){var N=D(this,T);return N&&N.value},set:function(T,N){return w(this,T===0?0:T,N)}}:{add:function(T){return w(this,T=T===0?0:T,T)}}),l&&v(x.prototype,"size",{get:function(){return E(this).size}}),x},setStrong:function(t,e,g){var b=e+" Iterator",x=f(e),E=f(b);i(t,e,function(w,D){m(this,{type:b,target:w,state:x(w),kind:D,last:void 0})},function(){for(var w=E(this),D=w.kind,T=w.last;T&&T.removed;)T=T.previous;return w.target&&(w.last=T=T?T.next:w.state.first)?D=="keys"?{value:T.key,done:!1}:D=="values"?{value:T.value,done:!1}:{value:[T.key,T.value],done:!1}:(w.target=void 0,{value:void 0,done:!0})},g?"entries":"values",!g,!0),o(e)}}},function(c,a,n){"use strict";var v,S=n(4),_=n(55).f,y=n(26),s=n(222),h=n(35),i=n(224),o=n(44),l="".endsWith,u=Math.min,p=i("endsWith");S({target:"String",proto:!0,forced:!!(o||p||(v=_(String.prototype,"endsWith"),!v||v.writable))&&!p},{endsWith:function(m){var f=String(h(this));s(m);var t=arguments.length>1?arguments[1]:void 0,e=y(f.length),g=t===void 0?e:u(y(t),e),b=String(m);return l?l.call(f,b,g):f.slice(g-b.length,g)===b}})},function(c,a,n){"use strict";(function(v){var S=n(229),_=n(230),y=n(231);function s(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(P,C){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|P}function f(P,C){if(i.isBuffer(P))return P.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(P)||P instanceof ArrayBuffer))return P.byteLength;typeof P!="string"&&(P=""+P);var B=P.length;if(B===0)return 0;for(var L=!1;;)switch(C){case"ascii":case"latin1":case"binary":return B;case"utf8":case"utf-8":case void 0:return ie(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*B;case"hex":return B>>>1;case"base64":return le(P).length;default:if(L)return ie(P).length;C=(""+C).toLowerCase(),L=!0}}function t(P,C,B){var L=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((B===void 0||B>this.length)&&(B=this.length),B<=0)||(B>>>=0)<=(C>>>=0))return"";for(P||(P="utf8");;)switch(P){case"hex":return $(this,C,B);case"utf8":case"utf-8":return M(this,C,B);case"ascii":return k(this,C,B);case"latin1":case"binary":return G(this,C,B);case"base64":return I(this,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,B);default:if(L)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),L=!0}}function e(P,C,B){var L=P[C];P[C]=P[B],P[B]=L}function g(P,C,B,L,R){if(P.length===0)return-1;if(typeof B=="string"?(L=B,B=0):B>2147483647?B=2147483647:B<-2147483648&&(B=-2147483648),B=+B,isNaN(B)&&(B=R?0:P.length-1),B<0&&(B=P.length+B),B>=P.length){if(R)return-1;B=P.length-1}else if(B<0){if(!R)return-1;B=0}if(typeof C=="string"&&(C=i.from(C,L)),i.isBuffer(C))return C.length===0?-1:b(P,C,B,L,R);if(typeof C=="number")return C&=255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?R?Uint8Array.prototype.indexOf.call(P,C,B):Uint8Array.prototype.lastIndexOf.call(P,C,B):b(P,[C],B,L,R);throw new TypeError("val must be string, number or Buffer")}function b(P,C,B,L,R){var q,W=1,ae=P.length,me=C.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(P.length<2||C.length<2)return-1;W=2,ae/=2,me/=2,B/=2}function ge(ot,Ye){return W===1?ot[Ye]:ot.readUInt16BE(Ye*W)}if(R){var Ae=-1;for(q=B;qae&&(B=ae-me),q=B;q>=0;q--){for(var Re=!0,je=0;jeR&&(L=R):L=R;var q=C.length;if(q%2!=0)throw new TypeError("Invalid hex string");L>q/2&&(L=q/2);for(var W=0;W>8,me=W%256,ge.push(me),ge.push(ae);return ge}(C,P.length-B),P,B,L)}function I(P,C,B){return C===0&&B===P.length?S.fromByteArray(P):S.fromByteArray(P.slice(C,B))}function M(P,C,B){B=Math.min(P.length,B);for(var L=[],R=C;R239?4:ge>223?3:ge>191?2:1;if(R+Re<=B)switch(Re){case 1:ge<128&&(Ae=ge);break;case 2:(192&(q=P[R+1]))==128&&(me=(31&ge)<<6|63&q)>127&&(Ae=me);break;case 3:q=P[R+1],W=P[R+2],(192&q)==128&&(192&W)==128&&(me=(15&ge)<<12|(63&q)<<6|63&W)>2047&&(me<55296||me>57343)&&(Ae=me);break;case 4:q=P[R+1],W=P[R+2],ae=P[R+3],(192&q)==128&&(192&W)==128&&(192&ae)==128&&(me=(15&ge)<<18|(63&q)<<12|(63&W)<<6|63&ae)>65535&&me<1114112&&(Ae=me)}Ae===null?(Ae=65533,Re=1):Ae>65535&&(Ae-=65536,L.push(Ae>>>10&1023|55296),Ae=56320|1023&Ae),L.push(Ae),R+=Re}return function(je){var ot=je.length;if(ot<=4096)return String.fromCharCode.apply(String,je);for(var Ye="",Se=0;Se0&&(P=this.toString("hex",0,C).match(/.{2}/g).join(" "),this.length>C&&(P+=" ... ")),""},i.prototype.compare=function(P,C,B,L,R){if(!i.isBuffer(P))throw new TypeError("Argument must be a Buffer");if(C===void 0&&(C=0),B===void 0&&(B=P?P.length:0),L===void 0&&(L=0),R===void 0&&(R=this.length),C<0||B>P.length||L<0||R>this.length)throw new RangeError("out of range index");if(L>=R&&C>=B)return 0;if(L>=R)return-1;if(C>=B)return 1;if(this===P)return 0;for(var q=(R>>>=0)-(L>>>=0),W=(B>>>=0)-(C>>>=0),ae=Math.min(q,W),me=this.slice(L,R),ge=P.slice(C,B),Ae=0;AeR)&&(B=R),P.length>0&&(B<0||C<0)||C>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");for(var q=!1;;)switch(L){case"hex":return x(this,P,C,B);case"utf8":case"utf-8":return E(this,P,C,B);case"ascii":return w(this,P,C,B);case"latin1":case"binary":return D(this,P,C,B);case"base64":return T(this,P,C,B);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,P,C,B);default:if(q)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),q=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(P,C,B){var L="";B=Math.min(P.length,B);for(var R=C;RL)&&(B=L);for(var R="",q=C;qB)throw new RangeError("Trying to access beyond buffer length")}function X(P,C,B,L,R,q){if(!i.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>R||CP.length)throw new RangeError("Index out of range")}function H(P,C,B,L){C<0&&(C=65535+C+1);for(var R=0,q=Math.min(P.length-B,2);R>>8*(L?R:1-R)}function ee(P,C,B,L){C<0&&(C=4294967295+C+1);for(var R=0,q=Math.min(P.length-B,4);R>>8*(L?R:3-R)&255}function re(P,C,B,L,R,q){if(B+L>P.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function de(P,C,B,L,R){return R||re(P,0,B,4),_.write(P,C,B,L,23,4),B+4}function ve(P,C,B,L,R){return R||re(P,0,B,8),_.write(P,C,B,L,52,8),B+8}i.prototype.slice=function(P,C){var B,L=this.length;if((P=~~P)<0?(P+=L)<0&&(P=0):P>L&&(P=L),(C=C===void 0?L:~~C)<0?(C+=L)<0&&(C=0):C>L&&(C=L),C0&&(R*=256);)L+=this[P+--C]*R;return L},i.prototype.readUInt8=function(P,C){return C||z(P,1,this.length),this[P]},i.prototype.readUInt16LE=function(P,C){return C||z(P,2,this.length),this[P]|this[P+1]<<8},i.prototype.readUInt16BE=function(P,C){return C||z(P,2,this.length),this[P]<<8|this[P+1]},i.prototype.readUInt32LE=function(P,C){return C||z(P,4,this.length),(this[P]|this[P+1]<<8|this[P+2]<<16)+16777216*this[P+3]},i.prototype.readUInt32BE=function(P,C){return C||z(P,4,this.length),16777216*this[P]+(this[P+1]<<16|this[P+2]<<8|this[P+3])},i.prototype.readIntLE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=this[P],R=1,q=0;++q=(R*=128)&&(L-=Math.pow(2,8*C)),L},i.prototype.readIntBE=function(P,C,B){P|=0,C|=0,B||z(P,C,this.length);for(var L=C,R=1,q=this[P+--L];L>0&&(R*=256);)q+=this[P+--L]*R;return q>=(R*=128)&&(q-=Math.pow(2,8*C)),q},i.prototype.readInt8=function(P,C){return C||z(P,1,this.length),128&this[P]?-1*(255-this[P]+1):this[P]},i.prototype.readInt16LE=function(P,C){C||z(P,2,this.length);var B=this[P]|this[P+1]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt16BE=function(P,C){C||z(P,2,this.length);var B=this[P+1]|this[P]<<8;return 32768&B?4294901760|B:B},i.prototype.readInt32LE=function(P,C){return C||z(P,4,this.length),this[P]|this[P+1]<<8|this[P+2]<<16|this[P+3]<<24},i.prototype.readInt32BE=function(P,C){return C||z(P,4,this.length),this[P]<<24|this[P+1]<<16|this[P+2]<<8|this[P+3]},i.prototype.readFloatLE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!0,23,4)},i.prototype.readFloatBE=function(P,C){return C||z(P,4,this.length),_.read(this,P,!1,23,4)},i.prototype.readDoubleLE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!0,52,8)},i.prototype.readDoubleBE=function(P,C){return C||z(P,8,this.length),_.read(this,P,!1,52,8)},i.prototype.writeUIntLE=function(P,C,B,L){P=+P,C|=0,B|=0,L||X(this,P,C,B,Math.pow(2,8*B)-1,0);var R=1,q=0;for(this[C]=255&P;++q=0&&(q*=256);)this[C+R]=P/q&255;return C+B},i.prototype.writeUInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,255,0),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),this[C]=255&P,C+1},i.prototype.writeUInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeUInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeUInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C+3]=P>>>24,this[C+2]=P>>>16,this[C+1]=P>>>8,this[C]=255&P):ee(this,P,C,!0),C+4},i.prototype.writeUInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeIntLE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=0,W=1,ae=0;for(this[C]=255&P;++q>0)-ae&255;return C+B},i.prototype.writeIntBE=function(P,C,B,L){if(P=+P,C|=0,!L){var R=Math.pow(2,8*B-1);X(this,P,C,B,R-1,-R)}var q=B-1,W=1,ae=0;for(this[C+q]=255&P;--q>=0&&(W*=256);)P<0&&ae===0&&this[C+q+1]!==0&&(ae=1),this[C+q]=(P/W>>0)-ae&255;return C+B},i.prototype.writeInt8=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,1,127,-128),i.TYPED_ARRAY_SUPPORT||(P=Math.floor(P)),P<0&&(P=255+P+1),this[C]=255&P,C+1},i.prototype.writeInt16LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8):H(this,P,C,!0),C+2},i.prototype.writeInt16BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>8,this[C+1]=255&P):H(this,P,C,!1),C+2},i.prototype.writeInt32LE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[C]=255&P,this[C+1]=P>>>8,this[C+2]=P>>>16,this[C+3]=P>>>24):ee(this,P,C,!0),C+4},i.prototype.writeInt32BE=function(P,C,B){return P=+P,C|=0,B||X(this,P,C,4,2147483647,-2147483648),P<0&&(P=4294967295+P+1),i.TYPED_ARRAY_SUPPORT?(this[C]=P>>>24,this[C+1]=P>>>16,this[C+2]=P>>>8,this[C+3]=255&P):ee(this,P,C,!1),C+4},i.prototype.writeFloatLE=function(P,C,B){return de(this,P,C,!0,B)},i.prototype.writeFloatBE=function(P,C,B){return de(this,P,C,!1,B)},i.prototype.writeDoubleLE=function(P,C,B){return ve(this,P,C,!0,B)},i.prototype.writeDoubleBE=function(P,C,B){return ve(this,P,C,!1,B)},i.prototype.copy=function(P,C,B,L){if(B||(B=0),L||L===0||(L=this.length),C>=P.length&&(C=P.length),C||(C=0),L>0&&L=this.length)throw new RangeError("sourceStart out of bounds");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),P.length-C=0;--R)P[R+C]=this[R+B];else if(q<1e3||!i.TYPED_ARRAY_SUPPORT)for(R=0;R>>=0,B=B===void 0?this.length:B>>>0,P||(P=0),typeof P=="number")for(q=C;q55295&&B<57344){if(!R){if(B>56319){(C-=3)>-1&&q.push(239,191,189);continue}if(W+1===L){(C-=3)>-1&&q.push(239,191,189);continue}R=B;continue}if(B<56320){(C-=3)>-1&&q.push(239,191,189),R=B;continue}B=65536+(R-55296<<10|B-56320)}else R&&(C-=3)>-1&&q.push(239,191,189);if(R=null,B<128){if((C-=1)<0)break;q.push(B)}else if(B<2048){if((C-=2)<0)break;q.push(B>>6|192,63&B|128)}else if(B<65536){if((C-=3)<0)break;q.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;q.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return q}function le(P){return S.toByteArray(function(C){if((C=function(B){return B.trim?B.trim():B.replace(/^\s+|\s+$/g,"")}(C).replace(ne,"")).length<2)return"";for(;C.length%4!=0;)C+="=";return C}(P))}function fe(P,C,B,L){for(var R=0;R=C.length||R>=P.length);++R)C[R+B]=P[R];return R}}).call(this,n(78))},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.isASCIIByte=function(v){return v>=0&&v<=127}},function(c,a,n){"use strict";var v=this&&this.__read||function(_,y){var s=typeof Symbol=="function"&&_[Symbol.iterator];if(!s)return _;var h,i,o=s.call(_),l=[];try{for(;(y===void 0||y-- >0)&&!(h=o.next()).done;)l.push(h.value)}catch(u){i={error:u}}finally{try{h&&!h.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}return l},S=this&&this.__spread||function(){for(var _=[],y=0;y=65&&s<=90&&(_[y]=s+32)}},a.byteUppercase=function(_){for(var y=0;y<_.length;y++){var s=_[y];s>=97&&s<=122&&(_[y]=s-32)}},a.byteCaseInsensitiveMatch=function(_,y){if(_.length!==y.length)return!1;for(var s=0;s<_.length;s++){var h=_[s],i=y[s];if(h>=65&&h<=90&&(h+=32),i>=65&&i<=90&&(i+=32),h!==i)return!1}return!0},a.startsWith=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;if(_[s]!==y[s])return!1;s++}},a.byteLessThan=function(_,y){for(var s=0;;){if(s>=_.length)return!1;if(s>=y.length)return!0;var h=_[s],i=y[s];if(hi)return!1;s++}},a.isomorphicDecode=function(_){return String.fromCodePoint.apply(String,S(_))}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(6),S=n(7),_=n(0),y=n(12),s=function(){function h(i){this._associatedDocument=i||v.dom.window.document}return h.prototype.createDocumentType=function(i,o,l){return _.namespace_validate(i),_.create_documentType(this._associatedDocument,i,o,l)},h.prototype.createDocument=function(i,o,l){l===void 0&&(l=null);var u=_.create_xmlDocument(),p=null;return o&&(p=_.document_internalCreateElementNS(u,i,o)),l&&u.appendChild(l),p&&u.appendChild(p),u._origin=this._associatedDocument._origin,i===S.namespace.HTML?u._contentType="application/xhtml+xml":i===S.namespace.SVG?u._contentType="image/svg+xml":u._contentType="application/xml",u},h.prototype.createHTMLDocument=function(i){var o=_.create_document();o._type="html",o._contentType="text/html",o.appendChild(_.create_documentType(o,"html","",""));var l=_.element_createAnElement(o,"html",S.namespace.HTML);o.appendChild(l);var u=_.element_createAnElement(o,"head",S.namespace.HTML);if(l.appendChild(u),i!==void 0){var p=_.element_createAnElement(o,"title",S.namespace.HTML);u.appendChild(p);var m=_.create_text(o,i);p.appendChild(m)}var f=_.element_createAnElement(o,"body",S.namespace.HTML);return l.appendChild(f),o._origin=this._associatedDocument._origin,o},h.prototype.hasFeature=function(){return!0},h._create=function(i){return new h(i)},h}();a.DOMImplementationImpl=s,y.idl_defineConst(s.prototype,"_ID","@oozcitak/dom")},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(1),s=n(0),h=function(i){function o(){var l=i.call(this)||this;return l._signalSlots=new Set,l._mutationObserverMicrotaskQueued=!1,l._mutationObservers=new Set,l._iteratorList=new y.FixedSizeSet,l._associatedDocument=s.create_document(),l}return S(o,i),Object.defineProperty(o.prototype,"document",{get:function(){return this._associatedDocument},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"event",{get:function(){return this._currentEvent},enumerable:!0,configurable:!0}),o._create=function(){return new o},o}(_.EventTargetImpl);a.WindowImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=function(){function _(){}return _.isNode=function(y){return!!y&&y._nodeType!==void 0},_.isDocumentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Document},_.isDocumentTypeNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentType},_.isDocumentFragmentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.DocumentFragment},_.isAttrNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Attribute},_.isCharacterDataNode=function(y){if(!_.isNode(y))return!1;var s=y._nodeType;return s===v.NodeType.Text||s===v.NodeType.ProcessingInstruction||s===v.NodeType.Comment||s===v.NodeType.CData},_.isTextNode=function(y){return _.isNode(y)&&(y._nodeType===v.NodeType.Text||y._nodeType===v.NodeType.CData)},_.isExclusiveTextNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Text},_.isCDATASectionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.CData},_.isCommentNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Comment},_.isProcessingInstructionNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.ProcessingInstruction},_.isElementNode=function(y){return _.isNode(y)&&y._nodeType===v.NodeType.Element},_.isCustomElementNode=function(y){return _.isElementNode(y)&&y._customElementState==="custom"},_.isShadowRoot=function(y){return!!y&&y.host!==void 0},_.isMouseEvent=function(y){return!!y&&y.screenX!==void 0&&y.screenY!=null},_.isSlotable=function(y){return!!y&&y._name!==void 0&&y._assignedSlot!==void 0&&(_.isTextNode(y)||_.isElementNode(y))},_.isSlot=function(y){return!!y&&y._name!==void 0&&y._assignedNodes!==void 0&&_.isElementNode(y)},_.isWindow=function(y){return!!y&&y.navigator!==void 0},_.isEventListener=function(y){return!!y&&y.handleEvent!==void 0},_.isRegisteredObserver=function(y){return!!y&&y.observer!==void 0&&y.options!==void 0},_.isTransientRegisteredObserver=function(y){return!!y&&y.source!==void 0&&_.isRegisteredObserver(y)},_}();a.Guard=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(){return y.call(this)||this}return S(s,y),s}(n(98).DocumentImpl);a.XMLDocumentImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(L){var R=typeof Symbol=="function"&&Symbol.iterator,q=R&&L[R],W=0;if(q)return q.call(L);if(L&&typeof L.length=="number")return{next:function(){return L&&W>=L.length&&(L=void 0),{value:L&&L[W++],done:!L}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(L,R){var q=typeof Symbol=="function"&&L[Symbol.iterator];if(!q)return L;var W,ae,me=q.call(L),ge=[];try{for(;(R===void 0||R-- >0)&&!(W=me.next()).done;)ge.push(W.value)}catch(Ae){ae={error:Ae}}finally{try{W&&!W.done&&(q=me.return)&&q.call(me)}finally{if(ae)throw ae.error}}return ge};Object.defineProperty(a,"__esModule",{value:!0});var _,y=n(1),s=n(243),h=n(7),i=n(244),o={ftp:21,file:null,http:80,https:443,ws:80,wss:443},l=/[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[ "<>`]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/[ "<>`#?{}]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[ "<>`#?{}/:;=@\[\]\\\^\|]|[\0-\x1F\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,f=/[0-9A-Za-z!\$&-\/:;=\?@_~\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB40-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD]/,t=/[\0\t\f\r #%/:?@\[\\\]]/;function e(L){_!==void 0&&_.call(null,"Validation Error: "+L)}function g(){return{scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null}}function b(L){return L in o}function x(L){return b(L.scheme)}function E(L){return o[L]||null}function w(L){return L.username!==""||L.password!==""}function D(L,R){var q,W;R===void 0&&(R=!1);var ae=L.scheme+":";if(L.host!==null?(ae+="//",w(L)&&(ae+=L.username,L.password!==""&&(ae+=":"+L.password),ae+="@"),ae+=T(L.host),L.port!==null&&(ae+=":"+L.port)):L.host===null&&L.scheme==="file"&&(ae+="//"),L._cannotBeABaseURLFlag)ae+=L.path[0];else try{for(var me=v(L.path),ge=me.next();!ge.done;ge=me.next())ae+="/"+ge.value}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return L.query!==null&&(ae+="?"+L.query),R||L.fragment===null||(ae+="#"+L.fragment),ae}function T(L){return y.isNumber(L)?N(L):y.isArray(L)?"["+I(L)+"]":L}function N(L){for(var R="",q=L,W=1;W<=4;W++)R=(q%256).toString()+R,W!==4&&(R="."+R),q=Math.floor(q/256);return R}function I(L){for(var R="",q=null,W=-1,ae=0,me=0,ge=0;ge<8;ge++)if(L[ge]===0){ae=1;for(var Ae=ge+1;Ae<8&&L[Ae]===0;Ae++)ae++;ae>me&&(me=ae,W=ge)}me>1&&(q=W);for(var Re=!1,je=0;je<8;je++)Re&&L[je]===0||(Re&&(Re=!1),q!==je?(R+=L[je].toString(16),je!==7&&(R+=":")):(R+=je===0?"::":":",Re=!0));return R}function M(L,R,q,W,ae){var me,ge,Ae,Re;if(W===void 0){W={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,_cannotBeABaseURLFlag:!1,_blobURLEntry:null};var je=/^[\u0000-\u001F\u0020]+/,ot=/[\u0000-\u001F\u0020]+$/;(je.test(L)||ot.test(L))&&e("Input string contains leading or trailing control characters or space."),L=(L=L.replace(je,"")).replace(ot,"")}var Ye=/[\u0009\u000A\u000D]/g;Ye.test(L)&&e("Input string contains tab or newline characters."),L=L.replace(Ye,"");var Se=ae===void 0?s.ParserState.SchemeStart:ae;R===void 0&&(R=null);for(var ct=q===void 0||q==="replacement"||q==="UTF-16BE"||q==="UTF-16LE"?"UTF-8":q,K="",We=!1,Ge=!1,Fe=!1,se=new y.StringWalker(L);;){switch(Se){case s.ParserState.SchemeStart:if(h.codePoint.ASCIIAlpha.test(se.c()))K+=se.c().toLowerCase(),Se=s.ParserState.Scheme;else{if(ae!==void 0)return e("Invalid scheme start character."),null;Se=s.ParserState.NoScheme,se.pointer--}break;case s.ParserState.Scheme:if(h.codePoint.ASCIIAlphanumeric.test(se.c())||se.c()==="+"||se.c()==="-"||se.c()===".")K+=se.c().toLowerCase();else{if(se.c()!==":"){if(ae===void 0){K="",Se=s.ParserState.NoScheme,se.pointer=0;continue}return e("Invalid input string."),null}if(ae!==void 0&&(b(W.scheme)&&!b(K)||!b(W.scheme)&&b(K)||(w(W)||W.port!==null)&&K==="file"||W.scheme==="file"&&(W.host===""||W.host===null)))return W;if(W.scheme=K,ae!==void 0)return W.port===E(W.scheme)&&(W.port=null),W;K="",W.scheme==="file"?(se.remaining().startsWith("//")||e("Invalid file URL scheme, '//' expected."),Se=s.ParserState.File):x(W)&&R!==null&&R.scheme===W.scheme?Se=s.ParserState.SpecialRelativeOrAuthority:x(W)?Se=s.ParserState.SpecialAuthoritySlashes:se.remaining().startsWith("/")?(Se=s.ParserState.PathOrAuthority,se.pointer++):(W._cannotBeABaseURLFlag=!0,W.path.push(""),Se=s.ParserState.CannotBeABaseURLPath)}break;case s.ParserState.NoScheme:if(R===null||R._cannotBeABaseURLFlag&&se.c()!=="#")return e("Invalid input string."),null;R._cannotBeABaseURLFlag&&se.c()==="#"?(W.scheme=R.scheme,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",W._cannotBeABaseURLFlag=!0,Se=s.ParserState.Fragment):R.scheme!=="file"?(Se=s.ParserState.Relative,se.pointer--):(Se=s.ParserState.File,se.pointer--);break;case s.ParserState.SpecialRelativeOrAuthority:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Invalid input string."),Se=s.ParserState.Relative,se.pointer--);break;case s.ParserState.PathOrAuthority:se.c()==="/"?Se=s.ParserState.Authority:(Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.Relative:if(R===null)throw new Error("Invalid parser state. Base URL is null.");switch(W.scheme=R.scheme,se.c()){case"":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query;break;case"/":Se=s.ParserState.RelativeSlash;break;case"?":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:x(W)&&se.c()==="\\"?(e("Invalid input string."),Se=s.ParserState.RelativeSlash):(W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,W.path=h.list.clone(R.path),W.path.length!==0&&W.path.splice(W.path.length-1,1),Se=s.ParserState.Path,se.pointer--)}break;case s.ParserState.RelativeSlash:if(!x(W)||se.c()!=="/"&&se.c()!=="\\")if(se.c()==="/")Se=s.ParserState.Authority;else{if(R===null)throw new Error("Invalid parser state. Base URL is null.");W.username=R.username,W.password=R.password,W.host=R.host,W.port=R.port,Se=s.ParserState.Path,se.pointer--}else se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes;break;case s.ParserState.SpecialAuthoritySlashes:se.c()==="/"&&se.remaining().startsWith("/")?(Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer++):(e("Expected '//'."),Se=s.ParserState.SpecialAuthorityIgnoreSlashes,se.pointer--);break;case s.ParserState.SpecialAuthorityIgnoreSlashes:se.c()!=="/"&&se.c()!=="\\"?(Se=s.ParserState.Authority,se.pointer--):e("Unexpected '/' or '\\'.");break;case s.ParserState.Authority:if(se.c()==="@"){e("Unexpected '@'."),We&&(K="%40"+K),We=!0;try{for(var xe=(me=void 0,v(K)),be=xe.next();!be.done;be=xe.next()){var Ne=be.value;if(Ne!==":"||Fe){var Ce=fe(Ne,m);Fe?W.password+=Ce:W.username+=Ce}else Fe=!0}}catch(Ut){me={error:Ut}}finally{try{be&&!be.done&&(ge=xe.return)&&ge.call(xe)}finally{if(me)throw me.error}}K=""}else if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(We&&K==="")return e("Invalid input string."),null;se.pointer-=K.length+1,K="",Se=s.ParserState.Host}else K+=se.c();break;case s.ParserState.Host:case s.ParserState.Hostname:if(ae!==void 0&&W.scheme==="file")se.pointer--,Se=s.ParserState.FileHost;else if(se.c()!==":"||Ge)if(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"){if(se.pointer--,x(W)&&K==="")return e("Invalid input string."),null;if(ae!==void 0&&K===""&&(w(W)||W.port!==null))return e("Invalid input string."),W;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.PathStart,ae!==void 0)return W}else se.c()==="["&&(Ge=!0),se.c()==="]"&&(Ge=!1),K+=se.c();else{if(K==="")return e("Invalid input string."),null;if((Ue=H(K,!x(W)))===null)return null;if(W.host=Ue,K="",Se=s.ParserState.Port,ae===s.ParserState.Hostname)return W}break;case s.ParserState.Port:if(h.codePoint.ASCIIDigit.test(se.c()))K+=se.c();else{if(!(se.c()===""||se.c()==="/"||se.c()==="?"||se.c()==="#"||x(W)&&se.c()==="\\"||ae))return e("Invalid input string."),null;if(K!==""&&K!==""){var ze=parseInt(K,10);if(ze>Math.pow(2,16)-1)return e("Invalid port number."),null;W.port=ze===E(W.scheme)?null:ze,K=""}if(ae!==void 0)return W;Se=s.ParserState.PathStart,se.pointer--}break;case s.ParserState.File:if(W.scheme="file",se.c()==="/"||se.c()==="\\")se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileSlash;else if(R!==null&&R.scheme==="file")switch(se.c()){case"":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query;break;case"?":W.host=R.host,W.path=h.list.clone(R.path),W.query="",Se=s.ParserState.Query;break;case"#":W.host=R.host,W.path=h.list.clone(R.path),W.query=R.query,W.fragment="",Se=s.ParserState.Fragment;break;default:X(se.substring())?e("Unexpected windows drive letter in input string."):(W.host=R.host,W.path=h.list.clone(R.path),$(W)),Se=s.ParserState.Path,se.pointer--}else Se=s.ParserState.Path,se.pointer--;break;case s.ParserState.FileSlash:se.c()==="/"||se.c()==="\\"?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.FileHost):(R===null||R.scheme!=="file"||X(se.substring())||(Y(R.path[0])?W.path.push(R.path[0]):W.host=R.host),Se=s.ParserState.Path,se.pointer--);break;case s.ParserState.FileHost:if(se.c()===""||se.c()==="/"||se.c()==="\\"||se.c()==="?"||se.c()==="#")if(se.pointer--,ae===void 0&&z(K))e("Unexpected windows drive letter in input string."),Se=s.ParserState.Path;else if(K===""){if(W.host="",ae!==void 0)return W;Se=s.ParserState.PathStart}else{var Ue;if((Ue=H(K,!x(W)))===null)return null;if(Ue==="localhost"&&(Ue=""),W.host=Ue,ae!==void 0)return W;K="",Se=s.ParserState.PathStart}else K+=se.c();break;case s.ParserState.PathStart:x(W)?(se.c()==="\\"&&e("Invalid input string."),Se=s.ParserState.Path,se.c()!=="/"&&se.c()!=="\\"&&se.pointer--):ae===void 0&&se.c()==="?"?(W.query="",Se=s.ParserState.Query):ae===void 0&&se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):se.c()!==""&&(Se=s.ParserState.Path,se.c()!=="/"&&se.pointer--);break;case s.ParserState.Path:if(se.c()===""||se.c()==="/"||x(W)&&se.c()==="\\"||ae===void 0&&(se.c()==="?"||se.c()==="#")){if(x(W)&&se.c()==="\\"&&e("Invalid input string."),G(K))$(W),se.c()==="/"||x(W)&&se.c()==="\\"||W.path.push("");else if(!k(K)||se.c()==="/"||x(W)&&se.c()==="\\"){if(!k(K)){if(W.scheme==="file"&&W.path.length===0&&z(K)){W.host!==null&&W.host!==""&&(e("Invalid input string."),W.host="");var He=Array.from(K);K=He.slice(0,1)+":"+He.slice(2)}W.path.push(K)}}else W.path.push("");if(K="",W.scheme==="file"&&(se.c()===""||se.c()==="?"||se.c()==="#"))for(;W.path.length>1&&W.path[0]==="";)e("Invalid input string."),W.path.splice(0,1);se.c()==="?"&&(W.query="",Se=s.ParserState.Query),se.c()==="#"&&(W.fragment="",Se=s.ParserState.Fragment)}else f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),K+=fe(se.c(),p);break;case s.ParserState.CannotBeABaseURLPath:se.c()==="?"?(W.query="",Se=s.ParserState.Query):se.c()==="#"?(W.fragment="",Se=s.ParserState.Fragment):(se.c()===""||f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),se.c()!==""&&(W.path[0]+=fe(se.c(),l)));break;case s.ParserState.Query:if(ct==="UTF-8"||x(W)&&W.scheme!=="ws"&&W.scheme!=="wss"||(ct="UTF-8"),ae===void 0&&se.c()==="#")W.fragment="",Se=s.ParserState.Fragment;else if(se.c()!==""){if(f.test(se.c())||se.c()==="%"||e("Character is not a URL code point or a percent encoded character."),se.c()!=="%"||/^[0-9a-fA-F][0-9a-fA-F]/.test(se.remaining())||e("Percent encoded character must be followed by two hex digits."),ct.toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var et=y.utf8Encode(se.c());if(et.length>=3&&et[0]===38&&et[1]===35&&et[et.length-1]===59)et=et.subarray(2,et.length-1),W.query+="%26%23"+h.byteSequence.isomorphicDecode(et)+"%3B";else try{for(var Et=(Ae=void 0,v(et)),wt=Et.next();!wt.done;wt=Et.next()){var ft=wt.value;ft<33||ft>126||ft===34||ft===35||ft===60||ft===62||ft===39&&x(W)?W.query+=Q(ft):W.query+=String.fromCharCode(ft)}}catch(Ut){Ae={error:Ut}}finally{try{wt&&!wt.done&&(Re=Et.return)&&Re.call(Et)}finally{if(Ae)throw Ae.error}}}break;case s.ParserState.Fragment:se.c()===""||(se.c()==="\0"?e("NULL character in input string."):(f.test(se.c())||se.c()==="%"||e("Unexpected character in fragment string."),se.c()!=="%"||/^[A-Za-z0-9][A-Za-z0-9]/.test(se.remaining())||e("Unexpected character in fragment string."),W.fragment+=fe(se.c(),u)))}if(se.eof)break;se.pointer++}return W}function k(L){return L==="."||L.toLowerCase()==="%2e"}function G(L){var R=L.toLowerCase();return R===".."||R===".%2e"||R==="%2e."||R==="%2e%2e"}function $(L){var R=L.path;R.length!==0&&(L.scheme==="file"&&R.length===1&&Y(R[0])||L.path.splice(L.path.length-1,1))}function Y(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&L[1]===":"}function z(L){return L.length>=2&&h.codePoint.ASCIIAlpha.test(L[0])&&(L[1]===":"||L[1]==="|")}function X(L){return L.length>=2&&z(L)&&(L.length===2||L[2]==="/"||L[2]==="\\"||L[2]==="?"||L[2]==="#")}function H(L,R){if(R===void 0&&(R=!1),L.startsWith("["))return L.endsWith("]")?de(L.substring(1,L.length-1)):(e("Expected ']' after '['."),null);if(R)return ve(L);var q=B(y.utf8Decode(le(L)));if(q===null||t.test(q))return e("Invalid domain."),null;var W=re(q);return W===null||y.isNumber(W)?W:q}function ee(L,R){R===void 0&&(R={value:!1});var q=10;return L.startsWith("0x")||L.startsWith("0X")?(R.value=!0,L=L.substr(2),q=16):L.length>=2&&L[0]==="0"&&(R.value=!0,L=L.substr(1),q=8),L===""?0:(q===10?/^[0-9]+$/:q===16?/^[0-9A-Fa-f]+$/:/^[0-7]+$/).test(L)?parseInt(L,q):null}function re(L){var R,q,W,ae,me={value:!1},ge=L.split(".");if(ge[ge.length-1]===""&&(me.value=!0,ge.length>1&&ge.pop()),ge.length>4)return L;var Ae=[];try{for(var Re=v(ge),je=Re.next();!je.done;je=Re.next()){var ot=je.value;if(ot===""||(Ge=ee(ot,me))===null)return L;Ae.push(Ge)}}catch(Fe){R={error:Fe}}finally{try{je&&!je.done&&(q=Re.return)&&q.call(Re)}finally{if(R)throw R.error}}me.value&&e("Invalid IP v4 address.");for(var Ye=0;Ye255&&(e("Invalid IP v4 address."),Ye=Math.pow(256,5-Ae.length))return e("Invalid IP v4 address."),null;var Se=Ae[Ae.length-1];Ae.pop();var ct=0;try{for(var K=v(Ae),We=K.next();!We.done;We=K.next()){var Ge;Se+=(Ge=We.value)*Math.pow(256,3-ct),ct++}}catch(Fe){W={error:Fe}}finally{try{We&&!We.done&&(ae=K.return)&&ae.call(K)}finally{if(W)throw W.error}}return Se}function de(L){var R,q=[0,0,0,0,0,0,0,0],W=0,ae=null,me=new y.StringWalker(L);if(me.c()===":"){if(!me.remaining().startsWith(":"))return e("Invalid IP v6 address."),null;me.pointer+=2,ae=W+=1}for(;me.c()!=="";){if(W===8)return e("Invalid IP v6 address."),null;if(me.c()!==":"){for(var ge=0,Ae=0;Ae<4&&h.codePoint.ASCIIHexDigit.test(me.c());)ge=16*ge+parseInt(me.c(),16),me.pointer++,Ae++;if(me.c()==="."){if(Ae===0||(me.pointer-=Ae,W>6))return e("Invalid IP v6 address."),null;for(var Re=0;me.c()!=="";){var je=null;if(Re>0){if(!(me.c()==="."&&Re<4))return e("Invalid IP v6 address."),null;me.pointer++}if(!h.codePoint.ASCIIDigit.test(me.c()))return e("Invalid IP v6 address."),null;for(;h.codePoint.ASCIIDigit.test(me.c());){var ot=parseInt(me.c(),10);if(je===null)je=ot;else{if(je===0)return e("Invalid IP v6 address."),null;je=10*je+ot}if(je>255)return e("Invalid IP v6 address."),null;me.pointer++}if(je===null)return e("Invalid IP v6 address."),null;q[W]=256*q[W]+je,++Re!==2&&Re!==4||W++}if(Re!==4)return e("Invalid IP v6 address."),null;break}if(me.c()===":"){if(me.pointer++,me.c()==="")return e("Invalid IP v6 address."),null}else if(me.c()!=="")return e("Invalid IP v6 address."),null;q[W]=ge,W++}else{if(ae!==null)return e("Invalid IP v6 address."),null;me.pointer++,ae=++W}}if(ae!==null){var Ye=W-ae;for(W=7;W!==0&&Ye>0;)R=S([q[ae+Ye-1],q[W]],2),q[W]=R[0],q[ae+Ye-1]=R[1],W--,Ye--}else if(ae===null&&W!==8)return e("Invalid IP v6 address."),null;return q}function ve(L){var R,q;if(/[\x00\t\f\r #/:?@\[\\\]]/.test(L))return e("Invalid host string."),null;var W="";try{for(var ae=v(L),me=ae.next();!me.done;me=ae.next())W+=fe(me.value,l)}catch(ge){R={error:ge}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function ne(L){return null}function Q(L){return"%"+("00"+L.toString(16).toUpperCase()).slice(-2)}function ie(L){for(var R=function(Ae){return Ae>=48&&Ae<=57||Ae>=65&&Ae<=70||Ae>=97&&Ae<=102},q=new Uint8Array(L.length),W=0,ae=0;ae=L.length-2)q[W]=me,W++;else if(me!==37||R(L[ae+1])&&R(L[ae+2])){var ge=parseInt(y.utf8Decode(Uint8Array.of(L[ae+1],L[ae+2])),16);q[W]=ge,W++,ae+=2}else q[W]=me,W++}return q.subarray(0,W)}function le(L){return ie(y.utf8Encode(L))}function fe(L,R){var q,W;if(!R.test(L))return L;var ae=y.utf8Encode(L),me="";try{for(var ge=v(ae),Ae=ge.next();!Ae.done;Ae=ge.next())me+=Q(Ae.value)}catch(Re){q={error:Re}}finally{try{Ae&&!Ae.done&&(W=ge.return)&&W.call(ge)}finally{if(q)throw q.error}}return me}function P(L){var R,q,W,ae,me=[],ge=[];try{for(var Ae=v(L),Re=Ae.next();!Re.done;Re=Ae.next()){var je=Re.value;je===38?(me.push(Uint8Array.from(ge)),ge=[]):ge.push(je)}}catch(be){R={error:be}}finally{try{Re&&!Re.done&&(q=Ae.return)&&q.call(Ae)}finally{if(R)throw R.error}}ge.length!==0&&me.push(Uint8Array.from(ge));var ot=[];try{for(var Ye=v(me),Se=Ye.next();!Se.done;Se=Ye.next()){var ct=Se.value;if(ct.length!==0){for(var K=ct.indexOf(61),We=K!==-1?ct.slice(0,K):ct,Ge=K!==-1?ct.slice(K+1):new Uint8Array,Fe=0;Fe=48&&ge<=57||ge>=65&&ge<=90||ge===95||ge>=97&&ge<=122?String.fromCodePoint(ge):Q(ge)}}catch(Ae){R={error:Ae}}finally{try{me&&!me.done&&(q=ae.return)&&q.call(ae)}finally{if(R)throw R.error}}return W}function B(L,R){R===void 0&&(R=!1);var q=i.domainToASCII(L);return q===""?(e("Invalid domain name."),null):q}a.setValidationErrorCallback=function(L){_=L},a.newURL=g,a.isSpecialScheme=b,a.isSpecial=x,a.defaultPort=E,a.includesCredentials=w,a.cannotHaveAUsernamePasswordPort=function(L){return L.host===null||L.host===""||L._cannotBeABaseURLFlag||L.scheme==="file"},a.urlSerializer=D,a.hostSerializer=T,a.iPv4Serializer=N,a.iPv6Serializer=I,a.urlParser=function(L,R,q){var W=M(L,R,q);return W===null?null:(W.scheme!=="blob"||(W._blobURLEntry=null),W)},a.basicURLParser=M,a.setTheUsername=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.username=ae},a.setThePassword=function(L,R){var q,W,ae="";try{for(var me=v(R),ge=me.next();!ge.done;ge=me.next())ae+=fe(ge.value,m)}catch(Ae){q={error:Ae}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}L.password=ae},a.isSingleDotPathSegment=k,a.isDoubleDotPathSegment=G,a.shorten=$,a.isNormalizedWindowsDriveLetter=Y,a.isWindowsDriveLetter=z,a.startsWithAWindowsDriveLetter=X,a.hostParser=H,a.iPv4NumberParser=ee,a.iPv4Parser=re,a.iPv6Parser=de,a.opaqueHostParser=ve,a.resolveABlobURL=ne,a.percentEncode=Q,a.percentDecode=ie,a.stringPercentDecode=le,a.utf8PercentEncode=fe,a.hostEquals=function(L,R){return L===R},a.urlEquals=function(L,R,q){return q===void 0&&(q=!1),D(L,q)===D(R,q)},a.urlEncodedStringParser=function(L){return P(y.utf8Encode(L))},a.urlEncodedParser=P,a.urlEncodedByteSerializer=C,a.urlEncodedSerializer=function(L,R){var q,W;if((R===void 0||R==="replacement"||R==="UTF-16BE"||R==="UTF-16LE"?"UTF-8":R).toUpperCase()!=="UTF-8")throw new Error("Only UTF-8 encoding is supported.");var ae="";try{for(var me=v(L),ge=me.next();!ge.done;ge=me.next()){var Ae=ge.value,Re=C(y.utf8Encode(Ae[0])),je=Ae[1];je=C(y.utf8Encode(je)),ae!==""&&(ae+="&"),ae+=Re+"="+je}}catch(ot){q={error:ot}}finally{try{ge&&!ge.done&&(W=me.return)&&W.call(me)}finally{if(q)throw q.error}}return ae},a.origin=function L(R){switch(R.scheme){case"blob":R._blobURLEntry;var q=M(R.path[0]);return q===null?s.OpaqueOrigin:L(q);case"ftp":case"http":case"https":case"ws":case"wss":return[R.scheme,R.host===null?"":R.host,R.port,null];case"file":default:return s.OpaqueOrigin}},a.domainToASCII=B,a.domainToUnicode=function(L,R){R===void 0&&(R=!1);var q=i.domainToUnicode(L);return q===""&&e("Invalid domain name."),q},a.asciiSerializationOfAnOrigin=function(L){if(L[0]===""&&L[1]===""&&L[2]===null&&L[3]===null)return"null";var R=L[0]+"://"+T(L[1]);return L[2]!==null&&(R+=":"+L[2].toString()),R}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(0),S=function(){function _(){this._signal=v.create_abortSignal()}return Object.defineProperty(_.prototype,"signal",{get:function(){return this._signal},enumerable:!0,configurable:!0}),_.prototype.abort=function(){v.abort_signalAbort(this._signal)},_}();a.AbortControllerImpl=S},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(70),y=n(0),s=function(h){function i(){var o=h.call(this)||this;return o._abortedFlag=!1,o._abortAlgorithms=new Set,o}return S(i,h),Object.defineProperty(i.prototype,"aborted",{get:function(){return this._abortedFlag},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"onabort",{get:function(){return y.event_getterEventHandlerIDLAttribute(this,"onabort")},set:function(o){y.event_setterEventHandlerIDLAttribute(this,"onabort",o)},enumerable:!0,configurable:!0}),i._create=function(){return new i},i}(_.EventTargetImpl);a.AbortSignalImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(34),s=n(12),h=function(i){function o(l,u,p){var m=i.call(this)||this;return m._name="",m._publicId="",m._systemId="",m._name=l,m._publicId=u,m._systemId=p,m}return S(o,i),Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"publicId",{get:function(){return this._publicId},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"systemId",{get:function(){return this._systemId},enumerable:!0,configurable:!0}),o.prototype.before=function(){for(var l=[],u=0;u=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=n(0),s=function(){function h(i){return this._live=!0,this._filter=null,this._length=0,this._root=i,new Proxy(this,this)}return Object.defineProperty(h.prototype,"length",{get:function(){return this._root._children.size},enumerable:!0,configurable:!0}),h.prototype.item=function(i){if(i<0||i>this.length-1)return null;if(i=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(1),y=function(){function s(h){return this._live=!1,this._items=[],this._length=0,this._root=h,this._items=[],this._filter=function(i){return!0},new Proxy(this,this)}return Object.defineProperty(s.prototype,"length",{get:function(){return this._items.length},enumerable:!0,configurable:!0}),s.prototype.item=function(h){return h<0||h>this.length-1?null:this._items[h]},s.prototype.keys=function(){var h;return(h={})[Symbol.iterator]=function(){var i=0;return{next:function(){return i===this.length?{done:!0,value:null}:{done:!1,value:i++}}.bind(this)}}.bind(this),h},s.prototype.values=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator]();return{next:function(){return i.next()}}}.bind(this),h},s.prototype.entries=function(){var h;return(h={})[Symbol.iterator]=function(){var i=this[Symbol.iterator](),o=0;return{next:function(){var l=i.next();return l.done?{done:!0,value:null}:{done:!1,value:[o++,l.value]}}}}.bind(this),h},s.prototype[Symbol.iterator]=function(){var h=this._items[Symbol.iterator]();return{next:function(){return h.next()}}},s.prototype.forEach=function(h,i){var o,l;i===void 0&&(i=S.dom.window);var u=0;try{for(var p=v(this._items),m=p.next();!m.done;m=p.next()){var f=m.value;h.call(i,f,u++,this)}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}},s.prototype.get=function(h,i,o){if(!_.isString(i))return Reflect.get(h,i,o);var l=Number(i);return isNaN(l)?Reflect.get(h,i,o):h._items[l]||void 0},s.prototype.set=function(h,i,o,l){if(!_.isString(i))return Reflect.set(h,i,o,l);var u=Number(i);return isNaN(u)?Reflect.set(h,i,o,l):u>=0&&u=m.length&&(m=void 0),{value:m&&m[e++],done:!m}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(6),s=n(2),h=n(102),i=n(9),o=n(0),l=n(12),u=n(3),p=function(m){function f(){var t=m.call(this)||this,e=y.dom.window._associatedDocument;return t._start=[e,0],t._end=[e,0],y.dom.rangeList.add(t),t}return S(f,m),Object.defineProperty(f.prototype,"commonAncestorContainer",{get:function(){for(var t=this._start[0];!o.tree_isAncestorOf(this._end[0],t,!0);){if(t._parent===null)throw new Error("Parent node is null.");t=t._parent}return t},enumerable:!0,configurable:!0}),f.prototype.setStart=function(t,e){o.range_setTheStart(this,t,e)},f.prototype.setEnd=function(t,e){o.range_setTheEnd(this,t,e)},f.prototype.setStartBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t))},f.prototype.setStartAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheStart(this,e,o.tree_index(t)+1)},f.prototype.setEndBefore=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t))},f.prototype.setEndAfter=function(t){var e=t._parent;if(e===null)throw new i.InvalidNodeTypeError;o.range_setTheEnd(this,e,o.tree_index(t)+1)},f.prototype.collapse=function(t){t?this._end=this._start:this._start=this._end},f.prototype.selectNode=function(t){o.range_select(t,this)},f.prototype.selectNodeContents=function(t){if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;var e=o.tree_nodeLength(t);this._start=[t,0],this._end=[t,e]},f.prototype.compareBoundaryPoints=function(t,e){if(t!==s.HowToCompare.StartToStart&&t!==s.HowToCompare.StartToEnd&&t!==s.HowToCompare.EndToEnd&&t!==s.HowToCompare.EndToStart)throw new i.NotSupportedError;if(o.range_root(this)!==o.range_root(e))throw new i.WrongDocumentError;var g,b;switch(t){case s.HowToCompare.StartToStart:g=this._start,b=e._start;break;case s.HowToCompare.StartToEnd:g=this._end,b=e._start;break;case s.HowToCompare.EndToEnd:g=this._end,b=e._end;break;case s.HowToCompare.EndToStart:g=this._start,b=e._end;break;default:throw new i.NotSupportedError}var x=o.boundaryPoint_position(g,b);return x===s.BoundaryPosition.Before?-1:x===s.BoundaryPosition.After?1:0},f.prototype.deleteContents=function(){var t,e,g,b;if(!o.range_collapsed(this)){var x=this._startNode,E=this._startOffset,w=this._endNode,D=this._endOffset;if(x===w&&u.Guard.isCharacterDataNode(x))o.characterData_replaceData(x,E,D-E,"");else{var T,N,I=[];try{for(var M=_(o.range_getContainedNodes(this)),k=M.next();!k.done;k=M.next()){var G=(X=k.value)._parent;G!==null&&o.range_isContained(G,this)||I.push(X)}}catch(H){t={error:H}}finally{try{k&&!k.done&&(e=M.return)&&e.call(M)}finally{if(t)throw t.error}}if(o.tree_isAncestorOf(w,x,!0))T=x,N=E;else{for(var $=x;$._parent!==null&&!o.tree_isAncestorOf(w,$._parent,!0);)$=$._parent;if($._parent===null)throw new Error("Parent node is null.");T=$._parent,N=o.tree_index($)+1}u.Guard.isCharacterDataNode(x)&&o.characterData_replaceData(x,E,o.tree_nodeLength(x)-E,"");try{for(var Y=_(I),z=Y.next();!z.done;z=Y.next()){var X;(X=z.value)._parent&&o.mutation_remove(X,X._parent)}}catch(H){g={error:H}}finally{try{z&&!z.done&&(b=Y.return)&&b.call(Y)}finally{if(g)throw g.error}}u.Guard.isCharacterDataNode(w)&&o.characterData_replaceData(w,0,D,""),this._start=[T,N],this._end=[T,N]}}},f.prototype.extractContents=function(){return o.range_extract(this)},f.prototype.cloneContents=function(){return o.range_cloneTheContents(this)},f.prototype.insertNode=function(t){return o.range_insert(t,this)},f.prototype.surroundContents=function(t){var e,g;try{for(var b=_(o.range_getPartiallyContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;if(!u.Guard.isTextNode(E))throw new i.InvalidStateError}}catch(D){e={error:D}}finally{try{x&&!x.done&&(g=b.return)&&g.call(b)}finally{if(e)throw e.error}}if(u.Guard.isDocumentNode(t)||u.Guard.isDocumentTypeNode(t)||u.Guard.isDocumentFragmentNode(t))throw new i.InvalidNodeTypeError;var w=o.range_extract(this);t._children.size!==0&&o.mutation_replaceAll(null,t),o.range_insert(t,this),o.mutation_append(w,t),o.range_select(t,this)},f.prototype.cloneRange=function(){return o.create_range(this._start,this._end)},f.prototype.detach=function(){y.dom.rangeList.delete(this)},f.prototype.isPointInRange=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))return!1;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)!==s.BoundaryPosition.Before&&o.boundaryPoint_position(g,this._end)!==s.BoundaryPosition.After},f.prototype.comparePoint=function(t,e){if(o.tree_rootNode(t)!==o.range_root(this))throw new i.WrongDocumentError;if(u.Guard.isDocumentTypeNode(t))throw new i.InvalidNodeTypeError;if(e>o.tree_nodeLength(t))throw new i.IndexSizeError;var g=[t,e];return o.boundaryPoint_position(g,this._start)===s.BoundaryPosition.Before?-1:o.boundaryPoint_position(g,this._end)===s.BoundaryPosition.After?1:0},f.prototype.intersectsNode=function(t){if(o.tree_rootNode(t)!==o.range_root(this))return!1;var e=t._parent;if(e===null)return!0;var g=o.tree_index(t);return o.boundaryPoint_position([e,g],this._end)===s.BoundaryPosition.Before&&o.boundaryPoint_position([e,g+1],this._start)===s.BoundaryPosition.After},f.prototype.toString=function(){var t,e,g="";if(this._startNode===this._endNode&&u.Guard.isTextNode(this._startNode))return this._startNode._data.substring(this._startOffset,this._endOffset);u.Guard.isTextNode(this._startNode)&&(g+=this._startNode._data.substring(this._startOffset));try{for(var b=_(o.range_getContainedNodes(this)),x=b.next();!x.done;x=b.next()){var E=x.value;u.Guard.isTextNode(E)&&(g+=E._data)}}catch(w){t={error:w}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return u.Guard.isTextNode(this._endNode)&&(g+=this._endNode._data.substring(0,this._endOffset)),g},f._create=function(t,e){var g=new f;return t&&(g._start=t),e&&(g._end=e),g},f.START_TO_START=0,f.START_TO_END=1,f.END_TO_END=2,f.END_TO_START=3,f}(h.AbstractRangeImpl);a.RangeImpl=p,l.idl_defineConst(p.prototype,"START_TO_START",0),l.idl_defineConst(p.prototype,"START_TO_END",1),l.idl_defineConst(p.prototype,"END_TO_END",2),l.idl_defineConst(p.prototype,"END_TO_START",3)},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(103),y=n(0),s=function(h){function i(o,l,u){var p=h.call(this,o)||this;return p._iteratorCollection=void 0,p._reference=l,p._pointerBeforeReference=u,y.nodeIterator_iteratorList().add(p),p}return S(i,h),Object.defineProperty(i.prototype,"referenceNode",{get:function(){return this._reference},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"pointerBeforeReferenceNode",{get:function(){return this._pointerBeforeReference},enumerable:!0,configurable:!0}),i.prototype.nextNode=function(){return y.nodeIterator_traverse(this,!0)},i.prototype.previousNode=function(){return y.nodeIterator_traverse(this,!1)},i.prototype.detach=function(){y.nodeIterator_iteratorList().delete(this)},i._create=function(o,l,u){return new i(o,l,u)},i}(_.TraverserImpl);a.NodeIteratorImpl=s},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(2),y=n(103),s=n(0),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._current=u,p}return S(o,i),Object.defineProperty(o.prototype,"currentNode",{get:function(){return this._current},set:function(l){this._current=l},enumerable:!0,configurable:!0}),o.prototype.parentNode=function(){for(var l=this._current;l!==null&&l!==this._root;)if((l=l._parent)!==null&&s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l;return null},o.prototype.firstChild=function(){return s.treeWalker_traverseChildren(this,!0)},o.prototype.lastChild=function(){return s.treeWalker_traverseChildren(this,!1)},o.prototype.nextSibling=function(){return s.treeWalker_traverseSiblings(this,!0)},o.prototype.previousNode=function(){for(var l=this._current;l!==this._root;){for(var u=l._previousSibling;u;){l=u;for(var p=s.traversal_filter(this,l);p!==_.FilterResult.Reject&&l._lastChild;)l=l._lastChild,p=s.traversal_filter(this,l);if(p===_.FilterResult.Accept)return this._current=l,l;u=l._previousSibling}if(l===this._root||l._parent===null)return null;if(l=l._parent,s.traversal_filter(this,l)===_.FilterResult.Accept)return this._current=l,l}return null},o.prototype.previousSibling=function(){return s.treeWalker_traverseSiblings(this,!1)},o.prototype.nextNode=function(){for(var l=this._current,u=_.FilterResult.Accept;;){for(;u!==_.FilterResult.Reject&&l._firstChild;)if(l=l._firstChild,(u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l;for(var p=null,m=l;m!==null;){if(m===this._root)return null;if((p=m._nextSibling)!==null){l=p;break}m=m._parent}if((u=s.traversal_filter(this,l))===_.FilterResult.Accept)return this._current=l,l}},o._create=function(l,u){return new o(l,u)},o}(y.TraverserImpl);a.TreeWalkerImpl=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(12),_=function(){function y(){}return y.prototype.acceptNode=function(s){return v.FilterResult.Accept},y._create=function(){return new y},y.FILTER_ACCEPT=1,y.FILTER_REJECT=2,y.FILTER_SKIP=3,y.SHOW_ALL=4294967295,y.SHOW_ELEMENT=1,y.SHOW_ATTRIBUTE=2,y.SHOW_TEXT=4,y.SHOW_CDATA_SECTION=8,y.SHOW_ENTITY_REFERENCE=16,y.SHOW_ENTITY=32,y.SHOW_PROCESSING_INSTRUCTION=64,y.SHOW_COMMENT=128,y.SHOW_DOCUMENT=256,y.SHOW_DOCUMENT_TYPE=512,y.SHOW_DOCUMENT_FRAGMENT=1024,y.SHOW_NOTATION=2048,y}();a.NodeFilterImpl=_,S.idl_defineConst(_.prototype,"FILTER_ACCEPT",1),S.idl_defineConst(_.prototype,"FILTER_REJECT",2),S.idl_defineConst(_.prototype,"FILTER_SKIP",3),S.idl_defineConst(_.prototype,"SHOW_ALL",4294967295),S.idl_defineConst(_.prototype,"SHOW_ELEMENT",1),S.idl_defineConst(_.prototype,"SHOW_ATTRIBUTE",2),S.idl_defineConst(_.prototype,"SHOW_TEXT",4),S.idl_defineConst(_.prototype,"SHOW_CDATA_SECTION",8),S.idl_defineConst(_.prototype,"SHOW_ENTITY_REFERENCE",16),S.idl_defineConst(_.prototype,"SHOW_ENTITY",32),S.idl_defineConst(_.prototype,"SHOW_PROCESSING_INSTRUCTION",64),S.idl_defineConst(_.prototype,"SHOW_COMMENT",128),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT",256),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_TYPE",512),S.idl_defineConst(_.prototype,"SHOW_DOCUMENT_FRAGMENT",1024),S.idl_defineConst(_.prototype,"SHOW_NOTATION",2048)},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_,y,s,h,i,o,l,u,p){this._type=_,this._target=y,this._addedNodes=s,this._removedNodes=h,this._previousSibling=i,this._nextSibling=o,this._attributeName=l,this._attributeNamespace=u,this._oldValue=p}return Object.defineProperty(S.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"addedNodes",{get:function(){return this._addedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"removedNodes",{get:function(){return this._removedNodes},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"previousSibling",{get:function(){return this._previousSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"nextSibling",{get:function(){return this._nextSibling},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeName",{get:function(){return this._attributeName},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"attributeNamespace",{get:function(){return this._attributeNamespace},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"oldValue",{get:function(){return this._oldValue},enumerable:!0,configurable:!0}),S._create=function(_,y,s,h,i,o,l,u,p){return new S(_,y,s,h,i,o,l,u,p)},S}();a.MutationRecordImpl=v},function(c,a,n){"use strict";var v=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(9),y=n(7),s=n(0),h=function(){function i(o,l){this._element=o,this._attribute=l,this._tokenSet=new Set;var u=l._localName,p=s.element_getAnAttributeValue(o,u),m=this;this._element._attributeChangeSteps.push(function(f,t,e,g,b){t===m._attribute._localName&&b===null&&(g?m._tokenSet=s.orderedSet_parse(g):m._tokenSet.clear())}),S.dom.features.steps&&s.dom_runAttributeChangeSteps(o,u,p,p,null)}return Object.defineProperty(i.prototype,"length",{get:function(){return this._tokenSet.size},enumerable:!0,configurable:!0}),i.prototype.item=function(o){var l,u,p=0;try{for(var m=v(this._tokenSet),f=m.next();!f.done;f=m.next()){var t=f.value;if(p===o)return t;p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}return null},i.prototype.contains=function(o){return this._tokenSet.has(o)},i.prototype.add=function(){for(var o,l,u=[],p=0;p=97&&_<=122||_>=65&&_<=90||_===58||_===95||_>=192&&_<=214||_>=216&&_<=246||_>=248&&_<=767||_>=880&&_<=893||_>=895&&_<=8191||_>=8204&&_<=8205||_>=8304&&_<=8591||_>=11264&&_<=12271||_>=12289&&_<=55295||_>=63744&&_<=64975||_>=65008&&_<=65533)&&(S===0||!(_===45||_===46||_>=48&&_<=57||_===183||_>=768&&_<=879||_>=8255&&_<=8256))){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=983039))continue}return!1}}return!0},a.xml_isQName=function(v){for(var S=!1,_=0;_=97&&y<=122||y>=65&&y<=90||y===95||y>=192&&y<=214||y>=216&&y<=246||y>=248&&y<=767||y>=880&&y<=893||y>=895&&y<=8191||y>=8204&&y<=8205||y>=8304&&y<=8591||y>=11264&&y<=12271||y>=12289&&y<=55295||y>=63744&&y<=64975||y>=65008&&y<=65533)&&(_===0||!(y===45||y===46||y>=48&&y<=57||y===183||y>=768&&y<=879||y>=8255&&y<=8256))){if(_===0||y!==58){if(y>=55296&&y<=56319&&_=56320&&s<=57343&&(_++,(y=1024*(y-55296)+s-56320+65536)>=65536&&y<=983039))continue}return!1}if(S||_===v.length-1)return!1;S=!0}}return!0},a.xml_isLegalChar=function(v){for(var S=0;S=32&&_<=55295||_>=57344&&_<=65533)){if(_>=55296&&_<=56319&&S=56320&&y<=57343&&(S++,(_=1024*(_-55296)+y-56320+65536)>=65536&&_<=1114111))continue}return!1}}return!0},a.xml_isPubidChar=function(v){for(var S=0;S=97&&_<=122||_>=65&&_<=90||_>=39&&_<=59||_===32||_===13||_===10||_>=35&&_<=37||_===33||_===61||_===63||_===64||_===95))return!1}return!0}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(17);a.boundaryPoint_position=function _(y,s){var h=y[0],i=y[1],o=s[0],l=s[1];if(console.assert(S.tree_rootNode(h)===S.tree_rootNode(o),"Boundary points must share the same root node."),h===o)return i===l?v.BoundaryPosition.Equal:i=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=n(29),h=n(108),i=n(30),o=n(37),l=n(52);a.node_stringReplaceAll=function(u,p){var m=null;u!==""&&(m=s.create_text(p._nodeDocument,u)),o.mutation_replaceAll(m,p)},a.node_clone=function u(p,m,f){var t,e,g,b,x;if(m===void 0&&(m=null),f===void 0&&(f=!1),m===null&&(m=p._nodeDocument),_.Guard.isElementNode(p)){x=l.element_createAnElement(m,p._localName,p._namespace,p._namespacePrefix,p._is,!1);try{for(var E=v(p._attributeList),w=E.next();!w.done;w=E.next()){var D=u(w.value,m);l.element_append(D,x)}}catch(G){t={error:G}}finally{try{w&&!w.done&&(e=E.return)&&e.call(E)}finally{if(t)throw t.error}}}else if(_.Guard.isDocumentNode(p)){var T=s.create_document();T._encoding=p._encoding,T._contentType=p._contentType,T._URL=p._URL,T._origin=p._origin,T._type=p._type,T._mode=p._mode,x=T}else if(_.Guard.isDocumentTypeNode(p))x=s.create_documentType(m,p._name,p._publicId,p._systemId);else if(_.Guard.isAttrNode(p)){var N=s.create_attr(m,p.localName);N._namespace=p._namespace,N._namespacePrefix=p._namespacePrefix,N._value=p._value,x=N}else x=_.Guard.isExclusiveTextNode(p)?s.create_text(m,p._data):_.Guard.isCDATASectionNode(p)?s.create_cdataSection(m,p._data):_.Guard.isCommentNode(p)?s.create_comment(m,p._data):_.Guard.isProcessingInstructionNode(p)?s.create_processingInstruction(m,p._target,p._data):_.Guard.isDocumentFragmentNode(p)?s.create_documentFragment(m):Object.create(p);if(_.Guard.isDocumentNode(x)?(x._nodeDocument=x,m=x):x._nodeDocument=m,S.dom.features.steps&&i.dom_runCloningSteps(x,p,m,f),f)try{for(var I=v(p._children),M=I.next();!M.done;M=I.next()){var k=u(M.value,m,!0);o.mutation_append(k,x)}}catch(G){g={error:G}}finally{try{M&&!M.done&&(b=I.return)&&b.call(I)}finally{if(g)throw g.error}}return x},a.node_equals=function u(p,m){var f,t,e,g;if(p._nodeType!==m._nodeType)return!1;if(_.Guard.isDocumentTypeNode(p)&&_.Guard.isDocumentTypeNode(m)){if(p._name!==m._name||p._publicId!==m._publicId||p._systemId!==m._systemId)return!1}else if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){if(p._namespace!==m._namespace||p._namespacePrefix!==m._namespacePrefix||p._localName!==m._localName||p._attributeList.length!==m._attributeList.length)return!1}else if(_.Guard.isAttrNode(p)&&_.Guard.isAttrNode(m)){if(p._namespace!==m._namespace||p._localName!==m._localName||p._value!==m._value)return!1}else if(_.Guard.isProcessingInstructionNode(p)&&_.Guard.isProcessingInstructionNode(m)){if(p._target!==m._target||p._data!==m._data)return!1}else if(_.Guard.isCharacterDataNode(p)&&_.Guard.isCharacterDataNode(m)&&p._data!==m._data)return!1;if(_.Guard.isElementNode(p)&&_.Guard.isElementNode(m)){var b={};try{for(var x=v(p._attributeList),E=x.next();!E.done;E=x.next())b[(T=E.value)._localName]=T}catch($){f={error:$}}finally{try{E&&!E.done&&(t=x.return)&&t.call(x)}finally{if(f)throw f.error}}try{for(var w=v(m._attributeList),D=w.next();!D.done;D=w.next()){var T,N=D.value;if(!(T=b[N._localName])||!u(T,N))return!1}}catch($){e={error:$}}finally{try{D&&!D.done&&(g=w.return)&&g.call(w)}finally{if(e)throw e.error}}}if(p._children.size!==m._children.size)return!1;for(var I=p._children[Symbol.iterator](),M=m._children[Symbol.iterator](),k=I.next(),G=M.next();!k.done&&!G.done;){if(!u(k.value,G.value))return!1;k=I.next(),G=M.next()}return!0},a.node_listOfElementsWithQualifiedName=function(u,p){return u==="*"?s.create_htmlCollection(p):p._nodeDocument._type==="html"?s.create_htmlCollection(p,function(m){return m._namespace===y.namespace.HTML&&m._qualifiedName===u.toLowerCase()||m._namespace!==y.namespace.HTML&&m._qualifiedName===u}):s.create_htmlCollection(p,function(m){return m._qualifiedName===u})},a.node_listOfElementsWithNamespace=function(u,p,m){return u===""&&(u=null),u==="*"&&p==="*"?s.create_htmlCollection(m):u==="*"?s.create_htmlCollection(m,function(f){return f._localName===p}):p==="*"?s.create_htmlCollection(m,function(f){return f._namespace===u}):s.create_htmlCollection(m,function(f){return f._localName===p&&f._namespace===u})},a.node_listOfElementsWithClassNames=function(u,p){var m=h.orderedSet_parse(u);if(m.size===0)return s.create_htmlCollection(p,function(){return!1});var f=p._nodeDocument._mode!=="quirks";return s.create_htmlCollection(p,function(t){var e=t.classList;return h.orderedSet_contains(e._tokenSet,m,f)})},a.node_locateANamespacePrefix=function u(p,m){if(p._namespace===m&&p._namespacePrefix!==null)return p._namespacePrefix;for(var f=0;f=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(9),s=n(29),h=n(17),i=n(107),o=n(37);a.text_contiguousTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_contiguousExclusiveTextNodes=function(l,u){var p;return u===void 0&&(u=!1),(p={})[Symbol.iterator]=function(){for(var m=l;m&&_.Guard.isExclusiveTextNode(m._previousSibling);)m=m._previousSibling;return{next:function(){if(m&&!u&&m===l&&(m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null),m===null)return{done:!0,value:null};var f={done:!1,value:m};return m=_.Guard.isExclusiveTextNode(m._nextSibling)?m._nextSibling:null,f}}},p},a.text_descendantTextContent=function(l){for(var u="",p=h.tree_getFirstDescendantNode(l,!1,!1,function(m){return _.Guard.isTextNode(m)});p!==null;)u+=p._data,p=h.tree_getNextDescendantNode(l,p,!1,!1,function(m){return _.Guard.isTextNode(m)});return u},a.text_split=function(l,u){var p,m,f=l._data.length;if(u>f)throw new y.IndexSizeError;var t=f-u,e=i.characterData_substringData(l,u,t),g=s.create_text(l._nodeDocument,e),b=l._parent;if(b!==null){o.mutation_insert(g,b,l._nextSibling);try{for(var x=v(S.dom.rangeList),E=x.next();!E.done;E=x.next()){var w=E.value;w._start[0]===l&&w._start[1]>u&&(w._start[0]=g,w._start[1]-=u),w._end[0]===l&&w._end[1]>u&&(w._end[0]=g,w._end[1]-=u);var D=h.tree_index(l);w._start[0]===b&&w._start[1]===D+1&&w._start[1]++,w._end[0]===b&&w._end[1]===D+1&&w._end[1]++}}catch(T){p={error:T}}finally{try{E&&!E.done&&(m=x.return)&&m.call(x)}finally{if(p)throw p.error}}}return i.characterData_replaceData(l,u,t,""),g}},function(c,a,n){"use strict";var v=n(4),S=n(41),_=n(24),y=n(48),s=[].join,h=S!=Object,i=y("join",",");v({target:"Array",proto:!0,forced:h||!i},{join:function(o){return s.call(_(this),o===void 0?",":o)}})},function(c,a,n){var v=n(4),S=n(83),_=String.fromCharCode,y=String.fromCodePoint;v({target:"String",stat:!0,forced:!!y&&y.length!=1},{fromCodePoint:function(s){for(var h,i=[],o=arguments.length,l=0;o>l;){if(h=+arguments[l++],S(h,1114111)!==h)throw RangeError(h+" is not a valid code point");i.push(h<65536?_(h):_(55296+((h-=65536)>>10),h%1024+56320))}return i.join("")}})},function(c,a,n){"use strict";var v=this&&this.__read||function(y,s){var h=typeof Symbol=="function"&&y[Symbol.iterator];if(!h)return y;var i,o,l=h.call(y),u=[];try{for(;(s===void 0||s-- >0)&&!(i=l.next()).done;)u.push(i.value)}catch(p){o={error:p}}finally{try{i&&!i.done&&(h=l.return)&&h.call(l)}finally{if(o)throw o.error}}return u};Object.defineProperty(a,"__esModule",{value:!0});var S=n(111),_=function(){function y(s,h){this._options={skipWhitespaceOnlyText:!1},this.err={line:-1,col:-1,index:-1,str:""},this._str=s,this._index=0,this._length=s.length,h&&(this._options.skipWhitespaceOnlyText=h.skipWhitespaceOnlyText||!1)}return y.prototype.nextToken=function(){if(this.eof())return{type:S.TokenType.EOF};var s=this.skipIfStartsWith("<")?this.openBracket():this.text();return this._options.skipWhitespaceOnlyText&&s.type===S.TokenType.Text&&y.isWhiteSpaceToken(s)&&(s=this.nextToken()),s},y.prototype.openBracket=function(){return this.skipIfStartsWith("?")?this.skipIfStartsWith("xml")?y.isSpace(this._str[this._index])?this.declaration():(this.seek(-3),this.pi()):this.pi():this.skipIfStartsWith("!")?this.skipIfStartsWith("--")?this.comment():this.skipIfStartsWith("[CDATA[")?this.cdata():this.skipIfStartsWith("DOCTYPE")?this.doctype():void this.throwError("Invalid '!' in opening tag."):this.skipIfStartsWith("/")?this.closeTag():this.openTag()},y.prototype.declaration=function(){for(var s="",h="",i="";!this.eof();){if(this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.Declaration,version:s,encoding:h,standalone:i};var o=v(this.attribute(),2),l=o[0],u=o[1];l==="version"?s=u:l==="encoding"?h=u:l==="standalone"?i=u:this.throwError("Invalid attribute name: "+l)}this.throwError("Missing declaration end symbol `?>`")},y.prototype.doctype=function(){var s="",h="";this.skipSpace();var i=this.takeUntil2("[",">",!0);return this.skipSpace(),this.skipIfStartsWith("PUBLIC")?(s=this.quotedString(),h=this.quotedString()):this.skipIfStartsWith("SYSTEM")&&(h=this.quotedString()),this.skipSpace(),this.skipIfStartsWith("[")&&(this.skipUntil("]"),this.skipIfStartsWith("]")||this.throwError("Missing end bracket of DTD internal subset")),this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing doctype end symbol `>`"),{type:S.TokenType.DocType,name:i,pubId:s,sysId:h}},y.prototype.pi=function(){var s=this.takeUntilStartsWith("?>",!0);if(this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.skipSpace(),this.skipIfStartsWith("?>"))return{type:S.TokenType.PI,target:s,data:""};var h=this.takeUntilStartsWith("?>");return this.eof()&&this.throwError("Missing processing instruction end symbol `?>`"),this.seek(2),{type:S.TokenType.PI,target:s,data:h}},y.prototype.text=function(){var s=this.takeUntil("<");return{type:S.TokenType.Text,data:s}},y.prototype.comment=function(){var s=this.takeUntilStartsWith("-->");return this.eof()&&this.throwError("Missing comment end symbol `-->`"),this.seek(3),{type:S.TokenType.Comment,data:s}},y.prototype.cdata=function(){var s=this.takeUntilStartsWith("]]>");return this.eof()&&this.throwError("Missing CDATA end symbol `]>`"),this.seek(3),{type:S.TokenType.CDATA,data:s}},y.prototype.openTag=function(){this.skipSpace();var s=this.takeUntil2(">","/",!0);if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:[],selfClosing:!0};for(var h=[];!this.eof();){if(this.skipSpace(),this.skipIfStartsWith(">"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!1};if(this.skipIfStartsWith("/>"))return{type:S.TokenType.Element,name:s,attributes:h,selfClosing:!0};var i=this.attribute();h.push(i)}this.throwError("Missing opening element tag end symbol `>`")},y.prototype.closeTag=function(){this.skipSpace();var s=this.takeUntil(">",!0);return this.skipSpace(),this.skipIfStartsWith(">")||this.throwError("Missing closing element tag end symbol `>`"),{type:S.TokenType.ClosingTag,name:s}},y.prototype.attribute=function(){this.skipSpace();var s=this.takeUntil("=",!0);return this.skipSpace(),this.skipIfStartsWith("=")||this.throwError("Missing equals sign before attribute value"),[s,this.quotedString()]},y.prototype.quotedString=function(){this.skipSpace();var s=this.take(1);y.isQuote(s)||this.throwError("Missing start quote character before quoted value");var h=this.takeUntil(s);return this.skipIfStartsWith(s)||this.throwError("Missing end quote character after quoted value"),h},y.prototype.eof=function(){return this._index>=this._length},y.prototype.skipIfStartsWith=function(s){var h=s.length;if(h===1)return this._str[this._index]===s&&(this._index++,!0);for(var i=0;ithis._length&&(this._index=this._length)},y.prototype.skipSpace=function(){for(;!this.eof()&&y.isSpace(this._str[this._index]);)this._index++},y.prototype.take=function(s){if(s===1)return this._str[this._index++];var h=this._index;return this.seek(s),this._str.slice(h,this._index)},y.prototype.takeUntil=function(s,h){h===void 0&&(h=!1);for(var i=this._index;this._indexthis._index){u=i.index;break}throw this.err={line:o,col:this._index-l,index:this._index,str:this._str.substring(l,u)},new Error(s+` Index: `+this.err.index+` Ln: `+this.err.line+", Col: "+this.err.col+` -Input: `+this.err.str)},m.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var a=this.nextToken();return a.type===w.TokenType.EOF?{done:!0,value:null}:{done:!1,value:a}}.bind(this)}},m}();l.XMLStringLexer=y},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(182)]})},function(E,l,o){"use strict";var v=o(39);E.exports=new v({include:[o(113)],implicit:[o(289),o(290),o(291),o(292)]})},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(91),w=o(1),y=o(3),m=o(77),a=o(109);function p(s,f){var d=i(s===void 0||n(s)?s:v.DefaultBuilderOptions),c=n(s)?f:s,t=a.createDocument();u(t,d);var e=new m.XMLBuilderImpl(t);return c!==void 0&&e.ele(c),e}function n(s){if(!w.isPlainObject(s))return!1;for(var f in s)if(s.hasOwnProperty(f)&&!v.XMLBuilderOptionKeys.has(f))return!1;return!0}function i(s){s===void 0&&(s={});var f=w.applyDefaults(s,v.DefaultBuilderOptions);if(f.convert.att.length===0||f.convert.ins.length===0||f.convert.text.length===0||f.convert.cdata.length===0||f.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return f}function u(s,f,d){var c=s;c._xmlBuilderOptions=f,c._isFragment=d}l.builder=function(s,f){var d=i(n(s)?s:v.DefaultBuilderOptions),c=y.Guard.isNode(s)||w.isArray(s)?s:f;if(c===void 0)throw new Error("Invalid arguments.");if(w.isArray(c)){for(var t=[],e=0;e0)&&!(g=_.next()).done;)b.push(g.value)}catch(S){x={error:S}}finally{try{g&&!g.done&&(e=_.return)&&e.call(_)}finally{if(x)throw x.error}}return b},w=this&&this.__values||function(c){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&c[t],g=0;if(e)return e.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&g>=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(91),m=o(1),a=o(217),p=o(2),n=o(3),i=o(0),u=o(109),s=o(7),f=o(276),d=function(){function c(t){this._domNode=t}return Object.defineProperty(c.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),c.prototype.set=function(t){return this._options=m.applyDefaults(m.applyDefaults(this._options,t,!0),y.DefaultBuilderOptions),this},c.prototype.ele=function(t,e,g){var x,_,b,S,C,T;if(m.isObject(t))return new f.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(x+1)),e=e.slice(0,x)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var _=t.slice(1);if((t=this._options.namespaceAlias[_])===void 0)throw new Error("Namespace alias `"+_+"` is not defined. "+this._debugInfo())}return[t,e]},c.prototype._updateNamespace=function(t){var e,g,x,_,b=this._domNode;if(n.Guard.isElementNode(b)&&t!==null&&b.namespaceURI!==t){var S=v(i.namespace_extractQName(b.prefix?b.prefix+":"+b.localName:b.localName),2),C=S[0],T=S[1],N=i.create_element(this._doc,T,t,C);try{for(var I=w(b.attributes),R=I.next();!R.done;R=I.next()){var P=R.value,G=P.prefix?P.prefix+":"+P.localName:P.localName,J=v(i.namespace_extractQName(G),1)[0],Y=P.namespaceURI;Y===null&&J!==null&&(Y=b.lookupNamespaceURI(J)),Y===null?N.setAttribute(G,P.value):N.setAttributeNS(Y,G,P.value)}}catch(me){e={error:me}}finally{try{R&&!R.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=b.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,b),this._domNode=N;try{for(var X=w(b.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),n.Guard.isElementNode(ee)){var re=v(i.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],he=N.lookupNamespaceURI(re);new c(ee)._updateNamespace(he)}}}catch(me){x={error:me}}finally{try{H&&!H.done&&(_=X.return)&&_.call(X)}finally{if(x)throw x.error}}}},Object.defineProperty(c.prototype,"_doc",{get:function(){var t=this.node;if(n.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),c.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var x=g?g.nodeName:"";return x?"node: <"+t+">, parent: <"+x+">":"node: <"+t+">"},Object.defineProperty(c.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),c}();l.XMLBuilderImpl=d},function(E,l,o){var v=o(11),w=o(117),y=v.WeakMap;E.exports=typeof y=="function"&&/native code/.test(w(y))},function(E,l,o){var v=o(46),w=o(82),y=o(85),m=o(18);E.exports=v("Reflect","ownKeys")||function(a){var p=w.f(m(a)),n=y.f;return n?p.concat(n(a)):p}},function(E,l,o){var v=o(16),w=o(15),y=o(18),m=o(61);E.exports=v?Object.defineProperties:function(a,p){y(a);for(var n,i=m(p),u=i.length,s=0;u>s;)w.f(a,n=i[s++],p[n]);return a}},function(E,l,o){var v=o(46);E.exports=v("document","documentElement")},function(E,l,o){var v=o(24),w=o(82).f,y={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(a){return m&&y.call(a)=="[object Window]"?function(p){try{return w(p)}catch{return m.slice()}}(a):w(v(a))}},function(E,l,o){"use strict";var v=o(4),w=o(36).every,y=o(48),m=o(28),a=y("every"),p=m("every");v({target:"Array",proto:!0,forced:!a||!p},{every:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(36).filter,y=o(63),m=o(28),a=y("filter"),p=m("filter");v({target:"Array",proto:!0,forced:!a||!p},{filter:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(46);E.exports=v("navigator","userAgent")||""},function(E,l,o){"use strict";var v=o(4),w=o(36).find,y=o(130),m=o(28),a=!0,p=m("find");"find"in[]&&Array(1).find(function(){a=!1}),v({target:"Array",proto:!0,forced:a||!p},{find:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}}),y("find")},function(E,l,o){"use strict";var v=o(131).IteratorPrototype,w=o(60),y=o(40),m=o(62),a=o(49),p=function(){return this};E.exports=function(n,i,u){var s=i+" Iterator";return n.prototype=w(v,{next:y(1,u)}),m(n,s,!1,!0),a[s]=p,n}},function(E,l,o){var v=o(8);E.exports=!v(function(){function w(){}return w.prototype.constructor=null,Object.getPrototypeOf(new w)!==w.prototype})},function(E,l,o){var v=o(13);E.exports=function(w){if(!v(w)&&w!==null)throw TypeError("Can't set "+String(w)+" as a prototype");return w}},function(E,l,o){"use strict";var v=o(4),w=o(36).map,y=o(63),m=o(28),a=y("map"),p=m("map");v({target:"Array",proto:!0,forced:!a||!p},{map:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(4),w=o(200).left,y=o(48),m=o(28),a=y("reduce"),p=m("reduce",{1:0});v({target:"Array",proto:!0,forced:!a||!p},{reduce:function(n){return w(this,n,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){var v=o(127),w=o(27),y=o(41),m=o(26),a=function(p){return function(n,i,u,s){v(i);var f=w(n),d=y(f),c=m(f.length),t=p?c-1:0,e=p?-1:1;if(u<2)for(;;){if(t in d){s=d[t],t+=e;break}if(t+=e,p?t<0:c<=t)throw TypeError("Reduce of empty array with no initial value")}for(;p?t>=0:c>t;t+=e)t in d&&(s=i(s,d[t],t,f));return s}};E.exports={left:a(!1),right:a(!0)}},function(E,l,o){"use strict";var v=o(4),w=o(36).some,y=o(48),m=o(28),a=y("some"),p=m("some");v({target:"Array",proto:!0,forced:!a||!p},{some:function(n){return w(this,n,arguments.length>1?arguments[1]:void 0)}})},function(E,l,o){"use strict";var v=o(90),w=o(135);E.exports=v?{}.toString:function(){return"[object "+w(this)+"]"}},function(E,l){E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(E,l,o){var v=o(8);E.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(E,l,o){var v=o(5),w=o(49),y=v("iterator"),m=Array.prototype;E.exports=function(a){return a!==void 0&&(w.Array===a||m[y]===a)}},function(E,l,o){var v=o(135),w=o(49),y=o(5)("iterator");E.exports=function(m){if(m!=null)return m[y]||m["@@iterator"]||w[v(m)]}},function(E,l,o){var v=o(18);E.exports=function(w,y,m,a){try{return a?y(v(m)[0],m[1]):y(m)}catch(n){var p=w.return;throw p!==void 0&&v(p.call(w)),n}}},function(E,l,o){var v=o(5)("iterator"),w=!1;try{var y=0,m={next:function(){return{done:!!y++}},return:function(){w=!0}};m[v]=function(){return this},Array.from(m,function(){throw 2})}catch{}E.exports=function(a,p){if(!p&&!w)return!1;var n=!1;try{var i={};i[v]=function(){return{next:function(){return{done:n=!0}}}},a(i)}catch{}return n}},function(E,l,o){var v=o(13),w=o(133);E.exports=function(y,m,a){var p,n;return w&&typeof(p=m.constructor)=="function"&&p!==a&&v(n=p.prototype)&&n!==a.prototype&&w(y,n),y}},function(E,l,o){var v=o(25);E.exports=function(w,y,m){for(var a in y)v(w,a,y[a],m);return w}},function(E,l,o){"use strict";var v=o(46),w=o(15),y=o(5),m=o(16),a=y("species");E.exports=function(p){var n=v(p),i=w.f;m&&n&&!n[a]&&i(n,a,{configurable:!0,get:function(){return this}})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Set,this._limit=a}return m.prototype.add=function(a){if(this._items.add(a),this._items.size>this._limit){var p=this._items.values().next();p.done||this._items.delete(p.value)}return this},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){var n=this;this._items.forEach(function(i){return a.call(p,i,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),m}();l.FixedSizeSet=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(m,a){var p,n,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(d){return function(c){return function(t){if(p)throw new TypeError("Generator is already executing.");for(;s;)try{if(p=1,n&&(i=2&t[0]?n.return:t[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,t[1])).done)return i;switch(n=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,n=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||t[0]!==6&&t[0]!==2)){s=0;continue}if(t[0]===3&&(!i||t[1]>i[0]&&t[1]=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=function(){function m(a){a===void 0&&(a=1e3),this._items=new Map,this._limit=a}return m.prototype.get=function(a){return this._items.get(a)},m.prototype.set=function(a,p){if(this._items.set(a,p),this._items.size>this._limit){var n=this._items.keys().next();n.done||this._items.delete(n.value)}},m.prototype.delete=function(a){return this._items.delete(a)},m.prototype.has=function(a){return this._items.has(a)},m.prototype.clear=function(){this._items.clear()},Object.defineProperty(m.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),m.prototype.forEach=function(a,p){this._items.forEach(function(n,i){return a.call(p,i,n)})},m.prototype.keys=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.keys())];case 1:return a.sent(),[2]}})},m.prototype.values=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.values())];case 1:return a.sent(),[2]}})},m.prototype.entries=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items.entries())];case 1:return a.sent(),[2]}})},m.prototype[Symbol.iterator]=function(){return v(this,function(a){switch(a.label){case 0:return[5,w(this._items)];case 1:return a.sent(),[2]}})},Object.defineProperty(m.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),m}();l.ObjectCache=y},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){y===void 0&&(y=1e3),this._items=new Map,this._limit=y}return w.prototype.check=function(y,m){if(this._items.get(y)===m)return!0;if(this._items.get(m)===y)return!1;var a=Math.random()<.5;if(a?this._items.set(y,m):this._items.set(m,y),this._items.size>this._limit){var p=this._items.keys().next();p.done||this._items.delete(p.value)}return a},w}();l.CompareCache=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._initialized=!1,this._value=void 0,this._initFunc=y}return Object.defineProperty(w.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),w}();l.Lazy=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function w(y){this._pointer=0,this._chars=Array.from(y),this._length=this._chars.length}return Object.defineProperty(w.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(w.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),w.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var y=this._chars[this._pointer].codePointAt(0);this._codePoint=y!==void 0?y:-1}return this._codePoint},w.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},w.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},w.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(w.prototype,"pointer",{get:function(){return this._pointer},set:function(y){y!==this._pointer&&(this._pointer=y,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),w}();l.StringWalker=v},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(218);l.MapWriter=v.MapWriter;var w=o(258);l.XMLWriter=w.XMLWriter;var y=o(67);l.ObjectWriter=y.ObjectWriter;var m=o(260);l.JSONWriter=m.JSONWriter;var a=o(261);l.YAMLWriter=a.YAMLWriter},function(E,l,o){"use strict";o(19),o(219),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(p,n){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var s in u)u.hasOwnProperty(s)&&(i[s]=u[s])})(p,n)},function(p,n){function i(){this.constructor=p}v(p,n),p.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(67),a=function(p){function n(i,u){var s=p.call(this,i)||this;return s._writerOptions=y.applyDefaults(u,{format:"map",wellFormed:!1,group:!1,verbose:!1}),s}return w(n,p),n.prototype.serialize=function(i){var u=y.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),s=new m.ObjectWriter(this._builderOptions,u).serialize(i);return this._convertObject(s)},n.prototype._convertObject=function(i){if(y.isArray(i)){for(var u=0;u=51||!w(function(){var g=[];return g[d]=!1,g.concat()[0]!==g}),t=u("concat"),e=function(g){if(!m(g))return!1;var x=g[d];return x!==void 0?!!x:y(g)};v({target:"Array",proto:!0,forced:!c||!t},{concat:function(g){var x,_,b,S,C,T=a(this),N=i(T,0),I=0;for(x=-1,b=arguments.length;x9007199254740991)throw TypeError("Maximum allowed index exceeded");for(_=0;_=9007199254740991)throw TypeError("Maximum allowed index exceeded");n(N,I++,C)}return N.length=I,N}})},function(E,l,o){"use strict";var v=o(8);function w(y,m){return RegExp(y,m)}l.UNSUPPORTED_Y=v(function(){var y=w("a","y");return y.lastIndex=2,y.exec("abcd")!=null}),l.BROKEN_CARET=v(function(){var y=w("^r","gy");return y.lastIndex=2,y.exec("str")!=null})},function(E,l,o){var v=o(223);E.exports=function(w){if(v(w))throw TypeError("The method doesn't accept regular expressions");return w}},function(E,l,o){var v=o(13),w=o(42),y=o(5)("match");E.exports=function(m){var a;return v(m)&&((a=m[y])!==void 0?!!a:w(m)=="RegExp")}},function(E,l,o){var v=o(5)("match");E.exports=function(w){var y=/./;try{"/./"[w](y)}catch{try{return y[v]=!1,"/./"[w](y)}catch{}}return!1}},function(E,l,o){"use strict";o(68);var v=o(25),w=o(8),y=o(5),m=o(93),a=o(21),p=y("species"),n=!w(function(){var d=/./;return d.exec=function(){var c=[];return c.groups={a:"7"},c},"".replace(d,"$")!=="7"}),i="a".replace(/./,"$0")==="$0",u=y("replace"),s=!!/./[u]&&/./[u]("a","$0")==="",f=!w(function(){var d=/(?:)/,c=d.exec;d.exec=function(){return c.apply(this,arguments)};var t="ab".split(d);return t.length!==2||t[0]!=="a"||t[1]!=="b"});E.exports=function(d,c,t,e){var g=y(d),x=!w(function(){var N={};return N[g]=function(){return 7},""[d](N)!=7}),_=x&&!w(function(){var N=!1,I=/a/;return d==="split"&&((I={}).constructor={},I.constructor[p]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!x||!_||d==="replace"&&(!n||!i||s)||d==="split"&&!f){var b=/./[g],S=t(g,""[d],function(N,I,R,P,G){return I.exec===m?x&&!G?{done:!0,value:b.call(I,R,P)}:{done:!0,value:N.call(R,I,P)}:{done:!1}},{REPLACE_KEEPS_$0:i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:s}),C=S[0],T=S[1];v(String.prototype,d,C),v(RegExp.prototype,g,c==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&a(RegExp.prototype[g],"sham",!0)}},function(E,l,o){"use strict";var v=o(137).charAt;E.exports=function(w,y,m){return y+(m?v(w,y).length:1)}},function(E,l,o){var v=o(42),w=o(93);E.exports=function(y,m){var a=y.exec;if(typeof a=="function"){var p=a.call(y,m);if(typeof p!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return p}if(v(y)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return w.call(y,m)}},function(E,l,o){"use strict";(function(v){Object.defineProperty(l,"__esModule",{value:!0});var w=o(96);l.forgivingBase64Encode=function(y){return v.from(y).toString("base64")},l.forgivingBase64Decode=function(y){return y===""?"":((y=y.replace(w.ASCIIWhiteSpace,"")).length%4==0&&(y.endsWith("==")?y=y.substr(0,y.length-2):y.endsWith("=")&&(y=y.substr(0,y.length-1))),y.length%4==1?null:/[0-9A-Za-z+/]/.test(y)?v.from(y,"base64").toString("utf8"):null)}}).call(this,o(145).Buffer)},function(E,l,o){"use strict";l.byteLength=function(u){var s=n(u),f=s[0],d=s[1];return 3*(f+d)/4-d},l.toByteArray=function(u){var s,f,d=n(u),c=d[0],t=d[1],e=new y(function(_,b,S){return 3*(b+S)/4-S}(0,c,t)),g=0,x=t>0?c-4:c;for(f=0;f>16&255,e[g++]=s>>8&255,e[g++]=255&s;return t===2&&(s=w[u.charCodeAt(f)]<<2|w[u.charCodeAt(f+1)]>>4,e[g++]=255&s),t===1&&(s=w[u.charCodeAt(f)]<<10|w[u.charCodeAt(f+1)]<<4|w[u.charCodeAt(f+2)]>>2,e[g++]=s>>8&255,e[g++]=255&s),e},l.fromByteArray=function(u){for(var s,f=u.length,d=f%3,c=[],t=0,e=f-d;te?e:t+16383));return d===1?(s=u[f-1],c.push(v[s>>2]+v[s<<4&63]+"==")):d===2&&(s=(u[f-2]<<8)+u[f-1],c.push(v[s>>10]+v[s>>4&63]+v[s<<2&63]+"=")),c.join("")};for(var v=[],w=[],y=typeof Uint8Array<"u"?Uint8Array:Array,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,p=m.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var f=u.indexOf("=");return f===-1&&(f=s),[f,f===s?0:4-f%4]}function i(u,s,f){for(var d,c,t=[],e=s;e>18&63]+v[c>>12&63]+v[c>>6&63]+v[63&c]);return t.join("")}w["-".charCodeAt(0)]=62,w["_".charCodeAt(0)]=63},function(E,l){l.read=function(o,v,w,y,m){var a,p,n=8*m-y-1,i=(1<>1,s=-7,f=w?m-1:0,d=w?-1:1,c=o[v+f];for(f+=d,a=c&(1<<-s)-1,c>>=-s,s+=n;s>0;a=256*a+o[v+f],f+=d,s-=8);for(p=a&(1<<-s)-1,a>>=-s,s+=y;s>0;p=256*p+o[v+f],f+=d,s-=8);if(a===0)a=1-u;else{if(a===i)return p?NaN:1/0*(c?-1:1);p+=Math.pow(2,y),a-=u}return(c?-1:1)*p*Math.pow(2,a-y)},l.write=function(o,v,w,y,m,a){var p,n,i,u=8*a-m-1,s=(1<>1,d=m===23?Math.pow(2,-24)-Math.pow(2,-77):0,c=y?0:a-1,t=y?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(n=isNaN(v)?1:0,p=s):(p=Math.floor(Math.log(v)/Math.LN2),v*(i=Math.pow(2,-p))<1&&(p--,i*=2),(v+=p+f>=1?d/i:d*Math.pow(2,1-f))*i>=2&&(p++,i/=2),p+f>=s?(n=0,p=s):p+f>=1?(n=(v*i-1)*Math.pow(2,m),p+=f):(n=v*Math.pow(2,f-1)*Math.pow(2,m),p=0));m>=8;o[w+c]=255&n,c+=t,n/=256,m-=8);for(p=p<0;o[w+c]=255&p,c+=t,p/=256,u-=8);o[w+c-t]|=128*e}},function(E,l){var o={}.toString;E.exports=Array.isArray||function(v){return o.call(v)=="[object Array]"}},function(E,l,o){"use strict";var v=this&&this.__values||function(m){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&m[a],n=0;if(p)return p.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&n>=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){var a,p;if(m===null||w.isString(m)||w.isNumber(m))return m;if(w.isArray(m)){var n=new Array;try{for(var i=v(m),u=i.next();!u.done;u=i.next()){var s=u.value;n.push(y(s))}}catch(c){a={error:c}}finally{try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(a)throw a.error}}return n}if(w.isObject(m)){n=new Map;for(var f in m)if(m.hasOwnProperty(f)){var d=m[f];n.set(f,y(d))}return n}return m}l.parseJSONFromBytes=function(m){var a=w.utf8Decode(m);return JSON.parse.call(void 0,a)},l.serializeJSONToBytes=function(m){var a=JSON.stringify.call(void 0,m);return w.utf8Encode(a)},l.parseJSONIntoInfraValues=function(m){return y(JSON.parse.call(void 0,m))},l.convertAJSONDerivedJavaScriptValueToAnInfraValue=y},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},y=this&&this.__spread||function(){for(var p=[],n=0;n=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(1);l.append=function(p,n){p.push(n)},l.extend=function(p,n){p.push.apply(p,y(n))},l.prepend=function(p,n){p.unshift(n)},l.replace=function(p,n,i){var u,s,f=0;try{for(var d=m(p),c=d.next();!c.done;c=d.next()){var t=c.value;if(a.isFunction(n))n.call(null,t)&&(p[f]=i);else if(t===n)return void(p[f]=i);f++}}catch(e){u={error:e}}finally{try{c&&!c.done&&(s=d.return)&&s.call(d)}finally{if(u)throw u.error}}},l.insert=function(p,n,i){p.splice(i,0,n)},l.remove=function(p,n){for(var i=p.length;i--;){var u=p[i];if(a.isFunction(n))n.call(null,u)&&p.splice(i,1);else if(u===n)return void p.splice(i,1)}},l.empty=function(p){p.length=0},l.contains=function(p,n){var i,u;try{for(var s=m(p),f=s.next();!f.done;f=s.next()){var d=f.value;if(a.isFunction(n)){if(n.call(null,d))return!0}else if(d===n)return!0}}catch(c){i={error:c}}finally{try{f&&!f.done&&(u=s.return)&&u.call(s)}finally{if(i)throw i.error}}return!1},l.size=function(p,n){var i,u;if(n===void 0)return p.length;var s=0;try{for(var f=m(p),d=f.next();!d.done;d=f.next()){var c=d.value;n.call(null,c)&&s++}}catch(t){i={error:t}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(i)throw i.error}}return s},l.isEmpty=function(p){return p.length===0},l.forEach=function(p,n){var i,u,s,f,d,c;return v(this,function(t){switch(t.label){case 0:return n!==void 0?[3,2]:[5,m(p)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),i=m(p),u=i.next(),t.label=3;case 3:return u.done?[3,6]:(s=u.value,n.call(null,s)?[4,s]:[3,5]);case 4:t.sent(),t.label=5;case 5:return u=i.next(),[3,3];case 6:return[3,9];case 7:return f=t.sent(),d={error:f},[3,9];case 8:try{u&&!u.done&&(c=i.return)&&c.call(i)}finally{if(d)throw d.error}return[7];case 9:return[2]}})},l.clone=function(p){return new(Array.bind.apply(Array,y([void 0],p)))},l.sortInAscendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?-1:1})},l.sortInDescendingOrder=function(p,n){return p.sort(function(i,u){return n.call(null,i,u)?1:-1})}},function(E,l,o){"use strict";var v=this&&this.__generator||function(p,n){var i,u,s,f,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return f={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function c(t){return function(e){return function(g){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,u&&(s=2&g[0]?u.return:g[0]?u.throw||((s=u.return)&&s.call(u),0):u.next)&&!(s=s.call(u,g[1])).done)return s;switch(u=0,s&&(g=[2&g[0],s.value]),g[0]){case 0:case 1:s=g;break;case 4:return d.label++,{value:g[1],done:!1};case 5:d.label++,u=g[1],g=[0];continue;case 7:g=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!((s=s.length>0&&s[s.length-1])||g[0]!==6&&g[0]!==2)){d=0;continue}if(g[0]===3&&(!s||g[1]>s[0]&&g[1]=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(p,n){var i=typeof Symbol=="function"&&p[Symbol.iterator];if(!i)return p;var u,s,f=i.call(p),d=[];try{for(;(n===void 0||n-- >0)&&!(u=f.next()).done;)d.push(u.value)}catch(c){s={error:c}}finally{try{u&&!u.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}return d},m=this&&this.__spread||function(){for(var p=[],n=0;n0&&f[f.length-1])||x[0]!==6&&x[0]!==2)){c=0;continue}if(x[0]===3&&(!f||x[1]>f[0]&&x[1]=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(n,i){var u=typeof Symbol=="function"&&n[Symbol.iterator];if(!u)return n;var s,f,d=u.call(n),c=[];try{for(;(i===void 0||i-- >0)&&!(s=d.next()).done;)c.push(s.value)}catch(t){f={error:t}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(f)throw f.error}}return c},m=this&&this.__spread||function(){for(var n=[],i=0;i=c.length&&(c=void 0),{value:c&&c[g++],done:!c}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(96),y=o(147),m=o(146),a=o(1);function p(c,t){for(var e=0;;){var g=e=65&&S<=90?String.fromCodePoint(S+32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g}function s(c){return c.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function f(c,t,e){if(!a.isArray(t))return f(c,Array.from(t),e);for(var g="";e.position=97&&S<=122?String.fromCodePoint(S-32):b}}catch(C){t={error:C}}finally{try{_&&!_.done&&(e=x.return)&&e.call(x)}finally{if(t)throw t.error}}return g},l.asciiCaseInsensitiveMatch=function(c,t){return u(c)===u(t)},l.asciiEncode=function(c){return console.assert(i(c),"asciiEncode requires an ASCII string."),n(c)},l.asciiDecode=function(c){var t,e;try{for(var g=v(c),x=g.next();!x.done;x=g.next()){var _=x.value;console.assert(m.isASCIIByte(_),"asciiDecode requires an ASCII byte sequence.")}}catch(b){t={error:b}}finally{try{x&&!x.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return y.isomorphicDecode(c)},l.stripNewlines=function(c){return c.replace(/[\n\r]/g,"")},l.normalizeNewlines=function(c){return c.replace(/\r\n/g,` +Input: `+this.err.str)},y.prototype[Symbol.iterator]=function(){return this._index=0,{next:function(){var s=this.nextToken();return s.type===S.TokenType.EOF?{done:!0,value:null}:{done:!1,value:s}}.bind(this)}},y}();a.XMLStringLexer=_},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(182)]})},function(c,a,n){"use strict";var v=n(39);c.exports=new v({include:[n(113)],implicit:[n(289),n(290),n(291),n(292)]})},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(91),S=n(1),_=n(3),y=n(77),s=n(109);function h(u,p){var m=o(u===void 0||i(u)?u:v.DefaultBuilderOptions),f=i(u)?p:u,t=s.createDocument();l(t,m);var e=new y.XMLBuilderImpl(t);return f!==void 0&&e.ele(f),e}function i(u){if(!S.isPlainObject(u))return!1;for(var p in u)if(u.hasOwnProperty(p)&&!v.XMLBuilderOptionKeys.has(p))return!1;return!0}function o(u){u===void 0&&(u={});var p=S.applyDefaults(u,v.DefaultBuilderOptions);if(p.convert.att.length===0||p.convert.ins.length===0||p.convert.text.length===0||p.convert.cdata.length===0||p.convert.comment.length===0)throw new Error("JS object converter strings cannot be zero length.");return p}function l(u,p,m){var f=u;f._xmlBuilderOptions=p,f._isFragment=m}a.builder=function(u,p){var m=o(i(u)?u:v.DefaultBuilderOptions),f=_.Guard.isNode(u)||S.isArray(u)?u:p;if(f===void 0)throw new Error("Invalid arguments.");if(S.isArray(f)){for(var t=[],e=0;e0)&&!(g=x.next()).done;)E.push(g.value)}catch(w){b={error:w}}finally{try{g&&!g.done&&(e=x.return)&&e.call(x)}finally{if(b)throw b.error}}return E},S=this&&this.__values||function(f){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&f[t],g=0;if(e)return e.call(f);if(f&&typeof f.length=="number")return{next:function(){return f&&g>=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(91),y=n(1),s=n(217),h=n(2),i=n(3),o=n(0),l=n(109),u=n(7),p=n(276),m=function(){function f(t){this._domNode=t}return Object.defineProperty(f.prototype,"node",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),f.prototype.set=function(t){return this._options=y.applyDefaults(y.applyDefaults(this._options,t,!0),_.DefaultBuilderOptions),this},f.prototype.ele=function(t,e,g){var b,x,E,w,D,T;if(y.isObject(t))return new p.ObjectReader(this._options).parse(this,t);if(t!==null&&/^\s*0&&(t===void 0&&(t=e.slice(b+1)),e=e.slice(0,b)),t===void 0)t=g?this._options.defaultNamespace.ele:this._options.defaultNamespace.att;else if(t!==null&&t[0]==="@"){var x=t.slice(1);if((t=this._options.namespaceAlias[x])===void 0)throw new Error("Namespace alias `"+x+"` is not defined. "+this._debugInfo())}return[t,e]},f.prototype._updateNamespace=function(t){var e,g,b,x,E=this._domNode;if(i.Guard.isElementNode(E)&&t!==null&&E.namespaceURI!==t){var w=v(o.namespace_extractQName(E.prefix?E.prefix+":"+E.localName:E.localName),2),D=w[0],T=w[1],N=o.create_element(this._doc,T,t,D);try{for(var I=S(E.attributes),M=I.next();!M.done;M=I.next()){var k=M.value,G=k.prefix?k.prefix+":"+k.localName:k.localName,$=v(o.namespace_extractQName(G),1)[0],Y=k.namespaceURI;Y===null&&$!==null&&(Y=E.lookupNamespaceURI($)),Y===null?N.setAttribute(G,k.value):N.setAttributeNS(Y,G,k.value)}}catch(ve){e={error:ve}}finally{try{M&&!M.done&&(g=I.return)&&g.call(I)}finally{if(e)throw e.error}}var z=E.parentNode;if(z===null)throw new Error("Parent node is null."+this._debugInfo());z.replaceChild(N,E),this._domNode=N;try{for(var X=S(E.childNodes),H=X.next();!H.done;H=X.next()){var ee=H.value.cloneNode(!0);if(N.appendChild(ee),i.Guard.isElementNode(ee)){var re=v(o.namespace_extractQName(ee.prefix?ee.prefix+":"+ee.localName:ee.localName),1)[0],de=N.lookupNamespaceURI(re);new f(ee)._updateNamespace(de)}}}catch(ve){b={error:ve}}finally{try{H&&!H.done&&(x=X.return)&&x.call(X)}finally{if(b)throw b.error}}}},Object.defineProperty(f.prototype,"_doc",{get:function(){var t=this.node;if(i.Guard.isDocumentNode(t))return t;var e=t.ownerDocument;if(!e)throw new Error("Owner document is null. "+this._debugInfo());return e},enumerable:!0,configurable:!0}),f.prototype._debugInfo=function(t){var e=this.node,g=e.parentNode;t=t||e.nodeName;var b=g?g.nodeName:"";return b?"node: <"+t+">, parent: <"+b+">":"node: <"+t+">"},Object.defineProperty(f.prototype,"_options",{get:function(){var t=this._doc;if(t._xmlBuilderOptions===void 0)throw new Error("Builder options is not set.");return t._xmlBuilderOptions},set:function(t){this._doc._xmlBuilderOptions=t},enumerable:!0,configurable:!0}),f}();a.XMLBuilderImpl=m},function(c,a,n){var v=n(11),S=n(117),_=v.WeakMap;c.exports=typeof _=="function"&&/native code/.test(S(_))},function(c,a,n){var v=n(46),S=n(82),_=n(85),y=n(18);c.exports=v("Reflect","ownKeys")||function(s){var h=S.f(y(s)),i=_.f;return i?h.concat(i(s)):h}},function(c,a,n){var v=n(16),S=n(15),_=n(18),y=n(61);c.exports=v?Object.defineProperties:function(s,h){_(s);for(var i,o=y(h),l=o.length,u=0;l>u;)S.f(s,i=o[u++],h[i]);return s}},function(c,a,n){var v=n(46);c.exports=v("document","documentElement")},function(c,a,n){var v=n(24),S=n(82).f,_={}.toString,y=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];c.exports.f=function(s){return y&&_.call(s)=="[object Window]"?function(h){try{return S(h)}catch{return y.slice()}}(s):S(v(s))}},function(c,a,n){"use strict";var v=n(4),S=n(36).every,_=n(48),y=n(28),s=_("every"),h=y("every");v({target:"Array",proto:!0,forced:!s||!h},{every:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(36).filter,_=n(63),y=n(28),s=_("filter"),h=y("filter");v({target:"Array",proto:!0,forced:!s||!h},{filter:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(46);c.exports=v("navigator","userAgent")||""},function(c,a,n){"use strict";var v=n(4),S=n(36).find,_=n(130),y=n(28),s=!0,h=y("find");"find"in[]&&Array(1).find(function(){s=!1}),v({target:"Array",proto:!0,forced:s||!h},{find:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}}),_("find")},function(c,a,n){"use strict";var v=n(131).IteratorPrototype,S=n(60),_=n(40),y=n(62),s=n(49),h=function(){return this};c.exports=function(i,o,l){var u=o+" Iterator";return i.prototype=S(v,{next:_(1,l)}),y(i,u,!1,!0),s[u]=h,i}},function(c,a,n){var v=n(8);c.exports=!v(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},function(c,a,n){var v=n(13);c.exports=function(S){if(!v(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},function(c,a,n){"use strict";var v=n(4),S=n(36).map,_=n(63),y=n(28),s=_("map"),h=y("map");v({target:"Array",proto:!0,forced:!s||!h},{map:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(4),S=n(200).left,_=n(48),y=n(28),s=_("reduce"),h=y("reduce",{1:0});v({target:"Array",proto:!0,forced:!s||!h},{reduce:function(i){return S(this,i,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){var v=n(127),S=n(27),_=n(41),y=n(26),s=function(h){return function(i,o,l,u){v(o);var p=S(i),m=_(p),f=y(p.length),t=h?f-1:0,e=h?-1:1;if(l<2)for(;;){if(t in m){u=m[t],t+=e;break}if(t+=e,h?t<0:f<=t)throw TypeError("Reduce of empty array with no initial value")}for(;h?t>=0:f>t;t+=e)t in m&&(u=o(u,m[t],t,p));return u}};c.exports={left:s(!1),right:s(!0)}},function(c,a,n){"use strict";var v=n(4),S=n(36).some,_=n(48),y=n(28),s=_("some"),h=y("some");v({target:"Array",proto:!0,forced:!s||!h},{some:function(i){return S(this,i,arguments.length>1?arguments[1]:void 0)}})},function(c,a,n){"use strict";var v=n(90),S=n(135);c.exports=v?{}.toString:function(){return"[object "+S(this)+"]"}},function(c,a){c.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(c,a,n){var v=n(8);c.exports=!v(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(c,a,n){var v=n(5),S=n(49),_=v("iterator"),y=Array.prototype;c.exports=function(s){return s!==void 0&&(S.Array===s||y[_]===s)}},function(c,a,n){var v=n(135),S=n(49),_=n(5)("iterator");c.exports=function(y){if(y!=null)return y[_]||y["@@iterator"]||S[v(y)]}},function(c,a,n){var v=n(18);c.exports=function(S,_,y,s){try{return s?_(v(y)[0],y[1]):_(y)}catch(i){var h=S.return;throw h!==void 0&&v(h.call(S)),i}}},function(c,a,n){var v=n(5)("iterator"),S=!1;try{var _=0,y={next:function(){return{done:!!_++}},return:function(){S=!0}};y[v]=function(){return this},Array.from(y,function(){throw 2})}catch{}c.exports=function(s,h){if(!h&&!S)return!1;var i=!1;try{var o={};o[v]=function(){return{next:function(){return{done:i=!0}}}},s(o)}catch{}return i}},function(c,a,n){var v=n(13),S=n(133);c.exports=function(_,y,s){var h,i;return S&&typeof(h=y.constructor)=="function"&&h!==s&&v(i=h.prototype)&&i!==s.prototype&&S(_,i),_}},function(c,a,n){var v=n(25);c.exports=function(S,_,y){for(var s in _)v(S,s,_[s],y);return S}},function(c,a,n){"use strict";var v=n(46),S=n(15),_=n(5),y=n(16),s=_("species");c.exports=function(h){var i=v(h),o=S.f;y&&i&&!i[s]&&o(i,s,{configurable:!0,get:function(){return this}})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Set,this._limit=s}return y.prototype.add=function(s){if(this._items.add(s),this._items.size>this._limit){var h=this._items.values().next();h.done||this._items.delete(h.value)}return this},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){var i=this;this._items.forEach(function(o){return s.call(h,o,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"FixedSizeSet"},enumerable:!0,configurable:!0}),y}();a.FixedSizeSet=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(y,s){var h,i,o,l,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(m){return function(f){return function(t){if(h)throw new TypeError("Generator is already executing.");for(;u;)try{if(h=1,i&&(o=2&t[0]?i.return:t[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,t[1])).done)return o;switch(i=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return u.label++,{value:t[1],done:!1};case 5:u.label++,i=t[1],t=[0];continue;case 7:t=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!((o=o.length>0&&o[o.length-1])||t[0]!==6&&t[0]!==2)){u=0;continue}if(t[0]===3&&(!o||t[1]>o[0]&&t[1]=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=function(){function y(s){s===void 0&&(s=1e3),this._items=new Map,this._limit=s}return y.prototype.get=function(s){return this._items.get(s)},y.prototype.set=function(s,h){if(this._items.set(s,h),this._items.size>this._limit){var i=this._items.keys().next();i.done||this._items.delete(i.value)}},y.prototype.delete=function(s){return this._items.delete(s)},y.prototype.has=function(s){return this._items.has(s)},y.prototype.clear=function(){this._items.clear()},Object.defineProperty(y.prototype,"size",{get:function(){return this._items.size},enumerable:!0,configurable:!0}),y.prototype.forEach=function(s,h){this._items.forEach(function(i,o){return s.call(h,o,i)})},y.prototype.keys=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.keys())];case 1:return s.sent(),[2]}})},y.prototype.values=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.values())];case 1:return s.sent(),[2]}})},y.prototype.entries=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items.entries())];case 1:return s.sent(),[2]}})},y.prototype[Symbol.iterator]=function(){return v(this,function(s){switch(s.label){case 0:return[5,S(this._items)];case 1:return s.sent(),[2]}})},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"ObjectCache"},enumerable:!0,configurable:!0}),y}();a.ObjectCache=_},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){_===void 0&&(_=1e3),this._items=new Map,this._limit=_}return S.prototype.check=function(_,y){if(this._items.get(_)===y)return!0;if(this._items.get(y)===_)return!1;var s=Math.random()<.5;if(s?this._items.set(_,y):this._items.set(y,_),this._items.size>this._limit){var h=this._items.keys().next();h.done||this._items.delete(h.value)}return s},S}();a.CompareCache=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._initialized=!1,this._value=void 0,this._initFunc=_}return Object.defineProperty(S.prototype,"value",{get:function(){return this._initialized||(this._value=this._initFunc(),this._initialized=!0),this._value},enumerable:!0,configurable:!0}),S}();a.Lazy=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function S(_){this._pointer=0,this._chars=Array.from(_),this._length=this._chars.length}return Object.defineProperty(S.prototype,"eof",{get:function(){return this._pointer>=this._length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),S.prototype.codePoint=function(){if(this._codePoint===void 0)if(this.eof)this._codePoint=-1;else{var _=this._chars[this._pointer].codePointAt(0);this._codePoint=_!==void 0?_:-1}return this._codePoint},S.prototype.c=function(){return this._c===void 0&&(this._c=this.eof?"":this._chars[this._pointer]),this._c},S.prototype.remaining=function(){return this._remaining===void 0&&(this._remaining=this.eof?"":this._chars.slice(this._pointer+1).join("")),this._remaining},S.prototype.substring=function(){return this._substring===void 0&&(this._substring=this.eof?"":this._chars.slice(this._pointer).join("")),this._substring},Object.defineProperty(S.prototype,"pointer",{get:function(){return this._pointer},set:function(_){_!==this._pointer&&(this._pointer=_,this._codePoint=void 0,this._c=void 0,this._remaining=void 0,this._substring=void 0)},enumerable:!0,configurable:!0}),S}();a.StringWalker=v},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(218);a.MapWriter=v.MapWriter;var S=n(258);a.XMLWriter=S.XMLWriter;var _=n(67);a.ObjectWriter=_.ObjectWriter;var y=n(260);a.JSONWriter=y.JSONWriter;var s=n(261);a.YAMLWriter=s.YAMLWriter},function(c,a,n){"use strict";n(19),n(219),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(h,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)l.hasOwnProperty(u)&&(o[u]=l[u])})(h,i)},function(h,i){function o(){this.constructor=h}v(h,i),h.prototype=i===null?Object.create(i):(o.prototype=i.prototype,new o)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(67),s=function(h){function i(o,l){var u=h.call(this,o)||this;return u._writerOptions=_.applyDefaults(l,{format:"map",wellFormed:!1,group:!1,verbose:!1}),u}return S(i,h),i.prototype.serialize=function(o){var l=_.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1,verbose:!1}),u=new y.ObjectWriter(this._builderOptions,l).serialize(o);return this._convertObject(u)},i.prototype._convertObject=function(o){if(_.isArray(o)){for(var l=0;l=51||!S(function(){var g=[];return g[m]=!1,g.concat()[0]!==g}),t=l("concat"),e=function(g){if(!y(g))return!1;var b=g[m];return b!==void 0?!!b:_(g)};v({target:"Array",proto:!0,forced:!f||!t},{concat:function(g){var b,x,E,w,D,T=s(this),N=o(T,0),I=0;for(b=-1,E=arguments.length;b9007199254740991)throw TypeError("Maximum allowed index exceeded");for(x=0;x=9007199254740991)throw TypeError("Maximum allowed index exceeded");i(N,I++,D)}return N.length=I,N}})},function(c,a,n){"use strict";var v=n(8);function S(_,y){return RegExp(_,y)}a.UNSUPPORTED_Y=v(function(){var _=S("a","y");return _.lastIndex=2,_.exec("abcd")!=null}),a.BROKEN_CARET=v(function(){var _=S("^r","gy");return _.lastIndex=2,_.exec("str")!=null})},function(c,a,n){var v=n(223);c.exports=function(S){if(v(S))throw TypeError("The method doesn't accept regular expressions");return S}},function(c,a,n){var v=n(13),S=n(42),_=n(5)("match");c.exports=function(y){var s;return v(y)&&((s=y[_])!==void 0?!!s:S(y)=="RegExp")}},function(c,a,n){var v=n(5)("match");c.exports=function(S){var _=/./;try{"/./"[S](_)}catch{try{return _[v]=!1,"/./"[S](_)}catch{}}return!1}},function(c,a,n){"use strict";n(68);var v=n(25),S=n(8),_=n(5),y=n(93),s=n(21),h=_("species"),i=!S(function(){var m=/./;return m.exec=function(){var f=[];return f.groups={a:"7"},f},"".replace(m,"$")!=="7"}),o="a".replace(/./,"$0")==="$0",l=_("replace"),u=!!/./[l]&&/./[l]("a","$0")==="",p=!S(function(){var m=/(?:)/,f=m.exec;m.exec=function(){return f.apply(this,arguments)};var t="ab".split(m);return t.length!==2||t[0]!=="a"||t[1]!=="b"});c.exports=function(m,f,t,e){var g=_(m),b=!S(function(){var N={};return N[g]=function(){return 7},""[m](N)!=7}),x=b&&!S(function(){var N=!1,I=/a/;return m==="split"&&((I={}).constructor={},I.constructor[h]=function(){return I},I.flags="",I[g]=/./[g]),I.exec=function(){return N=!0,null},I[g](""),!N});if(!b||!x||m==="replace"&&(!i||!o||u)||m==="split"&&!p){var E=/./[g],w=t(g,""[m],function(N,I,M,k,G){return I.exec===y?b&&!G?{done:!0,value:E.call(I,M,k)}:{done:!0,value:N.call(M,I,k)}:{done:!1}},{REPLACE_KEEPS_$0:o,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:u}),D=w[0],T=w[1];v(String.prototype,m,D),v(RegExp.prototype,g,f==2?function(N,I){return T.call(N,this,I)}:function(N){return T.call(N,this)})}e&&s(RegExp.prototype[g],"sham",!0)}},function(c,a,n){"use strict";var v=n(137).charAt;c.exports=function(S,_,y){return _+(y?v(S,_).length:1)}},function(c,a,n){var v=n(42),S=n(93);c.exports=function(_,y){var s=_.exec;if(typeof s=="function"){var h=s.call(_,y);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(v(_)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return S.call(_,y)}},function(c,a,n){"use strict";(function(v){Object.defineProperty(a,"__esModule",{value:!0});var S=n(96);a.forgivingBase64Encode=function(_){return v.from(_).toString("base64")},a.forgivingBase64Decode=function(_){return _===""?"":((_=_.replace(S.ASCIIWhiteSpace,"")).length%4==0&&(_.endsWith("==")?_=_.substr(0,_.length-2):_.endsWith("=")&&(_=_.substr(0,_.length-1))),_.length%4==1?null:/[0-9A-Za-z+/]/.test(_)?v.from(_,"base64").toString("utf8"):null)}}).call(this,n(145).Buffer)},function(c,a,n){"use strict";a.byteLength=function(l){var u=i(l),p=u[0],m=u[1];return 3*(p+m)/4-m},a.toByteArray=function(l){var u,p,m=i(l),f=m[0],t=m[1],e=new _(function(x,E,w){return 3*(E+w)/4-w}(0,f,t)),g=0,b=t>0?f-4:f;for(p=0;p>16&255,e[g++]=u>>8&255,e[g++]=255&u;return t===2&&(u=S[l.charCodeAt(p)]<<2|S[l.charCodeAt(p+1)]>>4,e[g++]=255&u),t===1&&(u=S[l.charCodeAt(p)]<<10|S[l.charCodeAt(p+1)]<<4|S[l.charCodeAt(p+2)]>>2,e[g++]=u>>8&255,e[g++]=255&u),e},a.fromByteArray=function(l){for(var u,p=l.length,m=p%3,f=[],t=0,e=p-m;te?e:t+16383));return m===1?(u=l[p-1],f.push(v[u>>2]+v[u<<4&63]+"==")):m===2&&(u=(l[p-2]<<8)+l[p-1],f.push(v[u>>10]+v[u>>4&63]+v[u<<2&63]+"=")),f.join("")};for(var v=[],S=[],_=typeof Uint8Array<"u"?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=y.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=l.indexOf("=");return p===-1&&(p=u),[p,p===u?0:4-p%4]}function o(l,u,p){for(var m,f,t=[],e=u;e>18&63]+v[f>>12&63]+v[f>>6&63]+v[63&f]);return t.join("")}S["-".charCodeAt(0)]=62,S["_".charCodeAt(0)]=63},function(c,a){a.read=function(n,v,S,_,y){var s,h,i=8*y-_-1,o=(1<>1,u=-7,p=S?y-1:0,m=S?-1:1,f=n[v+p];for(p+=m,s=f&(1<<-u)-1,f>>=-u,u+=i;u>0;s=256*s+n[v+p],p+=m,u-=8);for(h=s&(1<<-u)-1,s>>=-u,u+=_;u>0;h=256*h+n[v+p],p+=m,u-=8);if(s===0)s=1-l;else{if(s===o)return h?NaN:1/0*(f?-1:1);h+=Math.pow(2,_),s-=l}return(f?-1:1)*h*Math.pow(2,s-_)},a.write=function(n,v,S,_,y,s){var h,i,o,l=8*s-y-1,u=(1<>1,m=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=_?0:s-1,t=_?1:-1,e=v<0||v===0&&1/v<0?1:0;for(v=Math.abs(v),isNaN(v)||v===1/0?(i=isNaN(v)?1:0,h=u):(h=Math.floor(Math.log(v)/Math.LN2),v*(o=Math.pow(2,-h))<1&&(h--,o*=2),(v+=h+p>=1?m/o:m*Math.pow(2,1-p))*o>=2&&(h++,o/=2),h+p>=u?(i=0,h=u):h+p>=1?(i=(v*o-1)*Math.pow(2,y),h+=p):(i=v*Math.pow(2,p-1)*Math.pow(2,y),h=0));y>=8;n[S+f]=255&i,f+=t,i/=256,y-=8);for(h=h<0;n[S+f]=255&h,f+=t,h/=256,l-=8);n[S+f-t]|=128*e}},function(c,a){var n={}.toString;c.exports=Array.isArray||function(v){return n.call(v)=="[object Array]"}},function(c,a,n){"use strict";var v=this&&this.__values||function(y){var s=typeof Symbol=="function"&&Symbol.iterator,h=s&&y[s],i=0;if(h)return h.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&i>=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){var s,h;if(y===null||S.isString(y)||S.isNumber(y))return y;if(S.isArray(y)){var i=new Array;try{for(var o=v(y),l=o.next();!l.done;l=o.next()){var u=l.value;i.push(_(u))}}catch(f){s={error:f}}finally{try{l&&!l.done&&(h=o.return)&&h.call(o)}finally{if(s)throw s.error}}return i}if(S.isObject(y)){i=new Map;for(var p in y)if(y.hasOwnProperty(p)){var m=y[p];i.set(p,_(m))}return i}return y}a.parseJSONFromBytes=function(y){var s=S.utf8Decode(y);return JSON.parse.call(void 0,s)},a.serializeJSONToBytes=function(y){var s=JSON.stringify.call(void 0,y);return S.utf8Encode(s)},a.parseJSONIntoInfraValues=function(y){return _(JSON.parse.call(void 0,y))},a.convertAJSONDerivedJavaScriptValueToAnInfraValue=_},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},_=this&&this.__spread||function(){for(var h=[],i=0;i=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(1);a.append=function(h,i){h.push(i)},a.extend=function(h,i){h.push.apply(h,_(i))},a.prepend=function(h,i){h.unshift(i)},a.replace=function(h,i,o){var l,u,p=0;try{for(var m=y(h),f=m.next();!f.done;f=m.next()){var t=f.value;if(s.isFunction(i))i.call(null,t)&&(h[p]=o);else if(t===i)return void(h[p]=o);p++}}catch(e){l={error:e}}finally{try{f&&!f.done&&(u=m.return)&&u.call(m)}finally{if(l)throw l.error}}},a.insert=function(h,i,o){h.splice(o,0,i)},a.remove=function(h,i){for(var o=h.length;o--;){var l=h[o];if(s.isFunction(i))i.call(null,l)&&h.splice(o,1);else if(l===i)return void h.splice(o,1)}},a.empty=function(h){h.length=0},a.contains=function(h,i){var o,l;try{for(var u=y(h),p=u.next();!p.done;p=u.next()){var m=p.value;if(s.isFunction(i)){if(i.call(null,m))return!0}else if(m===i)return!0}}catch(f){o={error:f}}finally{try{p&&!p.done&&(l=u.return)&&l.call(u)}finally{if(o)throw o.error}}return!1},a.size=function(h,i){var o,l;if(i===void 0)return h.length;var u=0;try{for(var p=y(h),m=p.next();!m.done;m=p.next()){var f=m.value;i.call(null,f)&&u++}}catch(t){o={error:t}}finally{try{m&&!m.done&&(l=p.return)&&l.call(p)}finally{if(o)throw o.error}}return u},a.isEmpty=function(h){return h.length===0},a.forEach=function(h,i){var o,l,u,p,m,f;return v(this,function(t){switch(t.label){case 0:return i!==void 0?[3,2]:[5,y(h)];case 1:return t.sent(),[3,9];case 2:t.trys.push([2,7,8,9]),o=y(h),l=o.next(),t.label=3;case 3:return l.done?[3,6]:(u=l.value,i.call(null,u)?[4,u]:[3,5]);case 4:t.sent(),t.label=5;case 5:return l=o.next(),[3,3];case 6:return[3,9];case 7:return p=t.sent(),m={error:p},[3,9];case 8:try{l&&!l.done&&(f=o.return)&&f.call(o)}finally{if(m)throw m.error}return[7];case 9:return[2]}})},a.clone=function(h){return new(Array.bind.apply(Array,_([void 0],h)))},a.sortInAscendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?-1:1})},a.sortInDescendingOrder=function(h,i){return h.sort(function(o,l){return i.call(null,o,l)?1:-1})}},function(c,a,n){"use strict";var v=this&&this.__generator||function(h,i){var o,l,u,p,m={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(t){return function(e){return function(g){if(o)throw new TypeError("Generator is already executing.");for(;m;)try{if(o=1,l&&(u=2&g[0]?l.return:g[0]?l.throw||((u=l.return)&&u.call(l),0):l.next)&&!(u=u.call(l,g[1])).done)return u;switch(l=0,u&&(g=[2&g[0],u.value]),g[0]){case 0:case 1:u=g;break;case 4:return m.label++,{value:g[1],done:!1};case 5:m.label++,l=g[1],g=[0];continue;case 7:g=m.ops.pop(),m.trys.pop();continue;default:if(u=m.trys,!((u=u.length>0&&u[u.length-1])||g[0]!==6&&g[0]!==2)){m=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(h,i){var o=typeof Symbol=="function"&&h[Symbol.iterator];if(!o)return h;var l,u,p=o.call(h),m=[];try{for(;(i===void 0||i-- >0)&&!(l=p.next()).done;)m.push(l.value)}catch(f){u={error:f}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return m},y=this&&this.__spread||function(){for(var h=[],i=0;i0&&p[p.length-1])||b[0]!==6&&b[0]!==2)){f=0;continue}if(b[0]===3&&(!p||b[1]>p[0]&&b[1]=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},_=this&&this.__read||function(i,o){var l=typeof Symbol=="function"&&i[Symbol.iterator];if(!l)return i;var u,p,m=l.call(i),f=[];try{for(;(o===void 0||o-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(t){p={error:t}}finally{try{u&&!u.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}return f},y=this&&this.__spread||function(){for(var i=[],o=0;o=f.length&&(f=void 0),{value:f&&f[g++],done:!f}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(96),_=n(147),y=n(146),s=n(1);function h(f,t){for(var e=0;;){var g=e=65&&w<=90?String.fromCodePoint(w+32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g}function u(f){return f.replace(/^[\t\n\f\r ]+/,"").replace(/[\t\n\f\r ]+$/,"")}function p(f,t,e){if(!s.isArray(t))return p(f,Array.from(t),e);for(var g="";e.position=97&&w<=122?String.fromCodePoint(w-32):E}}catch(D){t={error:D}}finally{try{x&&!x.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return g},a.asciiCaseInsensitiveMatch=function(f,t){return l(f)===l(t)},a.asciiEncode=function(f){return console.assert(o(f),"asciiEncode requires an ASCII string."),i(f)},a.asciiDecode=function(f){var t,e;try{for(var g=v(f),b=g.next();!b.done;b=g.next()){var x=b.value;console.assert(y.isASCIIByte(x),"asciiDecode requires an ASCII byte sequence.")}}catch(E){t={error:E}}finally{try{b&&!b.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return _.isomorphicDecode(f)},a.stripNewlines=function(f){return f.replace(/[\n\r]/g,"")},a.normalizeNewlines=function(f){return f.replace(/\r\n/g,` `).replace(/\r/g,` -`)},l.stripLeadingAndTrailingASCIIWhitespace=s,l.stripAndCollapseASCIIWhitespace=function(c){return s(c.replace(/[\t\n\f\r ]{2,}/g," "))},l.collectASequenceOfCodePoints=f,l.skipASCIIWhitespace=d,l.strictlySplit=function c(t,e){if(!a.isArray(t))return c(Array.from(t),e);var g={position:0},x=[],_=f(function(b){return e!==b},t,g);for(x.push(_);g.position=y.length&&(y=void 0),{value:y&&y[p++],done:!y}}};throw new TypeError(m?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(97);l.abort_add=function(y,m){m._abortedFlag||m._abortAlgorithms.add(y)},l.abort_remove=function(y,m){m._abortAlgorithms.delete(y)},l.abort_signalAbort=function(y){var m,a;if(!y._abortedFlag){y._abortedFlag=!0;try{for(var p=v(y._abortAlgorithms),n=p.next();!n.done;n=p.next())n.value.call(y)}catch(i){m={error:i}}finally{try{n&&!n.done&&(a=p.return)&&a.call(p)}finally{if(m)throw m.error}}y._abortAlgorithms.clear(),w.event_fireAnEvent("abort",y)}}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(150),w=function(){function y(){}return y.asNode=function(m){if(v.Guard.isNode(m))return m;throw new Error("Invalid object. Node expected.")},y}();l.Cast=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=function(){function y(){}return Object.defineProperty(y.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),y.prototype.add=function(m){throw new Error("Cannot add to an empty set.")},y.prototype.clear=function(){},y.prototype.delete=function(m){return!1},y.prototype.forEach=function(m,a){},y.prototype.has=function(m){return!1},y.prototype[Symbol.iterator]=function(){return new w},y.prototype.entries=function(){return new w},y.prototype.keys=function(){return new w},y.prototype.values=function(){return new w},Object.defineProperty(y.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),y}();l.EmptySet=v;var w=function(){function y(){}return y.prototype[Symbol.iterator]=function(){return this},y.prototype.next=function(){return{done:!0,value:null}},y}()},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(l.ParserState||(l.ParserState={})),l.OpaqueOrigin=["","",null,null]},function(E,l,o){"use strict";var v=o(245),w=o(247);function y(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=x,l.resolve=function(_,b){return x(_,!1,!0).resolve(b)},l.resolveObject=function(_,b){return _?x(_,!1,!0).resolveObject(b):b},l.format=function(_){return w.isString(_)&&(_=x(_)),_ instanceof y?_.format():y.prototype.format.call(_)},l.Url=y;var m=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,n=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),i=["'"].concat(n),u=["%","/","?",";","#"].concat(i),s=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=o(248);function x(_,b,S){if(_&&w.isObject(_)&&_ instanceof y)return _;var C=new y;return C.parse(_,b,S),C}y.prototype.parse=function(_,b,S){if(!w.isString(_))throw new TypeError("Parameter 'url' must be a string, not "+typeof _);var C=_.indexOf("?"),T=C!==-1&&C<_.indexOf("#")?"?":"#",N=_.split(T);N[0]=N[0].replace(/\\/g,"/");var I=_=N.join(T);if(I=I.trim(),!S&&_.split("#").length===1){var R=p.exec(I);if(R)return this.path=I,this.href=I,this.pathname=R[1],R[2]?(this.search=R[2],this.query=b?g.parse(this.search.substr(1)):this.search.substr(1)):b&&(this.search="",this.query={}),this}var P=m.exec(I);if(P){var G=(P=P[0]).toLowerCase();this.protocol=G,I=I.substr(P.length)}if(S||P||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var J=I.substr(0,2)==="//";!J||P&&t[P]||(I=I.substr(2),this.slashes=!0)}if(!t[P]&&(J||P&&!e[P])){for(var Y,z,X=-1,H=0;H127?Q+="x":Q+=ne[ie];if(!Q.match(f)){var ce=he.slice(0,H),k=he.slice(H+1),D=ne.match(d);D&&(ce.push(D[1]),k.unshift(D[2])),k.length&&(I="/"+k.join(".")+I),this.hostname=ce.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!c[G])for(H=0,me=i.length;H0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),S.search=_.search,S.query=_.query,w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.href=S.format(),S;if(!ne.length)return S.pathname=null,S.search?S.path="/"+S.search:S.path=null,S.href=S.format(),S;for(var ie=ne.slice(-1)[0],ue=(S.host||_.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",ce=0,k=ne.length;k>=0;k--)(ie=ne[k])==="."?ne.splice(k,1):ie===".."?(ne.splice(k,1),ce++):ce&&(ne.splice(k,1),ce--);if(!he&&!me)for(;ce--;ce)ne.unshift("..");!he||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),ue&&ne.join("/").substr(-1)!=="/"&&ne.push("");var D,L=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(S.hostname=S.host=L?"":ne.length?ne.shift():"",(D=!!(S.host&&S.host.indexOf("@")>0)&&S.host.split("@"))&&(S.auth=D.shift(),S.host=S.hostname=D.shift())),(he=he||S.host&&ne.length)&&!L&&ne.unshift(""),ne.length?S.pathname=ne.join("/"):(S.pathname=null,S.path=null),w.isNull(S.pathname)&&w.isNull(S.search)||(S.path=(S.pathname?S.pathname:"")+(S.search?S.search:"")),S.auth=_.auth||S.auth,S.slashes=S.slashes||_.slashes,S.href=S.format(),S},y.prototype.parseHost=function(){var _=this.host,b=a.exec(_);b&&((b=b[0])!==":"&&(this.port=b.substr(1)),_=_.substr(0,_.length-b.length)),_&&(this.hostname=_)}},function(E,l,o){(function(v,w){var y;(function(m){l&&l.nodeType,v&&v.nodeType;var a=typeof w=="object"&&w;a.global!==a&&a.window!==a&&a.self;var p,n=2147483647,i=/^xn--/,u=/[^\x20-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,c=String.fromCharCode;function t(N){throw new RangeError(f[N])}function e(N,I){for(var R=N.length,P=[];R--;)P[R]=I(N[R]);return P}function g(N,I){var R=N.split("@"),P="";return R.length>1&&(P=R[0]+"@",N=R[1]),P+e((N=N.replace(s,".")).split("."),I).join(".")}function x(N){for(var I,R,P=[],G=0,J=N.length;G=55296&&I<=56319&&G65535&&(R+=c((I-=65536)>>>10&1023|55296),I=56320|1023&I),R+=c(I)}).join("")}function b(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function S(N,I,R){var P=0;for(N=R?d(N/700):N>>1,N+=d(N/I);N>455;P+=36)N=d(N/35);return d(P+36*N/(N+38))}function C(N){var I,R,P,G,J,Y,z,X,H,ee,re,he=[],me=N.length,ne=0,Q=128,ie=72;for((R=N.lastIndexOf("-"))<0&&(R=0),P=0;P=128&&t("not-basic"),he.push(N.charCodeAt(P));for(G=R>0?R+1:0;G=me&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>d((n-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>d(n/(ee=36-H))&&t("overflow"),Y*=ee;ie=S(ne-J,I=he.length+1,J==0),d(ne/I)>n-Q&&t("overflow"),Q+=d(ne/I),ne%=I,he.splice(ne++,0,Q)}return _(he)}function T(N){var I,R,P,G,J,Y,z,X,H,ee,re,he,me,ne,Q,ie=[];for(he=(N=x(N)).length,I=128,R=0,J=72,Y=0;Y=I&&red((n-R)/(me=P+1))&&t("overflow"),R+=(z-I)*me,I=z,Y=0;Yn&&t("overflow"),re==I){for(X=R,H=36;!(X<(ee=H<=J?1:H>=J+26?26:H-J));H+=36)Q=X-ee,ne=36-ee,ie.push(c(b(ee+Q%ne,0))),X=d(Q/ne);ie.push(c(b(X,0))),J=S(R,me,P==G),R=0,++P}++R,++I}return ie.join("")}p={version:"1.4.1",ucs2:{decode:x,encode:_},decode:C,encode:T,toASCII:function(N){return g(N,function(I){return u.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return i.test(I)?C(I.slice(4).toLowerCase()):I})}},(y=function(){return p}.call(l,o,l,v))===void 0||(v.exports=y)})()}).call(this,o(246)(E),o(78))},function(E,l){E.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},function(E,l,o){"use strict";E.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(E,l,o){"use strict";l.decode=l.parse=o(249),l.encode=l.stringify=o(250)},function(E,l,o){"use strict";function v(y,m){return Object.prototype.hasOwnProperty.call(y,m)}E.exports=function(y,m,a,p){m=m||"&",a=a||"=";var n={};if(typeof y!="string"||y.length===0)return n;var i=/\+/g;y=y.split(m);var u=1e3;p&&typeof p.maxKeys=="number"&&(u=p.maxKeys);var s=y.length;u>0&&s>u&&(s=u);for(var f=0;f=0?(d=g.substr(0,x),c=g.substr(x+1)):(d=g,c=""),t=decodeURIComponent(d),e=decodeURIComponent(c),v(n,t)?w(n[t])?n[t].push(e):n[t]=[n[t],e]:n[t]=e}return n};var w=Array.isArray||function(y){return Object.prototype.toString.call(y)==="[object Array]"}},function(E,l,o){"use strict";var v=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};E.exports=function(a,p,n,i){return p=p||"&",n=n||"=",a===null&&(a=void 0),typeof a=="object"?y(m(a),function(u){var s=encodeURIComponent(v(u))+n;return w(a[u])?y(a[u],function(f){return s+encodeURIComponent(v(f))}).join(p):s+encodeURIComponent(v(a[u]))}).join(p):i?encodeURIComponent(v(i))+n+encodeURIComponent(v(a)):""};var w=Array.isArray||function(a){return Object.prototype.toString.call(a)==="[object Array]"};function y(a,p){if(a.map)return a.map(p);for(var n=[],i=0;i=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1);function y(m){return w.isBoolean(m)?m:m.capture||!1}l.eventTarget_flatten=y,l.eventTarget_flattenMore=function(m){var a=y(m),p=!1,n=!1;return w.isBoolean(m)||(p=m.once||!1,n=m.passive||!1),[a,n,p]},l.eventTarget_addEventListener=function(m,a){if(a.callback!==null){for(var p=0;p=m.length&&(m=void 0),{value:m&&m[n++],done:!m}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(1),y=o(29);l.parentNode_convertNodesIntoANode=function(m,a){for(var p,n,i=null,u=0;u=b.length&&(b=void 0),{value:b&&b[T++],done:!b}}};throw new TypeError(S?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(b,S){var C=typeof Symbol=="function"&&b[Symbol.iterator];if(!C)return b;var T,N,I=C.call(b),R=[];try{for(;(S===void 0||S-- >0)&&!(T=I.next()).done;)R.push(T.value)}catch(P){N={error:P}}finally{try{T&&!T.done&&(C=I.return)&&C.call(I)}finally{if(N)throw N.error}}return R},y=this&&this.__spread||function(){for(var b=[],S=0;S0;ne--){var Q;if(x(Q=me[ne],b)){he=Q;break}}var ie,ue,ce=[];try{for(var k=v(X._children),D=k.next();!D.done;D=k.next())if(g(oe=D.value,b)){if(p.Guard.isDocumentTypeNode(oe))throw new a.HierarchyRequestError;ce.push(oe)}}catch(de){T={error:de}}finally{try{D&&!D.done&&(N=k.return)&&N.call(k)}finally{if(T)throw T.error}}if(i.tree_isAncestorOf(Y,G,!0))ie=G,ue=J;else{for(var L=G;L._parent!==null&&!i.tree_isAncestorOf(Y,L._parent);)L=L._parent;if(L._parent===null)throw new Error("Parent node is null.");ie=L._parent,ue=1+i.tree_index(L)}if(p.Guard.isCharacterDataNode(H))(B=f.node_clone(G))._data=s.characterData_substringData(G,J,i.tree_nodeLength(G)-J),d.mutation_append(B,P),s.characterData_replaceData(G,J,i.tree_nodeLength(G)-J,"");else if(H!==null){var B=f.node_clone(H);d.mutation_append(B,P);var M=_(n.create_range([G,J],[H,i.tree_nodeLength(H)]));d.mutation_append(M,B)}try{for(var q=v(ce),W=q.next();!W.done;W=q.next()){var oe=W.value;d.mutation_append(oe,P)}}catch(de){I={error:de}}finally{try{W&&!W.done&&(R=q.return)&&R.call(q)}finally{if(I)throw I.error}}return p.Guard.isCharacterDataNode(he)?((B=f.node_clone(Y))._data=s.characterData_substringData(Y,0,z),d.mutation_append(B,P),s.characterData_replaceData(Y,0,z,"")):he!==null&&(B=f.node_clone(he),d.mutation_append(B,P),M=_(n.create_range([he,0],[Y,z])),d.mutation_append(M,B)),b._start=[ie,ue],b._end=[ie,ue],P}l.range_collapsed=t,l.range_root=e,l.range_isContained=g,l.range_isPartiallyContained=x,l.range_setTheStart=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._end)!==m.BoundaryPosition.After||(b._end=T),b._start=T},l.range_setTheEnd=function(b,S,C){if(p.Guard.isDocumentTypeNode(S))throw new a.InvalidNodeTypeError;if(C>i.tree_nodeLength(S))throw new a.IndexSizeError;var T=[S,C];e(b)===i.tree_rootNode(S)&&u.boundaryPoint_position(T,b._start)!==m.BoundaryPosition.Before||(b._start=T),b._end=T},l.range_select=function(b,S){var C=b._parent;if(C===null)throw new a.InvalidNodeTypeError;var T=i.tree_index(b);S._start=[C,T],S._end=[C,T+1]},l.range_extract=_,l.range_cloneTheContents=function b(S){var C,T,N,I,R,P,G=n.create_documentFragment(S._startNode._nodeDocument);if(t(S))return G;var J=S._startNode,Y=S._startOffset,z=S._endNode,X=S._endOffset;J===z&&p.Guard.isCharacterDataNode(J)&&((D=f.node_clone(J))._data=s.characterData_substringData(J,Y,X-Y),d.mutation_append(D,G));for(var H=J;!i.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!i.tree_isAncestorOf(z,J,!0))try{for(var re=v(H._children),he=re.next();!he.done;he=re.next())if(x(ie=he.value,S)){ee=ie;break}}catch(W){C={error:W}}finally{try{he&&!he.done&&(T=re.return)&&T.call(re)}finally{if(C)throw C.error}}var me=null;if(!i.tree_isAncestorOf(J,z,!0))for(var ne=y(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(x(ie=ne[Q],S)){me=ie;break}}var ue=[];try{for(var ce=v(H._children),k=ce.next();!k.done;k=ce.next())if(g(q=k.value,S)){if(p.Guard.isDocumentTypeNode(q))throw new a.HierarchyRequestError;ue.push(q)}}catch(W){N={error:W}}finally{try{k&&!k.done&&(I=ce.return)&&I.call(ce)}finally{if(N)throw N.error}}if(p.Guard.isCharacterDataNode(ee))(D=f.node_clone(J))._data=s.characterData_substringData(J,Y,i.tree_nodeLength(J)-Y),d.mutation_append(D,G);else if(ee!==null){var D=f.node_clone(ee);d.mutation_append(D,G);var L=b(n.create_range([J,Y],[ee,i.tree_nodeLength(ee)]));d.mutation_append(L,D)}try{for(var B=v(ue),M=B.next();!M.done;M=B.next()){var q=M.value,D=f.node_clone(q);d.mutation_append(D,G)}}catch(W){R={error:W}}finally{try{M&&!M.done&&(P=B.return)&&P.call(B)}finally{if(R)throw R.error}}return p.Guard.isCharacterDataNode(me)?((D=f.node_clone(z))._data=s.characterData_substringData(z,0,X),d.mutation_append(D,G)):me!==null&&(D=f.node_clone(me),G.append(D),L=_(n.create_range([me,0],[z,X])),d.mutation_append(L,D)),G},l.range_insert=function(b,S){var C,T;if(p.Guard.isProcessingInstructionNode(S._startNode)||p.Guard.isCommentNode(S._startNode)||p.Guard.isTextNode(S._startNode)&&S._startNode._parent===null||S._startNode===b)throw new a.HierarchyRequestError;var N,I=null;if(p.Guard.isTextNode(S._startNode))I=S._startNode;else{var R=0;try{for(var P=v(S._startNode._children),G=P.next();!G.done;G=P.next()){var J=G.value;if(R===S._startOffset){I=J;break}R++}}catch(z){C={error:z}}finally{try{G&&!G.done&&(T=P.return)&&T.call(P)}finally{if(C)throw C.error}}}if(I===null)N=S._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}d.mutation_ensurePreInsertionValidity(b,N,I),p.Guard.isTextNode(S._startNode)&&(I=c.text_split(S._startNode,S._startOffset)),b===I&&(I=b._nextSibling),b._parent!==null&&d.mutation_remove(b,b._parent);var Y=I===null?i.tree_nodeLength(N):i.tree_index(I);p.Guard.isDocumentFragmentNode(b)?Y+=i.tree_nodeLength(b):Y++,d.mutation_preInsert(b,N,I),t(S)&&(S._end=[N,Y])},l.range_getContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!g(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S},l.range_getPartiallyContainedNodes=function(b){var S;return(S={})[Symbol.iterator]=function(){var C=b.commonAncestorContainer,T=i.tree_getFirstDescendantNode(C);return{next:function(){for(;T&&!x(T,b);)T=i.tree_getNextDescendantNode(C,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=i.tree_getNextDescendantNode(C,T),N}}},S}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(9);l.selectors_scopeMatchASelectorsString=function(w,y){throw new v.NotSupportedError}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(2),w=o(105);l.treeWalker_traverseChildren=function(y,m){for(var a=m?y._current._firstChild:y._current._lastChild;a!==null;){var p=w.traversal_filter(y,a);if(p===v.FilterResult.Accept)return y._current=a,a;if(p===v.FilterResult.Skip){var n=m?a._firstChild:a._lastChild;if(n!==null){a=n;continue}}for(;a!==null;){var i=m?a._nextSibling:a._previousSibling;if(i!==null){a=i;break}var u=a._parent;if(u===null||u===y._root||u===y._current)return null;a=u}}return null},l.treeWalker_traverseSiblings=function(y,m){var a=y._current;if(a===y._root)return null;for(;;){for(var p=m?a._nextSibling:a._previousSibling;p!==null;){a=p;var n=w.traversal_filter(y,a);if(n===v.FilterResult.Accept)return y._current=a,a;p=m?a._firstChild:a._lastChild,n!==v.FilterResult.Reject&&p!==null||(p=m?a._nextSibling:a._previousSibling)}if((a=a._parent)===null||a===y._root||w.traversal_filter(y,a)===v.FilterResult.Accept)return null}}},function(E,l,o){"use strict";o(89),o(74);var v,w=this&&this.__extends||(v=function(i,u){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,f){s.__proto__=f}||function(s,f){for(var d in f)f.hasOwnProperty(d)&&(s[d]=f[d])})(i,u)},function(i,u){function s(){this.constructor=i}v(i,u),i.prototype=u===null?Object.create(u):(s.prototype=u.prototype,new s)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(1),m=o(2),a=o(50),p=o(3),n=function(i){function u(s,f){var d=i.call(this,s)||this;return d._indentation={},d._lengthToLastNewline=0,d._writerOptions=y.applyDefaults(f,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),d}return w(u,i),u.prototype.serialize=function(s){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},s.nodeType!==m.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(s,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},u.prototype.declaration=function(s,f,d){this._beginLine(),this._refs.markup+='",this._endLine()},u.prototype.docType=function(s,f,d){this._beginLine(),this._refs.markup+=f&&d?"':f?"':d?"':"",this._endLine()},u.prototype.openTagBegin=function(s){this._beginLine(),this._refs.markup+="<"+s},u.prototype.openTagEnd=function(s,f,d){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!f&&!d){for(var c=!0,t=!0,e=this.currentNode.firstChild,g=0,x=0;e;){if(p.Guard.isExclusiveTextNode(e))x++;else{if(!p.Guard.isCDATASectionNode(e)){c=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&c&&(g<=1&&x===0||g===0),this._refs.emptyNode=t}(d||f||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=d?" />":f||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},u.prototype.closeTag=function(s){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},u.prototype.attribute=function(s,f){var d=s+'="'+f+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+d.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+d):this._refs.markup+=" "+d},u.prototype.text=function(s){s!==""&&(this._beginLine(),this._refs.markup+=s,this._endLine())},u.prototype.cdata=function(s){s!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},u.prototype.comment=function(s){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype.instruction=function(s,f){this._beginLine(),this._refs.markup+="",this._endLine()},u.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},u.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},u.prototype._indent=function(s){if(s<=0)return"";if(this._indentation[s]!==void 0)return this._indentation[s];var f=this._writerOptions.indent.repeat(s);return this._indentation[s]=f,f},u}(a.BaseWriter);l.XMLWriter=n},function(E,l,o){"use strict";var v=o(47),w=o(35);E.exports="".repeat||function(y){var m=String(w(this)),a="",p=v(y);if(p<0||p==1/0)throw RangeError("Wrong number of repetitions");for(;p>0;(p>>>=1)&&(m+=m))1&p&&(a+=m);return a}},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;return f._writerOptions=a.applyDefaults(s,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u);return this._beginLine(this._writerOptions,0)+this._convertObject(f,this._writerOptions)},i.prototype._convertObject=function(u,s,f){var d,c,t=this;f===void 0&&(f=0);var e="",g=this._isLeafNode(u);if(a.isArray(u)){e+="[";var x=u.length,_=0;try{for(var b=y(u),S=b.next();!S.done;S=b.next()){var C=S.value;e+=this._endLine(s,f+1)+this._beginLine(s,f+1)+this._convertObject(C,s,f+1),_0?new Array(f).join(u.indent):""},i.prototype._endLine=function(u,s){return u.prettyPrint?u.newline:""},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i.prototype._isLeafNode=function(u){return this._descendantCount(u)<=1},i.prototype._descendantCount=function(u,s){var f=this;return s===void 0&&(s=0),a.isArray(u)?a.forEachArray(u,function(d){return s+=f._descendantCount(d,s)},this):a.isObject(u)?a.forEachObject(u,function(d,c){return s+=f._descendantCount(c,s)},this):s++,s},i}(o(50).BaseWriter);l.JSONWriter=p},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(178),o(89),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),y=this&&this.__values||function(n){var i=typeof Symbol=="function"&&Symbol.iterator,u=i&&n[i],s=0;if(u)return u.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var m=o(67),a=o(1),p=function(n){function i(u,s){var f=n.call(this,u)||this;if(f._writerOptions=a.applyDefaults(s,{wellFormed:!1,indent:" ",newline:` -`,offset:0,group:!1,verbose:!1}),f._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(f._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return f}return w(i,n),i.prototype.serialize=function(u){var s=a.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),f=new m.ObjectWriter(this._builderOptions,s).serialize(u),d=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(f,this._writerOptions,0);return d.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(d=d.slice(0,-this._writerOptions.newline.length)),d},i.prototype._convertObject=function(u,s,f,d){var c,t,e=this;d===void 0&&(d=!1);var g="";if(a.isArray(u))try{for(var x=y(u),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._beginLine(s,f,!0),a.isObject(b)?a.isEmpty(b)?g+='""'+this._endLine(s):g+=this._convertObject(b,s,f,!0):g+=this._val(b)+this._endLine(s)}}catch(S){c={error:S}}finally{try{_&&!_.done&&(t=x.return)&&t.call(x)}finally{if(c)throw c.error}}else a.forEachObject(u,function(S,C){d?(g+=e._key(S),d=!1):g+=e._beginLine(s,f)+e._key(S),a.isObject(C)?a.isEmpty(C)?g+=' ""'+e._endLine(s):g+=e._endLine(s)+e._convertObject(C,s,f+1):g+=" "+e._val(C)+e._endLine(s)},this);return g},i.prototype._beginLine=function(u,s,f){f===void 0&&(f=!1);var d=u.offset+s+1,c=new Array(d).join(u.indent);return f?c.substr(0,c.length-2)+"-"+c.substr(-1,1):c},i.prototype._endLine=function(u){return u.newline},i.prototype._key=function(u){return'"'+u+'":'},i.prototype._val=function(u){return JSON.stringify(u)},i}(o(50).BaseWriter);l.YAMLWriter=p},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),o(110).dom.setFeatures(!0);var v=o(110);l.DOMImplementation=v.DOMImplementation;var w=o(271);l.DOMParser=w.DOMParser;var y=o(274);l.XMLSerializer=y.XMLSerializer},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.before=function(){for(var a=[],p=0;p=p.length&&(p=void 0),{value:p&&p[u++],done:!p}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(6),y=o(3),m=o(7),a=function(){function p(n){this._nodeList=[],this._recordQueue=[],this._callback=n;var i=w.dom.window;m.set.append(i._mutationObservers,this)}return p.prototype.observe=function(n,i){var u,s;if((i=i||{childList:!1,subtree:!1}).attributeOldValue===void 0&&i.attributeFilter===void 0||i.attributes!==void 0||(i.attributes=!0),i.characterDataOldValue!==void 0&&i.characterData===void 0&&(i.characterData=!0),!i.childList&&!i.attributes&&!i.characterData)throw new TypeError;if(i.attributeOldValue&&!i.attributes)throw new TypeError;if(i.attributeFilter!==void 0&&!i.attributes)throw new TypeError;if(i.characterDataOldValue&&!i.characterData)throw new TypeError;var f=!1,d=i,c=function(x){var _,b;if(x.observer===t){f=!0;try{for(var S=(_=void 0,v(t._nodeList)),C=S.next();!C.done;C=S.next()){var T=C.value;m.list.remove(T._registeredObserverList,function(N){return y.Guard.isTransientRegisteredObserver(N)&&N.source===x})}}catch(N){_={error:N}}finally{try{C&&!C.done&&(b=S.return)&&b.call(S)}finally{if(_)throw _.error}}x.options=d}},t=this;try{for(var e=v(n._registeredObserverList),g=e.next();!g.done;g=e.next())c(g.value)}catch(x){u={error:x}}finally{try{g&&!g.done&&(s=e.return)&&s.call(e)}finally{if(u)throw u.error}}f||(n._registeredObserverList.push({observer:this,options:i}),this._nodeList.push(n))},p.prototype.disconnect=function(){var n,i,u=this;try{for(var s=v(this._nodeList),f=s.next();!f.done;f=s.next()){var d=f.value;m.list.remove(d._registeredObserverList,function(c){return c.observer===u})}}catch(c){n={error:c}}finally{try{f&&!f.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}this._recordQueue=[]},p.prototype.takeRecords=function(){var n=this._recordQueue;return this._recordQueue=[],n},p}();l.MutationObserverImpl=a},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=function(){function y(){}return Object.defineProperty(y.prototype,"previousElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._previousSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"nextElementSibling",{get:function(){for(var m=v.Cast.asNode(this)._nextSibling;m;){if(v.Guard.isElementNode(m))return m;m=m._nextSibling}return null},enumerable:!0,configurable:!0}),y}();l.NonDocumentTypeChildNodeImpl=w},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(3),w=o(0),y=function(){function m(){}return m.prototype.getElementById=function(a){for(var p=w.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(n){return v.Guard.isElementNode(n)});p!==null;){if(p._uniqueIdentifier===a)return p;p=w.tree_getNextDescendantNode(v.Cast.asNode(this),p,!1,!1,function(n){return v.Guard.isElementNode(n)})}return null},m}();l.NonElementParentNodeImpl=y},function(E,l,o){"use strict";var v=this&&this.__values||function(a){var p=typeof Symbol=="function"&&Symbol.iterator,n=p&&a[p],i=0;if(n)return n.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&i>=a.length&&(a=void 0),{value:a&&a[i++],done:!a}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(3),y=o(0),m=function(){function a(){}return Object.defineProperty(a.prototype,"children",{get:function(){return y.create_htmlCollection(w.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"firstElementChild",{get:function(){for(var p=w.Cast.asNode(this)._firstChild;p;){if(w.Guard.isElementNode(p))return p;p=p._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastElementChild",{get:function(){for(var p=w.Cast.asNode(this)._lastChild;p;){if(w.Guard.isElementNode(p))return p;p=p._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"childElementCount",{get:function(){var p,n,i=0;try{for(var u=v(w.Cast.asNode(this)._children),s=u.next();!s.done;s=u.next()){var f=s.value;w.Guard.isElementNode(f)&&i++}}catch(d){p={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(p)throw p.error}}return i},enumerable:!0,configurable:!0}),a.prototype.prepend=function(){for(var p=[],n=0;n0)&&!(d=t.next()).done;)e.push(d.value)}catch(g){c={error:g}}finally{try{d&&!d.done&&(f=t.return)&&f.call(t)}finally{if(c)throw c.error}}return e},w=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var y=o(180),m=o(111),a=o(7),p=o(0),n=o(69),i=function(){function u(){}return u.prototype.parse=function(s){for(var f,d,c,t,e=new y.XMLStringLexer(s,{skipWhitespaceOnlyText:!0}),g=p.create_document(),x=g,_=e.nextToken();_.type!==m.TokenType.EOF;){switch(_.type){case m.TokenType.Declaration:var b=_;if(b.version!=="1.0")throw new Error("Invalid xml version: "+b.version);break;case m.TokenType.DocType:var S=_;if(!p.xml_isPubidChar(S.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!p.xml_isLegalChar(S.sysId)||S.sysId.indexOf('"')!==-1&&S.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");x.appendChild(g.implementation.createDocumentType(S.name,S.pubId,S.sysId));break;case m.TokenType.CDATA:var C=_;if(!p.xml_isLegalChar(C.data)||C.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");x.appendChild(g.createCDATASection(C.data));break;case m.TokenType.Comment:var T=_;if(!p.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");x.appendChild(g.createComment(T.data));break;case m.TokenType.PI:var N=_;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!p.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");x.appendChild(g.createProcessingInstruction(N.target,N.data));break;case m.TokenType.Text:var I=_;if(!p.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");x.appendChild(g.createTextNode(this._decodeText(I.data)));break;case m.TokenType.Element:var R=_,P=v(p.namespace_extractQName(R.name),2),G=P[0],J=P[1];if(J.indexOf(":")!==-1||!p.xml_isName(J))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=x.lookupNamespaceURI(G),z={};try{for(var X=(f=void 0,w(R.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],he=ee[1];if(re==="xmlns")Y=he;else{var me=v(p.namespace_extractQName(re),2),ne=me[0],Q=me[1];ne==="xmlns"&&(Q===G&&(Y=he),z[Q]=he)}}}catch(M){f={error:M}}finally{try{H&&!H.done&&(d=X.return)&&d.call(X)}finally{if(f)throw f.error}}var ie=Y!==null?g.createElementNS(Y,R.name):g.createElement(R.name);x.appendChild(ie);var ue=new n.LocalNameSet;try{for(var ce=(c=void 0,w(R.attributes)),k=ce.next();!k.done;k=ce.next()){var D=v(k.value,2),L=(re=D[0],he=D[1],v(p.namespace_extractQName(re),2)),B=(ne=L[0],Q=L[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?B=a.namespace.XMLNS:(B=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(B)?B=null:B===null&&ne!==null&&(B=z[ne]||null),ue.has(B,Q))throw new Error("Element contains duplicate attributes.");if(ue.set(B,Q),B===a.namespace.XMLNS&&he===a.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!p.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&he==="")throw new Error("Empty XML namespace is not allowed.");B!==null?ie.setAttributeNS(B,re,this._decodeAttributeValue(he)):ie.setAttribute(re,this._decodeAttributeValue(he))}}catch(M){c={error:M}}finally{try{k&&!k.done&&(t=ce.return)&&t.call(ce)}finally{if(c)throw c.error}}R.selfClosing||(x=ie);break;case m.TokenType.ClosingTag:if(_.name!==x.nodeName)throw new Error("Closing tag name does not match opening tag name.");x._parent&&(x=x._parent)}_=e.nextToken()}return g},u.prototype._decodeText=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u.prototype._decodeAttributeValue=function(s){return s==null?s:s.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},u}();l.XMLParserImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(275);l.XMLSerializer=v.XMLSerializerImpl},function(E,l,o){"use strict";var v=this&&this.__values||function(u){var s=typeof Symbol=="function"&&Symbol.iterator,f=s&&u[s],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var w=o(2),y=o(69),m=o(95),a=o(9),p=o(7),n=o(0),i=function(){function u(){}return u.prototype.serializeToString=function(s){return this._xmlSerialization(s,!1)},u.prototype._xmlSerialization=function(s,f){if(s._nodeDocument===void 0||s._nodeDocument._hasNamespaces){var d=new m.NamespacePrefixMap;d.set("xml",p.namespace.XML);try{return this._serializeNodeNS(s,null,d,{value:1},f)}catch{throw new a.InvalidStateError}}else try{return this._serializeNode(s,f)}catch{throw new a.InvalidStateError}},u.prototype._serializeNodeNS=function(s,f,d,c,t){switch(s.nodeType){case w.NodeType.Element:return this._serializeElementNS(s,f,d,c,t);case w.NodeType.Document:return this._serializeDocumentNS(s,f,d,c,t);case w.NodeType.Comment:return this._serializeComment(s,t);case w.NodeType.Text:return this._serializeText(s,t);case w.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(s,f,d,c,t);case w.NodeType.DocumentType:return this._serializeDocumentType(s,t);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,t);case w.NodeType.CData:return this._serializeCData(s,t);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeNode=function(s,f){switch(s.nodeType){case w.NodeType.Element:return this._serializeElement(s,f);case w.NodeType.Document:return this._serializeDocument(s,f);case w.NodeType.Comment:return this._serializeComment(s,f);case w.NodeType.Text:return this._serializeText(s,f);case w.NodeType.DocumentFragment:return this._serializeDocumentFragment(s,f);case w.NodeType.DocumentType:return this._serializeDocumentType(s,f);case w.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(s,f);case w.NodeType.CData:return this._serializeCData(s,f);default:throw new Error("Unknown node type: "+s.nodeType)}},u.prototype._serializeElementNS=function(s,f,d,c,t){var e,g;if(t&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var x="<",_="",b=!1,S=!1,C=d.copy(),T={},N=this._recordNamespaceInformation(s,C,T),I=f,R=s.namespaceURI;if(I===R)N!==null&&(S=!0),x+=_=R===p.namespace.XML?"xml:"+s.localName:s.localName;else{var P=s.prefix,G=null;if(P===null&&R===N||(G=C.get(P,R)),P==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=P}G!==null?(_=G+":"+s.localName,N!==null&&N!==p.namespace.XML&&(I=N||null),x+=_):P!==null?(P in T&&(P=this._generatePrefix(R,C,c)),C.set(P,R),x+=_+=P+":"+s.localName,x+=" xmlns:"+P+'="'+this._serializeAttributeValue(R,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==R?(S=!0,I=R,x+=_+=s.localName,x+=' xmlns="'+this._serializeAttributeValue(R,t)+'"'):(I=R,x+=_+=s.localName)}x+=this._serializeAttributesNS(s,C,c,T,S,t);var J=R===p.namespace.HTML;if(J&&s.childNodes.length===0&&u._VoidElementNames.has(s.localName)?(x+=" /",b=!0):J||s.childNodes.length!==0||(x+="/",b=!0),x+=">",b)return x;if(!(J&&s.localName==="template"))try{for(var Y=v(s._children||s.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;x+=this._serializeNodeNS(X,I,C,c,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return x+=""},u.prototype._serializeDocumentNS=function(s,f,d,c,t){var e,g;if(t&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeComment=function(s,f){if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("--")!==-1||s.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},u.prototype._serializeText=function(s,f){if(f&&!n.xml_isLegalChar(s.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var d="",c=0;c"?">":t}return d},u.prototype._serializeDocumentFragmentNS=function(s,f,d,c,t){var e,g,x="";try{for(var _=v(s._children||s.childNodes),b=_.next();!b.done;b=_.next()){var S=b.value;x+=this._serializeNodeNS(S,f,d,c,t)}}catch(C){e={error:C}}finally{try{b&&!b.done&&(g=_.return)&&g.call(_)}finally{if(e)throw e.error}}return x},u.prototype._serializeDocumentType=function(s,f){if(f&&!n.xml_isPubidChar(s.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(f&&(!n.xml_isLegalChar(s.systemId)||s.systemId.indexOf('"')!==-1&&s.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return s.publicId&&s.systemId?"':s.publicId?"':s.systemId?"':""},u.prototype._serializeProcessingInstruction=function(s,f){if(f&&(s.target.indexOf(":")!==-1||/^xml$/i.test(s.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(f&&(!n.xml_isLegalChar(s.data)||s.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},u.prototype._serializeCData=function(s,f){if(f&&s.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},u.prototype._serializeAttributesNS=function(s,f,d,c,t,e){var g,x,_="",b=e?new y.LocalNameSet:void 0;try{for(var S=v(s.attributes),C=S.next();!C.done;C=S.next()){var T=C.value;if(t||e||T.namespaceURI!==null){if(e&&b&&b.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&b&&b.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=f.get(T.prefix,N),N===p.namespace.XMLNS){if(T.value===p.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in c)||c[T.localName]!==T.value)&&f.has(T.localName,T.value))continue;if(e&&T.value===p.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(_+=" xmlns:"+(I=T.prefix===null||f.hasPrefix(T.prefix)&&!f.has(T.prefix,N)?this._generatePrefix(N,f,d):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(_+=" ",I!==null&&(_+=I+":"),e&&(T.localName.indexOf(":")!==-1||!n.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");_+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else _+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(R){g={error:R}}finally{try{C&&!C.done&&(x=S.return)&&x.call(S)}finally{if(g)throw g.error}}return _},u.prototype._recordNamespaceInformation=function(s,f,d){var c,t,e=null;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value,b=_.namespaceURI,S=_.prefix;if(b===p.namespace.XMLNS){if(S===null){e=_.value;continue}var C=_.localName,T=_.value;if(T===p.namespace.XML||(T===""&&(T=null),f.has(C,T)))continue;f.set(C,T),d[C]=T||""}}}catch(N){c={error:N}}finally{try{x&&!x.done&&(t=g.return)&&t.call(g)}finally{if(c)throw c.error}}return e},u.prototype._generatePrefix=function(s,f,d){var c="ns"+d.value;return d.value++,f.set(c,s),c},u.prototype._serializeAttributeValue=function(s,f){if(f&&s!==null&&!n.xml_isLegalChar(s))throw new Error("Invalid characters in attribute value.");if(s===null)return"";for(var d="",c=0;c"?">":t}return d},u.prototype._serializeElement=function(s,f){var d,c;if(f&&(s.localName.indexOf(":")!==-1||!n.xml_isName(s.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=s.localName,g="<"+e;if(g+=this._serializeAttributes(s,f),s._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var x=v(s._children),_=x.next();!_.done;_=x.next()){var b=_.value;g+=this._serializeNode(b,f)}}catch(S){d={error:S}}finally{try{_&&!_.done&&(c=x.return)&&c.call(x)}finally{if(d)throw d.error}}return g+=""},u.prototype._serializeDocument=function(s,f){var d,c;if(f&&s.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeDocumentFragment=function(s,f){var d,c,t="";try{for(var e=v(s._children),g=e.next();!g.done;g=e.next()){var x=g.value;t+=this._serializeNode(x,f)}}catch(_){d={error:_}}finally{try{g&&!g.done&&(c=e.return)&&c.call(e)}finally{if(d)throw d.error}}return t},u.prototype._serializeAttributes=function(s,f){var d,c,t="",e=f?{}:void 0;try{for(var g=v(s.attributes),x=g.next();!x.done;x=g.next()){var _=x.value;if(f&&e&&_.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(f&&e&&(e[_.localName]=!0),f&&(_.localName.indexOf(":")!==-1||!n.xml_isName(_.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+_.localName+'="'+this._serializeAttributeValue(_.value,f)+'"'}}catch(b){d={error:b}}finally{try{x&&!x.done&&(c=g.return)&&c.call(g)}finally{if(d)throw d.error}}return t},u._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),u}();l.XMLSerializerImpl=i},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(277);l.XMLReader=v.XMLReader;var w=o(112);l.ObjectReader=w.ObjectReader;var y=o(280);l.JSONReader=y.JSONReader;var m=o(281);l.YAMLReader=m.YAMLReader},function(E,l,o){"use strict";o(31),o(32),o(33),o(19),o(65),o(20),o(22),o(23);var v,w=this&&this.__extends||(v=function(s,f){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,c){d.__proto__=c}||function(d,c){for(var t in c)c.hasOwnProperty(t)&&(d[t]=c[t])})(s,f)},function(s,f){function d(){this.constructor=s}v(s,f),s.prototype=f===null?Object.create(f):(d.prototype=f.prototype,new d)}),y=this&&this.__read||function(s,f){var d=typeof Symbol=="function"&&s[Symbol.iterator];if(!d)return s;var c,t,e=d.call(s),g=[];try{for(;(f===void 0||f-- >0)&&!(c=e.next()).done;)g.push(c.value)}catch(x){t={error:x}}finally{try{c&&!c.done&&(d=e.return)&&d.call(e)}finally{if(t)throw t.error}}return g},m=this&&this.__values||function(s){var f=typeof Symbol=="function"&&Symbol.iterator,d=f&&s[f],c=0;if(d)return d.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&c>=s.length&&(s=void 0),{value:s&&s[c++],done:!s}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(l,"__esModule",{value:!0});var a=o(180),p=o(111),n=o(7),i=o(0),u=function(s){function f(){return s!==null&&s.apply(this,arguments)||this}return w(f,s),f.prototype._parse=function(d,c){for(var t,e,g,x,_=new a.XMLStringLexer(c,{skipWhitespaceOnlyText:!0}),b=d,S=d,C=_.nextToken();C.type!==p.TokenType.EOF;){switch(C.type){case p.TokenType.Declaration:var T=C,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),S.set(I);break;case p.TokenType.DocType:var R=C;S=this.docType(S,this.sanitize(R.name),this.sanitize(R.pubId),this.sanitize(R.sysId))||S;break;case p.TokenType.CDATA:var P=C;S=this.cdata(S,this.sanitize(P.data))||S;break;case p.TokenType.Comment:var G=C;S=this.comment(S,this.sanitize(G.data))||S;break;case p.TokenType.PI:var J=C;S=this.instruction(S,this.sanitize(J.target),this.sanitize(J.data))||S;break;case p.TokenType.Text:var Y=C;S=this.text(S,this._decodeText(this.sanitize(Y.data)))||S;break;case p.TokenType.Element:var z=C,X=this.sanitize(z.name),H=y(i.namespace_extractQName(X),1)[0],ee=S.node.lookupNamespaceURI(H),re={};try{for(var he=(t=void 0,m(z.attributes)),me=he.next();!me.done;me=he.next()){var ne=y(me.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var ue=y(i.namespace_extractQName(Q),2),ce=ue[0],k=ue[1];ce==="xmlns"&&(k===H&&(ee=ie),re[k]=ie)}}}catch(oe){t={error:oe}}finally{try{me&&!me.done&&(e=he.return)&&e.call(he)}finally{if(t)throw t.error}}var D=ee!==null?this.element(S,ee,X):this.element(S,void 0,X);if(D===void 0)break;S.node===d.node&&(b=D);try{for(var L=(g=void 0,m(z.attributes)),B=L.next();!B.done;B=L.next()){var M=y(B.value,2);Q=M[0],ie=M[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=y(i.namespace_extractQName(Q),2),W=(ce=q[0],k=q[1],null);ce==="xmlns"||ce===null&&k==="xmlns"?W=n.namespace.XMLNS:(W=D.node.lookupNamespaceURI(ce))!==null&&D.node.isDefaultNamespace(W)?W=null:W===null&&ce!==null&&(W=re[ce]||null),W!==null?this.attribute(D,W,Q,this._decodeAttributeValue(ie)):this.attribute(D,void 0,Q,this._decodeAttributeValue(ie))}}catch(oe){g={error:oe}}finally{try{B&&!B.done&&(x=L.return)&&x.call(L)}finally{if(g)throw g.error}}z.selfClosing||(S=D);break;case p.TokenType.ClosingTag:S.node.parentNode&&(S=S.up())}C=_.nextToken()}return b},f}(o(75).BaseReader);l.XMLReader=u},function(E,l,o){var v=o(4),w=o(279);v({target:"Object",stat:!0,forced:Object.assign!==w},{assign:w})},function(E,l,o){"use strict";var v=o(16),w=o(8),y=o(61),m=o(85),a=o(79),p=o(27),n=o(41),i=Object.assign,u=Object.defineProperty;E.exports=!i||w(function(){if(v&&i({b:1},i(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var s={},f={},d=Symbol();return s[d]=7,"abcdefghijklmnopqrst".split("").forEach(function(c){f[c]=c}),i({},s)[d]!=7||y(i({},f)).join("")!="abcdefghijklmnopqrst"})?function(s,f){for(var d=p(s),c=arguments.length,t=1,e=m.f,g=a.f;c>t;)for(var x,_=n(arguments[t++]),b=e?y(_).concat(e(_)):y(_),S=b.length,C=0;S>C;)x=b[C++],v&&!g.call(_,x)||(d[x]=_[x]);return d}:i},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(a,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)i.hasOwnProperty(u)&&(n[u]=i[u])})(a,p)},function(a,p){function n(){this.constructor=a}v(a,p),a.prototype=p===null?Object.create(p):(n.prototype=p.prototype,new n)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=function(a){function p(){return a!==null&&a.apply(this,arguments)||this}return w(p,a),p.prototype._parse=function(n,i){return new y.ObjectReader(this._builderOptions).parse(n,JSON.parse(i))},p}(o(75).BaseReader);l.JSONReader=m},function(E,l,o){"use strict";var v,w=this&&this.__extends||(v=function(n,i){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,s){u.__proto__=s}||function(u,s){for(var f in s)s.hasOwnProperty(f)&&(u[f]=s[f])})(n,i)},function(n,i){function u(){this.constructor=n}v(n,i),n.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)});Object.defineProperty(l,"__esModule",{value:!0});var y=o(112),m=o(75),a=o(282),p=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return w(i,n),i.prototype._parse=function(u,s){var f=a.safeLoad(s);if(f===void 0)throw new Error("Unable to parse YAML document.");return new y.ObjectReader(this._builderOptions).parse(u,f)},i}(m.BaseReader);l.YAMLReader=p},function(E,l,o){"use strict";var v=o(283);E.exports=v},function(E,l,o){"use strict";var v=o(284),w=o(303);function y(m){return function(){throw new Error("Function "+m+" is deprecated and cannot be used.")}}E.exports.Type=o(10),E.exports.Schema=o(39),E.exports.FAILSAFE_SCHEMA=o(113),E.exports.JSON_SCHEMA=o(182),E.exports.CORE_SCHEMA=o(181),E.exports.DEFAULT_SAFE_SCHEMA=o(54),E.exports.DEFAULT_FULL_SCHEMA=o(76),E.exports.load=v.load,E.exports.loadAll=v.loadAll,E.exports.safeLoad=v.safeLoad,E.exports.safeLoadAll=v.safeLoadAll,E.exports.dump=w.dump,E.exports.safeDump=w.safeDump,E.exports.YAMLException=o(53),E.exports.MINIMAL_SCHEMA=o(113),E.exports.SAFE_SCHEMA=o(54),E.exports.DEFAULT_SCHEMA=o(76),E.exports.scan=y("scan"),E.exports.parse=y("parse"),E.exports.compose=y("compose"),E.exports.addConstructor=y("addConstructor")},function(E,l,o){"use strict";var v=o(38),w=o(53),y=o(285),m=o(54),a=o(76),p=Object.prototype.hasOwnProperty,n=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/[\x85\u2028\u2029]/,u=/[,\[\]\{\}]/,s=/^(?:!|!!|![a-z\-]+!)$/i,f=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function d(D){return Object.prototype.toString.call(D)}function c(D){return D===10||D===13}function t(D){return D===9||D===32}function e(D){return D===9||D===32||D===10||D===13}function g(D){return D===44||D===91||D===93||D===123||D===125}function x(D){var L;return 48<=D&&D<=57?D-48:97<=(L=32|D)&&L<=102?L-97+10:-1}function _(D){return D===48?"\0":D===97?"\x07":D===98?"\b":D===116||D===9?" ":D===110?` -`:D===118?"\v":D===102?"\f":D===114?"\r":D===101?"\x1B":D===32?" ":D===34?'"':D===47?"/":D===92?"\\":D===78?"\x85":D===95?"\xA0":D===76?"\u2028":D===80?"\u2029":""}function b(D){return D<=65535?String.fromCharCode(D):String.fromCharCode(55296+(D-65536>>10),56320+(D-65536&1023))}for(var S=new Array(256),C=new Array(256),T=0;T<256;T++)S[T]=_(T)?1:0,C[T]=_(T);function N(D,L){this.input=D,this.filename=L.filename||null,this.schema=L.schema||a,this.onWarning=L.onWarning||null,this.legacy=L.legacy||!1,this.json=L.json||!1,this.listener=L.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=D.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(D,L){return new w(L,new y(D.filename,D.input,D.position,D.line,D.position-D.lineStart))}function R(D,L){throw I(D,L)}function P(D,L){D.onWarning&&D.onWarning.call(null,I(D,L))}var G={YAML:function(D,L,B){var M,q,W;D.version!==null&&R(D,"duplication of %YAML directive"),B.length!==1&&R(D,"YAML directive accepts exactly one argument"),(M=/^([0-9]+)\.([0-9]+)$/.exec(B[0]))===null&&R(D,"ill-formed argument of the YAML directive"),q=parseInt(M[1],10),W=parseInt(M[2],10),q!==1&&R(D,"unacceptable YAML version of the document"),D.version=B[0],D.checkLineBreaks=W<2,W!==1&&W!==2&&P(D,"unsupported YAML version of the document")},TAG:function(D,L,B){var M,q;B.length!==2&&R(D,"TAG directive accepts exactly two arguments"),M=B[0],q=B[1],s.test(M)||R(D,"ill-formed tag handle (first argument) of the TAG directive"),p.call(D.tagMap,M)&&R(D,'there is a previously declared suffix for "'+M+'" tag handle'),f.test(q)||R(D,"ill-formed tag prefix (second argument) of the TAG directive"),D.tagMap[M]=q}};function J(D,L,B,M){var q,W,oe,de;if(L1&&(D.result+=v.repeat(` -`,L-1))}function he(D,L){var B,M,q=D.tag,W=D.anchor,oe=[],de=!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=oe),M=D.input.charCodeAt(D.position);M!==0&&M===45&&e(D.input.charCodeAt(D.position+1));)if(de=!0,D.position++,H(D,!0,-1)&&D.lineIndent<=L)oe.push(null),M=D.input.charCodeAt(D.position);else if(B=D.line,Q(D,L,3,!1,!0),oe.push(D.result),H(D,!0,-1),M=D.input.charCodeAt(D.position),(D.line===B||D.lineIndent>L)&&M!==0)R(D,"bad indentation of a sequence entry");else if(D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentL?Je=1:D.lineIndent===L?Je=0:D.lineIndentqe)&&(Q(K,qe,4,!0,ae)&&(st?gt=K.result:_t=K.result),st||(z(K,Me,We,Ve,gt,_t,_e,xe),Ve=gt=_t=null),H(K,!0,-1),Te=K.input.charCodeAt(K.position)),K.lineIndent>qe&&Te!==0)R(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;ae===0?R(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):je?R(K,"repeat of an indentation width identifier"):(Me=qe+ae-1,je=!0)}if(t(_e)){do _e=K.input.charCodeAt(++K.position);while(t(_e));if(_e===35)do _e=K.input.charCodeAt(++K.position);while(!c(_e)&&_e!==0)}for(;_e!==0;){for(X(K),K.lineIndent=0,_e=K.input.charCodeAt(K.position);(!je||K.lineIndentMe&&(Me=K.lineIndent),c(_e))We++;else{if(K.lineIndent0){for(ae=xe,_e=0;ae>0;ae--)(xe=x(Te=K.input.charCodeAt(++K.position)))>=0?_e=(_e<<4)+xe:R(K,"expected hexadecimal character");K.result+=b(_e),K.position++}else R(K,"unknown escape sequence");ze=Ne=K.position}else c(Te)?(J(K,ze,Ne,!0),re(K,H(K,!1,qe)),ze=Ne=K.position):K.position===K.lineStart&&ee(K)?R(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Ne=K.position)}R(K,"unexpected end of the stream within a double quoted scalar")}(D,Le)?at=!0:function(K){var qe,ze,Ne;if((Ne=K.input.charCodeAt(K.position))!==42)return!1;for(Ne=K.input.charCodeAt(++K.position),qe=K.position;Ne!==0&&!e(Ne)&&!g(Ne);)Ne=K.input.charCodeAt(++K.position);return K.position===qe&&R(K,"name of an alias node must contain at least one character"),ze=K.input.slice(qe,K.position),K.anchorMap.hasOwnProperty(ze)||R(K,'unidentified alias "'+ze+'"'),K.result=K.anchorMap[ze],H(K,!0,-1),!0}(D)?(at=!0,D.tag===null&&D.anchor===null||R(D,"alias node should not have any properties")):function(K,qe,ze){var Ne,ae,_e,xe,Te,Ae,je,Me,We=K.kind,Ve=K.result;if(e(Me=K.input.charCodeAt(K.position))||g(Me)||Me===35||Me===38||Me===42||Me===33||Me===124||Me===62||Me===39||Me===34||Me===37||Me===64||Me===96||(Me===63||Me===45)&&(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne)))return!1;for(K.kind="scalar",K.result="",ae=_e=K.position,xe=!1;Me!==0;){if(Me===58){if(e(Ne=K.input.charCodeAt(K.position+1))||ze&&g(Ne))break}else if(Me===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||ze&&g(Me))break;if(c(Me)){if(Te=K.line,Ae=K.lineStart,je=K.lineIndent,H(K,!1,-1),K.lineIndent>=qe){xe=!0,Me=K.input.charCodeAt(K.position);continue}K.position=_e,K.line=Te,K.lineStart=Ae,K.lineIndent=je;break}}xe&&(J(K,ae,_e,!1),re(K,K.line-Te),ae=_e=K.position,xe=!1),t(Me)||(_e=K.position+1),Me=K.input.charCodeAt(++K.position)}return J(K,ae,_e,!1),!!K.result||(K.kind=We,K.result=Ve,!1)}(D,Le,B===1)&&(at=!0,D.tag===null&&(D.tag="?")),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):Je===0&&(at=de&&he(D,tt))),D.tag!==null&&D.tag!=="!")if(D.tag==="?"){for(D.result!==null&&D.kind!=="scalar"&&R(D,'unacceptable node kind for ! tag; it should be "scalar", not "'+D.kind+'"'),ge=0,Se=D.implicitTypes.length;ge tag; it should be "'+Be.kind+'", not "'+D.kind+'"'),Be.resolve(D.result)?(D.result=Be.construct(D.result),D.anchor!==null&&(D.anchorMap[D.anchor]=D.result)):R(D,"cannot resolve a node with !<"+D.tag+"> explicit tag")):R(D,"unknown tag !<"+D.tag+">");return D.listener!==null&&D.listener("close",D),D.tag!==null||D.anchor!==null||at}function ie(D){var L,B,M,q,W=D.position,oe=!1;for(D.version=null,D.checkLineBreaks=D.legacy,D.tagMap={},D.anchorMap={};(q=D.input.charCodeAt(D.position))!==0&&(H(D,!0,-1),q=D.input.charCodeAt(D.position),!(D.lineIndent>0||q!==37));){for(oe=!0,q=D.input.charCodeAt(++D.position),L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);for(M=[],(B=D.input.slice(L,D.position)).length<1&&R(D,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=D.input.charCodeAt(++D.position);if(q===35){do q=D.input.charCodeAt(++D.position);while(q!==0&&!c(q));break}if(c(q))break;for(L=D.position;q!==0&&!e(q);)q=D.input.charCodeAt(++D.position);M.push(D.input.slice(L,D.position))}q!==0&&X(D),p.call(G,B)?G[B](D,B,M):P(D,'unknown document directive "'+B+'"')}H(D,!0,-1),D.lineIndent===0&&D.input.charCodeAt(D.position)===45&&D.input.charCodeAt(D.position+1)===45&&D.input.charCodeAt(D.position+2)===45?(D.position+=3,H(D,!0,-1)):oe&&R(D,"directives end mark is expected"),Q(D,D.lineIndent-1,4,!1,!0),H(D,!0,-1),D.checkLineBreaks&&i.test(D.input.slice(W,D.position))&&P(D,"non-ASCII line breaks are interpreted as content"),D.documents.push(D.result),D.position===D.lineStart&&ee(D)?D.input.charCodeAt(D.position)===46&&(D.position+=3,H(D,!0,-1)):D.position0&&`\0\r -\x85\u2028\u2029`.indexOf(this.buffer.charAt(p-1))===-1;)if(p-=1,this.position-p>m/2-1){a=" ... ",p+=5;break}for(n="",i=this.position;im/2-1){n=" ... ",i-=5;break}return u=this.buffer.slice(p,i),v.repeat(" ",y)+a+u+n+` -`+v.repeat(" ",y+this.position-p+a.length)+"^"},w.prototype.toString=function(y){var m,a="";return this.name&&(a+='in "'+this.name+'" '),a+="at line "+(this.line+1)+", column "+(this.column+1),y||(m=this.getSnippet())&&(a+=`: -`+m),a},E.exports=w},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(w){return w!==null?w:""}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(w){return w!==null?w:[]}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(w){return w!==null?w:{}}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(w){if(w===null)return!0;var y=w.length;return y===1&&w==="~"||y===4&&(w==="null"||w==="Null"||w==="NULL")},construct:function(){return null},predicate:function(w){return w===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(w){if(w===null)return!1;var y=w.length;return y===4&&(w==="true"||w==="True"||w==="TRUE")||y===5&&(w==="false"||w==="False"||w==="FALSE")},construct:function(w){return w==="true"||w==="True"||w==="TRUE"},predicate:function(w){return Object.prototype.toString.call(w)==="[object Boolean]"},represent:{lowercase:function(w){return w?"true":"false"},uppercase:function(w){return w?"TRUE":"FALSE"},camelcase:function(w){return w?"True":"False"}},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(38),w=o(10);function y(a){return 48<=a&&a<=55}function m(a){return 48<=a&&a<=57}E.exports=new w("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(a){if(a===null)return!1;var p,n,i=a.length,u=0,s=!1;if(!i)return!1;if((p=a[u])!=="-"&&p!=="+"||(p=a[++u]),p==="0"){if(u+1===i)return!0;if((p=a[++u])==="b"){for(u++;u=0?"0b"+a.toString(2):"-0b"+a.toString(2).slice(1)},octal:function(a){return a>=0?"0"+a.toString(8):"-0"+a.toString(8).slice(1)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return a>=0?"0x"+a.toString(16).toUpperCase():"-0x"+a.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(E,l,o){"use strict";var v=o(38),w=o(10),y=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),m=/^[-+]?[0-9]+e/;E.exports=new w("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(a){return a!==null&&!(!y.test(a)||a[a.length-1]==="_")},construct:function(a){var p,n,i,u;return n=(p=a.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,u=[],"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:p.indexOf(":")>=0?(p.split(":").forEach(function(s){u.unshift(parseFloat(s,10))}),p=0,i=1,u.forEach(function(s){p+=s*i,i*=60}),n*p):n*parseFloat(p,10)},predicate:function(a){return Object.prototype.toString.call(a)==="[object Number]"&&(a%1!=0||v.isNegativeZero(a))},represent:function(a,p){var n;if(isNaN(a))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(a))return"-0.0";return n=a.toString(10),m.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(E,l,o){"use strict";var v=o(10),w=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),y=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");E.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(m){return m!==null&&(w.exec(m)!==null||y.exec(m)!==null)},construct:function(m){var a,p,n,i,u,s,f,d,c=0,t=null;if((a=w.exec(m))===null&&(a=y.exec(m)),a===null)throw new Error("Date resolve error");if(p=+a[1],n=+a[2]-1,i=+a[3],!a[4])return new Date(Date.UTC(p,n,i));if(u=+a[4],s=+a[5],f=+a[6],a[7]){for(c=a[7].slice(0,3);c.length<3;)c+="0";c=+c}return a[9]&&(t=6e4*(60*+a[10]+ +(a[11]||0)),a[9]==="-"&&(t=-t)),d=new Date(Date.UTC(p,n,i,u,s,f,c)),t&&d.setTime(d.getTime()-t),d},instanceOf:Date,represent:function(m){return m.toISOString()}})},function(E,l,o){"use strict";var v=o(10);E.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(w){return w==="<<"||w===null}})},function(E,l,o){"use strict";var v;try{v=o(145).Buffer}catch{}var w=o(10),y=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;E.exports=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(m){if(m===null)return!1;var a,p,n=0,i=m.length,u=y;for(p=0;p64)){if(a<0)return!1;n+=6}return n%8==0},construct:function(m){var a,p,n=m.replace(/[\r\n=]/g,""),i=n.length,u=y,s=0,f=[];for(a=0;a>16&255),f.push(s>>8&255),f.push(255&s)),s=s<<6|u.indexOf(n.charAt(a));return(p=i%4*6)===0?(f.push(s>>16&255),f.push(s>>8&255),f.push(255&s)):p===18?(f.push(s>>10&255),f.push(s>>2&255)):p===12&&f.push(s>>4&255),v?v.from?v.from(f):new v(f):f},predicate:function(m){return v&&v.isBuffer(m)},represent:function(m){var a,p,n="",i=0,u=m.length,s=y;for(a=0;a>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]),i=(i<<8)+m[a];return(p=u%3)===0?(n+=s[i>>18&63],n+=s[i>>12&63],n+=s[i>>6&63],n+=s[63&i]):p===2?(n+=s[i>>10&63],n+=s[i>>4&63],n+=s[i<<2&63],n+=s[64]):p===1&&(n+=s[i>>2&63],n+=s[i<<4&63],n+=s[64],n+=s[64]),n}})},function(E,l,o){"use strict";var v=o(10),w=Object.prototype.hasOwnProperty,y=Object.prototype.toString;E.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(m){if(m===null)return!0;var a,p,n,i,u,s=[],f=m;for(a=0,p=f.length;a3||y[y.length-a.length-1]!=="/"))},construct:function(w){var y=w,m=/\/([gim]*)$/.exec(w),a="";return y[0]==="/"&&(m&&(a=m[1]),y=y.slice(1,y.length-a.length-1)),new RegExp(y,a)},predicate:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},represent:function(w){var y="/"+w.source+"/";return w.global&&(y+="g"),w.multiline&&(y+="m"),w.ignoreCase&&(y+="i"),y}})},function(E,l,o){"use strict";var v;try{v=o(302)}catch{typeof window<"u"&&(v=window.esprima)}var w=o(10);E.exports=new w("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(y){if(y===null)return!1;try{var m="("+y+")",a=v.parse(m,{range:!0});return a.type==="Program"&&a.body.length===1&&a.body[0].type==="ExpressionStatement"&&(a.body[0].expression.type==="ArrowFunctionExpression"||a.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(y){var m,a="("+y+")",p=v.parse(a,{range:!0}),n=[];if(p.type!=="Program"||p.body.length!==1||p.body[0].type!=="ExpressionStatement"||p.body[0].expression.type!=="ArrowFunctionExpression"&&p.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return p.body[0].expression.params.forEach(function(i){n.push(i.name)}),m=p.body[0].expression.body.range,p.body[0].expression.body.type==="BlockStatement"?new Function(n,a.slice(m[0]+1,m[1]-1)):new Function(n,"return "+a.slice(m[0],m[1]))},predicate:function(y){return Object.prototype.toString.call(y)==="[object Function]"},represent:function(y){return y.toString()}})},function(E,l,o){var v;v=function(){return function(w){var y={};function m(a){if(y[a])return y[a].exports;var p=y[a]={exports:{},id:a,loaded:!1};return w[a].call(p.exports,p,p.exports,m),p.loaded=!0,p.exports}return m.m=w,m.c=y,m.p="",m(0)}([function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(1),p=m(3),n=m(8),i=m(15);function u(f,d,c){var t=null,e=function(T,N){c&&c(T,N),t&&t.visit(T,N)},g=typeof c=="function"?e:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var _=typeof d.attachComment=="boolean"&&d.attachComment;(x||_)&&((t=new a.CommentHandler).attach=_,d.comment=!0,g=e)}var b,S=!1;d&&typeof d.sourceType=="string"&&(S=d.sourceType==="module"),b=d&&typeof d.jsx=="boolean"&&d.jsx?new p.JSXParser(f,d,g):new n.Parser(f,d,g);var C=S?b.parseModule():b.parseScript();return x&&t&&(C.comments=t.comments),b.config.tokens&&(C.tokens=b.tokens),b.config.tolerant&&(C.errors=b.errorHandler.errors),C}y.parse=u,y.parseModule=function(f,d,c){var t=d||{};return t.sourceType="module",u(f,t,c)},y.parseScript=function(f,d,c){var t=d||{};return t.sourceType="script",u(f,t,c)},y.tokenize=function(f,d,c){var t,e=new i.Tokenizer(f,d);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;c&&(g=c(g)),t.push(g)}}catch(x){e.errorHandler.tolerate(x)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var s=m(2);y.Syntax=s.Syntax,y.version="4.0.1"},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(i,u){if(i.type===a.Syntax.BlockStatement&&i.body.length===0){for(var s=[],f=this.leading.length-1;f>=0;--f){var d=this.leading[f];u.end.offset>=d.start&&(s.unshift(d.comment),this.leading.splice(f,1),this.trailing.splice(f,1))}s.length&&(i.innerComments=s)}},n.prototype.findTrailingComments=function(i){var u=[];if(this.trailing.length>0){for(var s=this.trailing.length-1;s>=0;--s){var f=this.trailing[s];f.start>=i.end.offset&&u.unshift(f.comment)}return this.trailing.length=0,u}var d=this.stack[this.stack.length-1];if(d&&d.node.trailingComments){var c=d.node.trailingComments[0];c&&c.range[0]>=i.end.offset&&(u=d.node.trailingComments,delete d.node.trailingComments)}return u},n.prototype.findLeadingComments=function(i){for(var u,s=[];this.stack.length>0&&(c=this.stack[this.stack.length-1])&&c.start>=i.start.offset;)u=c.node,this.stack.pop();if(u){for(var f=(u.leadingComments?u.leadingComments.length:0)-1;f>=0;--f){var d=u.leadingComments[f];d.range[1]<=i.start.offset&&(s.unshift(d),u.leadingComments.splice(f,1))}return u.leadingComments&&u.leadingComments.length===0&&delete u.leadingComments,s}for(f=this.leading.length-1;f>=0;--f){var c;(c=this.leading[f]).start<=i.start.offset&&(s.unshift(c.comment),this.leading.splice(f,1))}return s},n.prototype.visitNode=function(i,u){if(!(i.type===a.Syntax.Program&&i.body.length>0)){this.insertInnerComments(i,u);var s=this.findTrailingComments(u),f=this.findLeadingComments(u);f.length>0&&(i.leadingComments=f),s.length>0&&(i.trailingComments=s),this.stack.push({node:i,start:u.start.offset})}},n.prototype.visitComment=function(i,u){var s=i.type[0]==="L"?"Line":"Block",f={type:s,value:i.value};if(i.range&&(f.range=i.range),i.loc&&(f.loc=i.loc),this.comments.push(f),this.attach){var d={comment:{type:s,value:i.value,range:[u.start.offset,u.end.offset]},start:u.start.offset};i.loc&&(d.comment.loc=i.loc),i.type=s,this.leading.push(d),this.trailing.push(d)}},n.prototype.visit=function(i,u){i.type==="LineComment"||i.type==="BlockComment"?this.visitComment(i,u):this.attach&&this.visitNode(i,u)},n}();y.CommentHandler=p},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(w,y,m){"use strict";var a,p=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,x){g.__proto__=x}||function(g,x){for(var _ in x)x.hasOwnProperty(_)&&(g[_]=x[_])},function(g,x){function _(){this.constructor=g}a(g,x),g.prototype=x===null?Object.create(x):(_.prototype=x.prototype,new _)});Object.defineProperty(y,"__esModule",{value:!0});var n=m(4),i=m(5),u=m(6),s=m(7),f=m(8),d=m(13),c=m(14);function t(g){var x;switch(g.type){case u.JSXSyntax.JSXIdentifier:x=g.name;break;case u.JSXSyntax.JSXNamespacedName:var _=g;x=t(_.namespace)+":"+t(_.name);break;case u.JSXSyntax.JSXMemberExpression:var b=g;x=t(b.object)+"."+t(b.property)}return x}d.TokenName[100]="JSXIdentifier",d.TokenName[101]="JSXText";var e=function(g){function x(_,b,S){return g.call(this,_,b,S)||this}return p(x,g),x.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},x.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},x.prototype.finishJSX=function(){this.nextToken()},x.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},x.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},x.prototype.scanXHTMLEntity=function(_){for(var b="&",S=!0,C=!1,T=!1,N=!1;!this.scanner.eof()&&S&&!C;){var I=this.scanner.source[this.scanner.index];if(I===_)break;if(C=I===";",b+=I,++this.scanner.index,!C)switch(b.length){case 2:T=I==="#";break;case 3:T&&(S=(N=I==="x")||n.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:S=(S=S&&!(T&&!n.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!n.Character.isHexDigit(I.charCodeAt(0)))}}if(S&&C&&b.length>2){var R=b.substr(1,b.length-2);T&&R.length>1?b=String.fromCharCode(parseInt(R.substr(1),10)):N&&R.length>2?b=String.fromCharCode(parseInt("0"+R.substr(1),16)):T||N||!c.XHTMLEntities[R]||(b=c.XHTMLEntities[R])}return b},x.prototype.lexJSX=function(){var _=this.scanner.source.charCodeAt(this.scanner.index);if(_===60||_===62||_===47||_===58||_===61||_===123||_===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(_===34||_===39){for(var b=this.scanner.index,S=this.scanner.source[this.scanner.index++],C="";!this.scanner.eof()&&(R=this.scanner.source[this.scanner.index++])!==S;)C+=R==="&"?this.scanXHTMLEntity(S):R;return{type:8,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return b=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(_===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(n.Character.isIdentifierStart(_)&&_!==92){for(b=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var R=this.scanner.source.charCodeAt(this.scanner.index);if(n.Character.isIdentifierPart(R)&&R!==92)++this.scanner.index;else{if(R!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(b,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},x.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var _=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(_)),_},x.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var _=this.scanner.index,b="";!this.scanner.eof();){var S=this.scanner.source[this.scanner.index];if(S==="{"||S==="<")break;++this.scanner.index,b+=S,n.Character.isLineTerminator(S.charCodeAt(0))&&(++this.scanner.lineNumber,S==="\r"&&this.scanner.source[this.scanner.index]===` -`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var C={type:101,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:_,end:this.scanner.index};return b.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(C)),C},x.prototype.peekJSXToken=function(){var _=this.scanner.saveState();this.scanner.scanComments();var b=this.lexJSX();return this.scanner.restoreState(_),b},x.prototype.expectJSX=function(_){var b=this.nextJSXToken();b.type===7&&b.value===_||this.throwUnexpectedToken(b)},x.prototype.matchJSX=function(_){var b=this.peekJSXToken();return b.type===7&&b.value===_},x.prototype.parseJSXIdentifier=function(){var _=this.createJSXNode(),b=this.nextJSXToken();return b.type!==100&&this.throwUnexpectedToken(b),this.finalize(_,new i.JSXIdentifier(b.value))},x.prototype.parseJSXElementName=function(){var _=this.createJSXNode(),b=this.parseJSXIdentifier();if(this.matchJSX(":")){var S=b;this.expectJSX(":");var C=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXNamespacedName(S,C))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=b;this.expectJSX(".");var N=this.parseJSXIdentifier();b=this.finalize(_,new i.JSXMemberExpression(T,N))}return b},x.prototype.parseJSXAttributeName=function(){var _,b=this.createJSXNode(),S=this.parseJSXIdentifier();if(this.matchJSX(":")){var C=S;this.expectJSX(":");var T=this.parseJSXIdentifier();_=this.finalize(b,new i.JSXNamespacedName(C,T))}else _=S;return _},x.prototype.parseJSXStringLiteralAttribute=function(){var _=this.createJSXNode(),b=this.nextJSXToken();b.type!==8&&this.throwUnexpectedToken(b);var S=this.getTokenRaw(b);return this.finalize(_,new s.Literal(b.value,S))},x.prototype.parseJSXExpressionAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXExpressionContainer(b))},x.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},x.prototype.parseJSXNameValueAttribute=function(){var _=this.createJSXNode(),b=this.parseJSXAttributeName(),S=null;return this.matchJSX("=")&&(this.expectJSX("="),S=this.parseJSXAttributeValue()),this.finalize(_,new i.JSXAttribute(b,S))},x.prototype.parseJSXSpreadAttribute=function(){var _=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var b=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(_,new i.JSXSpreadAttribute(b))},x.prototype.parseJSXAttributes=function(){for(var _=[];!this.matchJSX("/")&&!this.matchJSX(">");){var b=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();_.push(b)}return _},x.prototype.parseJSXOpeningElement=function(){var _=this.createJSXNode();this.expectJSX("<");var b=this.parseJSXElementName(),S=this.parseJSXAttributes(),C=this.matchJSX("/");return C&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(b,C,S))},x.prototype.parseJSXBoundaryElement=function(){var _=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var b=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(_,new i.JSXClosingElement(b))}var S=this.parseJSXElementName(),C=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(_,new i.JSXOpeningElement(S,T,C))},x.prototype.parseJSXEmptyExpression=function(){var _=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(_,new i.JSXEmptyExpression)},x.prototype.parseJSXExpressionContainer=function(){var _,b=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(_=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),_=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new i.JSXExpressionContainer(_))},x.prototype.parseJSXChildren=function(){for(var _=[];!this.scanner.eof();){var b=this.createJSXChildNode(),S=this.nextJSXText();if(S.start0))break;N=this.finalize(_.node,new i.JSXElement(_.opening,_.children,_.closing)),(_=b[b.length-1]).children.push(N),b.pop()}}return _},x.prototype.parseJSXElement=function(){var _=this.createJSXNode(),b=this.parseJSXOpeningElement(),S=[],C=null;if(!b.selfClosing){var T=this.parseComplexJSXElement({node:_,opening:b,closing:C,children:S});S=T.children,C=T.closing}return this.finalize(_,new i.JSXElement(b,S,C))},x.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var _=this.parseJSXElement();return this.finishJSX(),_},x.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},x}(f.Parser);y.JSXParser=e},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};y.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&m.NonAsciiIdentifierStart.test(y.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&m.NonAsciiIdentifierPart.test(y.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(6),p=function(x){this.type=a.JSXSyntax.JSXClosingElement,this.name=x};y.JSXClosingElement=p;var n=function(x,_,b){this.type=a.JSXSyntax.JSXElement,this.openingElement=x,this.children=_,this.closingElement=b};y.JSXElement=n;var i=function(){this.type=a.JSXSyntax.JSXEmptyExpression};y.JSXEmptyExpression=i;var u=function(x){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=x};y.JSXExpressionContainer=u;var s=function(x){this.type=a.JSXSyntax.JSXIdentifier,this.name=x};y.JSXIdentifier=s;var f=function(x,_){this.type=a.JSXSyntax.JSXMemberExpression,this.object=x,this.property=_};y.JSXMemberExpression=f;var d=function(x,_){this.type=a.JSXSyntax.JSXAttribute,this.name=x,this.value=_};y.JSXAttribute=d;var c=function(x,_){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=x,this.name=_};y.JSXNamespacedName=c;var t=function(x,_,b){this.type=a.JSXSyntax.JSXOpeningElement,this.name=x,this.selfClosing=_,this.attributes=b};y.JSXOpeningElement=t;var e=function(x){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=x};y.JSXSpreadAttribute=e;var g=function(x,_){this.type=a.JSXSyntax.JSXText,this.value=x,this.raw=_};y.JSXText=g},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(2),p=function(ye){this.type=a.Syntax.ArrayExpression,this.elements=ye};y.ArrayExpression=p;var n=function(ye){this.type=a.Syntax.ArrayPattern,this.elements=ye};y.ArrayPattern=n;var i=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!1};y.ArrowFunctionExpression=i;var u=function(ye,Oe,$e){this.type=a.Syntax.AssignmentExpression,this.operator=ye,this.left=Oe,this.right=$e};y.AssignmentExpression=u;var s=function(ye,Oe){this.type=a.Syntax.AssignmentPattern,this.left=ye,this.right=Oe};y.AssignmentPattern=s;var f=function(ye,Oe,$e){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Oe,this.generator=!1,this.expression=$e,this.async=!0};y.AsyncArrowFunctionExpression=f;var d=function(ye,Oe,$e){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionDeclaration=d;var c=function(ye,Oe,$e){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=!1,this.expression=!1,this.async=!0};y.AsyncFunctionExpression=c;var t=function(ye){this.type=a.Syntax.AwaitExpression,this.argument=ye};y.AwaitExpression=t;var e=function(ye,Oe,$e){var Nt=ye==="||"||ye==="&&";this.type=Nt?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=ye,this.left=Oe,this.right=$e};y.BinaryExpression=e;var g=function(ye){this.type=a.Syntax.BlockStatement,this.body=ye};y.BlockStatement=g;var x=function(ye){this.type=a.Syntax.BreakStatement,this.label=ye};y.BreakStatement=x;var _=function(ye,Oe){this.type=a.Syntax.CallExpression,this.callee=ye,this.arguments=Oe};y.CallExpression=_;var b=function(ye,Oe){this.type=a.Syntax.CatchClause,this.param=ye,this.body=Oe};y.CatchClause=b;var S=function(ye){this.type=a.Syntax.ClassBody,this.body=ye};y.ClassBody=S;var C=function(ye,Oe,$e){this.type=a.Syntax.ClassDeclaration,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassDeclaration=C;var T=function(ye,Oe,$e){this.type=a.Syntax.ClassExpression,this.id=ye,this.superClass=Oe,this.body=$e};y.ClassExpression=T;var N=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Oe};y.ComputedMemberExpression=N;var I=function(ye,Oe,$e){this.type=a.Syntax.ConditionalExpression,this.test=ye,this.consequent=Oe,this.alternate=$e};y.ConditionalExpression=I;var R=function(ye){this.type=a.Syntax.ContinueStatement,this.label=ye};y.ContinueStatement=R;var P=function(){this.type=a.Syntax.DebuggerStatement};y.DebuggerStatement=P;var G=function(ye,Oe){this.type=a.Syntax.ExpressionStatement,this.expression=ye,this.directive=Oe};y.Directive=G;var J=function(ye,Oe){this.type=a.Syntax.DoWhileStatement,this.body=ye,this.test=Oe};y.DoWhileStatement=J;var Y=function(){this.type=a.Syntax.EmptyStatement};y.EmptyStatement=Y;var z=function(ye){this.type=a.Syntax.ExportAllDeclaration,this.source=ye};y.ExportAllDeclaration=z;var X=function(ye){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=ye};y.ExportDefaultDeclaration=X;var H=function(ye,Oe,$e){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Oe,this.source=$e};y.ExportNamedDeclaration=H;var ee=function(ye,Oe){this.type=a.Syntax.ExportSpecifier,this.exported=Oe,this.local=ye};y.ExportSpecifier=ee;var re=function(ye){this.type=a.Syntax.ExpressionStatement,this.expression=ye};y.ExpressionStatement=re;var he=function(ye,Oe,$e){this.type=a.Syntax.ForInStatement,this.left=ye,this.right=Oe,this.body=$e,this.each=!1};y.ForInStatement=he;var me=function(ye,Oe,$e){this.type=a.Syntax.ForOfStatement,this.left=ye,this.right=Oe,this.body=$e};y.ForOfStatement=me;var ne=function(ye,Oe,$e,Nt){this.type=a.Syntax.ForStatement,this.init=ye,this.test=Oe,this.update=$e,this.body=Nt};y.ForStatement=ne;var Q=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionDeclaration,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionDeclaration=Q;var ie=function(ye,Oe,$e,Nt){this.type=a.Syntax.FunctionExpression,this.id=ye,this.params=Oe,this.body=$e,this.generator=Nt,this.expression=!1,this.async=!1};y.FunctionExpression=ie;var ue=function(ye){this.type=a.Syntax.Identifier,this.name=ye};y.Identifier=ue;var ce=function(ye,Oe,$e){this.type=a.Syntax.IfStatement,this.test=ye,this.consequent=Oe,this.alternate=$e};y.IfStatement=ce;var k=function(ye,Oe){this.type=a.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Oe};y.ImportDeclaration=k;var D=function(ye){this.type=a.Syntax.ImportDefaultSpecifier,this.local=ye};y.ImportDefaultSpecifier=D;var L=function(ye){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=ye};y.ImportNamespaceSpecifier=L;var B=function(ye,Oe){this.type=a.Syntax.ImportSpecifier,this.local=ye,this.imported=Oe};y.ImportSpecifier=B;var M=function(ye,Oe){this.type=a.Syntax.LabeledStatement,this.label=ye,this.body=Oe};y.LabeledStatement=M;var q=function(ye,Oe){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe};y.Literal=q;var W=function(ye,Oe){this.type=a.Syntax.MetaProperty,this.meta=ye,this.property=Oe};y.MetaProperty=W;var oe=function(ye,Oe,$e,Nt,kr){this.type=a.Syntax.MethodDefinition,this.key=ye,this.computed=Oe,this.value=$e,this.kind=Nt,this.static=kr};y.MethodDefinition=oe;var de=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="module"};y.Module=de;var ge=function(ye,Oe){this.type=a.Syntax.NewExpression,this.callee=ye,this.arguments=Oe};y.NewExpression=ge;var Se=function(ye){this.type=a.Syntax.ObjectExpression,this.properties=ye};y.ObjectExpression=Se;var Be=function(ye){this.type=a.Syntax.ObjectPattern,this.properties=ye};y.ObjectPattern=Be;var Le=function(ye,Oe,$e,Nt,kr,Pr){this.type=a.Syntax.Property,this.key=Oe,this.computed=$e,this.value=Nt,this.kind=ye,this.method=kr,this.shorthand=Pr};y.Property=Le;var tt=function(ye,Oe,$e,Nt){this.type=a.Syntax.Literal,this.value=ye,this.raw=Oe,this.regex={pattern:$e,flags:Nt}};y.RegexLiteral=tt;var Je=function(ye){this.type=a.Syntax.RestElement,this.argument=ye};y.RestElement=Je;var we=function(ye){this.type=a.Syntax.ReturnStatement,this.argument=ye};y.ReturnStatement=we;var at=function(ye){this.type=a.Syntax.Program,this.body=ye,this.sourceType="script"};y.Script=at;var K=function(ye){this.type=a.Syntax.SequenceExpression,this.expressions=ye};y.SequenceExpression=K;var qe=function(ye){this.type=a.Syntax.SpreadElement,this.argument=ye};y.SpreadElement=qe;var ze=function(ye,Oe){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Oe};y.StaticMemberExpression=ze;var Ne=function(){this.type=a.Syntax.Super};y.Super=Ne;var ae=function(ye,Oe){this.type=a.Syntax.SwitchCase,this.test=ye,this.consequent=Oe};y.SwitchCase=ae;var _e=function(ye,Oe){this.type=a.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Oe};y.SwitchStatement=_e;var xe=function(ye,Oe){this.type=a.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Oe};y.TaggedTemplateExpression=xe;var Te=function(ye,Oe){this.type=a.Syntax.TemplateElement,this.value=ye,this.tail=Oe};y.TemplateElement=Te;var Ae=function(ye,Oe){this.type=a.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Oe};y.TemplateLiteral=Ae;var je=function(){this.type=a.Syntax.ThisExpression};y.ThisExpression=je;var Me=function(ye){this.type=a.Syntax.ThrowStatement,this.argument=ye};y.ThrowStatement=Me;var We=function(ye,Oe,$e){this.type=a.Syntax.TryStatement,this.block=ye,this.handler=Oe,this.finalizer=$e};y.TryStatement=We;var Ve=function(ye,Oe){this.type=a.Syntax.UnaryExpression,this.operator=ye,this.argument=Oe,this.prefix=!0};y.UnaryExpression=Ve;var gt=function(ye,Oe,$e){this.type=a.Syntax.UpdateExpression,this.operator=ye,this.argument=Oe,this.prefix=$e};y.UpdateExpression=gt;var _t=function(ye,Oe){this.type=a.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Oe};y.VariableDeclaration=_t;var st=function(ye,Oe){this.type=a.Syntax.VariableDeclarator,this.id=ye,this.init=Oe};y.VariableDeclarator=st;var kt=function(ye,Oe){this.type=a.Syntax.WhileStatement,this.test=ye,this.body=Oe};y.WhileStatement=kt;var Xn=function(ye,Oe){this.type=a.Syntax.WithStatement,this.object=ye,this.body=Oe};y.WithStatement=Xn;var Hn=function(ye,Oe){this.type=a.Syntax.YieldExpression,this.argument=ye,this.delegate=Oe};y.YieldExpression=Hn},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(10),n=m(11),i=m(7),u=m(12),s=m(2),f=m(13),d=function(){function c(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new p.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new u.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return c.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},c.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=x,_},c.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,x=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var _=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=x||this.context.firstCoverInitializedNameError,_},c.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},c.prototype.parsePrimaryExpression=function(){var t,e,g,x=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(x,new i.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(x,new i.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(x,new i.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(x,new i.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},c.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new i.SpreadElement(e))},c.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new i.ArrayExpression(e))},c.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var x=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,x},c.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var x=this.parseFormalParameters(),_=this.parsePropertyMethod(x);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new i.AsyncFunctionExpression(null,x.params,_))},c.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,n.Messages.StrictOctalLiteral);var x=this.getTokenRaw(g);t=this.finalize(e,new i.Literal(g.value,x));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new i.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},c.prototype.isPropertyKey=function(t,e){return t.type===s.Syntax.Identifier&&t.name===e||t.type===s.Syntax.Literal&&t.value===e},c.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),x=this.lookahead,_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(x.type===3){var I=x.value;this.nextToken(),S=this.match("["),_=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new i.Identifier(I))}else this.match("*")?this.nextToken():(S=this.match("["),_=this.parseObjectPropertyKey());var R=this.qualifiedPropertyName(this.lookahead);if(x.type===3&&!N&&x.value==="get"&&R)e="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod();else if(x.type===3&&!N&&x.value==="set"&&R)e="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod();else if(x.type===7&&x.value==="*"&&R)e="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0;else if(_||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!S&&this.isPropertyKey(_,"__proto__")&&(t.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),b=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0;else if(x.type===3)if(I=this.finalize(g,new i.Identifier(x.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var P=this.isolateCoverGrammar(this.parseAssignmentExpression);b=this.finalize(g,new i.AssignmentPattern(I,P))}else T=!0,b=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new i.Property(e,_,S,b,C,T))},c.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new i.ObjectExpression(e))},c.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,x=e.cooked;return this.finalize(t,new i.TemplateElement({raw:g,cooked:x},e.tail))},c.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],x=this.parseTemplateHead();for(g.push(x);!x.tail;)e.push(this.parseExpression()),x=this.parseTemplateElement(),g.push(x);return this.finalize(t,new i.TemplateLiteral(g,e))},c.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case s.Syntax.Identifier:case s.Syntax.MemberExpression:case s.Syntax.RestElement:case s.Syntax.AssignmentPattern:break;case s.Syntax.SpreadElement:t.type=s.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case s.Syntax.ArrayExpression:t.type=s.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var x=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var _=[];for(this.context.isAssignmentTarget=!1,_.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),_.push(this.parseRestElement(g)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,b=0;b<_.length;b++)this.reinterpretExpressionAsPattern(_[b]);x=!0,t={type:"ArrowParameterPlaceHolder",params:_,async:!1}}else _.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(x)break}x||(t=this.finalize(this.startNode(e),new i.SequenceExpression(_)))}if(!x){if(this.expect(")"),this.match("=>")&&(t.type===s.Syntax.Identifier&&t.name==="yield"&&(x=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!x)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===s.Syntax.SequenceExpression)for(b=0;b")){for(var C=0;C0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var _=[t,this.lookahead],b=e,S=this.isolateCoverGrammar(this.parseExponentiationExpression),C=[b,g.value,S],T=[x];!((x=this.binaryPrecedence(this.lookahead))<=0);){for(;C.length>2&&x<=T[T.length-1];){S=C.pop();var N=C.pop();T.pop(),b=C.pop(),_.pop();var I=this.startNode(_[_.length-1]);C.push(this.finalize(I,new i.BinaryExpression(N,b,S)))}C.push(this.nextToken().value),T.push(x),_.push(this.lookahead),C.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var R=C.length-1;e=C[R];for(var P=_.pop();R>1;){var G=_.pop(),J=P&&P.lineStart;I=this.startNode(G,J),N=C[R-1],e=this.finalize(I,new i.BinaryExpression(N,C[R-2],e)),R-=2,P=G}}return e},c.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var _=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new i.ConditionalExpression(e,x,_)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},c.prototype.checkPatternParam=function(t,e){switch(e.type){case s.Syntax.Identifier:this.validateParam(t,e,e.name);break;case s.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case s.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case s.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var _=t.async,b=this.reinterpretAsCoverFormalsList(t);if(b){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var S=this.context.strict,C=this.context.allowStrictDirective;this.context.allowStrictDirective=b.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=_;var I=this.startNode(e);this.expect("=>");var R=void 0;if(this.match("{")){var P=this.context.allowIn;this.context.allowIn=!0,R=this.parseFunctionSourceElements(),this.context.allowIn=P}else R=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=R.type!==s.Syntax.BlockStatement;this.context.strict&&b.firstRestricted&&this.throwUnexpectedToken(b.firstRestricted,b.message),this.context.strict&&b.stricted&&this.tolerateUnexpectedToken(b.stricted,b.message),t=_?this.finalize(I,new i.AsyncArrowFunctionExpression(b.params,R,G)):this.finalize(I,new i.ArrowFunctionExpression(b.params,R,G)),this.context.strict=S,this.context.allowStrictDirective=C,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===s.Syntax.Identifier){var J=t;this.scanner.isRestrictedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(J.name)&&this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new i.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},c.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new i.SequenceExpression(g))}return e},c.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},c.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new i.BlockStatement(e))},c.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),x=this.parsePattern([],t);this.context.strict&&x.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(x.name)&&this.tolerateError(n.Messages.StrictVarName);var _=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),_=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&x.type!==s.Syntax.Identifier||this.match("="))&&(this.expect("="),_=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new i.VariableDeclarator(x,_))},c.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},c.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},c.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;a.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var x=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new i.VariableDeclaration(x,g))},c.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var x=this.parsePattern(t,e);return this.finalize(g,new i.RestElement(x))},c.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var x=[];!this.match("]");)if(this.match(","))this.nextToken(),x.push(null);else{if(this.match("...")){x.push(this.parseBindingRestElement(t,e));break}x.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new i.ArrayPattern(x))},c.prototype.parsePropertyPattern=function(t,e){var g,x,_=this.createNode(),b=!1,S=!1;if(this.lookahead.type===3){var C=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(_,new i.Identifier(C.value));if(this.match("=")){t.push(C),S=!0,this.nextToken();var N=this.parseAssignmentExpression();x=this.finalize(this.startNode(C),new i.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(t,e)):(t.push(C),S=!0,x=T)}else b=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(t,e);return this.finalize(_,new i.Property("init",g,b,x,!1,S))},c.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),x=[];for(this.expect("{");!this.match("}");)x.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new i.ObjectPattern(x))},c.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},c.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,x=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var _=this.context.allowYield;this.context.allowYield=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=_,x=this.finalize(this.startNode(g),new i.AssignmentPattern(x,b))}return x},c.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,n.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new i.Identifier(g.value))},c.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===s.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var x=null;return this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===s.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new i.VariableDeclarator(g,x))},c.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},c.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new i.VariableDeclaration(e,"var"))},c.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new i.EmptyStatement)},c.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ExpressionStatement(e))},c.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},c.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new i.IfStatement(x,t,g))},c.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var x=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new i.DoWhileStatement(g,x))},c.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var x=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=x}return this.finalize(e,new i.WhileStatement(g,t))},c.prototype.parseForStatement=function(){var t,e,g,x=null,_=null,b=null,S=!0,C=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){x=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===s.Syntax.ArrayPattern||I.id.type===s.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseExpression(),x=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(x=this.finalize(x,new i.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){x=this.createNode();var R=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(R,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseExpression(),x=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(x=this.finalize(x,new i.VariableDeclaration(N,R)),this.nextToken(),t=x,e=this.parseAssignmentExpression(),x=null,S=!1):(this.consumeSemicolon(),x=this.finalize(x,new i.VariableDeclaration(N,R)))):(x=this.finalize(x,new i.Identifier(R)),this.nextToken(),t=x,e=this.parseExpression(),x=null)}else{var P=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,x=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseExpression(),x=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&x.type!==s.Syntax.AssignmentExpression||this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(x),t=x,e=this.parseAssignmentExpression(),x=null,S=!1;else{if(this.match(",")){for(var G=[x];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));x=this.finalize(this.startNode(P),new i.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(_=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new i.EmptyStatement);else{this.expect(")");var J=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=J}return t===void 0?this.finalize(C,new i.ForStatement(x,_,b,g)):S?this.finalize(C,new i.ForInStatement(t,e,g)):this.finalize(C,new i.ForOfStatement(t,e,g))},c.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(n.Messages.IllegalContinue),this.finalize(t,new i.ContinueStatement(e))},c.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),x="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)||this.throwError(n.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(n.Messages.IllegalBreak),this.finalize(t,new i.BreakStatement(e))},c.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ReturnStatement(e))},c.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new i.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new i.WithStatement(g,t))},c.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new i.SwitchCase(t,g))},c.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var x=[],_=!1;for(this.expect("{");!this.match("}");){var b=this.parseSwitchCase();b.test===null&&(_&&this.throwError(n.Messages.MultipleDefaultsInSwitch),_=!0),x.push(b)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new i.SwitchStatement(e,x))},c.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===s.Syntax.Identifier&&this.match(":")){this.nextToken();var x=g,_="$"+x.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,_)&&this.throwError(n.Messages.Redeclaration,"Label",x.name),this.context.labelSet[_]=!0;var b=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),b=this.parseClassDeclaration();else if(this.matchKeyword("function")){var S=this.lookahead,C=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(S,n.Messages.StrictFunction):C.generator&&this.tolerateUnexpectedToken(S,n.Messages.GeneratorInLegacyContext),b=C}else b=this.parseStatement();delete this.context.labelSet[_],t=new i.LabeledStatement(x,b)}else this.consumeSemicolon(),t=new i.ExpressionStatement(g);return this.finalize(e,t)},c.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new i.ThrowStatement(e))},c.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),x={},_=0;_0&&this.tolerateError(n.Messages.BadGetterArity);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof i.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!1))},c.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var x=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new i.FunctionExpression(null,g.params,x,!0))},c.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},c.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var x=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=x}return this.finalize(t,new i.YieldExpression(e,g))},c.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),x="",_=null,b=null,S=!1,C=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(S=this.match("["),(_=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,S=this.match("["),this.match("*")?this.nextToken():_=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,_=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,n.Messages.ConstructorIsAsync))}var R=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&R?(x="get",S=this.match("["),_=this.parseObjectPropertyKey(),this.context.allowYield=!1,b=this.parseGetterMethod()):e.value==="set"&&R&&(x="set",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseSetterMethod()):e.type===7&&e.value==="*"&&R&&(x="init",S=this.match("["),_=this.parseObjectPropertyKey(),b=this.parseGeneratorMethod(),C=!0),!x&&_&&this.match("(")&&(x="init",b=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),C=!0),x||this.throwUnexpectedToken(this.lookahead),x==="init"&&(x="method"),S||(T&&this.isPropertyKey(_,"prototype")&&this.throwUnexpectedToken(e,n.Messages.StaticPrototype),!T&&this.isPropertyKey(_,"constructor")&&((x!=="method"||!C||b&&b.generator)&&this.throwUnexpectedToken(e,n.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,n.Messages.DuplicateConstructor):t.value=!0,x="constructor")),this.finalize(g,new i.MethodDefinition(_,S,b,x,T))},c.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},c.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new i.ClassBody(e))},c.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var x=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),_=null;this.matchKeyword("extends")&&(this.nextToken(),_=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=g,this.finalize(e,new i.ClassDeclaration(x,_,b))},c.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var _=this.parseClassBody();return this.context.strict=e,this.finalize(t,new i.ClassExpression(g,x,_))},c.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Module(e))},c.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new i.Script(e))},c.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new i.Literal(e.value,g))},c.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new i.ImportSpecifier(e,t))},c.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},c.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new i.ImportDefaultSpecifier(e))},c.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new i.ImportNamespaceSpecifier(e))},c.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new i.ImportDeclaration(g,t))},c.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new i.ExportSpecifier(e,g))},c.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new i.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new i.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new i.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(x,this.lookahead.value)}this.nextToken();var _=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new i.ExportAllDeclaration(_))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new i.ExportNamedDeclaration(g,[],null));else{var b=[],S=null,C=!1;for(this.expect("{");!this.match("}");)C=C||this.matchKeyword("default"),b.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),S=this.parseModuleSpecifier(),this.consumeSemicolon()):C?(x=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause,this.throwError(x,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new i.ExportNamedDeclaration(null,b,S))}return t},c}();y.Parser=d},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.assert=function(m,a){if(!m)throw new Error("ASSERT: "+a)}},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var m=function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(p){this.errors.push(p)},a.prototype.tolerate=function(p){if(!this.tolerant)throw p;this.recordError(p)},a.prototype.constructError=function(p,n){var i=new Error(p);try{throw i}catch(u){Object.create&&Object.defineProperty&&(i=Object.create(u),Object.defineProperty(i,"column",{value:n}))}return i},a.prototype.createError=function(p,n,i,u){var s="Line "+n+": "+u,f=this.constructError(s,i);return f.index=p,f.lineNumber=n,f.description=u,f},a.prototype.throwError=function(p,n,i,u){throw this.createError(p,n,i,u)},a.prototype.tolerateError=function(p,n,i,u){var s=this.createError(p,n,i,u);if(!this.tolerant)throw s;this.recordError(s)},a}();y.ErrorHandler=m},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(9),p=m(4),n=m(11);function i(f){return"0123456789abcdef".indexOf(f.toLowerCase())}function u(f){return"01234567".indexOf(f)}var s=function(){function f(d,c){this.source=d,this.errorHandler=c,this.trackComment=!1,this.isModule=!1,this.length=d.length,this.index=0,this.lineNumber=d.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return f.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},f.prototype.restoreState=function(d){this.index=d.index,this.lineNumber=d.lineNumber,this.lineStart=d.lineStart},f.prototype.eof=function(){return this.index>=this.length},f.prototype.throwUnexpectedToken=function(d){return d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.tolerateUnexpectedToken=function(d){d===void 0&&(d=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,d)},f.prototype.skipSingleLineComment=function(d){var c,t,e=[];for(this.trackComment&&(e=[],c=this.index-d,t={start:{line:this.lineNumber,column:this.index-this.lineStart-d},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,p.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var x={multiLine:!1,slice:[c+d,this.index-1],range:[c,this.index-1],loc:t};e.push(x)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},x={multiLine:!1,slice:[c+d,this.index],range:[c,this.index],loc:t},e.push(x)),e},f.prototype.skipMultiLineComment=function(){var d,c,t=[];for(this.trackComment&&(t=[],d=this.index-2,c={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(p.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){c.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[d+2,this.index-2],range:[d,this.index],loc:c};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(c.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[d+2,this.index],range:[d,this.index],loc:c},t.push(g)),this.tolerateUnexpectedToken(),t},f.prototype.scanComments=function(){var d;this.trackComment&&(d=[]);for(var c=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(p.Character.isWhiteSpace(t))++this.index;else if(p.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,c=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(d=d.concat(e)),c=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(d=d.concat(e))}else if(c&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(d=d.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(d=d.concat(e))}}return d},f.prototype.isFutureReservedWord=function(d){switch(d){case"enum":case"export":case"import":case"super":return!0;default:return!1}},f.prototype.isStrictModeReservedWord=function(d){switch(d){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},f.prototype.isRestrictedWord=function(d){return d==="eval"||d==="arguments"},f.prototype.isKeyword=function(d){switch(d.length){case 2:return d==="if"||d==="in"||d==="do";case 3:return d==="var"||d==="for"||d==="new"||d==="try"||d==="let";case 4:return d==="this"||d==="else"||d==="case"||d==="void"||d==="with"||d==="enum";case 5:return d==="while"||d==="break"||d==="catch"||d==="throw"||d==="const"||d==="yield"||d==="class"||d==="super";case 6:return d==="return"||d==="typeof"||d==="delete"||d==="switch"||d==="export"||d==="import";case 7:return d==="default"||d==="finally"||d==="extends";case 8:return d==="function"||d==="continue"||d==="debugger";case 10:return d==="instanceof";default:return!1}},f.prototype.codePointAt=function(d){var c=this.source.charCodeAt(d);if(c>=55296&&c<=56319){var t=this.source.charCodeAt(d+1);t>=56320&&t<=57343&&(c=1024*(c-55296)+t-56320+65536)}return c},f.prototype.scanHexEscape=function(d){for(var c=d==="u"?4:2,t=0,e=0;e1114111||d!=="}")&&this.throwUnexpectedToken(),p.Character.fromCodePoint(c)},f.prototype.getIdentifier=function(){for(var d=this.index++;!this.eof();){var c=this.source.charCodeAt(this.index);if(c===92)return this.index=d,this.getComplexIdentifier();if(c>=55296&&c<57343)return this.index=d,this.getComplexIdentifier();if(!p.Character.isIdentifierPart(c))break;++this.index}return this.source.slice(d,this.index)},f.prototype.getComplexIdentifier=function(){var d,c=this.codePointAt(this.index),t=p.Character.fromCodePoint(c);for(this.index+=t.length,c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierStart(d.charCodeAt(0))||this.throwUnexpectedToken(),t=d);!this.eof()&&(c=this.codePointAt(this.index),p.Character.isIdentifierPart(c));)t+=d=p.Character.fromCodePoint(c),this.index+=d.length,c===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"))!==null&&d!=="\\"&&p.Character.isIdentifierPart(d.charCodeAt(0))||this.throwUnexpectedToken(),t+=d);return t},f.prototype.octalToDecimal=function(d){var c=d!=="0",t=u(d);return!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(c=!0,t=8*t+u(this.source[this.index++]),"0123".indexOf(d)>=0&&!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+u(this.source[this.index++]))),{code:t,octal:c}},f.prototype.scanIdentifier=function(){var d,c=this.index,t=this.source.charCodeAt(c)===92?this.getComplexIdentifier():this.getIdentifier();if((d=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&c+t.length!==this.index){var e=this.index;this.index=c,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=e}return{type:d,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.scanPunctuator=function(){var d=this.index,c=this.source[this.index];switch(c){case"(":case"{":c==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,c="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(c=this.source.substr(this.index,4))===">>>="?this.index+=4:(c=c.substr(0,3))==="==="||c==="!=="||c===">>>"||c==="<<="||c===">>="||c==="**="?this.index+=3:(c=c.substr(0,2))==="&&"||c==="||"||c==="=="||c==="!="||c==="+="||c==="-="||c==="*="||c==="/="||c==="++"||c==="--"||c==="<<"||c===">>"||c==="&="||c==="|="||c==="^="||c==="%="||c==="<="||c===">="||c==="=>"||c==="**"?this.index+=2:(c=this.source[this.index],"<>=!+-*%&|^/".indexOf(c)>=0&&++this.index)}return this.index===d&&this.throwUnexpectedToken(),{type:7,value:c,lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanHexLiteral=function(d){for(var c="";!this.eof()&&p.Character.isHexDigit(this.source.charCodeAt(this.index));)c+=this.source[this.index++];return c.length===0&&this.throwUnexpectedToken(),p.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+c,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanBinaryLiteral=function(d){for(var c,t="";!this.eof()&&((c=this.source[this.index])==="0"||c==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(c=this.source.charCodeAt(this.index),(p.Character.isIdentifierStart(c)||p.Character.isDecimalDigit(c))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:d,end:this.index}},f.prototype.scanOctalLiteral=function(d,c){var t="",e=!1;for(p.Character.isOctalDigit(d.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&p.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(p.Character.isIdentifierStart(this.source.charCodeAt(this.index))||p.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},f.prototype.isImplicitOctalLiteral=function(){for(var d=this.index+1;d=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,x,_){var b=parseInt(x||_,16);return b>1114111&&e.throwUnexpectedToken(n.Messages.InvalidRegExp),b<=65535?String.fromCharCode(b):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(n.Messages.InvalidRegExp)}try{return new RegExp(d,c)}catch{return null}},f.prototype.scanRegExpBody=function(){var d=this.source[this.index];a.assert(d==="/","Regular expression literal must start with a slash");for(var c=this.source[this.index++],t=!1,e=!1;!this.eof();)if(c+=d=this.source[this.index++],d==="\\")d=this.source[this.index++],p.Character.isLineTerminator(d.charCodeAt(0))&&this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c+=d;else if(p.Character.isLineTerminator(d.charCodeAt(0)))this.throwUnexpectedToken(n.Messages.UnterminatedRegExp);else if(t)d==="]"&&(t=!1);else{if(d==="/"){e=!0;break}d==="["&&(t=!0)}return e||this.throwUnexpectedToken(n.Messages.UnterminatedRegExp),c.substr(1,c.length-2)},f.prototype.scanRegExpFlags=function(){for(var d="";!this.eof();){var c=this.source[this.index];if(!p.Character.isIdentifierPart(c.charCodeAt(0)))break;if(++this.index,c!=="\\"||this.eof())d+=c;else if((c=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(d+=e;t=55296&&d<57343&&p.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},f}();y.Scanner=s},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.TokenName={},y.TokenName[1]="Boolean",y.TokenName[2]="",y.TokenName[3]="Identifier",y.TokenName[4]="Keyword",y.TokenName[5]="Null",y.TokenName[6]="Numeric",y.TokenName[7]="Punctuator",y.TokenName[8]="String",y.TokenName[9]="RegularExpression",y.TokenName[10]="Template"},function(w,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(w,y,m){"use strict";Object.defineProperty(y,"__esModule",{value:!0});var a=m(10),p=m(12),n=m(13),i=function(){function s(){this.values=[],this.curly=this.paren=-1}return s.prototype.beforeFunctionExpression=function(f){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(f)>=0},s.prototype.isRegexStart=function(){var f=this.values[this.values.length-1],d=f!==null;switch(f){case"this":case"]":d=!1;break;case")":var c=this.values[this.paren-1];d=c==="if"||c==="while"||c==="for"||c==="with";break;case"}":if(d=!1,this.values[this.curly-3]==="function")d=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;d=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return d},s.prototype.push=function(f){f.type===7||f.type===4?(f.value==="{"?this.curly=this.values.length:f.value==="("&&(this.paren=this.values.length),this.values.push(f.value)):this.values.push(null)},s}(),u=function(){function s(f,d){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!d&&typeof d.tolerant=="boolean"&&d.tolerant,this.scanner=new p.Scanner(f,this.errorHandler),this.scanner.trackComment=!!d&&typeof d.comment=="boolean"&&d.comment,this.trackRange=!!d&&typeof d.range=="boolean"&&d.range,this.trackLoc=!!d&&typeof d.loc=="boolean"&&d.loc,this.buffer=[],this.reader=new i}return s.prototype.errors=function(){return this.errorHandler.errors},s.prototype.getNextToken=function(){if(this.buffer.length===0){var f=this.scanner.scanComments();if(this.scanner.trackComment)for(var d=0;d0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&P[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?P.charCodeAt(X-1):null,ie=ie&&e(H,ee)}me=me||ne&&X-Q-1>Y&&P[Q+1]!==" "}return he||me?J>9&&g(P)?5:me?4:3:ie&&!z(P)?1:2}function _(P,G,J,Y){P.dump=function(){if(G.length===0)return"''";if(!P.noCompatMode&&i.indexOf(G)!==-1)return"'"+G+"'";var z=P.indent*Math.max(1,J),X=P.lineWidth===-1?-1:Math.max(Math.min(P.lineWidth,40),P.lineWidth-z),H=Y||P.flowLevel>-1&&J>=P.flowLevel;switch(x(G,H,P.indent,X,function(ee){return function(re,he){var me,ne;for(me=0,ne=re.implicitTypes.length;me"+b(G,P.indent)+S(f(function(ee,re){for(var he,me,ne=/(\n+)([^\n]*)/g,Q=(ue=ee.indexOf(` -`),ue=ue!==-1?ue:ee.length,ne.lastIndex=ue,C(ee.slice(0,ue),re)),ie=ee[0]===` -`||ee[0]===" ",ue;me=ne.exec(ee);){var ce=me[1],k=me[2];he=k[0]===" ",Q+=ce+(ie||he||k===""?"":` -`)+C(k,re),ie=he}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,he,me,ne="",Q=0;Q=55296&&re<=56319&&(he=ee.charCodeAt(Q+1))>=56320&&he<=57343?(ne+=u(1024*(re-55296)+he-56320+65536),Q++):(me=n[re],ne+=!me&&t(re)?ee[Q]:me||u(re));return ne}(G)+'"';default:throw new w("impossible error: invalid scalar style")}}()}function b(P,G){var J=g(P)?String(G):"",Y=P[P.length-1]===` -`;return J+(Y&&(P[P.length-2]===` -`||P===` +`)},a.stripLeadingAndTrailingASCIIWhitespace=u,a.stripAndCollapseASCIIWhitespace=function(f){return u(f.replace(/[\t\n\f\r ]{2,}/g," "))},a.collectASequenceOfCodePoints=p,a.skipASCIIWhitespace=m,a.strictlySplit=function f(t,e){if(!s.isArray(t))return f(Array.from(t),e);var g={position:0},b=[],x=p(function(E){return e!==E},t,g);for(b.push(x);g.position=_.length&&(_=void 0),{value:_&&_[h++],done:!_}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(97);a.abort_add=function(_,y){y._abortedFlag||y._abortAlgorithms.add(_)},a.abort_remove=function(_,y){y._abortAlgorithms.delete(_)},a.abort_signalAbort=function(_){var y,s;if(!_._abortedFlag){_._abortedFlag=!0;try{for(var h=v(_._abortAlgorithms),i=h.next();!i.done;i=h.next())i.value.call(_)}catch(o){y={error:o}}finally{try{i&&!i.done&&(s=h.return)&&s.call(h)}finally{if(y)throw y.error}}_._abortAlgorithms.clear(),S.event_fireAnEvent("abort",_)}}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(150),S=function(){function _(){}return _.asNode=function(y){if(v.Guard.isNode(y))return y;throw new Error("Invalid object. Node expected.")},_}();a.Cast=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=function(){function _(){}return Object.defineProperty(_.prototype,"size",{get:function(){return 0},enumerable:!0,configurable:!0}),_.prototype.add=function(y){throw new Error("Cannot add to an empty set.")},_.prototype.clear=function(){},_.prototype.delete=function(y){return!1},_.prototype.forEach=function(y,s){},_.prototype.has=function(y){return!1},_.prototype[Symbol.iterator]=function(){return new S},_.prototype.entries=function(){return new S},_.prototype.keys=function(){return new S},_.prototype.values=function(){return new S},Object.defineProperty(_.prototype,Symbol.toStringTag,{get:function(){return"EmptySet"},enumerable:!0,configurable:!0}),_}();a.EmptySet=v;var S=function(){function _(){}return _.prototype[Symbol.iterator]=function(){return this},_.prototype.next=function(){return{done:!0,value:null}},_}()},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(v){v[v.SchemeStart=0]="SchemeStart",v[v.Scheme=1]="Scheme",v[v.NoScheme=2]="NoScheme",v[v.SpecialRelativeOrAuthority=3]="SpecialRelativeOrAuthority",v[v.PathOrAuthority=4]="PathOrAuthority",v[v.Relative=5]="Relative",v[v.RelativeSlash=6]="RelativeSlash",v[v.SpecialAuthoritySlashes=7]="SpecialAuthoritySlashes",v[v.SpecialAuthorityIgnoreSlashes=8]="SpecialAuthorityIgnoreSlashes",v[v.Authority=9]="Authority",v[v.Host=10]="Host",v[v.Hostname=11]="Hostname",v[v.Port=12]="Port",v[v.File=13]="File",v[v.FileSlash=14]="FileSlash",v[v.FileHost=15]="FileHost",v[v.PathStart=16]="PathStart",v[v.Path=17]="Path",v[v.CannotBeABaseURLPath=18]="CannotBeABaseURLPath",v[v.Query=19]="Query",v[v.Fragment=20]="Fragment"}(a.ParserState||(a.ParserState={})),a.OpaqueOrigin=["","",null,null]},function(c,a,n){"use strict";var v=n(245),S=n(247);function _(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}a.parse=b,a.resolve=function(x,E){return b(x,!1,!0).resolve(E)},a.resolveObject=function(x,E){return x?b(x,!1,!0).resolveObject(E):E},a.format=function(x){return S.isString(x)&&(x=b(x)),x instanceof _?x.format():_.prototype.format.call(x)},a.Url=_;var y=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` +`," "]),o=["'"].concat(i),l=["%","/","?",";","#"].concat(o),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},t={javascript:!0,"javascript:":!0},e={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(248);function b(x,E,w){if(x&&S.isObject(x)&&x instanceof _)return x;var D=new _;return D.parse(x,E,w),D}_.prototype.parse=function(x,E,w){if(!S.isString(x))throw new TypeError("Parameter 'url' must be a string, not "+typeof x);var D=x.indexOf("?"),T=D!==-1&&D127?Q+="x":Q+=ne[ie];if(!Q.match(p)){var fe=de.slice(0,H),P=de.slice(H+1),C=ne.match(m);C&&(fe.push(C[1]),P.unshift(C[2])),P.length&&(I="/"+P.join(".")+I),this.hostname=fe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),re||(this.hostname=v.toASCII(this.hostname));var B=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+B,this.href+=this.host,re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!f[G])for(H=0,ve=o.length;H0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),w.search=x.search,w.query=x.query,S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.href=w.format(),w;if(!ne.length)return w.pathname=null,w.search?w.path="/"+w.search:w.path=null,w.href=w.format(),w;for(var ie=ne.slice(-1)[0],le=(w.host||x.host||ne.length>1)&&(ie==="."||ie==="..")||ie==="",fe=0,P=ne.length;P>=0;P--)(ie=ne[P])==="."?ne.splice(P,1):ie===".."?(ne.splice(P,1),fe++):fe&&(ne.splice(P,1),fe--);if(!de&&!ve)for(;fe--;fe)ne.unshift("..");!de||ne[0]===""||ne[0]&&ne[0].charAt(0)==="/"||ne.unshift(""),le&&ne.join("/").substr(-1)!=="/"&&ne.push("");var C,B=ne[0]===""||ne[0]&&ne[0].charAt(0)==="/";return Q&&(w.hostname=w.host=B?"":ne.length?ne.shift():"",(C=!!(w.host&&w.host.indexOf("@")>0)&&w.host.split("@"))&&(w.auth=C.shift(),w.host=w.hostname=C.shift())),(de=de||w.host&&ne.length)&&!B&&ne.unshift(""),ne.length?w.pathname=ne.join("/"):(w.pathname=null,w.path=null),S.isNull(w.pathname)&&S.isNull(w.search)||(w.path=(w.pathname?w.pathname:"")+(w.search?w.search:"")),w.auth=x.auth||w.auth,w.slashes=w.slashes||x.slashes,w.href=w.format(),w},_.prototype.parseHost=function(){var x=this.host,E=s.exec(x);E&&((E=E[0])!==":"&&(this.port=E.substr(1)),x=x.substr(0,x.length-E.length)),x&&(this.hostname=x)}},function(c,a,n){(function(v,S){var _;(function(y){a&&a.nodeType,v&&v.nodeType;var s=typeof S=="object"&&S;s.global!==s&&s.window!==s&&s.self;var h,i=2147483647,o=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function t(N){throw new RangeError(p[N])}function e(N,I){for(var M=N.length,k=[];M--;)k[M]=I(N[M]);return k}function g(N,I){var M=N.split("@"),k="";return M.length>1&&(k=M[0]+"@",N=M[1]),k+e((N=N.replace(u,".")).split("."),I).join(".")}function b(N){for(var I,M,k=[],G=0,$=N.length;G<$;)(I=N.charCodeAt(G++))>=55296&&I<=56319&&G<$?(64512&(M=N.charCodeAt(G++)))==56320?k.push(((1023&I)<<10)+(1023&M)+65536):(k.push(I),G--):k.push(I);return k}function x(N){return e(N,function(I){var M="";return I>65535&&(M+=f((I-=65536)>>>10&1023|55296),I=56320|1023&I),M+=f(I)}).join("")}function E(N,I){return N+22+75*(N<26)-((I!=0)<<5)}function w(N,I,M){var k=0;for(N=M?m(N/700):N>>1,N+=m(N/I);N>455;k+=36)N=m(N/35);return m(k+36*N/(N+38))}function D(N){var I,M,k,G,$,Y,z,X,H,ee,re,de=[],ve=N.length,ne=0,Q=128,ie=72;for((M=N.lastIndexOf("-"))<0&&(M=0),k=0;k=128&&t("not-basic"),de.push(N.charCodeAt(k));for(G=M>0?M+1:0;G=ve&&t("invalid-input"),((X=(re=N.charCodeAt(G++))-48<10?re-22:re-65<26?re-65:re-97<26?re-97:36)>=36||X>m((i-ne)/Y))&&t("overflow"),ne+=X*Y,!(X<(H=z<=ie?1:z>=ie+26?26:z-ie));z+=36)Y>m(i/(ee=36-H))&&t("overflow"),Y*=ee;ie=w(ne-$,I=de.length+1,$==0),m(ne/I)>i-Q&&t("overflow"),Q+=m(ne/I),ne%=I,de.splice(ne++,0,Q)}return x(de)}function T(N){var I,M,k,G,$,Y,z,X,H,ee,re,de,ve,ne,Q,ie=[];for(de=(N=b(N)).length,I=128,M=0,$=72,Y=0;Y=I&&rem((i-M)/(ve=k+1))&&t("overflow"),M+=(z-I)*ve,I=z,Y=0;Yi&&t("overflow"),re==I){for(X=M,H=36;!(X<(ee=H<=$?1:H>=$+26?26:H-$));H+=36)Q=X-ee,ne=36-ee,ie.push(f(E(ee+Q%ne,0))),X=m(Q/ne);ie.push(f(E(X,0))),$=w(M,ve,k==G),M=0,++k}++M,++I}return ie.join("")}h={version:"1.4.1",ucs2:{decode:b,encode:x},decode:D,encode:T,toASCII:function(N){return g(N,function(I){return l.test(I)?"xn--"+T(I):I})},toUnicode:function(N){return g(N,function(I){return o.test(I)?D(I.slice(4).toLowerCase()):I})}},(_=function(){return h}.call(a,n,a,v))===void 0||(v.exports=_)})()}).call(this,n(246)(c),n(78))},function(c,a){c.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(c,a,n){"use strict";c.exports={isString:function(v){return typeof v=="string"},isObject:function(v){return typeof v=="object"&&v!==null},isNull:function(v){return v===null},isNullOrUndefined:function(v){return v==null}}},function(c,a,n){"use strict";a.decode=a.parse=n(249),a.encode=a.stringify=n(250)},function(c,a,n){"use strict";function v(_,y){return Object.prototype.hasOwnProperty.call(_,y)}c.exports=function(_,y,s,h){y=y||"&",s=s||"=";var i={};if(typeof _!="string"||_.length===0)return i;var o=/\+/g;_=_.split(y);var l=1e3;h&&typeof h.maxKeys=="number"&&(l=h.maxKeys);var u=_.length;l>0&&u>l&&(u=l);for(var p=0;p=0?(m=g.substr(0,b),f=g.substr(b+1)):(m=g,f=""),t=decodeURIComponent(m),e=decodeURIComponent(f),v(i,t)?S(i[t])?i[t].push(e):i[t]=[i[t],e]:i[t]=e}return i};var S=Array.isArray||function(_){return Object.prototype.toString.call(_)==="[object Array]"}},function(c,a,n){"use strict";var v=function(s){switch(typeof s){case"string":return s;case"boolean":return s?"true":"false";case"number":return isFinite(s)?s:"";default:return""}};c.exports=function(s,h,i,o){return h=h||"&",i=i||"=",s===null&&(s=void 0),typeof s=="object"?_(y(s),function(l){var u=encodeURIComponent(v(l))+i;return S(s[l])?_(s[l],function(p){return u+encodeURIComponent(v(p))}).join(h):u+encodeURIComponent(v(s[l]))}).join(h):o?encodeURIComponent(v(o))+i+encodeURIComponent(v(s)):""};var S=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function _(s,h){if(s.map)return s.map(h);for(var i=[],o=0;o=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1);function _(y){return S.isBoolean(y)?y:y.capture||!1}a.eventTarget_flatten=_,a.eventTarget_flattenMore=function(y){var s=_(y),h=!1,i=!1;return S.isBoolean(y)||(h=y.once||!1,i=y.passive||!1),[s,i,h]},a.eventTarget_addEventListener=function(y,s){if(s.callback!==null){for(var h=0;h=y.length&&(y=void 0),{value:y&&y[i++],done:!y}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(1),_=n(29);a.parentNode_convertNodesIntoANode=function(y,s){for(var h,i,o=null,l=0;l=E.length&&(E=void 0),{value:E&&E[T++],done:!E}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},S=this&&this.__read||function(E,w){var D=typeof Symbol=="function"&&E[Symbol.iterator];if(!D)return E;var T,N,I=D.call(E),M=[];try{for(;(w===void 0||w-- >0)&&!(T=I.next()).done;)M.push(T.value)}catch(k){N={error:k}}finally{try{T&&!T.done&&(D=I.return)&&D.call(I)}finally{if(N)throw N.error}}return M},_=this&&this.__spread||function(){for(var E=[],w=0;w0;ne--){var Q;if(b(Q=ve[ne],E)){de=Q;break}}var ie,le,fe=[];try{for(var P=v(X._children),C=P.next();!C.done;C=P.next())if(g(ae=C.value,E)){if(h.Guard.isDocumentTypeNode(ae))throw new s.HierarchyRequestError;fe.push(ae)}}catch(me){T={error:me}}finally{try{C&&!C.done&&(N=P.return)&&N.call(P)}finally{if(T)throw T.error}}if(o.tree_isAncestorOf(Y,G,!0))ie=G,le=$;else{for(var B=G;B._parent!==null&&!o.tree_isAncestorOf(Y,B._parent);)B=B._parent;if(B._parent===null)throw new Error("Parent node is null.");ie=B._parent,le=1+o.tree_index(B)}if(h.Guard.isCharacterDataNode(H))(L=p.node_clone(G))._data=u.characterData_substringData(G,$,o.tree_nodeLength(G)-$),m.mutation_append(L,k),u.characterData_replaceData(G,$,o.tree_nodeLength(G)-$,"");else if(H!==null){var L=p.node_clone(H);m.mutation_append(L,k);var R=x(i.create_range([G,$],[H,o.tree_nodeLength(H)]));m.mutation_append(R,L)}try{for(var q=v(fe),W=q.next();!W.done;W=q.next()){var ae=W.value;m.mutation_append(ae,k)}}catch(me){I={error:me}}finally{try{W&&!W.done&&(M=q.return)&&M.call(q)}finally{if(I)throw I.error}}return h.Guard.isCharacterDataNode(de)?((L=p.node_clone(Y))._data=u.characterData_substringData(Y,0,z),m.mutation_append(L,k),u.characterData_replaceData(Y,0,z,"")):de!==null&&(L=p.node_clone(de),m.mutation_append(L,k),R=x(i.create_range([de,0],[Y,z])),m.mutation_append(R,L)),E._start=[ie,le],E._end=[ie,le],k}a.range_collapsed=t,a.range_root=e,a.range_isContained=g,a.range_isPartiallyContained=b,a.range_setTheStart=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._end)!==y.BoundaryPosition.After||(E._end=T),E._start=T},a.range_setTheEnd=function(E,w,D){if(h.Guard.isDocumentTypeNode(w))throw new s.InvalidNodeTypeError;if(D>o.tree_nodeLength(w))throw new s.IndexSizeError;var T=[w,D];e(E)===o.tree_rootNode(w)&&l.boundaryPoint_position(T,E._start)!==y.BoundaryPosition.Before||(E._start=T),E._end=T},a.range_select=function(E,w){var D=E._parent;if(D===null)throw new s.InvalidNodeTypeError;var T=o.tree_index(E);w._start=[D,T],w._end=[D,T+1]},a.range_extract=x,a.range_cloneTheContents=function E(w){var D,T,N,I,M,k,G=i.create_documentFragment(w._startNode._nodeDocument);if(t(w))return G;var $=w._startNode,Y=w._startOffset,z=w._endNode,X=w._endOffset;$===z&&h.Guard.isCharacterDataNode($)&&((C=p.node_clone($))._data=u.characterData_substringData($,Y,X-Y),m.mutation_append(C,G));for(var H=$;!o.tree_isAncestorOf(z,H,!0);){if(H._parent===null)throw new Error("Parent node is null.");H=H._parent}var ee=null;if(!o.tree_isAncestorOf(z,$,!0))try{for(var re=v(H._children),de=re.next();!de.done;de=re.next())if(b(ie=de.value,w)){ee=ie;break}}catch(W){D={error:W}}finally{try{de&&!de.done&&(T=re.return)&&T.call(re)}finally{if(D)throw D.error}}var ve=null;if(!o.tree_isAncestorOf($,z,!0))for(var ne=_(H._children),Q=ne.length-1;Q>0;Q--){var ie;if(b(ie=ne[Q],w)){ve=ie;break}}var le=[];try{for(var fe=v(H._children),P=fe.next();!P.done;P=fe.next())if(g(q=P.value,w)){if(h.Guard.isDocumentTypeNode(q))throw new s.HierarchyRequestError;le.push(q)}}catch(W){N={error:W}}finally{try{P&&!P.done&&(I=fe.return)&&I.call(fe)}finally{if(N)throw N.error}}if(h.Guard.isCharacterDataNode(ee))(C=p.node_clone($))._data=u.characterData_substringData($,Y,o.tree_nodeLength($)-Y),m.mutation_append(C,G);else if(ee!==null){var C=p.node_clone(ee);m.mutation_append(C,G);var B=E(i.create_range([$,Y],[ee,o.tree_nodeLength(ee)]));m.mutation_append(B,C)}try{for(var L=v(le),R=L.next();!R.done;R=L.next()){var q=R.value,C=p.node_clone(q);m.mutation_append(C,G)}}catch(W){M={error:W}}finally{try{R&&!R.done&&(k=L.return)&&k.call(L)}finally{if(M)throw M.error}}return h.Guard.isCharacterDataNode(ve)?((C=p.node_clone(z))._data=u.characterData_substringData(z,0,X),m.mutation_append(C,G)):ve!==null&&(C=p.node_clone(ve),G.append(C),B=x(i.create_range([ve,0],[z,X])),m.mutation_append(B,C)),G},a.range_insert=function(E,w){var D,T;if(h.Guard.isProcessingInstructionNode(w._startNode)||h.Guard.isCommentNode(w._startNode)||h.Guard.isTextNode(w._startNode)&&w._startNode._parent===null||w._startNode===E)throw new s.HierarchyRequestError;var N,I=null;if(h.Guard.isTextNode(w._startNode))I=w._startNode;else{var M=0;try{for(var k=v(w._startNode._children),G=k.next();!G.done;G=k.next()){var $=G.value;if(M===w._startOffset){I=$;break}M++}}catch(z){D={error:z}}finally{try{G&&!G.done&&(T=k.return)&&T.call(k)}finally{if(D)throw D.error}}}if(I===null)N=w._startNode;else{if(I._parent===null)throw new Error("Parent node is null.");N=I._parent}m.mutation_ensurePreInsertionValidity(E,N,I),h.Guard.isTextNode(w._startNode)&&(I=f.text_split(w._startNode,w._startOffset)),E===I&&(I=E._nextSibling),E._parent!==null&&m.mutation_remove(E,E._parent);var Y=I===null?o.tree_nodeLength(N):o.tree_index(I);h.Guard.isDocumentFragmentNode(E)?Y+=o.tree_nodeLength(E):Y++,m.mutation_preInsert(E,N,I),t(w)&&(w._end=[N,Y])},a.range_getContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!g(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w},a.range_getPartiallyContainedNodes=function(E){var w;return(w={})[Symbol.iterator]=function(){var D=E.commonAncestorContainer,T=o.tree_getFirstDescendantNode(D);return{next:function(){for(;T&&!b(T,E);)T=o.tree_getNextDescendantNode(D,T);if(T===null)return{done:!0,value:null};var N={done:!1,value:T};return T=o.tree_getNextDescendantNode(D,T),N}}},w}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(9);a.selectors_scopeMatchASelectorsString=function(S,_){throw new v.NotSupportedError}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(2),S=n(105);a.treeWalker_traverseChildren=function(_,y){for(var s=y?_._current._firstChild:_._current._lastChild;s!==null;){var h=S.traversal_filter(_,s);if(h===v.FilterResult.Accept)return _._current=s,s;if(h===v.FilterResult.Skip){var i=y?s._firstChild:s._lastChild;if(i!==null){s=i;continue}}for(;s!==null;){var o=y?s._nextSibling:s._previousSibling;if(o!==null){s=o;break}var l=s._parent;if(l===null||l===_._root||l===_._current)return null;s=l}}return null},a.treeWalker_traverseSiblings=function(_,y){var s=_._current;if(s===_._root)return null;for(;;){for(var h=y?s._nextSibling:s._previousSibling;h!==null;){s=h;var i=S.traversal_filter(_,s);if(i===v.FilterResult.Accept)return _._current=s,s;h=y?s._firstChild:s._lastChild,i!==v.FilterResult.Reject&&h!==null||(h=y?s._nextSibling:s._previousSibling)}if((s=s._parent)===null||s===_._root||S.traversal_filter(_,s)===v.FilterResult.Accept)return null}}},function(c,a,n){"use strict";n(89),n(74);var v,S=this&&this.__extends||(v=function(o,l){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,p){u.__proto__=p}||function(u,p){for(var m in p)p.hasOwnProperty(m)&&(u[m]=p[m])})(o,l)},function(o,l){function u(){this.constructor=o}v(o,l),o.prototype=l===null?Object.create(l):(u.prototype=l.prototype,new u)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(1),y=n(2),s=n(50),h=n(3),i=function(o){function l(u,p){var m=o.call(this,u)||this;return m._indentation={},m._lengthToLastNewline=0,m._writerOptions=_.applyDefaults(p,{wellFormed:!1,headless:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,width:0,allowEmptyTags:!1,indentTextOnlyNodes:!1,spaceBeforeSlash:!1}),m}return S(l,o),l.prototype.serialize=function(u){return this._refs={suppressPretty:!1,emptyNode:!1,markup:""},u.nodeType!==y.NodeType.Document||this._writerOptions.headless||this.declaration(this._builderOptions.version,this._builderOptions.encoding,this._builderOptions.standalone),this.serializeNode(u,this._writerOptions.wellFormed),this._writerOptions.prettyPrint&&this._refs.markup.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(this._refs.markup=this._refs.markup.slice(0,-this._writerOptions.newline.length)),this._refs.markup},l.prototype.declaration=function(u,p,m){this._beginLine(),this._refs.markup+='",this._endLine()},l.prototype.docType=function(u,p,m){this._beginLine(),this._refs.markup+=p&&m?"':p?"':m?"':"",this._endLine()},l.prototype.openTagBegin=function(u){this._beginLine(),this._refs.markup+="<"+u},l.prototype.openTagEnd=function(u,p,m){if(this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._writerOptions.prettyPrint&&!p&&!m){for(var f=!0,t=!0,e=this.currentNode.firstChild,g=0,b=0;e;){if(h.Guard.isExclusiveTextNode(e))b++;else{if(!h.Guard.isCDATASectionNode(e)){f=!1,t=!1;break}g++}e.data!==""&&(t=!1),e=e.nextSibling}this._refs.suppressPretty=!this._writerOptions.indentTextOnlyNodes&&f&&(g<=1&&b===0||g===0),this._refs.emptyNode=t}(m||p||this._refs.emptyNode)&&this._writerOptions.allowEmptyTags?this._refs.markup+=">":this._refs.markup+=m?" />":p||this._refs.emptyNode?this._writerOptions.spaceBeforeSlash?" />":"/>":">",this._endLine()},l.prototype.closeTag=function(u){this._refs.emptyNode||(this._beginLine(),this._refs.markup+=""),this._refs.suppressPretty=!1,this._refs.emptyNode=!1,this._endLine()},l.prototype.attribute=function(u,p){var m=u+'="'+p+'"';this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._refs.markup.length-this._lengthToLastNewline+1+m.length>this._writerOptions.width?(this._endLine(),this._beginLine(),this._refs.markup+=this._indent(1)+m):this._refs.markup+=" "+m},l.prototype.text=function(u){u!==""&&(this._beginLine(),this._refs.markup+=u,this._endLine())},l.prototype.cdata=function(u){u!==""&&(this._beginLine(),this._refs.markup+="",this._endLine())},l.prototype.comment=function(u){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype.instruction=function(u,p){this._beginLine(),this._refs.markup+="",this._endLine()},l.prototype._beginLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._indent(this._writerOptions.offset+this.level))},l.prototype._endLine=function(){this._writerOptions.prettyPrint&&!this._refs.suppressPretty&&(this._refs.markup+=this._writerOptions.newline,this._lengthToLastNewline=this._refs.markup.length)},l.prototype._indent=function(u){if(u<=0)return"";if(this._indentation[u]!==void 0)return this._indentation[u];var p=this._writerOptions.indent.repeat(u);return this._indentation[u]=p,p},l}(s.BaseWriter);a.XMLWriter=i},function(c,a,n){"use strict";var v=n(47),S=n(35);c.exports="".repeat||function(_){var y=String(S(this)),s="",h=v(_);if(h<0||h==1/0)throw RangeError("Wrong number of repetitions");for(;h>0;(h>>>=1)&&(y+=y))1&h&&(s+=y);return s}},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;return p._writerOptions=s.applyDefaults(u,{wellFormed:!1,prettyPrint:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l);return this._beginLine(this._writerOptions,0)+this._convertObject(p,this._writerOptions)},o.prototype._convertObject=function(l,u,p){var m,f,t=this;p===void 0&&(p=0);var e="",g=this._isLeafNode(l);if(s.isArray(l)){e+="[";var b=l.length,x=0;try{for(var E=_(l),w=E.next();!w.done;w=E.next()){var D=w.value;e+=this._endLine(u,p+1)+this._beginLine(u,p+1)+this._convertObject(D,u,p+1),x0?new Array(p).join(l.indent):""},o.prototype._endLine=function(l,u){return l.prettyPrint?l.newline:""},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o.prototype._isLeafNode=function(l){return this._descendantCount(l)<=1},o.prototype._descendantCount=function(l,u){var p=this;return u===void 0&&(u=0),s.isArray(l)?s.forEachArray(l,function(m){return u+=p._descendantCount(m,u)},this):s.isObject(l)?s.forEachObject(l,function(m,f){return u+=p._descendantCount(f,u)},this):u++,u},o}(n(50).BaseWriter);a.JSONWriter=h},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(178),n(89),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)}),_=this&&this.__values||function(i){var o=typeof Symbol=="function"&&Symbol.iterator,l=o&&i[o],u=0;if(l)return l.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var y=n(67),s=n(1),h=function(i){function o(l,u){var p=i.call(this,l)||this;if(p._writerOptions=s.applyDefaults(u,{wellFormed:!1,indent:" ",newline:` +`,offset:0,group:!1,verbose:!1}),p._writerOptions.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p._writerOptions.offset<0)throw new Error("YAML offset should be zero or a positive number.");return p}return S(o,i),o.prototype.serialize=function(l){var u=s.applyDefaults(this._writerOptions,{format:"object",wellFormed:!1}),p=new y.ObjectWriter(this._builderOptions,u).serialize(l),m=this._beginLine(this._writerOptions,0)+"---"+this._endLine(this._writerOptions)+this._convertObject(p,this._writerOptions,0);return m.slice(-this._writerOptions.newline.length)===this._writerOptions.newline&&(m=m.slice(0,-this._writerOptions.newline.length)),m},o.prototype._convertObject=function(l,u,p,m){var f,t,e=this;m===void 0&&(m=!1);var g="";if(s.isArray(l))try{for(var b=_(l),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._beginLine(u,p,!0),s.isObject(E)?s.isEmpty(E)?g+='""'+this._endLine(u):g+=this._convertObject(E,u,p,!0):g+=this._val(E)+this._endLine(u)}}catch(w){f={error:w}}finally{try{x&&!x.done&&(t=b.return)&&t.call(b)}finally{if(f)throw f.error}}else s.forEachObject(l,function(w,D){m?(g+=e._key(w),m=!1):g+=e._beginLine(u,p)+e._key(w),s.isObject(D)?s.isEmpty(D)?g+=' ""'+e._endLine(u):g+=e._endLine(u)+e._convertObject(D,u,p+1):g+=" "+e._val(D)+e._endLine(u)},this);return g},o.prototype._beginLine=function(l,u,p){p===void 0&&(p=!1);var m=l.offset+u+1,f=new Array(m).join(l.indent);return p?f.substr(0,f.length-2)+"-"+f.substr(-1,1):f},o.prototype._endLine=function(l){return l.newline},o.prototype._key=function(l){return'"'+l+'":'},o.prototype._val=function(l){return JSON.stringify(l)},o}(n(50).BaseWriter);a.YAMLWriter=h},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),n(110).dom.setFeatures(!0);var v=n(110);a.DOMImplementation=v.DOMImplementation;var S=n(271);a.DOMParser=S.DOMParser;var _=n(274);a.XMLSerializer=_.XMLSerializer},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.before=function(){for(var s=[],h=0;h=h.length&&(h=void 0),{value:h&&h[l++],done:!h}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(6),_=n(3),y=n(7),s=function(){function h(i){this._nodeList=[],this._recordQueue=[],this._callback=i;var o=S.dom.window;y.set.append(o._mutationObservers,this)}return h.prototype.observe=function(i,o){var l,u;if((o=o||{childList:!1,subtree:!1}).attributeOldValue===void 0&&o.attributeFilter===void 0||o.attributes!==void 0||(o.attributes=!0),o.characterDataOldValue!==void 0&&o.characterData===void 0&&(o.characterData=!0),!o.childList&&!o.attributes&&!o.characterData)throw new TypeError;if(o.attributeOldValue&&!o.attributes)throw new TypeError;if(o.attributeFilter!==void 0&&!o.attributes)throw new TypeError;if(o.characterDataOldValue&&!o.characterData)throw new TypeError;var p=!1,m=o,f=function(b){var x,E;if(b.observer===t){p=!0;try{for(var w=(x=void 0,v(t._nodeList)),D=w.next();!D.done;D=w.next()){var T=D.value;y.list.remove(T._registeredObserverList,function(N){return _.Guard.isTransientRegisteredObserver(N)&&N.source===b})}}catch(N){x={error:N}}finally{try{D&&!D.done&&(E=w.return)&&E.call(w)}finally{if(x)throw x.error}}b.options=m}},t=this;try{for(var e=v(i._registeredObserverList),g=e.next();!g.done;g=e.next())f(g.value)}catch(b){l={error:b}}finally{try{g&&!g.done&&(u=e.return)&&u.call(e)}finally{if(l)throw l.error}}p||(i._registeredObserverList.push({observer:this,options:o}),this._nodeList.push(i))},h.prototype.disconnect=function(){var i,o,l=this;try{for(var u=v(this._nodeList),p=u.next();!p.done;p=u.next()){var m=p.value;y.list.remove(m._registeredObserverList,function(f){return f.observer===l})}}catch(f){i={error:f}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}this._recordQueue=[]},h.prototype.takeRecords=function(){var i=this._recordQueue;return this._recordQueue=[],i},h}();a.MutationObserverImpl=s},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=function(){function _(){}return Object.defineProperty(_.prototype,"previousElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._previousSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"nextElementSibling",{get:function(){for(var y=v.Cast.asNode(this)._nextSibling;y;){if(v.Guard.isElementNode(y))return y;y=y._nextSibling}return null},enumerable:!0,configurable:!0}),_}();a.NonDocumentTypeChildNodeImpl=S},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(3),S=n(0),_=function(){function y(){}return y.prototype.getElementById=function(s){for(var h=S.tree_getFirstDescendantNode(v.Cast.asNode(this),!1,!1,function(i){return v.Guard.isElementNode(i)});h!==null;){if(h._uniqueIdentifier===s)return h;h=S.tree_getNextDescendantNode(v.Cast.asNode(this),h,!1,!1,function(i){return v.Guard.isElementNode(i)})}return null},y}();a.NonElementParentNodeImpl=_},function(c,a,n){"use strict";var v=this&&this.__values||function(s){var h=typeof Symbol=="function"&&Symbol.iterator,i=h&&s[h],o=0;if(i)return i.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&o>=s.length&&(s=void 0),{value:s&&s[o++],done:!s}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(3),_=n(0),y=function(){function s(){}return Object.defineProperty(s.prototype,"children",{get:function(){return _.create_htmlCollection(S.Cast.asNode(this))},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"firstElementChild",{get:function(){for(var h=S.Cast.asNode(this)._firstChild;h;){if(S.Guard.isElementNode(h))return h;h=h._nextSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"lastElementChild",{get:function(){for(var h=S.Cast.asNode(this)._lastChild;h;){if(S.Guard.isElementNode(h))return h;h=h._previousSibling}return null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"childElementCount",{get:function(){var h,i,o=0;try{for(var l=v(S.Cast.asNode(this)._children),u=l.next();!u.done;u=l.next()){var p=u.value;S.Guard.isElementNode(p)&&o++}}catch(m){h={error:m}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(h)throw h.error}}return o},enumerable:!0,configurable:!0}),s.prototype.prepend=function(){for(var h=[],i=0;i0)&&!(m=t.next()).done;)e.push(m.value)}catch(g){f={error:g}}finally{try{m&&!m.done&&(p=t.return)&&p.call(t)}finally{if(f)throw f.error}}return e},S=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var _=n(180),y=n(111),s=n(7),h=n(0),i=n(69),o=function(){function l(){}return l.prototype.parse=function(u){for(var p,m,f,t,e=new _.XMLStringLexer(u,{skipWhitespaceOnlyText:!0}),g=h.create_document(),b=g,x=e.nextToken();x.type!==y.TokenType.EOF;){switch(x.type){case y.TokenType.Declaration:var E=x;if(E.version!=="1.0")throw new Error("Invalid xml version: "+E.version);break;case y.TokenType.DocType:var w=x;if(!h.xml_isPubidChar(w.pubId))throw new Error("DocType public identifier does not match PubidChar construct.");if(!h.xml_isLegalChar(w.sysId)||w.sysId.indexOf('"')!==-1&&w.sysId.indexOf("'")!==-1)throw new Error("DocType system identifier contains invalid characters.");b.appendChild(g.implementation.createDocumentType(w.name,w.pubId,w.sysId));break;case y.TokenType.CDATA:var D=x;if(!h.xml_isLegalChar(D.data)||D.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters.");b.appendChild(g.createCDATASection(D.data));break;case y.TokenType.Comment:var T=x;if(!h.xml_isLegalChar(T.data)||T.data.indexOf("--")!==-1||T.data.endsWith("-"))throw new Error("Comment data contains invalid characters.");b.appendChild(g.createComment(T.data));break;case y.TokenType.PI:var N=x;if(N.target.indexOf(":")!==-1||/^xml$/i.test(N.target))throw new Error("Processing instruction target contains invalid characters.");if(!h.xml_isLegalChar(N.data)||N.data.indexOf("?>")!==-1)throw new Error("Processing instruction data contains invalid characters.");b.appendChild(g.createProcessingInstruction(N.target,N.data));break;case y.TokenType.Text:var I=x;if(!h.xml_isLegalChar(I.data))throw new Error("Text data contains invalid characters.");b.appendChild(g.createTextNode(this._decodeText(I.data)));break;case y.TokenType.Element:var M=x,k=v(h.namespace_extractQName(M.name),2),G=k[0],$=k[1];if($.indexOf(":")!==-1||!h.xml_isName($))throw new Error("Node local name contains invalid characters.");if(G==="xmlns")throw new Error("An element cannot have the 'xmlns' prefix.");var Y=b.lookupNamespaceURI(G),z={};try{for(var X=(p=void 0,S(M.attributes)),H=X.next();!H.done;H=X.next()){var ee=v(H.value,2),re=ee[0],de=ee[1];if(re==="xmlns")Y=de;else{var ve=v(h.namespace_extractQName(re),2),ne=ve[0],Q=ve[1];ne==="xmlns"&&(Q===G&&(Y=de),z[Q]=de)}}}catch(R){p={error:R}}finally{try{H&&!H.done&&(m=X.return)&&m.call(X)}finally{if(p)throw p.error}}var ie=Y!==null?g.createElementNS(Y,M.name):g.createElement(M.name);b.appendChild(ie);var le=new i.LocalNameSet;try{for(var fe=(f=void 0,S(M.attributes)),P=fe.next();!P.done;P=fe.next()){var C=v(P.value,2),B=(re=C[0],de=C[1],v(h.namespace_extractQName(re),2)),L=(ne=B[0],Q=B[1],null);if(ne==="xmlns"||ne===null&&Q==="xmlns"?L=s.namespace.XMLNS:(L=ie.lookupNamespaceURI(ne))!==null&&ie.isDefaultNamespace(L)?L=null:L===null&&ne!==null&&(L=z[ne]||null),le.has(L,Q))throw new Error("Element contains duplicate attributes.");if(le.set(L,Q),L===s.namespace.XMLNS&&de===s.namespace.XMLNS)throw new Error("XMLNS namespace is reserved.");if(Q.indexOf(":")!==-1||!h.xml_isName(Q))throw new Error("Attribute local name contains invalid characters.");if(ne==="xmlns"&&de==="")throw new Error("Empty XML namespace is not allowed.");L!==null?ie.setAttributeNS(L,re,this._decodeAttributeValue(de)):ie.setAttribute(re,this._decodeAttributeValue(de))}}catch(R){f={error:R}}finally{try{P&&!P.done&&(t=fe.return)&&t.call(fe)}finally{if(f)throw f.error}}M.selfClosing||(b=ie);break;case y.TokenType.ClosingTag:if(x.name!==b.nodeName)throw new Error("Closing tag name does not match opening tag name.");b._parent&&(b=b._parent)}x=e.nextToken()}return g},l.prototype._decodeText=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l.prototype._decodeAttributeValue=function(u){return u==null?u:u.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},l}();a.XMLParserImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(275);a.XMLSerializer=v.XMLSerializerImpl},function(c,a,n){"use strict";var v=this&&this.__values||function(l){var u=typeof Symbol=="function"&&Symbol.iterator,p=u&&l[u],m=0;if(p)return p.call(l);if(l&&typeof l.length=="number")return{next:function(){return l&&m>=l.length&&(l=void 0),{value:l&&l[m++],done:!l}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var S=n(2),_=n(69),y=n(95),s=n(9),h=n(7),i=n(0),o=function(){function l(){}return l.prototype.serializeToString=function(u){return this._xmlSerialization(u,!1)},l.prototype._xmlSerialization=function(u,p){if(u._nodeDocument===void 0||u._nodeDocument._hasNamespaces){var m=new y.NamespacePrefixMap;m.set("xml",h.namespace.XML);try{return this._serializeNodeNS(u,null,m,{value:1},p)}catch{throw new s.InvalidStateError}}else try{return this._serializeNode(u,p)}catch{throw new s.InvalidStateError}},l.prototype._serializeNodeNS=function(u,p,m,f,t){switch(u.nodeType){case S.NodeType.Element:return this._serializeElementNS(u,p,m,f,t);case S.NodeType.Document:return this._serializeDocumentNS(u,p,m,f,t);case S.NodeType.Comment:return this._serializeComment(u,t);case S.NodeType.Text:return this._serializeText(u,t);case S.NodeType.DocumentFragment:return this._serializeDocumentFragmentNS(u,p,m,f,t);case S.NodeType.DocumentType:return this._serializeDocumentType(u,t);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,t);case S.NodeType.CData:return this._serializeCData(u,t);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeNode=function(u,p){switch(u.nodeType){case S.NodeType.Element:return this._serializeElement(u,p);case S.NodeType.Document:return this._serializeDocument(u,p);case S.NodeType.Comment:return this._serializeComment(u,p);case S.NodeType.Text:return this._serializeText(u,p);case S.NodeType.DocumentFragment:return this._serializeDocumentFragment(u,p);case S.NodeType.DocumentType:return this._serializeDocumentType(u,p);case S.NodeType.ProcessingInstruction:return this._serializeProcessingInstruction(u,p);case S.NodeType.CData:return this._serializeCData(u,p);default:throw new Error("Unknown node type: "+u.nodeType)}},l.prototype._serializeElementNS=function(u,p,m,f,t){var e,g;if(t&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var b="<",x="",E=!1,w=!1,D=m.copy(),T={},N=this._recordNamespaceInformation(u,D,T),I=p,M=u.namespaceURI;if(I===M)N!==null&&(w=!0),b+=x=M===h.namespace.XML?"xml:"+u.localName:u.localName;else{var k=u.prefix,G=null;if(k===null&&M===N||(G=D.get(k,M)),k==="xmlns"){if(t)throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");G=k}G!==null?(x=G+":"+u.localName,N!==null&&N!==h.namespace.XML&&(I=N||null),b+=x):k!==null?(k in T&&(k=this._generatePrefix(M,D,f)),D.set(k,M),b+=x+=k+":"+u.localName,b+=" xmlns:"+k+'="'+this._serializeAttributeValue(M,t)+'"',N!==null&&(I=N||null)):N===null||N!==null&&N!==M?(w=!0,I=M,b+=x+=u.localName,b+=' xmlns="'+this._serializeAttributeValue(M,t)+'"'):(I=M,b+=x+=u.localName)}b+=this._serializeAttributesNS(u,D,f,T,w,t);var $=M===h.namespace.HTML;if($&&u.childNodes.length===0&&l._VoidElementNames.has(u.localName)?(b+=" /",E=!0):$||u.childNodes.length!==0||(b+="/",E=!0),b+=">",E)return b;if(!($&&u.localName==="template"))try{for(var Y=v(u._children||u.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;b+=this._serializeNodeNS(X,I,D,f,t)}}catch(H){e={error:H}}finally{try{z&&!z.done&&(g=Y.return)&&g.call(Y)}finally{if(e)throw e.error}}return b+=""},l.prototype._serializeDocumentNS=function(u,p,m,f,t){var e,g;if(t&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeComment=function(u,p){if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("--")!==-1||u.data.endsWith("-")))throw new Error("Comment data contains invalid characters (well-formed required).");return""},l.prototype._serializeText=function(u,p){if(p&&!i.xml_isLegalChar(u.data))throw new Error("Text data contains invalid characters (well-formed required).");for(var m="",f=0;f"?">":t}return m},l.prototype._serializeDocumentFragmentNS=function(u,p,m,f,t){var e,g,b="";try{for(var x=v(u._children||u.childNodes),E=x.next();!E.done;E=x.next()){var w=E.value;b+=this._serializeNodeNS(w,p,m,f,t)}}catch(D){e={error:D}}finally{try{E&&!E.done&&(g=x.return)&&g.call(x)}finally{if(e)throw e.error}}return b},l.prototype._serializeDocumentType=function(u,p){if(p&&!i.xml_isPubidChar(u.publicId))throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");if(p&&(!i.xml_isLegalChar(u.systemId)||u.systemId.indexOf('"')!==-1&&u.systemId.indexOf("'")!==-1))throw new Error("DocType system identifier contains invalid characters (well-formed required).");return u.publicId&&u.systemId?"':u.publicId?"':u.systemId?"':""},l.prototype._serializeProcessingInstruction=function(u,p){if(p&&(u.target.indexOf(":")!==-1||/^xml$/i.test(u.target)))throw new Error("Processing instruction target contains invalid characters (well-formed required).");if(p&&(!i.xml_isLegalChar(u.data)||u.data.indexOf("?>")!==-1))throw new Error("Processing instruction data contains invalid characters (well-formed required).");return""},l.prototype._serializeCData=function(u,p){if(p&&u.data.indexOf("]]>")!==-1)throw new Error("CDATA contains invalid characters (well-formed required).");return""},l.prototype._serializeAttributesNS=function(u,p,m,f,t,e){var g,b,x="",E=e?new _.LocalNameSet:void 0;try{for(var w=v(u.attributes),D=w.next();!D.done;D=w.next()){var T=D.value;if(t||e||T.namespaceURI!==null){if(e&&E&&E.has(T.namespaceURI,T.localName))throw new Error("Element contains duplicate attributes (well-formed required).");e&&E&&E.set(T.namespaceURI,T.localName);var N=T.namespaceURI,I=null;if(N!==null)if(I=p.get(T.prefix,N),N===h.namespace.XMLNS){if(T.value===h.namespace.XML||T.prefix===null&&t||T.prefix!==null&&(!(T.localName in f)||f[T.localName]!==T.value)&&p.has(T.localName,T.value))continue;if(e&&T.value===h.namespace.XMLNS)throw new Error("XMLNS namespace is reserved (well-formed required).");if(e&&T.value==="")throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");T.prefix==="xmlns"&&(I="xmlns")}else I===null&&(x+=" xmlns:"+(I=T.prefix===null||p.hasPrefix(T.prefix)&&!p.has(T.prefix,N)?this._generatePrefix(N,p,m):T.prefix)+'="'+this._serializeAttributeValue(N,e)+'"');if(x+=" ",I!==null&&(x+=I+":"),e&&(T.localName.indexOf(":")!==-1||!i.xml_isName(T.localName)||T.localName==="xmlns"&&N===null))throw new Error("Attribute local name contains invalid characters (well-formed required).");x+=T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}else x+=" "+T.localName+'="'+this._serializeAttributeValue(T.value,e)+'"'}}catch(M){g={error:M}}finally{try{D&&!D.done&&(b=w.return)&&b.call(w)}finally{if(g)throw g.error}}return x},l.prototype._recordNamespaceInformation=function(u,p,m){var f,t,e=null;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value,E=x.namespaceURI,w=x.prefix;if(E===h.namespace.XMLNS){if(w===null){e=x.value;continue}var D=x.localName,T=x.value;if(T===h.namespace.XML||(T===""&&(T=null),p.has(D,T)))continue;p.set(D,T),m[D]=T||""}}}catch(N){f={error:N}}finally{try{b&&!b.done&&(t=g.return)&&t.call(g)}finally{if(f)throw f.error}}return e},l.prototype._generatePrefix=function(u,p,m){var f="ns"+m.value;return m.value++,p.set(f,u),f},l.prototype._serializeAttributeValue=function(u,p){if(p&&u!==null&&!i.xml_isLegalChar(u))throw new Error("Invalid characters in attribute value.");if(u===null)return"";for(var m="",f=0;f"?">":t}return m},l.prototype._serializeElement=function(u,p){var m,f;if(p&&(u.localName.indexOf(":")!==-1||!i.xml_isName(u.localName)))throw new Error("Node local name contains invalid characters (well-formed required).");var t=!1,e=u.localName,g="<"+e;if(g+=this._serializeAttributes(u,p),u._children.size===0&&(g+="/",t=!0),g+=">",t)return g;try{for(var b=v(u._children),x=b.next();!x.done;x=b.next()){var E=x.value;g+=this._serializeNode(E,p)}}catch(w){m={error:w}}finally{try{x&&!x.done&&(f=b.return)&&f.call(b)}finally{if(m)throw m.error}}return g+=""},l.prototype._serializeDocument=function(u,p){var m,f;if(p&&u.documentElement===null)throw new Error("Missing document element (well-formed required).");var t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeDocumentFragment=function(u,p){var m,f,t="";try{for(var e=v(u._children),g=e.next();!g.done;g=e.next()){var b=g.value;t+=this._serializeNode(b,p)}}catch(x){m={error:x}}finally{try{g&&!g.done&&(f=e.return)&&f.call(e)}finally{if(m)throw m.error}}return t},l.prototype._serializeAttributes=function(u,p){var m,f,t="",e=p?{}:void 0;try{for(var g=v(u.attributes),b=g.next();!b.done;b=g.next()){var x=b.value;if(p&&e&&x.localName in e)throw new Error("Element contains duplicate attributes (well-formed required).");if(p&&e&&(e[x.localName]=!0),p&&(x.localName.indexOf(":")!==-1||!i.xml_isName(x.localName)))throw new Error("Attribute local name contains invalid characters (well-formed required).");t+=" "+x.localName+'="'+this._serializeAttributeValue(x.value,p)+'"'}}catch(E){m={error:E}}finally{try{b&&!b.done&&(f=g.return)&&f.call(g)}finally{if(m)throw m.error}}return t},l._VoidElementNames=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"]),l}();a.XMLSerializerImpl=o},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(277);a.XMLReader=v.XMLReader;var S=n(112);a.ObjectReader=S.ObjectReader;var _=n(280);a.JSONReader=_.JSONReader;var y=n(281);a.YAMLReader=y.YAMLReader},function(c,a,n){"use strict";n(31),n(32),n(33),n(19),n(65),n(20),n(22),n(23);var v,S=this&&this.__extends||(v=function(u,p){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,f){m.__proto__=f}||function(m,f){for(var t in f)f.hasOwnProperty(t)&&(m[t]=f[t])})(u,p)},function(u,p){function m(){this.constructor=u}v(u,p),u.prototype=p===null?Object.create(p):(m.prototype=p.prototype,new m)}),_=this&&this.__read||function(u,p){var m=typeof Symbol=="function"&&u[Symbol.iterator];if(!m)return u;var f,t,e=m.call(u),g=[];try{for(;(p===void 0||p-- >0)&&!(f=e.next()).done;)g.push(f.value)}catch(b){t={error:b}}finally{try{f&&!f.done&&(m=e.return)&&m.call(e)}finally{if(t)throw t.error}}return g},y=this&&this.__values||function(u){var p=typeof Symbol=="function"&&Symbol.iterator,m=p&&u[p],f=0;if(m)return m.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&f>=u.length&&(u=void 0),{value:u&&u[f++],done:!u}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(a,"__esModule",{value:!0});var s=n(180),h=n(111),i=n(7),o=n(0),l=function(u){function p(){return u!==null&&u.apply(this,arguments)||this}return S(p,u),p.prototype._parse=function(m,f){for(var t,e,g,b,x=new s.XMLStringLexer(f,{skipWhitespaceOnlyText:!0}),E=m,w=m,D=x.nextToken();D.type!==h.TokenType.EOF;){switch(D.type){case h.TokenType.Declaration:var T=D,N=this.sanitize(T.version);if(N!=="1.0")throw new Error("Invalid xml version: "+N);var I={version:N};T.encoding&&(I.encoding=this.sanitize(T.encoding)),T.standalone&&(I.standalone=this.sanitize(T.standalone)==="yes"),w.set(I);break;case h.TokenType.DocType:var M=D;w=this.docType(w,this.sanitize(M.name),this.sanitize(M.pubId),this.sanitize(M.sysId))||w;break;case h.TokenType.CDATA:var k=D;w=this.cdata(w,this.sanitize(k.data))||w;break;case h.TokenType.Comment:var G=D;w=this.comment(w,this.sanitize(G.data))||w;break;case h.TokenType.PI:var $=D;w=this.instruction(w,this.sanitize($.target),this.sanitize($.data))||w;break;case h.TokenType.Text:var Y=D;w=this.text(w,this._decodeText(this.sanitize(Y.data)))||w;break;case h.TokenType.Element:var z=D,X=this.sanitize(z.name),H=_(o.namespace_extractQName(X),1)[0],ee=w.node.lookupNamespaceURI(H),re={};try{for(var de=(t=void 0,y(z.attributes)),ve=de.next();!ve.done;ve=de.next()){var ne=_(ve.value,2),Q=ne[0],ie=ne[1];if(Q=this.sanitize(Q),ie=this.sanitize(ie),Q==="xmlns")ee=ie;else{var le=_(o.namespace_extractQName(Q),2),fe=le[0],P=le[1];fe==="xmlns"&&(P===H&&(ee=ie),re[P]=ie)}}}catch(ae){t={error:ae}}finally{try{ve&&!ve.done&&(e=de.return)&&e.call(de)}finally{if(t)throw t.error}}var C=ee!==null?this.element(w,ee,X):this.element(w,void 0,X);if(C===void 0)break;w.node===m.node&&(E=C);try{for(var B=(g=void 0,y(z.attributes)),L=B.next();!L.done;L=B.next()){var R=_(L.value,2);Q=R[0],ie=R[1],Q=this.sanitize(Q),ie=this.sanitize(ie);var q=_(o.namespace_extractQName(Q),2),W=(fe=q[0],P=q[1],null);fe==="xmlns"||fe===null&&P==="xmlns"?W=i.namespace.XMLNS:(W=C.node.lookupNamespaceURI(fe))!==null&&C.node.isDefaultNamespace(W)?W=null:W===null&&fe!==null&&(W=re[fe]||null),W!==null?this.attribute(C,W,Q,this._decodeAttributeValue(ie)):this.attribute(C,void 0,Q,this._decodeAttributeValue(ie))}}catch(ae){g={error:ae}}finally{try{L&&!L.done&&(b=B.return)&&b.call(B)}finally{if(g)throw g.error}}z.selfClosing||(w=C);break;case h.TokenType.ClosingTag:w.node.parentNode&&(w=w.up())}D=x.nextToken()}return E},p}(n(75).BaseReader);a.XMLReader=l},function(c,a,n){var v=n(4),S=n(279);v({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},function(c,a,n){"use strict";var v=n(16),S=n(8),_=n(61),y=n(85),s=n(79),h=n(27),i=n(41),o=Object.assign,l=Object.defineProperty;c.exports=!o||S(function(){if(v&&o({b:1},o(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},p={},m=Symbol();return u[m]=7,"abcdefghijklmnopqrst".split("").forEach(function(f){p[f]=f}),o({},u)[m]!=7||_(o({},p)).join("")!="abcdefghijklmnopqrst"})?function(u,p){for(var m=h(u),f=arguments.length,t=1,e=y.f,g=s.f;f>t;)for(var b,x=i(arguments[t++]),E=e?_(x).concat(e(x)):_(x),w=E.length,D=0;w>D;)b=E[D++],v&&!g.call(x,b)||(m[b]=x[b]);return m}:o},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(s,h){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l])})(s,h)},function(s,h){function i(){this.constructor=s}v(s,h),s.prototype=h===null?Object.create(h):(i.prototype=h.prototype,new i)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=function(s){function h(){return s!==null&&s.apply(this,arguments)||this}return S(h,s),h.prototype._parse=function(i,o){return new _.ObjectReader(this._builderOptions).parse(i,JSON.parse(o))},h}(n(75).BaseReader);a.JSONReader=y},function(c,a,n){"use strict";var v,S=this&&this.__extends||(v=function(i,o){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var p in u)u.hasOwnProperty(p)&&(l[p]=u[p])})(i,o)},function(i,o){function l(){this.constructor=i}v(i,o),i.prototype=o===null?Object.create(o):(l.prototype=o.prototype,new l)});Object.defineProperty(a,"__esModule",{value:!0});var _=n(112),y=n(75),s=n(282),h=function(i){function o(){return i!==null&&i.apply(this,arguments)||this}return S(o,i),o.prototype._parse=function(l,u){var p=s.safeLoad(u);if(p===void 0)throw new Error("Unable to parse YAML document.");return new _.ObjectReader(this._builderOptions).parse(l,p)},o}(y.BaseReader);a.YAMLReader=h},function(c,a,n){"use strict";var v=n(283);c.exports=v},function(c,a,n){"use strict";var v=n(284),S=n(303);function _(y){return function(){throw new Error("Function "+y+" is deprecated and cannot be used.")}}c.exports.Type=n(10),c.exports.Schema=n(39),c.exports.FAILSAFE_SCHEMA=n(113),c.exports.JSON_SCHEMA=n(182),c.exports.CORE_SCHEMA=n(181),c.exports.DEFAULT_SAFE_SCHEMA=n(54),c.exports.DEFAULT_FULL_SCHEMA=n(76),c.exports.load=v.load,c.exports.loadAll=v.loadAll,c.exports.safeLoad=v.safeLoad,c.exports.safeLoadAll=v.safeLoadAll,c.exports.dump=S.dump,c.exports.safeDump=S.safeDump,c.exports.YAMLException=n(53),c.exports.MINIMAL_SCHEMA=n(113),c.exports.SAFE_SCHEMA=n(54),c.exports.DEFAULT_SCHEMA=n(76),c.exports.scan=_("scan"),c.exports.parse=_("parse"),c.exports.compose=_("compose"),c.exports.addConstructor=_("addConstructor")},function(c,a,n){"use strict";var v=n(38),S=n(53),_=n(285),y=n(54),s=n(76),h=Object.prototype.hasOwnProperty,i=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,o=/[\x85\u2028\u2029]/,l=/[,\[\]\{\}]/,u=/^(?:!|!!|![a-z\-]+!)$/i,p=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function m(C){return Object.prototype.toString.call(C)}function f(C){return C===10||C===13}function t(C){return C===9||C===32}function e(C){return C===9||C===32||C===10||C===13}function g(C){return C===44||C===91||C===93||C===123||C===125}function b(C){var B;return 48<=C&&C<=57?C-48:97<=(B=32|C)&&B<=102?B-97+10:-1}function x(C){return C===48?"\0":C===97?"\x07":C===98?"\b":C===116||C===9?" ":C===110?` +`:C===118?"\v":C===102?"\f":C===114?"\r":C===101?"\x1B":C===32?" ":C===34?'"':C===47?"/":C===92?"\\":C===78?"\x85":C===95?"\xA0":C===76?"\u2028":C===80?"\u2029":""}function E(C){return C<=65535?String.fromCharCode(C):String.fromCharCode(55296+(C-65536>>10),56320+(C-65536&1023))}for(var w=new Array(256),D=new Array(256),T=0;T<256;T++)w[T]=x(T)?1:0,D[T]=x(T);function N(C,B){this.input=C,this.filename=B.filename||null,this.schema=B.schema||s,this.onWarning=B.onWarning||null,this.legacy=B.legacy||!1,this.json=B.json||!1,this.listener=B.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=C.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function I(C,B){return new S(B,new _(C.filename,C.input,C.position,C.line,C.position-C.lineStart))}function M(C,B){throw I(C,B)}function k(C,B){C.onWarning&&C.onWarning.call(null,I(C,B))}var G={YAML:function(C,B,L){var R,q,W;C.version!==null&&M(C,"duplication of %YAML directive"),L.length!==1&&M(C,"YAML directive accepts exactly one argument"),(R=/^([0-9]+)\.([0-9]+)$/.exec(L[0]))===null&&M(C,"ill-formed argument of the YAML directive"),q=parseInt(R[1],10),W=parseInt(R[2],10),q!==1&&M(C,"unacceptable YAML version of the document"),C.version=L[0],C.checkLineBreaks=W<2,W!==1&&W!==2&&k(C,"unsupported YAML version of the document")},TAG:function(C,B,L){var R,q;L.length!==2&&M(C,"TAG directive accepts exactly two arguments"),R=L[0],q=L[1],u.test(R)||M(C,"ill-formed tag handle (first argument) of the TAG directive"),h.call(C.tagMap,R)&&M(C,'there is a previously declared suffix for "'+R+'" tag handle'),p.test(q)||M(C,"ill-formed tag prefix (second argument) of the TAG directive"),C.tagMap[R]=q}};function $(C,B,L,R){var q,W,ae,me;if(B1&&(C.result+=v.repeat(` +`,B-1))}function de(C,B){var L,R,q=C.tag,W=C.anchor,ae=[],me=!1;for(C.anchor!==null&&(C.anchorMap[C.anchor]=ae),R=C.input.charCodeAt(C.position);R!==0&&R===45&&e(C.input.charCodeAt(C.position+1));)if(me=!0,C.position++,H(C,!0,-1)&&C.lineIndent<=B)ae.push(null),R=C.input.charCodeAt(C.position);else if(L=C.line,Q(C,B,3,!1,!0),ae.push(C.result),H(C,!0,-1),R=C.input.charCodeAt(C.position),(C.line===L||C.lineIndent>B)&&R!==0)M(C,"bad indentation of a sequence entry");else if(C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentB?Ye=1:C.lineIndent===B?Ye=0:C.lineIndentWe)&&(Q(K,We,4,!0,se)&&(ft?Et=K.result:wt=K.result),ft||(z(K,Ue,He,et,Et,wt,xe,be),et=Et=wt=null),H(K,!0,-1),Ne=K.input.charCodeAt(K.position)),K.lineIndent>We&&Ne!==0)M(K,"bad indentation of a mapping entry");else if(K.lineIndent=0))break;se===0?M(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ze?M(K,"repeat of an indentation width identifier"):(Ue=We+se-1,ze=!0)}if(t(xe)){do xe=K.input.charCodeAt(++K.position);while(t(xe));if(xe===35)do xe=K.input.charCodeAt(++K.position);while(!f(xe)&&xe!==0)}for(;xe!==0;){for(X(K),K.lineIndent=0,xe=K.input.charCodeAt(K.position);(!ze||K.lineIndentUe&&(Ue=K.lineIndent),f(xe))He++;else{if(K.lineIndent0){for(se=be,xe=0;se>0;se--)(be=b(Ne=K.input.charCodeAt(++K.position)))>=0?xe=(xe<<4)+be:M(K,"expected hexadecimal character");K.result+=E(xe),K.position++}else M(K,"unknown escape sequence");Ge=Fe=K.position}else f(Ne)?($(K,Ge,Fe,!0),re(K,H(K,!1,We)),Ge=Fe=K.position):K.position===K.lineStart&&ee(K)?M(K,"unexpected end of the document within a double quoted scalar"):(K.position++,Fe=K.position)}M(K,"unexpected end of the stream within a double quoted scalar")}(C,je)?ct=!0:function(K){var We,Ge,Fe;if((Fe=K.input.charCodeAt(K.position))!==42)return!1;for(Fe=K.input.charCodeAt(++K.position),We=K.position;Fe!==0&&!e(Fe)&&!g(Fe);)Fe=K.input.charCodeAt(++K.position);return K.position===We&&M(K,"name of an alias node must contain at least one character"),Ge=K.input.slice(We,K.position),K.anchorMap.hasOwnProperty(Ge)||M(K,'unidentified alias "'+Ge+'"'),K.result=K.anchorMap[Ge],H(K,!0,-1),!0}(C)?(ct=!0,C.tag===null&&C.anchor===null||M(C,"alias node should not have any properties")):function(K,We,Ge){var Fe,se,xe,be,Ne,Ce,ze,Ue,He=K.kind,et=K.result;if(e(Ue=K.input.charCodeAt(K.position))||g(Ue)||Ue===35||Ue===38||Ue===42||Ue===33||Ue===124||Ue===62||Ue===39||Ue===34||Ue===37||Ue===64||Ue===96||(Ue===63||Ue===45)&&(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe)))return!1;for(K.kind="scalar",K.result="",se=xe=K.position,be=!1;Ue!==0;){if(Ue===58){if(e(Fe=K.input.charCodeAt(K.position+1))||Ge&&g(Fe))break}else if(Ue===35){if(e(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&ee(K)||Ge&&g(Ue))break;if(f(Ue)){if(Ne=K.line,Ce=K.lineStart,ze=K.lineIndent,H(K,!1,-1),K.lineIndent>=We){be=!0,Ue=K.input.charCodeAt(K.position);continue}K.position=xe,K.line=Ne,K.lineStart=Ce,K.lineIndent=ze;break}}be&&($(K,se,xe,!1),re(K,K.line-Ne),se=xe=K.position,be=!1),t(Ue)||(xe=K.position+1),Ue=K.input.charCodeAt(++K.position)}return $(K,se,xe,!1),!!K.result||(K.kind=He,K.result=et,!1)}(C,je,L===1)&&(ct=!0,C.tag===null&&(C.tag="?")),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):Ye===0&&(ct=me&&de(C,ot))),C.tag!==null&&C.tag!=="!")if(C.tag==="?"){for(C.result!==null&&C.kind!=="scalar"&&M(C,'unacceptable node kind for ! tag; it should be "scalar", not "'+C.kind+'"'),ge=0,Ae=C.implicitTypes.length;ge tag; it should be "'+Re.kind+'", not "'+C.kind+'"'),Re.resolve(C.result)?(C.result=Re.construct(C.result),C.anchor!==null&&(C.anchorMap[C.anchor]=C.result)):M(C,"cannot resolve a node with !<"+C.tag+"> explicit tag")):M(C,"unknown tag !<"+C.tag+">");return C.listener!==null&&C.listener("close",C),C.tag!==null||C.anchor!==null||ct}function ie(C){var B,L,R,q,W=C.position,ae=!1;for(C.version=null,C.checkLineBreaks=C.legacy,C.tagMap={},C.anchorMap={};(q=C.input.charCodeAt(C.position))!==0&&(H(C,!0,-1),q=C.input.charCodeAt(C.position),!(C.lineIndent>0||q!==37));){for(ae=!0,q=C.input.charCodeAt(++C.position),B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);for(R=[],(L=C.input.slice(B,C.position)).length<1&&M(C,"directive name must not be less than one character in length");q!==0;){for(;t(q);)q=C.input.charCodeAt(++C.position);if(q===35){do q=C.input.charCodeAt(++C.position);while(q!==0&&!f(q));break}if(f(q))break;for(B=C.position;q!==0&&!e(q);)q=C.input.charCodeAt(++C.position);R.push(C.input.slice(B,C.position))}q!==0&&X(C),h.call(G,L)?G[L](C,L,R):k(C,'unknown document directive "'+L+'"')}H(C,!0,-1),C.lineIndent===0&&C.input.charCodeAt(C.position)===45&&C.input.charCodeAt(C.position+1)===45&&C.input.charCodeAt(C.position+2)===45?(C.position+=3,H(C,!0,-1)):ae&&M(C,"directives end mark is expected"),Q(C,C.lineIndent-1,4,!1,!0),H(C,!0,-1),C.checkLineBreaks&&o.test(C.input.slice(W,C.position))&&k(C,"non-ASCII line breaks are interpreted as content"),C.documents.push(C.result),C.position===C.lineStart&&ee(C)?C.input.charCodeAt(C.position)===46&&(C.position+=3,H(C,!0,-1)):C.position0&&`\0\r +\x85\u2028\u2029`.indexOf(this.buffer.charAt(h-1))===-1;)if(h-=1,this.position-h>y/2-1){s=" ... ",h+=5;break}for(i="",o=this.position;oy/2-1){i=" ... ",o-=5;break}return l=this.buffer.slice(h,o),v.repeat(" ",_)+s+l+i+` +`+v.repeat(" ",_+this.position-h+s.length)+"^"},S.prototype.toString=function(_){var y,s="";return this.name&&(s+='in "'+this.name+'" '),s+="at line "+(this.line+1)+", column "+(this.column+1),_||(y=this.getSnippet())&&(s+=`: +`+y),s},c.exports=S},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(S){return S!==null?S:""}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(S){return S!==null?S:[]}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(S){return S!==null?S:{}}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(S){if(S===null)return!0;var _=S.length;return _===1&&S==="~"||_===4&&(S==="null"||S==="Null"||S==="NULL")},construct:function(){return null},predicate:function(S){return S===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(S){if(S===null)return!1;var _=S.length;return _===4&&(S==="true"||S==="True"||S==="TRUE")||_===5&&(S==="false"||S==="False"||S==="FALSE")},construct:function(S){return S==="true"||S==="True"||S==="TRUE"},predicate:function(S){return Object.prototype.toString.call(S)==="[object Boolean]"},represent:{lowercase:function(S){return S?"true":"false"},uppercase:function(S){return S?"TRUE":"FALSE"},camelcase:function(S){return S?"True":"False"}},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(38),S=n(10);function _(s){return 48<=s&&s<=55}function y(s){return 48<=s&&s<=57}c.exports=new S("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(s){if(s===null)return!1;var h,i,o=s.length,l=0,u=!1;if(!o)return!1;if((h=s[l])!=="-"&&h!=="+"||(h=s[++l]),h==="0"){if(l+1===o)return!0;if((h=s[++l])==="b"){for(l++;l=0?"0b"+s.toString(2):"-0b"+s.toString(2).slice(1)},octal:function(s){return s>=0?"0"+s.toString(8):"-0"+s.toString(8).slice(1)},decimal:function(s){return s.toString(10)},hexadecimal:function(s){return s>=0?"0x"+s.toString(16).toUpperCase():"-0x"+s.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(c,a,n){"use strict";var v=n(38),S=n(10),_=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),y=/^[-+]?[0-9]+e/;c.exports=new S("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(s){return s!==null&&!(!_.test(s)||s[s.length-1]==="_")},construct:function(s){var h,i,o,l;return i=(h=s.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,l=[],"+-".indexOf(h[0])>=0&&(h=h.slice(1)),h===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:h===".nan"?NaN:h.indexOf(":")>=0?(h.split(":").forEach(function(u){l.unshift(parseFloat(u,10))}),h=0,o=1,l.forEach(function(u){h+=u*o,o*=60}),i*h):i*parseFloat(h,10)},predicate:function(s){return Object.prototype.toString.call(s)==="[object Number]"&&(s%1!=0||v.isNegativeZero(s))},represent:function(s,h){var i;if(isNaN(s))switch(h){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===s)switch(h){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===s)switch(h){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(v.isNegativeZero(s))return"-0.0";return i=s.toString(10),y.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"})},function(c,a,n){"use strict";var v=n(10),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");c.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(y){return y!==null&&(S.exec(y)!==null||_.exec(y)!==null)},construct:function(y){var s,h,i,o,l,u,p,m,f=0,t=null;if((s=S.exec(y))===null&&(s=_.exec(y)),s===null)throw new Error("Date resolve error");if(h=+s[1],i=+s[2]-1,o=+s[3],!s[4])return new Date(Date.UTC(h,i,o));if(l=+s[4],u=+s[5],p=+s[6],s[7]){for(f=s[7].slice(0,3);f.length<3;)f+="0";f=+f}return s[9]&&(t=6e4*(60*+s[10]+ +(s[11]||0)),s[9]==="-"&&(t=-t)),m=new Date(Date.UTC(h,i,o,l,u,p,f)),t&&m.setTime(m.getTime()-t),m},instanceOf:Date,represent:function(y){return y.toISOString()}})},function(c,a,n){"use strict";var v=n(10);c.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(S){return S==="<<"||S===null}})},function(c,a,n){"use strict";var v;try{v=n(145).Buffer}catch{}var S=n(10),_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;c.exports=new S("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(y){if(y===null)return!1;var s,h,i=0,o=y.length,l=_;for(h=0;h64)){if(s<0)return!1;i+=6}return i%8==0},construct:function(y){var s,h,i=y.replace(/[\r\n=]/g,""),o=i.length,l=_,u=0,p=[];for(s=0;s>16&255),p.push(u>>8&255),p.push(255&u)),u=u<<6|l.indexOf(i.charAt(s));return(h=o%4*6)===0?(p.push(u>>16&255),p.push(u>>8&255),p.push(255&u)):h===18?(p.push(u>>10&255),p.push(u>>2&255)):h===12&&p.push(u>>4&255),v?v.from?v.from(p):new v(p):p},predicate:function(y){return v&&v.isBuffer(y)},represent:function(y){var s,h,i="",o=0,l=y.length,u=_;for(s=0;s>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]),o=(o<<8)+y[s];return(h=l%3)===0?(i+=u[o>>18&63],i+=u[o>>12&63],i+=u[o>>6&63],i+=u[63&o]):h===2?(i+=u[o>>10&63],i+=u[o>>4&63],i+=u[o<<2&63],i+=u[64]):h===1&&(i+=u[o>>2&63],i+=u[o<<4&63],i+=u[64],i+=u[64]),i}})},function(c,a,n){"use strict";var v=n(10),S=Object.prototype.hasOwnProperty,_=Object.prototype.toString;c.exports=new v("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(y){if(y===null)return!0;var s,h,i,o,l,u=[],p=y;for(s=0,h=p.length;s3||_[_.length-s.length-1]!=="/"))},construct:function(S){var _=S,y=/\/([gim]*)$/.exec(S),s="";return _[0]==="/"&&(y&&(s=y[1]),_=_.slice(1,_.length-s.length-1)),new RegExp(_,s)},predicate:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},represent:function(S){var _="/"+S.source+"/";return S.global&&(_+="g"),S.multiline&&(_+="m"),S.ignoreCase&&(_+="i"),_}})},function(c,a,n){"use strict";var v;try{v=n(302)}catch{typeof window<"u"&&(v=window.esprima)}var S=n(10);c.exports=new S("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(_){if(_===null)return!1;try{var y="("+_+")",s=v.parse(y,{range:!0});return s.type==="Program"&&s.body.length===1&&s.body[0].type==="ExpressionStatement"&&(s.body[0].expression.type==="ArrowFunctionExpression"||s.body[0].expression.type==="FunctionExpression")}catch{return!1}},construct:function(_){var y,s="("+_+")",h=v.parse(s,{range:!0}),i=[];if(h.type!=="Program"||h.body.length!==1||h.body[0].type!=="ExpressionStatement"||h.body[0].expression.type!=="ArrowFunctionExpression"&&h.body[0].expression.type!=="FunctionExpression")throw new Error("Failed to resolve function");return h.body[0].expression.params.forEach(function(o){i.push(o.name)}),y=h.body[0].expression.body.range,h.body[0].expression.body.type==="BlockStatement"?new Function(i,s.slice(y[0]+1,y[1]-1)):new Function(i,"return "+s.slice(y[0],y[1]))},predicate:function(_){return Object.prototype.toString.call(_)==="[object Function]"},represent:function(_){return _.toString()}})},function(c,a,n){var v;v=function(){return function(S){var _={};function y(s){if(_[s])return _[s].exports;var h=_[s]={exports:{},id:s,loaded:!1};return S[s].call(h.exports,h,h.exports,y),h.loaded=!0,h.exports}return y.m=S,y.c=_,y.p="",y(0)}([function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(1),h=y(3),i=y(8),o=y(15);function l(p,m,f){var t=null,e=function(T,N){f&&f(T,N),t&&t.visit(T,N)},g=typeof f=="function"?e:null,b=!1;if(m){b=typeof m.comment=="boolean"&&m.comment;var x=typeof m.attachComment=="boolean"&&m.attachComment;(b||x)&&((t=new s.CommentHandler).attach=x,m.comment=!0,g=e)}var E,w=!1;m&&typeof m.sourceType=="string"&&(w=m.sourceType==="module"),E=m&&typeof m.jsx=="boolean"&&m.jsx?new h.JSXParser(p,m,g):new i.Parser(p,m,g);var D=w?E.parseModule():E.parseScript();return b&&t&&(D.comments=t.comments),E.config.tokens&&(D.tokens=E.tokens),E.config.tolerant&&(D.errors=E.errorHandler.errors),D}_.parse=l,_.parseModule=function(p,m,f){var t=m||{};return t.sourceType="module",l(p,t,f)},_.parseScript=function(p,m,f){var t=m||{};return t.sourceType="script",l(p,t,f)},_.tokenize=function(p,m,f){var t,e=new o.Tokenizer(p,m);t=[];try{for(;;){var g=e.getNextToken();if(!g)break;f&&(g=f(g)),t.push(g)}}catch(b){e.errorHandler.tolerate(b)}return e.errorHandler.tolerant&&(t.errors=e.errors()),t};var u=y(2);_.Syntax=u.Syntax,_.version="4.0.1"},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(){function i(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return i.prototype.insertInnerComments=function(o,l){if(o.type===s.Syntax.BlockStatement&&o.body.length===0){for(var u=[],p=this.leading.length-1;p>=0;--p){var m=this.leading[p];l.end.offset>=m.start&&(u.unshift(m.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}u.length&&(o.innerComments=u)}},i.prototype.findTrailingComments=function(o){var l=[];if(this.trailing.length>0){for(var u=this.trailing.length-1;u>=0;--u){var p=this.trailing[u];p.start>=o.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var m=this.stack[this.stack.length-1];if(m&&m.node.trailingComments){var f=m.node.trailingComments[0];f&&f.range[0]>=o.end.offset&&(l=m.node.trailingComments,delete m.node.trailingComments)}return l},i.prototype.findLeadingComments=function(o){for(var l,u=[];this.stack.length>0&&(f=this.stack[this.stack.length-1])&&f.start>=o.start.offset;)l=f.node,this.stack.pop();if(l){for(var p=(l.leadingComments?l.leadingComments.length:0)-1;p>=0;--p){var m=l.leadingComments[p];m.range[1]<=o.start.offset&&(u.unshift(m),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,u}for(p=this.leading.length-1;p>=0;--p){var f;(f=this.leading[p]).start<=o.start.offset&&(u.unshift(f.comment),this.leading.splice(p,1))}return u},i.prototype.visitNode=function(o,l){if(!(o.type===s.Syntax.Program&&o.body.length>0)){this.insertInnerComments(o,l);var u=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(o.leadingComments=p),u.length>0&&(o.trailingComments=u),this.stack.push({node:o,start:l.start.offset})}},i.prototype.visitComment=function(o,l){var u=o.type[0]==="L"?"Line":"Block",p={type:u,value:o.value};if(o.range&&(p.range=o.range),o.loc&&(p.loc=o.loc),this.comments.push(p),this.attach){var m={comment:{type:u,value:o.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};o.loc&&(m.comment.loc=o.loc),o.type=u,this.leading.push(m),this.trailing.push(m)}},i.prototype.visit=function(o,l){o.type==="LineComment"||o.type==="BlockComment"?this.visitComment(o,l):this.attach&&this.visitNode(o,l)},i}();_.CommentHandler=h},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Syntax={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",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",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"}},function(S,_,y){"use strict";var s,h=this&&this.__extends||(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,b){g.__proto__=b}||function(g,b){for(var x in b)b.hasOwnProperty(x)&&(g[x]=b[x])},function(g,b){function x(){this.constructor=g}s(g,b),g.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)});Object.defineProperty(_,"__esModule",{value:!0});var i=y(4),o=y(5),l=y(6),u=y(7),p=y(8),m=y(13),f=y(14);function t(g){var b;switch(g.type){case l.JSXSyntax.JSXIdentifier:b=g.name;break;case l.JSXSyntax.JSXNamespacedName:var x=g;b=t(x.namespace)+":"+t(x.name);break;case l.JSXSyntax.JSXMemberExpression:var E=g;b=t(E.object)+"."+t(E.property)}return b}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var e=function(g){function b(x,E,w){return g.call(this,x,E,w)||this}return h(b,g),b.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():g.prototype.parsePrimaryExpression.call(this)},b.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},b.prototype.finishJSX=function(){this.nextToken()},b.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},b.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},b.prototype.scanXHTMLEntity=function(x){for(var E="&",w=!0,D=!1,T=!1,N=!1;!this.scanner.eof()&&w&&!D;){var I=this.scanner.source[this.scanner.index];if(I===x)break;if(D=I===";",E+=I,++this.scanner.index,!D)switch(E.length){case 2:T=I==="#";break;case 3:T&&(w=(N=I==="x")||i.Character.isDecimalDigit(I.charCodeAt(0)),T=T&&!N);break;default:w=(w=w&&!(T&&!i.Character.isDecimalDigit(I.charCodeAt(0))))&&!(N&&!i.Character.isHexDigit(I.charCodeAt(0)))}}if(w&&D&&E.length>2){var M=E.substr(1,E.length-2);T&&M.length>1?E=String.fromCharCode(parseInt(M.substr(1),10)):N&&M.length>2?E=String.fromCharCode(parseInt("0"+M.substr(1),16)):T||N||!f.XHTMLEntities[M]||(E=f.XHTMLEntities[M])}return E},b.prototype.lexJSX=function(){var x=this.scanner.source.charCodeAt(this.scanner.index);if(x===60||x===62||x===47||x===58||x===61||x===123||x===125)return{type:7,value:I=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(x===34||x===39){for(var E=this.scanner.index,w=this.scanner.source[this.scanner.index++],D="";!this.scanner.eof()&&(M=this.scanner.source[this.scanner.index++])!==w;)D+=M==="&"?this.scanXHTMLEntity(w):M;return{type:8,value:D,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===46){var T=this.scanner.source.charCodeAt(this.scanner.index+1),N=this.scanner.source.charCodeAt(this.scanner.index+2),I=T===46&&N===46?"...":".";return E=this.scanner.index,this.scanner.index+=I.length,{type:7,value:I,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}if(x===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(x)&&x!==92){for(E=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var M=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(M)&&M!==92)++this.scanner.index;else{if(M!==45)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(E,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:E,end:this.scanner.index}}return this.scanner.lex()},b.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var x=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(x)),x},b.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var x=this.scanner.index,E="";!this.scanner.eof();){var w=this.scanner.source[this.scanner.index];if(w==="{"||w==="<")break;++this.scanner.index,E+=w,i.Character.isLineTerminator(w.charCodeAt(0))&&(++this.scanner.lineNumber,w==="\r"&&this.scanner.source[this.scanner.index]===` +`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var D={type:101,value:E,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:x,end:this.scanner.index};return E.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(D)),D},b.prototype.peekJSXToken=function(){var x=this.scanner.saveState();this.scanner.scanComments();var E=this.lexJSX();return this.scanner.restoreState(x),E},b.prototype.expectJSX=function(x){var E=this.nextJSXToken();E.type===7&&E.value===x||this.throwUnexpectedToken(E)},b.prototype.matchJSX=function(x){var E=this.peekJSXToken();return E.type===7&&E.value===x},b.prototype.parseJSXIdentifier=function(){var x=this.createJSXNode(),E=this.nextJSXToken();return E.type!==100&&this.throwUnexpectedToken(E),this.finalize(x,new o.JSXIdentifier(E.value))},b.prototype.parseJSXElementName=function(){var x=this.createJSXNode(),E=this.parseJSXIdentifier();if(this.matchJSX(":")){var w=E;this.expectJSX(":");var D=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXNamespacedName(w,D))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var T=E;this.expectJSX(".");var N=this.parseJSXIdentifier();E=this.finalize(x,new o.JSXMemberExpression(T,N))}return E},b.prototype.parseJSXAttributeName=function(){var x,E=this.createJSXNode(),w=this.parseJSXIdentifier();if(this.matchJSX(":")){var D=w;this.expectJSX(":");var T=this.parseJSXIdentifier();x=this.finalize(E,new o.JSXNamespacedName(D,T))}else x=w;return x},b.prototype.parseJSXStringLiteralAttribute=function(){var x=this.createJSXNode(),E=this.nextJSXToken();E.type!==8&&this.throwUnexpectedToken(E);var w=this.getTokenRaw(E);return this.finalize(x,new u.Literal(E.value,w))},b.prototype.parseJSXExpressionAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXExpressionContainer(E))},b.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},b.prototype.parseJSXNameValueAttribute=function(){var x=this.createJSXNode(),E=this.parseJSXAttributeName(),w=null;return this.matchJSX("=")&&(this.expectJSX("="),w=this.parseJSXAttributeValue()),this.finalize(x,new o.JSXAttribute(E,w))},b.prototype.parseJSXSpreadAttribute=function(){var x=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var E=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(x,new o.JSXSpreadAttribute(E))},b.prototype.parseJSXAttributes=function(){for(var x=[];!this.matchJSX("/")&&!this.matchJSX(">");){var E=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();x.push(E)}return x},b.prototype.parseJSXOpeningElement=function(){var x=this.createJSXNode();this.expectJSX("<");var E=this.parseJSXElementName(),w=this.parseJSXAttributes(),D=this.matchJSX("/");return D&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(E,D,w))},b.prototype.parseJSXBoundaryElement=function(){var x=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var E=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(x,new o.JSXClosingElement(E))}var w=this.parseJSXElementName(),D=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(x,new o.JSXOpeningElement(w,T,D))},b.prototype.parseJSXEmptyExpression=function(){var x=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(x,new o.JSXEmptyExpression)},b.prototype.parseJSXExpressionContainer=function(){var x,E=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(x=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),x=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(E,new o.JSXExpressionContainer(x))},b.prototype.parseJSXChildren=function(){for(var x=[];!this.scanner.eof();){var E=this.createJSXChildNode(),w=this.nextJSXText();if(w.start0))break;N=this.finalize(x.node,new o.JSXElement(x.opening,x.children,x.closing)),(x=E[E.length-1]).children.push(N),E.pop()}}return x},b.prototype.parseJSXElement=function(){var x=this.createJSXNode(),E=this.parseJSXOpeningElement(),w=[],D=null;if(!E.selfClosing){var T=this.parseComplexJSXElement({node:x,opening:E,closing:D,children:w});w=T.children,D=T.closing}return this.finalize(x,new o.JSXElement(E,w,D))},b.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var x=this.parseJSXElement();return this.finishJSX(),x},b.prototype.isStartOfExpression=function(){return g.prototype.isStartOfExpression.call(this)||this.match("<")},b}(p.Parser);_.JSXParser=e},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\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]/};_.Character={fromCodePoint:function(s){return s<65536?String.fromCharCode(s):String.fromCharCode(55296+(s-65536>>10))+String.fromCharCode(56320+(s-65536&1023))},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s===92||s>=128&&y.NonAsciiIdentifierStart.test(_.Character.fromCodePoint(s))},isIdentifierPart:function(s){return s===36||s===95||s>=65&&s<=90||s>=97&&s<=122||s>=48&&s<=57||s===92||s>=128&&y.NonAsciiIdentifierPart.test(_.Character.fromCodePoint(s))},isDecimalDigit:function(s){return s>=48&&s<=57},isHexDigit:function(s){return s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102},isOctalDigit:function(s){return s>=48&&s<=55}}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(6),h=function(b){this.type=s.JSXSyntax.JSXClosingElement,this.name=b};_.JSXClosingElement=h;var i=function(b,x,E){this.type=s.JSXSyntax.JSXElement,this.openingElement=b,this.children=x,this.closingElement=E};_.JSXElement=i;var o=function(){this.type=s.JSXSyntax.JSXEmptyExpression};_.JSXEmptyExpression=o;var l=function(b){this.type=s.JSXSyntax.JSXExpressionContainer,this.expression=b};_.JSXExpressionContainer=l;var u=function(b){this.type=s.JSXSyntax.JSXIdentifier,this.name=b};_.JSXIdentifier=u;var p=function(b,x){this.type=s.JSXSyntax.JSXMemberExpression,this.object=b,this.property=x};_.JSXMemberExpression=p;var m=function(b,x){this.type=s.JSXSyntax.JSXAttribute,this.name=b,this.value=x};_.JSXAttribute=m;var f=function(b,x){this.type=s.JSXSyntax.JSXNamespacedName,this.namespace=b,this.name=x};_.JSXNamespacedName=f;var t=function(b,x,E){this.type=s.JSXSyntax.JSXOpeningElement,this.name=b,this.selfClosing=x,this.attributes=E};_.JSXOpeningElement=t;var e=function(b){this.type=s.JSXSyntax.JSXSpreadAttribute,this.argument=b};_.JSXSpreadAttribute=e;var g=function(b,x){this.type=s.JSXSyntax.JSXText,this.value=b,this.raw=x};_.JSXText=g},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(2),h=function(ye){this.type=s.Syntax.ArrayExpression,this.elements=ye};_.ArrayExpression=h;var i=function(ye){this.type=s.Syntax.ArrayPattern,this.elements=ye};_.ArrayPattern=i;var o=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!1};_.ArrowFunctionExpression=o;var l=function(ye,Pe,Qe){this.type=s.Syntax.AssignmentExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.AssignmentExpression=l;var u=function(ye,Pe){this.type=s.Syntax.AssignmentPattern,this.left=ye,this.right=Pe};_.AssignmentPattern=u;var p=function(ye,Pe,Qe){this.type=s.Syntax.ArrowFunctionExpression,this.id=null,this.params=ye,this.body=Pe,this.generator=!1,this.expression=Qe,this.async=!0};_.AsyncArrowFunctionExpression=p;var m=function(ye,Pe,Qe){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionDeclaration=m;var f=function(ye,Pe,Qe){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=!1,this.expression=!1,this.async=!0};_.AsyncFunctionExpression=f;var t=function(ye){this.type=s.Syntax.AwaitExpression,this.argument=ye};_.AwaitExpression=t;var e=function(ye,Pe,Qe){var Lt=ye==="||"||ye==="&&";this.type=Lt?s.Syntax.LogicalExpression:s.Syntax.BinaryExpression,this.operator=ye,this.left=Pe,this.right=Qe};_.BinaryExpression=e;var g=function(ye){this.type=s.Syntax.BlockStatement,this.body=ye};_.BlockStatement=g;var b=function(ye){this.type=s.Syntax.BreakStatement,this.label=ye};_.BreakStatement=b;var x=function(ye,Pe){this.type=s.Syntax.CallExpression,this.callee=ye,this.arguments=Pe};_.CallExpression=x;var E=function(ye,Pe){this.type=s.Syntax.CatchClause,this.param=ye,this.body=Pe};_.CatchClause=E;var w=function(ye){this.type=s.Syntax.ClassBody,this.body=ye};_.ClassBody=w;var D=function(ye,Pe,Qe){this.type=s.Syntax.ClassDeclaration,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassDeclaration=D;var T=function(ye,Pe,Qe){this.type=s.Syntax.ClassExpression,this.id=ye,this.superClass=Pe,this.body=Qe};_.ClassExpression=T;var N=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!0,this.object=ye,this.property=Pe};_.ComputedMemberExpression=N;var I=function(ye,Pe,Qe){this.type=s.Syntax.ConditionalExpression,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.ConditionalExpression=I;var M=function(ye){this.type=s.Syntax.ContinueStatement,this.label=ye};_.ContinueStatement=M;var k=function(){this.type=s.Syntax.DebuggerStatement};_.DebuggerStatement=k;var G=function(ye,Pe){this.type=s.Syntax.ExpressionStatement,this.expression=ye,this.directive=Pe};_.Directive=G;var $=function(ye,Pe){this.type=s.Syntax.DoWhileStatement,this.body=ye,this.test=Pe};_.DoWhileStatement=$;var Y=function(){this.type=s.Syntax.EmptyStatement};_.EmptyStatement=Y;var z=function(ye){this.type=s.Syntax.ExportAllDeclaration,this.source=ye};_.ExportAllDeclaration=z;var X=function(ye){this.type=s.Syntax.ExportDefaultDeclaration,this.declaration=ye};_.ExportDefaultDeclaration=X;var H=function(ye,Pe,Qe){this.type=s.Syntax.ExportNamedDeclaration,this.declaration=ye,this.specifiers=Pe,this.source=Qe};_.ExportNamedDeclaration=H;var ee=function(ye,Pe){this.type=s.Syntax.ExportSpecifier,this.exported=Pe,this.local=ye};_.ExportSpecifier=ee;var re=function(ye){this.type=s.Syntax.ExpressionStatement,this.expression=ye};_.ExpressionStatement=re;var de=function(ye,Pe,Qe){this.type=s.Syntax.ForInStatement,this.left=ye,this.right=Pe,this.body=Qe,this.each=!1};_.ForInStatement=de;var ve=function(ye,Pe,Qe){this.type=s.Syntax.ForOfStatement,this.left=ye,this.right=Pe,this.body=Qe};_.ForOfStatement=ve;var ne=function(ye,Pe,Qe,Lt){this.type=s.Syntax.ForStatement,this.init=ye,this.test=Pe,this.update=Qe,this.body=Lt};_.ForStatement=ne;var Q=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionDeclaration,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionDeclaration=Q;var ie=function(ye,Pe,Qe,Lt){this.type=s.Syntax.FunctionExpression,this.id=ye,this.params=Pe,this.body=Qe,this.generator=Lt,this.expression=!1,this.async=!1};_.FunctionExpression=ie;var le=function(ye){this.type=s.Syntax.Identifier,this.name=ye};_.Identifier=le;var fe=function(ye,Pe,Qe){this.type=s.Syntax.IfStatement,this.test=ye,this.consequent=Pe,this.alternate=Qe};_.IfStatement=fe;var P=function(ye,Pe){this.type=s.Syntax.ImportDeclaration,this.specifiers=ye,this.source=Pe};_.ImportDeclaration=P;var C=function(ye){this.type=s.Syntax.ImportDefaultSpecifier,this.local=ye};_.ImportDefaultSpecifier=C;var B=function(ye){this.type=s.Syntax.ImportNamespaceSpecifier,this.local=ye};_.ImportNamespaceSpecifier=B;var L=function(ye,Pe){this.type=s.Syntax.ImportSpecifier,this.local=ye,this.imported=Pe};_.ImportSpecifier=L;var R=function(ye,Pe){this.type=s.Syntax.LabeledStatement,this.label=ye,this.body=Pe};_.LabeledStatement=R;var q=function(ye,Pe){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe};_.Literal=q;var W=function(ye,Pe){this.type=s.Syntax.MetaProperty,this.meta=ye,this.property=Pe};_.MetaProperty=W;var ae=function(ye,Pe,Qe,Lt,qr){this.type=s.Syntax.MethodDefinition,this.key=ye,this.computed=Pe,this.value=Qe,this.kind=Lt,this.static=qr};_.MethodDefinition=ae;var me=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="module"};_.Module=me;var ge=function(ye,Pe){this.type=s.Syntax.NewExpression,this.callee=ye,this.arguments=Pe};_.NewExpression=ge;var Ae=function(ye){this.type=s.Syntax.ObjectExpression,this.properties=ye};_.ObjectExpression=Ae;var Re=function(ye){this.type=s.Syntax.ObjectPattern,this.properties=ye};_.ObjectPattern=Re;var je=function(ye,Pe,Qe,Lt,qr,Gr){this.type=s.Syntax.Property,this.key=Pe,this.computed=Qe,this.value=Lt,this.kind=ye,this.method=qr,this.shorthand=Gr};_.Property=je;var ot=function(ye,Pe,Qe,Lt){this.type=s.Syntax.Literal,this.value=ye,this.raw=Pe,this.regex={pattern:Qe,flags:Lt}};_.RegexLiteral=ot;var Ye=function(ye){this.type=s.Syntax.RestElement,this.argument=ye};_.RestElement=Ye;var Se=function(ye){this.type=s.Syntax.ReturnStatement,this.argument=ye};_.ReturnStatement=Se;var ct=function(ye){this.type=s.Syntax.Program,this.body=ye,this.sourceType="script"};_.Script=ct;var K=function(ye){this.type=s.Syntax.SequenceExpression,this.expressions=ye};_.SequenceExpression=K;var We=function(ye){this.type=s.Syntax.SpreadElement,this.argument=ye};_.SpreadElement=We;var Ge=function(ye,Pe){this.type=s.Syntax.MemberExpression,this.computed=!1,this.object=ye,this.property=Pe};_.StaticMemberExpression=Ge;var Fe=function(){this.type=s.Syntax.Super};_.Super=Fe;var se=function(ye,Pe){this.type=s.Syntax.SwitchCase,this.test=ye,this.consequent=Pe};_.SwitchCase=se;var xe=function(ye,Pe){this.type=s.Syntax.SwitchStatement,this.discriminant=ye,this.cases=Pe};_.SwitchStatement=xe;var be=function(ye,Pe){this.type=s.Syntax.TaggedTemplateExpression,this.tag=ye,this.quasi=Pe};_.TaggedTemplateExpression=be;var Ne=function(ye,Pe){this.type=s.Syntax.TemplateElement,this.value=ye,this.tail=Pe};_.TemplateElement=Ne;var Ce=function(ye,Pe){this.type=s.Syntax.TemplateLiteral,this.quasis=ye,this.expressions=Pe};_.TemplateLiteral=Ce;var ze=function(){this.type=s.Syntax.ThisExpression};_.ThisExpression=ze;var Ue=function(ye){this.type=s.Syntax.ThrowStatement,this.argument=ye};_.ThrowStatement=Ue;var He=function(ye,Pe,Qe){this.type=s.Syntax.TryStatement,this.block=ye,this.handler=Pe,this.finalizer=Qe};_.TryStatement=He;var et=function(ye,Pe){this.type=s.Syntax.UnaryExpression,this.operator=ye,this.argument=Pe,this.prefix=!0};_.UnaryExpression=et;var Et=function(ye,Pe,Qe){this.type=s.Syntax.UpdateExpression,this.operator=ye,this.argument=Pe,this.prefix=Qe};_.UpdateExpression=Et;var wt=function(ye,Pe){this.type=s.Syntax.VariableDeclaration,this.declarations=ye,this.kind=Pe};_.VariableDeclaration=wt;var ft=function(ye,Pe){this.type=s.Syntax.VariableDeclarator,this.id=ye,this.init=Pe};_.VariableDeclarator=ft;var Ut=function(ye,Pe){this.type=s.Syntax.WhileStatement,this.test=ye,this.body=Pe};_.WhileStatement=Ut;var ii=function(ye,Pe){this.type=s.Syntax.WithStatement,this.object=ye,this.body=Pe};_.WithStatement=ii;var oi=function(ye,Pe){this.type=s.Syntax.YieldExpression,this.argument=ye,this.delegate=Pe};_.YieldExpression=oi},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(10),i=y(11),o=y(7),l=y(12),u=y(2),p=y(13),m=function(){function f(t,e,g){e===void 0&&(e={}),this.config={range:typeof e.range=="boolean"&&e.range,loc:typeof e.loc=="boolean"&&e.loc,source:null,tokens:typeof e.tokens=="boolean"&&e.tokens,comment:typeof e.comment=="boolean"&&e.comment,tolerant:typeof e.tolerant=="boolean"&&e.tolerant},this.config.loc&&e.source&&e.source!==null&&(this.config.source=String(e.source)),this.delegate=g,this.errorHandler=new h.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return f.prototype.throwError=function(t){for(var e=[],g=1;g0&&this.delegate)for(var e=0;e>="||t===">>>="||t==="&="||t==="^="||t==="|="},f.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=g,this.context.firstCoverInitializedNameError=b,x},f.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,g=this.context.isAssignmentTarget,b=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var x=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&g,this.context.firstCoverInitializedNameError=b||this.context.firstCoverInitializedNameError,x},f.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type===2||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},f.prototype.parsePrimaryExpression=function(){var t,e,g,b=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(b,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,i.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(e.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.Literal(null,g));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),g=this.getTokenRaw(e),t=this.finalize(b,new o.RegexLiteral(e.regex,g,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(b,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(b,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},f.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},f.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var g=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(g)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},f.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,g=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var b=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=g,b},f.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,g=this.context.await;this.context.allowYield=!1,this.context.await=!0;var b=this.parseFormalParameters(),x=this.parsePropertyMethod(b);return this.context.allowYield=e,this.context.await=g,this.finalize(t,new o.AsyncFunctionExpression(null,b.params,x))},f.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),g=this.nextToken();switch(g.type){case 8:case 6:this.context.strict&&g.octal&&this.tolerateUnexpectedToken(g,i.Messages.StrictOctalLiteral);var b=this.getTokenRaw(g);t=this.finalize(e,new o.Literal(g.value,b));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(g.value));break;case 7:g.value==="["?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(g);break;default:t=this.throwUnexpectedToken(g)}return t},f.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},f.prototype.parseObjectProperty=function(t){var e,g=this.createNode(),b=this.lookahead,x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(b.type===3){var I=b.value;this.nextToken(),w=this.match("["),x=(N=!(this.hasLineTerminator||I!=="async"||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(g,new o.Identifier(I))}else this.match("*")?this.nextToken():(w=this.match("["),x=this.parseObjectPropertyKey());var M=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!N&&b.value==="get"&&M)e="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod();else if(b.type===3&&!N&&b.value==="set"&&M)e="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&M)e="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0;else if(x||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!N)!w&&this.isPropertyKey(x,"__proto__")&&(t.value&&this.tolerateError(i.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),E=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0;else if(b.type===3)if(I=this.finalize(g,new o.Identifier(b.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),T=!0;var k=this.isolateCoverGrammar(this.parseAssignmentExpression);E=this.finalize(g,new o.AssignmentPattern(I,k))}else T=!0,E=I;else this.throwUnexpectedToken(this.nextToken());return this.finalize(g,new o.Property(e,x,w,E,D,T))},f.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],g={value:!1};!this.match("}");)e.push(this.parseObjectProperty(g)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},f.prototype.parseTemplateHead=function(){s.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),g=e.value,b=e.cooked;return this.finalize(t,new o.TemplateElement({raw:g,cooked:b},e.tail))},f.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],g=[],b=this.parseTemplateHead();for(g.push(b);!b.tail;)e.push(this.parseExpression()),b=this.parseTemplateElement(),g.push(b);return this.finalize(t,new o.TemplateLiteral(g,e))},f.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,g=[];if(this.match("..."))t=this.parseRestElement(g),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var b=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var x=[];for(this.context.isAssignmentTarget=!1,x.push(t);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var E=0;E")||this.expect("=>"),this.context.isBindingElement=!1,E=0;E")&&(t.type===u.Syntax.Identifier&&t.name==="yield"&&(b=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!b)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(E=0;E")){for(var D=0;D0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var x=[t,this.lookahead],E=e,w=this.isolateCoverGrammar(this.parseExponentiationExpression),D=[E,g.value,w],T=[b];!((b=this.binaryPrecedence(this.lookahead))<=0);){for(;D.length>2&&b<=T[T.length-1];){w=D.pop();var N=D.pop();T.pop(),E=D.pop(),x.pop();var I=this.startNode(x[x.length-1]);D.push(this.finalize(I,new o.BinaryExpression(N,E,w)))}D.push(this.nextToken().value),T.push(b),x.push(this.lookahead),D.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var M=D.length-1;e=D[M];for(var k=x.pop();M>1;){var G=x.pop(),$=k&&k.lineStart;I=this.startNode(G,$),N=D[M-1],e=this.finalize(I,new o.BinaryExpression(N,D[M-2],e)),M-=2,k=G}}return e},f.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var g=this.context.allowIn;this.context.allowIn=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=g,this.expect(":");var x=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,b,x)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},f.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var g=0;g")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=t.async,E=this.reinterpretAsCoverFormalsList(t);if(E){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var w=this.context.strict,D=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var T=this.context.allowYield,N=this.context.await;this.context.allowYield=!0,this.context.await=x;var I=this.startNode(e);this.expect("=>");var M=void 0;if(this.match("{")){var k=this.context.allowIn;this.context.allowIn=!0,M=this.parseFunctionSourceElements(),this.context.allowIn=k}else M=this.isolateCoverGrammar(this.parseAssignmentExpression);var G=M.type!==u.Syntax.BlockStatement;this.context.strict&&E.firstRestricted&&this.throwUnexpectedToken(E.firstRestricted,E.message),this.context.strict&&E.stricted&&this.tolerateUnexpectedToken(E.stricted,E.message),t=x?this.finalize(I,new o.AsyncArrowFunctionExpression(E.params,M,G)):this.finalize(I,new o.ArrowFunctionExpression(E.params,M,G)),this.context.strict=w,this.context.allowStrictDirective=D,this.context.allowYield=T,this.context.await=N}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(i.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var $=t;this.scanner.isRestrictedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord($.name)&&this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var Y=(g=this.nextToken()).value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(Y,t,z)),this.context.firstCoverInitializedNameError=null}}return t},f.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var g=[];for(g.push(e);this.lookahead.type!==2&&this.match(",");)this.nextToken(),g.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(g))}return e},f.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,i.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},f.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},f.prototype.parseLexicalBinding=function(t,e){var g=this.createNode(),b=this.parsePattern([],t);this.context.strict&&b.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(i.Messages.StrictVarName);var x=null;return t==="const"?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(i.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&b.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(g,new o.VariableDeclarator(b,x))},f.prototype.parseBindingList=function(t,e){for(var g=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),g.push(this.parseLexicalBinding(t,e));return g},f.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),e.type===3||e.type===7&&e.value==="["||e.type===7&&e.value==="{"||e.type===4&&e.value==="let"||e.type===4&&e.value==="yield"},f.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),g=this.nextToken().value;s.assert(g==="let"||g==="const","Lexical declaration must be either let or const");var b=this.parseBindingList(g,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(b,g))},f.prototype.parseBindingRestElement=function(t,e){var g=this.createNode();this.expect("...");var b=this.parsePattern(t,e);return this.finalize(g,new o.RestElement(b))},f.prototype.parseArrayPattern=function(t,e){var g=this.createNode();this.expect("[");for(var b=[];!this.match("]");)if(this.match(","))this.nextToken(),b.push(null);else{if(this.match("...")){b.push(this.parseBindingRestElement(t,e));break}b.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(g,new o.ArrayPattern(b))},f.prototype.parsePropertyPattern=function(t,e){var g,b,x=this.createNode(),E=!1,w=!1;if(this.lookahead.type===3){var D=this.lookahead;g=this.parseVariableIdentifier();var T=this.finalize(x,new o.Identifier(D.value));if(this.match("=")){t.push(D),w=!0,this.nextToken();var N=this.parseAssignmentExpression();b=this.finalize(this.startNode(D),new o.AssignmentPattern(T,N))}else this.match(":")?(this.expect(":"),b=this.parsePatternWithDefault(t,e)):(t.push(D),w=!0,b=T)}else E=this.match("["),g=this.parseObjectPropertyKey(),this.expect(":"),b=this.parsePatternWithDefault(t,e);return this.finalize(x,new o.Property("init",g,E,b,!1,w))},f.prototype.parseObjectPattern=function(t,e){var g=this.createNode(),b=[];for(this.expect("{");!this.match("}");)b.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(g,new o.ObjectPattern(b))},f.prototype.parsePattern=function(t,e){var g;return this.match("[")?g=this.parseArrayPattern(t,e):this.match("{")?g=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||e!=="const"&&e!=="let"||this.tolerateUnexpectedToken(this.lookahead,i.Messages.LetInLexicalBinding),t.push(this.lookahead),g=this.parseVariableIdentifier(e)),g},f.prototype.parsePatternWithDefault=function(t,e){var g=this.lookahead,b=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var x=this.context.allowYield;this.context.allowYield=!0;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=x,b=this.finalize(this.startNode(g),new o.AssignmentPattern(b,E))}return b},f.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),g=this.nextToken();return g.type===4&&g.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(g):g.type!==3?this.context.strict&&g.type===4&&this.scanner.isStrictModeReservedWord(g.value)?this.tolerateUnexpectedToken(g,i.Messages.StrictReservedWord):(this.context.strict||g.value!=="let"||t!=="var")&&this.throwUnexpectedToken(g):(this.context.isModule||this.context.await)&&g.type===3&&g.value==="await"&&this.tolerateUnexpectedToken(g),this.finalize(e,new o.Identifier(g.value))},f.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),g=this.parsePattern([],"var");this.context.strict&&g.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(i.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(g,b))},f.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},g=[];for(g.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),g.push(this.parseVariableDeclaration(e));return g},f.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},f.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},f.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},f.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(i.Messages.StrictFunction),this.parseStatement()},f.prototype.parseIfStatement=function(){var t,e=this.createNode(),g=null;this.expectKeyword("if"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),g=this.parseIfClause())),this.finalize(e,new o.IfStatement(b,t,g))},f.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var g=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(g,b))},f.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var b=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=b}return this.finalize(e,new o.WhileStatement(g,t))},f.prototype.parseForStatement=function(){var t,e,g,b=null,x=null,E=null,w=!0,D=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){b=this.createNode(),this.nextToken();var T=this.context.allowIn;this.context.allowIn=!1;var N=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=T,N.length===1&&this.matchKeyword("in")){var I=N[0];I.init&&(I.id.type===u.Syntax.ArrayPattern||I.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(i.Messages.ForInOfLoopInitializer,"for-in"),b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseExpression(),b=null}else N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(b=this.finalize(b,new o.VariableDeclaration(N,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){b=this.createNode();var M=this.nextToken().value;this.context.strict||this.lookahead.value!=="in"?(T=this.context.allowIn,this.context.allowIn=!1,N=this.parseBindingList(M,{inFor:!0}),this.context.allowIn=T,N.length===1&&N[0].init===null&&this.matchKeyword("in")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseExpression(),b=null):N.length===1&&N[0].init===null&&this.matchContextualKeyword("of")?(b=this.finalize(b,new o.VariableDeclaration(N,M)),this.nextToken(),t=b,e=this.parseAssignmentExpression(),b=null,w=!1):(this.consumeSemicolon(),b=this.finalize(b,new o.VariableDeclaration(N,M)))):(b=this.finalize(b,new o.Identifier(M)),this.nextToken(),t=b,e=this.parseExpression(),b=null)}else{var k=this.lookahead;if(T=this.context.allowIn,this.context.allowIn=!1,b=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=T,this.matchKeyword("in"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseExpression(),b=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&b.type!==u.Syntax.AssignmentExpression||this.tolerateError(i.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(b),t=b,e=this.parseAssignmentExpression(),b=null,w=!1;else{if(this.match(",")){for(var G=[b];this.match(",");)this.nextToken(),G.push(this.isolateCoverGrammar(this.parseAssignmentExpression));b=this.finalize(this.startNode(k),new o.SequenceExpression(G))}this.expect(";")}}if(t===void 0&&(this.match(";")||(x=this.parseExpression()),this.expect(";"),this.match(")")||(E=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),g=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var $=this.context.inIteration;this.context.inIteration=!0,g=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=$}return t===void 0?this.finalize(D,new o.ForStatement(b,x,E,g)):w?this.finalize(D,new o.ForInStatement(t,e,g)):this.finalize(D,new o.ForOfStatement(t,e,g))},f.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier();e=g;var b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name)}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.throwError(i.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},f.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var g=this.parseVariableIdentifier(),b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)||this.throwError(i.Messages.UnknownLabel,g.name),e=g}return this.consumeSemicolon(),e!==null||this.context.inIteration||this.context.inSwitch||this.throwError(i.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},f.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(i.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||this.lookahead.type===2)&&this.lookahead.type!==8&&this.lookahead.type!==10?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},f.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(i.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(g,t))},f.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var g=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)g.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,g))},f.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var g=this.context.inSwitch;this.context.inSwitch=!0;var b=[],x=!1;for(this.expect("{");!this.match("}");){var E=this.parseSwitchCase();E.test===null&&(x&&this.throwError(i.Messages.MultipleDefaultsInSwitch),x=!0),b.push(E)}return this.expect("}"),this.context.inSwitch=g,this.finalize(t,new o.SwitchStatement(e,b))},f.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),g=this.parseExpression();if(g.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var b=g,x="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,x)&&this.throwError(i.Messages.Redeclaration,"Label",b.name),this.context.labelSet[x]=!0;var E=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),E=this.parseClassDeclaration();else if(this.matchKeyword("function")){var w=this.lookahead,D=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(w,i.Messages.StrictFunction):D.generator&&this.tolerateUnexpectedToken(w,i.Messages.GeneratorInLegacyContext),E=D}else E=this.parseStatement();delete this.context.labelSet[x],t=new o.LabeledStatement(b,E)}else this.consumeSemicolon(),t=new o.ExpressionStatement(g);return this.finalize(e,t)},f.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(i.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},f.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],g=this.parsePattern(e),b={},x=0;x0&&this.tolerateError(i.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(i.Messages.BadSetterArity):g.params[0]instanceof o.RestElement&&this.tolerateError(i.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!1))},f.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,g.params,b,!0))},f.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t=e==="["||e==="("||e==="{"||e==="+"||e==="-"||e==="!"||e==="~"||e==="++"||e==="--"||e==="/"||e==="/=";break;case 4:t=e==="class"||e==="delete"||e==="function"||e==="let"||e==="new"||e==="super"||e==="this"||e==="typeof"||e==="void"||e==="yield"}return t},f.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,g=!1;if(!this.hasLineTerminator){var b=this.context.allowYield;this.context.allowYield=!1,(g=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=b}return this.finalize(t,new o.YieldExpression(e,g))},f.prototype.parseClassElement=function(t){var e=this.lookahead,g=this.createNode(),b="",x=null,E=null,w=!1,D=!1,T=!1,N=!1;if(this.match("*"))this.nextToken();else if(w=this.match("["),(x=this.parseObjectPropertyKey()).name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,T=!0,w=this.match("["),this.match("*")?this.nextToken():x=this.parseObjectPropertyKey()),e.type===3&&!this.hasLineTerminator&&e.value==="async"){var I=this.lookahead.value;I!==":"&&I!=="("&&I!=="*"&&(N=!0,e=this.lookahead,x=this.parseObjectPropertyKey(),e.type===3&&e.value==="constructor"&&this.tolerateUnexpectedToken(e,i.Messages.ConstructorIsAsync))}var M=this.qualifiedPropertyName(this.lookahead);return e.type===3?e.value==="get"&&M?(b="get",w=this.match("["),x=this.parseObjectPropertyKey(),this.context.allowYield=!1,E=this.parseGetterMethod()):e.value==="set"&&M&&(b="set",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseSetterMethod()):e.type===7&&e.value==="*"&&M&&(b="init",w=this.match("["),x=this.parseObjectPropertyKey(),E=this.parseGeneratorMethod(),D=!0),!b&&x&&this.match("(")&&(b="init",E=N?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),D=!0),b||this.throwUnexpectedToken(this.lookahead),b==="init"&&(b="method"),w||(T&&this.isPropertyKey(x,"prototype")&&this.throwUnexpectedToken(e,i.Messages.StaticPrototype),!T&&this.isPropertyKey(x,"constructor")&&((b!=="method"||!D||E&&E.generator)&&this.throwUnexpectedToken(e,i.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,i.Messages.DuplicateConstructor):t.value=!0,b="constructor")),this.finalize(g,new o.MethodDefinition(x,w,E,b,T))},f.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},f.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},f.prototype.parseClassDeclaration=function(t){var e=this.createNode(),g=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=t&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),x=null;this.matchKeyword("extends")&&(this.nextToken(),x=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var E=this.parseClassBody();return this.context.strict=g,this.finalize(e,new o.ClassDeclaration(b,x,E))},f.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=this.lookahead.type===3?this.parseVariableIdentifier():null,b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(g,b,x))},f.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},f.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();this.lookahead.type!==2;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},f.prototype.parseModuleSpecifier=function(){var t=this.createNode();this.lookahead.type!==8&&this.throwError(i.Messages.InvalidModuleSpecifier);var e=this.nextToken(),g=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,g))},f.prototype.parseImportSpecifier=function(){var t,e,g=this.createNode();return this.lookahead.type===3?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(g,new o.ImportSpecifier(e,t))},f.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},f.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},f.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(i.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},f.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var g=[];if(this.lookahead.type===8)t=this.parseModuleSpecifier();else{if(this.match("{")?g=g.concat(this.parseNamedImports()):this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(g.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?g.push(this.parseImportNamespaceSpecifier()):this.match("{")?g=g.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(g,t))},f.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),g=e;return this.matchContextualKeyword("as")&&(this.nextToken(),g=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,g))},f.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(i.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var g=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(g))}else this.matchKeyword("class")?(g=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):this.matchContextualKeyword("async")?(g=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(g))):(this.matchContextualKeyword("from")&&this.throwError(i.Messages.UnexpectedToken,this.lookahead.value),g=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(g)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause;this.throwError(b,this.lookahead.value)}this.nextToken();var x=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(x))}else if(this.lookahead.type===4){switch(g=void 0,this.lookahead.value){case"let":case"const":g=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":g=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null))}else if(this.matchAsyncFunction())g=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(g,[],null));else{var E=[],w=null,D=!1;for(this.expect("{");!this.match("}");)D=D||this.matchKeyword("default"),E.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),w=this.parseModuleSpecifier(),this.consumeSemicolon()):D?(b=this.lookahead.value?i.Messages.UnexpectedToken:i.Messages.MissingFromClause,this.throwError(b,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,E,w))}return t},f}();_.Parser=m},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.assert=function(y,s){if(!y)throw new Error("ASSERT: "+s)}},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var y=function(){function s(){this.errors=[],this.tolerant=!1}return s.prototype.recordError=function(h){this.errors.push(h)},s.prototype.tolerate=function(h){if(!this.tolerant)throw h;this.recordError(h)},s.prototype.constructError=function(h,i){var o=new Error(h);try{throw o}catch(l){Object.create&&Object.defineProperty&&(o=Object.create(l),Object.defineProperty(o,"column",{value:i}))}return o},s.prototype.createError=function(h,i,o,l){var u="Line "+i+": "+l,p=this.constructError(u,o);return p.index=h,p.lineNumber=i,p.description=l,p},s.prototype.throwError=function(h,i,o,l){throw this.createError(h,i,o,l)},s.prototype.tolerateError=function(h,i,o,l){var u=this.createError(h,i,o,l);if(!this.tolerant)throw u;this.recordError(u)},s}();_.ErrorHandler=y},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(9),h=y(4),i=y(11);function o(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var u=function(){function p(m,f){this.source=m,this.errorHandler=f,this.trackComment=!1,this.isModule=!1,this.length=m.length,this.index=0,this.lineNumber=m.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(m){this.index=m.index,this.lineNumber=m.lineNumber,this.lineStart=m.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(m){return m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.tolerateUnexpectedToken=function(m){m===void 0&&(m=i.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,m)},p.prototype.skipSingleLineComment=function(m){var f,t,e=[];for(this.trackComment&&(e=[],f=this.index-m,t={start:{line:this.lineNumber,column:this.index-this.lineStart-m},end:{}});!this.eof();){var g=this.source.charCodeAt(this.index);if(++this.index,h.Character.isLineTerminator(g)){if(this.trackComment){t.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[f+m,this.index-1],range:[f,this.index-1],loc:t};e.push(b)}return g===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,e}}return this.trackComment&&(t.end={line:this.lineNumber,column:this.index-this.lineStart},b={multiLine:!1,slice:[f+m,this.index],range:[f,this.index],loc:t},e.push(b)),e},p.prototype.skipMultiLineComment=function(){var m,f,t=[];for(this.trackComment&&(t=[],m=this.index-2,f={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var e=this.source.charCodeAt(this.index);if(h.Character.isLineTerminator(e))e===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(e===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var g={multiLine:!0,slice:[m+2,this.index-2],range:[m,this.index],loc:f};t.push(g)}return t}++this.index}else++this.index}return this.trackComment&&(f.end={line:this.lineNumber,column:this.index-this.lineStart},g={multiLine:!0,slice:[m+2,this.index],range:[m,this.index],loc:f},t.push(g)),this.tolerateUnexpectedToken(),t},p.prototype.scanComments=function(){var m;this.trackComment&&(m=[]);for(var f=this.index===0;!this.eof();){var t=this.source.charCodeAt(this.index);if(h.Character.isWhiteSpace(t))++this.index;else if(h.Character.isLineTerminator(t))++this.index,t===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,f=!0;else if(t===47)if((t=this.source.charCodeAt(this.index+1))===47){this.index+=2;var e=this.skipSingleLineComment(2);this.trackComment&&(m=m.concat(e)),f=!0}else{if(t!==42)break;this.index+=2,e=this.skipMultiLineComment(),this.trackComment&&(m=m.concat(e))}else if(f&&t===45){if(this.source.charCodeAt(this.index+1)!==45||this.source.charCodeAt(this.index+2)!==62)break;this.index+=3,e=this.skipSingleLineComment(3),this.trackComment&&(m=m.concat(e))}else{if(t!==60||this.isModule||this.source.slice(this.index+1,this.index+4)!=="!--")break;this.index+=4,e=this.skipSingleLineComment(4),this.trackComment&&(m=m.concat(e))}}return m},p.prototype.isFutureReservedWord=function(m){switch(m){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(m){return m==="eval"||m==="arguments"},p.prototype.isKeyword=function(m){switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try"||m==="let";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}},p.prototype.codePointAt=function(m){var f=this.source.charCodeAt(m);if(f>=55296&&f<=56319){var t=this.source.charCodeAt(m+1);t>=56320&&t<=57343&&(f=1024*(f-55296)+t-56320+65536)}return f},p.prototype.scanHexEscape=function(m){for(var f=m==="u"?4:2,t=0,e=0;e1114111||m!=="}")&&this.throwUnexpectedToken(),h.Character.fromCodePoint(f)},p.prototype.getIdentifier=function(){for(var m=this.index++;!this.eof();){var f=this.source.charCodeAt(this.index);if(f===92)return this.index=m,this.getComplexIdentifier();if(f>=55296&&f<57343)return this.index=m,this.getComplexIdentifier();if(!h.Character.isIdentifierPart(f))break;++this.index}return this.source.slice(m,this.index)},p.prototype.getComplexIdentifier=function(){var m,f=this.codePointAt(this.index),t=h.Character.fromCodePoint(f);for(this.index+=t.length,f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierStart(m.charCodeAt(0))||this.throwUnexpectedToken(),t=m);!this.eof()&&(f=this.codePointAt(this.index),h.Character.isIdentifierPart(f));)t+=m=h.Character.fromCodePoint(f),this.index+=m.length,f===92&&(t=t.substr(0,t.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"))!==null&&m!=="\\"&&h.Character.isIdentifierPart(m.charCodeAt(0))||this.throwUnexpectedToken(),t+=m);return t},p.prototype.octalToDecimal=function(m){var f=m!=="0",t=l(m);return!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(f=!0,t=8*t+l(this.source[this.index++]),"0123".indexOf(m)>=0&&!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(t=8*t+l(this.source[this.index++]))),{code:t,octal:f}},p.prototype.scanIdentifier=function(){var m,f=this.index,t=this.source.charCodeAt(f)===92?this.getComplexIdentifier():this.getIdentifier();if((m=t.length===1?3:this.isKeyword(t)?4:t==="null"?5:t==="true"||t==="false"?1:3)!=3&&f+t.length!==this.index){var e=this.index;this.index=f,this.tolerateUnexpectedToken(i.Messages.InvalidEscapedReservedWord),this.index=e}return{type:m,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanPunctuator=function(){var m=this.index,f=this.source[this.index];switch(f){case"(":case"{":f==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,f="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:(f=this.source.substr(this.index,4))===">>>="?this.index+=4:(f=f.substr(0,3))==="==="||f==="!=="||f===">>>"||f==="<<="||f===">>="||f==="**="?this.index+=3:(f=f.substr(0,2))==="&&"||f==="||"||f==="=="||f==="!="||f==="+="||f==="-="||f==="*="||f==="/="||f==="++"||f==="--"||f==="<<"||f===">>"||f==="&="||f==="|="||f==="^="||f==="%="||f==="<="||f===">="||f==="=>"||f==="**"?this.index+=2:(f=this.source[this.index],"<>=!+-*%&|^/".indexOf(f)>=0&&++this.index)}return this.index===m&&this.throwUnexpectedToken(),{type:7,value:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanHexLiteral=function(m){for(var f="";!this.eof()&&h.Character.isHexDigit(this.source.charCodeAt(this.index));)f+=this.source[this.index++];return f.length===0&&this.throwUnexpectedToken(),h.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+f,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanBinaryLiteral=function(m){for(var f,t="";!this.eof()&&((f=this.source[this.index])==="0"||f==="1");)t+=this.source[this.index++];return t.length===0&&this.throwUnexpectedToken(),this.eof()||(f=this.source.charCodeAt(this.index),(h.Character.isIdentifierStart(f)||h.Character.isDecimalDigit(f))&&this.throwUnexpectedToken()),{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.scanOctalLiteral=function(m,f){var t="",e=!1;for(h.Character.isOctalDigit(m.charCodeAt(0))?(e=!0,t="0"+this.source[this.index++]):++this.index;!this.eof()&&h.Character.isOctalDigit(this.source.charCodeAt(this.index));)t+=this.source[this.index++];return e||t.length!==0||this.throwUnexpectedToken(),(h.Character.isIdentifierStart(this.source.charCodeAt(this.index))||h.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(t,8),octal:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var m=this.index+1;m=0&&(t=t.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(g,b,x){var E=parseInt(b||x,16);return E>1114111&&e.throwUnexpectedToken(i.Messages.InvalidRegExp),E<=65535?String.fromCharCode(E):"\uFFFF"}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"\uFFFF"));try{RegExp(t)}catch{this.throwUnexpectedToken(i.Messages.InvalidRegExp)}try{return new RegExp(m,f)}catch{return null}},p.prototype.scanRegExpBody=function(){var m=this.source[this.index];s.assert(m==="/","Regular expression literal must start with a slash");for(var f=this.source[this.index++],t=!1,e=!1;!this.eof();)if(f+=m=this.source[this.index++],m==="\\")m=this.source[this.index++],h.Character.isLineTerminator(m.charCodeAt(0))&&this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f+=m;else if(h.Character.isLineTerminator(m.charCodeAt(0)))this.throwUnexpectedToken(i.Messages.UnterminatedRegExp);else if(t)m==="]"&&(t=!1);else{if(m==="/"){e=!0;break}m==="["&&(t=!0)}return e||this.throwUnexpectedToken(i.Messages.UnterminatedRegExp),f.substr(1,f.length-2)},p.prototype.scanRegExpFlags=function(){for(var m="";!this.eof();){var f=this.source[this.index];if(!h.Character.isIdentifierPart(f.charCodeAt(0)))break;if(++this.index,f!=="\\"||this.eof())m+=f;else if((f=this.source[this.index])==="u"){++this.index;var t=this.index,e=this.scanHexEscape("u");if(e!==null)for(m+=e;t=55296&&m<57343&&h.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();_.Scanner=u},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.TokenName={},_.TokenName[1]="Boolean",_.TokenName[2]="",_.TokenName[3]="Identifier",_.TokenName[4]="Keyword",_.TokenName[5]="Null",_.TokenName[6]="Numeric",_.TokenName[7]="Punctuator",_.TokenName[8]="String",_.TokenName[9]="RegularExpression",_.TokenName[10]="Template"},function(S,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(S,_,y){"use strict";Object.defineProperty(_,"__esModule",{value:!0});var s=y(10),h=y(12),i=y(13),o=function(){function u(){this.values=[],this.curly=this.paren=-1}return u.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},u.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],m=p!==null;switch(p){case"this":case"]":m=!1;break;case")":var f=this.values[this.paren-1];m=f==="if"||f==="while"||f==="for"||f==="with";break;case"}":if(m=!1,this.values[this.curly-3]==="function")m=!!(t=this.values[this.curly-4])&&!this.beforeFunctionExpression(t);else if(this.values[this.curly-4]==="function"){var t;m=!(t=this.values[this.curly-5])||!this.beforeFunctionExpression(t)}}return m},u.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},u}(),l=function(){function u(p,m){this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=!!m&&typeof m.tolerant=="boolean"&&m.tolerant,this.scanner=new h.Scanner(p,this.errorHandler),this.scanner.trackComment=!!m&&typeof m.comment=="boolean"&&m.comment,this.trackRange=!!m&&typeof m.range=="boolean"&&m.range,this.trackLoc=!!m&&typeof m.loc=="boolean"&&m.loc,this.buffer=[],this.reader=new o}return u.prototype.errors=function(){return this.errorHandler.errors},u.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var m=0;m0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}else{for(X=0;XY&&k[Q+1]!==" ",Q=X);else if(!t(H))return 5;ee=X>0?k.charCodeAt(X-1):null,ie=ie&&e(H,ee)}ve=ve||ne&&X-Q-1>Y&&k[Q+1]!==" "}return de||ve?$>9&&g(k)?5:ve?4:3:ie&&!z(k)?1:2}function x(k,G,$,Y){k.dump=function(){if(G.length===0)return"''";if(!k.noCompatMode&&o.indexOf(G)!==-1)return"'"+G+"'";var z=k.indent*Math.max(1,$),X=k.lineWidth===-1?-1:Math.max(Math.min(k.lineWidth,40),k.lineWidth-z),H=Y||k.flowLevel>-1&&$>=k.flowLevel;switch(b(G,H,k.indent,X,function(ee){return function(re,de){var ve,ne;for(ve=0,ne=re.implicitTypes.length;ve"+E(G,k.indent)+w(p(function(ee,re){for(var de,ve,ne=/(\n+)([^\n]*)/g,Q=(le=ee.indexOf(` +`),le=le!==-1?le:ee.length,ne.lastIndex=le,D(ee.slice(0,le),re)),ie=ee[0]===` +`||ee[0]===" ",le;ve=ne.exec(ee);){var fe=ve[1],P=ve[2];de=P[0]===" ",Q+=fe+(ie||de||P===""?"":` +`)+D(P,re),ie=de}return Q}(G,X),z));case 5:return'"'+function(ee){for(var re,de,ve,ne="",Q=0;Q=55296&&re<=56319&&(de=ee.charCodeAt(Q+1))>=56320&&de<=57343?(ne+=l(1024*(re-55296)+de-56320+65536),Q++):(ve=i[re],ne+=!ve&&t(re)?ee[Q]:ve||l(re));return ne}(G)+'"';default:throw new S("impossible error: invalid scalar style")}}()}function E(k,G){var $=g(k)?String(G):"",Y=k[k.length-1]===` +`;return $+(Y&&(k[k.length-2]===` +`||k===` `)?"+":Y?"":"-")+` -`}function S(P){return P[P.length-1]===` -`?P.slice(0,-1):P}function C(P,G){if(P===""||P[0]===" ")return P;for(var J,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";J=z.exec(P);)(ee=J.index)-X>G&&(Y=H>X?H:ee,re+=` -`+P.slice(X,Y),X=Y+1),H=ee;return re+=` -`,P.length-X>G&&H>X?re+=P.slice(X,H)+` -`+P.slice(H+1):re+=P.slice(X),re.slice(1)}function T(P,G,J){var Y,z,X,H,ee,re;for(X=0,H=(z=J?P.explicitTypes:P.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}P.dump=Y}return!0}return!1}function N(P,G,J,Y,z,X){P.tag=null,P.dump=J,T(P,J,!1)||T(P,J,!0);var H=a.call(P.dump);Y&&(Y=P.flowLevel<0||P.flowLevel>G);var ee,re,he=H==="[object Object]"||H==="[object Array]";if(he&&(re=(ee=P.duplicates.indexOf(J))!==-1),(P.tag!==null&&P.tag!=="?"||re||P.indent!==2&&G>0)&&(z=!1),re&&P.usedDuplicates[ee])P.dump="*ref_"+ee;else{if(he&&re&&!P.usedDuplicates[ee]&&(P.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(P.dump).length!==0?(function(ne,Q,ie,ue){var ce,k,D,L,B,M,q="",W=ne.tag,oe=Object.keys(ie);if(ne.sortKeys===!0)oe.sort();else if(typeof ne.sortKeys=="function")oe.sort(ne.sortKeys);else if(ne.sortKeys)throw new w("sortKeys must be a boolean or a function");for(ce=0,k=oe.length;ce1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+="?":M+="? "),M+=ne.dump,B&&(M+=d(ne,Q)),N(ne,Q+1,L,!0,B)&&(ne.dump&&ne.dump.charCodeAt(0)===10?M+=":":M+=": ",q+=M+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(P,G,P.dump,z),re&&(P.dump="&ref_"+ee+P.dump)):(function(ne,Q,ie){var ue,ce,k,D,L,B="",M=ne.tag,q=Object.keys(ie);for(ue=0,ce=q.length;ue1024&&(L+="? "),L+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,D,!1,!1)&&(B+=L+=ne.dump));ne.tag=M,ne.dump="{"+B+"}"}(P,G,P.dump),re&&(P.dump="&ref_"+ee+" "+P.dump));else if(H==="[object Array]"){var me=P.noArrayIndent&&G>0?G-1:G;Y&&P.dump.length!==0?(function(ne,Q,ie,ue){var ce,k,D="",L=ne.tag;for(ce=0,k=ie.length;ce "+P.dump)}return!0}function I(P,G){var J,Y,z=[],X=[];for(function H(ee,re,he){var me,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)he.indexOf(ne)===-1&&he.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=x.length&&(x=void 0),{value:x&&x[S++],done:!x}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__read||function(x,_){var b=typeof Symbol=="function"&&x[Symbol.iterator];if(!b)return x;var S,C,T=b.call(x),N=[];try{for(;(_===void 0||_-- >0)&&!(S=T.next()).done;)N.push(S.value)}catch(I){C={error:I}}finally{try{S&&!S.done&&(b=T.return)&&b.call(T)}finally{if(C)throw C.error}}return N};Object.defineProperty(l,"__esModule",{value:!0});var a=o(91),p=o(1),n=o(183),i=o(0),u=o(7),s=o(95),f=o(69),d=o(3),c=o(305),t=o(306),e=o(307),g=function(x){function _(b,S){S===void 0&&(S=!1);var C=x.call(this)||this;return C._hasDeclaration=!1,C._docTypeName="",C._hasDocumentElement=!1,C._currentElementSerialized=!1,C._openTags=[],C._ended=!1,C._fragment=S,C._options=p.applyDefaults(b||{},a.DefaultXMLBuilderCBOptions),C._builderOptions={defaultNamespace:C._options.defaultNamespace,namespaceAlias:C._options.namespaceAlias},C._options.format==="json"?C._writer=new t.JSONCBWriter(C._options):C._options.format==="yaml"?C._writer=new e.YAMLCBWriter(C._options):C._writer=new c.XMLCBWriter(C._options),C._options.data!==void 0&&C.on("data",C._options.data),C._options.end!==void 0&&C.on("end",C._options.end),C._options.error!==void 0&&C.on("error",C._options.error),C._prefixMap=new s.NamespacePrefixMap,C._prefixMap.set("xml",u.namespace.XML),C._prefixIndex={value:1},C._push(C._writer.frontMatter()),C}return w(_,x),_.prototype.ele=function(b,S,C){var T,N;if(p.isObject(b)||p.isString(b)&&(/^\s*/g,">");return this._push(this._writer.text(C)),this},_.prototype.ins=function(b,S){var C;S===void 0&&(S=""),this._serializeOpenTag(!0);try{C=n.fragment(this._builderOptions).ins(b,S).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(C.target.indexOf(":")!==-1||/^xml$/i.test(C.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!i.xml_isLegalChar(C.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(C.target,C.data)),this)},_.prototype.dat=function(b){var S;this._serializeOpenTag(!0);try{S=n.fragment(this._builderOptions).dat(b).first().node}catch(C){return this.emit("error",C),this}return this._push(this._writer.cdata(S.data)),this},_.prototype.dec=function(b){return b===void 0&&(b={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(b.version||"1.0",b.encoding,b.standalone)),this._hasDeclaration=!0,this)},_.prototype.dtd=function(b){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var S;try{S=n.create().dtd(b).first().node}catch(C){return this.emit("error",C),this}return this._options.wellFormed&&!i.xml_isPubidChar(S.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!i.xml_isLegalChar(S.systemId)||S.systemId.indexOf('"')!==-1&&S.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=b.name,this._push(this._writer.docType(b.name,S.publicId,S.systemId)),this)},_.prototype.import=function(b){var S,C,T=n.fragment().set(this._options);try{T.import(b)}catch(P){return this.emit("error",P),this}try{for(var N=y(T.node.childNodes),I=N.next();!I.done;I=N.next()){var R=I.value;this._fromNode(R)}}catch(P){S={error:P}}finally{try{I&&!I.done&&(C=N.return)&&C.call(N)}finally{if(S)throw S.error}}return this},_.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},_.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},_.prototype._serializeOpenTag=function(b){if(!this._currentElementSerialized&&this._currentElement!==void 0){var S=this._currentElement.node;if(!this._options.wellFormed||S.localName.indexOf(":")===-1&&i.xml_isName(S.localName)){var C="",T=!1,N=this._prefixMap.copy(),I={},R=this._recordNamespaceInformation(S,N,I),P=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=S.namespaceURI;if(G===null&&(G=P),P===G)R!==null&&(T=!0),C=G===u.namespace.XML?"xml:"+S.localName:S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C));else{var J=S.prefix,Y=null;if(J===null&&G===R||(Y=N.get(J,G)),J==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=J}Y!==null?(C=Y+":"+S.localName,R!==null&&R!==u.namespace.XML&&(P=R||null),this._writer.beginElement(C),this._push(this._writer.openTagBegin(C))):J!==null?(J in I&&(J=this._generatePrefix(G,N,this._prefixIndex)),N.set(J,G),C+=J+":"+S.localName,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns:"+J,this._serializeAttributeValue(G,this._options.wellFormed))),R!==null&&(P=R||null)):R===null||R!==null&&R!==G?(T=!0,C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(C+=S.localName,P=G,this._writer.beginElement(C),this._push(this._writer.openTagBegin(C)))}this._serializeAttributes(S,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===u.namespace.HTML;z&&!b&&_._VoidElementNames.has(S.localName)?(this._push(this._writer.openTagEnd(C,!0,!0)),this._writer.endElement(C)):z||b?this._push(this._writer.openTagEnd(C,!1,!1)):(this._push(this._writer.openTagEnd(C,!0,!1)),this._writer.endElement(C)),this._currentElementSerialized=!0,this._openTags.push([C,P,this._prefixMap,b]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},_.prototype._serializeCloseTag=function(){this._writer.level--;var b=this._openTags.pop();if(b!==void 0){var S=m(b,4),C=S[0],T=(S[1],S[2]),N=S[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(C)),this._writer.endElement(C))}else this.emit("error",new Error("Last element is undefined."))},_.prototype._push=function(b){b===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):b.length!==0&&(this._writer.hasData=!0,this.emit("data",b,this._writer.level))},_.prototype._fromNode=function(b){var S,C,T,N;if(d.Guard.isElementNode(b)){var I=b.prefix?b.prefix+":"+b.localName:b.localName;b.namespaceURI!==null?this.ele(b.namespaceURI,I):this.ele(I);try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,J,G.value):this.att(J,G.value)}}catch(H){S={error:H}}finally{try{P&&!P.done&&(C=R.return)&&C.call(R)}finally{if(S)throw S.error}}try{for(var Y=y(b.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else d.Guard.isExclusiveTextNode(b)&&b.data?this.txt(b.data):d.Guard.isCommentNode(b)?this.com(b.data):d.Guard.isCDATASectionNode(b)?this.dat(b.data):d.Guard.isProcessingInstructionNode(b)&&this.ins(b.target,b.data)},_.prototype._serializeAttributes=function(b,S,C,T,N,I){var R,P,G=I?new f.LocalNameSet:void 0;try{for(var J=y(b.attributes),Y=J.next();!Y.done;Y=J.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=S.get(z.prefix,X),X===u.namespace.XMLNS){if(z.value===u.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&S.has(z.localName,z.value))continue;if(I&&z.value===u.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||S.hasPrefix(z.prefix)&&!S.has(z.prefix,X)?this._generatePrefix(X,S,C):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!i.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){R={error:ee}}finally{try{Y&&!Y.done&&(P=J.return)&&P.call(J)}finally{if(R)throw R.error}}},_.prototype._serializeAttributeValue=function(b,S){return S&&b!==null&&!i.xml_isLegalChar(b)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):b===null?"":b.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},_.prototype._recordNamespaceInformation=function(b,S,C){var T,N,I=null;try{for(var R=y(b.attributes),P=R.next();!P.done;P=R.next()){var G=P.value,J=G.namespaceURI,Y=G.prefix;if(J===u.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===u.namespace.XML||(X===""&&(X=null),S.has(z,X)))continue;S.set(z,X),C[z]=X||""}}}catch(H){T={error:H}}finally{try{P&&!P.done&&(N=R.return)&&N.call(R)}finally{if(T)throw T.error}}return I},_.prototype._generatePrefix=function(b,S,C){var T="ns"+C.value;return C.value++,S.set(T,b),T},_.prototype._isPrefixMapModified=function(b,S){var C=b._items,T=S._items,N=b._nullItems,I=S._nullItems;for(var R in T){var P=C[R];if(P===void 0)return!0;var G=T[R];if(P.length!==G.length)return!0;for(var J=0;J':n?"':i?"':""},a.prototype.comment=function(p){return this._beginLine()+""},a.prototype.text=function(p){return this._beginLine()+p},a.prototype.instruction=function(p,n){return n?this._beginLine()+"":this._beginLine()+""},a.prototype.cdata=function(p){return this._beginLine()+""},a.prototype.openTagBegin=function(p){return this._lineLength+=1+p.length,this._beginLine()+"<"+p},a.prototype.openTagEnd=function(p,n,i){return i?" />":n?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},a.prototype.closeTag=function(p){return this._beginLine()+""},a.prototype.attribute=function(p,n){var i=p+'="'+n+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+i.length>this._writerOptions.width?(i=this._beginLine()+this._indent(1)+i,this._lineLength=i.length,i):(this._lineLength+=1+i.length," "+i)},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var p=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=p.length,p}return""},a.prototype._indent=function(p){return p<=0?"":this._writerOptions.indent.repeat(p)},a}(o(114).BaseCBWriter);l.XMLCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;return n._hasChildren=[],n._additionalLevel=0,n}return w(a,m),a.prototype.frontMatter=function(){return""},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.text=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.instruction=function(p,n){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(n?p+" "+n:p)+this._sep()+"}"},a.prototype.cdata=function(p){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(p)+this._sep()+"}"},a.prototype.attribute=function(p,n){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+p)+this._sep()+this._val(n)+this._sep()+"}"},a.prototype.openTagBegin=function(p){var n=this._comma()+this._beginLine()+"{"+this._sep()+this._key(p)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,n+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),n},a.prototype.openTagEnd=function(p,n,i){if(n){var u=this._sep()+"]";return this._additionalLevel--,u+=this._beginLine()+"}"+this._sep()+"}"}return""},a.prototype.closeTag=function(p){var n=this._beginLine()+"]";return this._additionalLevel--,n+=this._beginLine()+"}"+this._sep()+"}"},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){this._hasChildren.pop()},a.prototype._beginLine=function(p){return p===void 0&&(p=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+p):""},a.prototype._indent=function(p){return p+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(p+this._additionalLevel)},a.prototype._comma=function(){var p=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),p},a.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.JSONCBWriter=y},function(E,l,o){"use strict";o(74);var v,w=this&&this.__extends||(v=function(m,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,n){p.__proto__=n}||function(p,n){for(var i in n)n.hasOwnProperty(i)&&(p[i]=n[i])})(m,a)},function(m,a){function p(){this.constructor=m}v(m,a),m.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)});Object.defineProperty(l,"__esModule",{value:!0});var y=function(m){function a(p){var n=m.call(this,p)||this;if(n._rootWritten=!1,n._additionalLevel=0,p.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(p.offset<0)throw new Error("YAML offset should be zero or a positive number.");return n}return w(a,m),a.prototype.frontMatter=function(){return this._beginLine()+"---"},a.prototype.declaration=function(p,n,i){return""},a.prototype.docType=function(p,n,i){return""},a.prototype.comment=function(p){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(p)},a.prototype.text=function(p){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(p)},a.prototype.instruction=function(p,n){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(n?p+" "+n:p)},a.prototype.cdata=function(p){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(p)},a.prototype.attribute=function(p,n){this._additionalLevel++;var i=this._beginLine()+this._key(this._builderOptions.convert.att+p)+" "+this._val(n);return this._additionalLevel--,i},a.prototype.openTagBegin=function(p){var n=this._beginLine()+this._key(p);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,n+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},a.prototype.openTagEnd=function(p,n,i){return n?" "+this._val(""):""},a.prototype.closeTag=function(p){return this._additionalLevel--,""},a.prototype.beginElement=function(p){},a.prototype.endElement=function(p){},a.prototype._beginLine=function(p){return p===void 0&&(p=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,p)},a.prototype._indent=function(p,n){if(p+this._additionalLevel<=0)return"";var i=this._writerOptions.indent.repeat(p+this._additionalLevel);return!n&&this._rootWritten?i.substr(0,i.length-2)+"-"+i.substr(-1,1):i},a.prototype._key=function(p){return'"'+p+'":'},a.prototype._val=function(p){return JSON.stringify(p)},a}(o(114).BaseCBWriter);l.YAMLCBWriter=y},function(E,l,o){"use strict";var v,w=typeof Reflect=="object"?Reflect:null,y=w&&typeof w.apply=="function"?w.apply:function(e,g,x){return Function.prototype.apply.call(e,g,x)};v=w&&typeof w.ownKeys=="function"?w.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var m=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}E.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var p=10;function n(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function i(e){return e._maxListeners===void 0?a.defaultMaxListeners:e._maxListeners}function u(e,g,x,_){var b,S,C,T;if(n(x),(S=e._events)===void 0?(S=e._events=Object.create(null),e._eventsCount=0):(S.newListener!==void 0&&(e.emit("newListener",g,x.listener?x.listener:x),S=e._events),C=S[g]),C===void 0)C=S[g]=x,++e._eventsCount;else if(typeof C=="function"?C=S[g]=_?[x,C]:[C,x]:_?C.unshift(x):C.push(x),(b=i(e))>0&&C.length>b&&!C.warned){C.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+C.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=C.length,T=N,console&&console.warn&&console.warn(T)}return e}function s(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,g,x){var _={fired:!1,wrapFn:void 0,target:e,type:g,listener:x},b=s.bind(_);return b.listener=x,_.wrapFn=b,b}function d(e,g,x){var _=e._events;if(_===void 0)return[];var b=_[g];return b===void 0?[]:typeof b=="function"?x?[b.listener||b]:[b]:x?function(S){for(var C=new Array(S.length),T=0;T0&&(S=g[0]),S instanceof Error)throw S;var C=new Error("Unhandled error."+(S?" ("+S.message+")":""));throw C.context=S,C}var T=b[e];if(T===void 0)return!1;if(typeof T=="function")y(T,this,g);else{var N=T.length,I=t(T,N);for(x=0;x=0;S--)if(x[S]===g||x[S].listener===g){C=x[S].listener,b=S;break}if(b<0)return this;b===0?x.shift():function(T,N){for(;N+1=0;_--)this.removeListener(e,g[_]);return this},a.prototype.listeners=function(e){return d(this,e,!0)},a.prototype.rawListeners=function(e){return d(this,e,!1)},a.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):c.call(e,g)},a.prototype.listenerCount=c,a.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(E,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var v=o(77);l.createCB=function(w){return new v.XMLBuilderCBImpl(w)},l.fragmentCB=function(w){return new v.XMLBuilderCBImpl(w,!0)}}])})});var _p=zs((Wn,Ei)=>{(function(){var E,l="4.17.21",o=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",w="Expected a function",y="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",a=500,p="__lodash_placeholder__",n=1,i=2,u=4,s=1,f=2,d=1,c=2,t=4,e=8,g=16,x=32,_=64,b=128,S=256,C=512,T=30,N="...",I=800,R=16,P=1,G=2,J=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,he=ee>>>1,me=[["ary",b],["bind",d],["bindKey",c],["curry",e],["curryRight",g],["flip",C],["partial",x],["partialRight",_],["rearg",S]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",ue="[object Boolean]",ce="[object Date]",k="[object DOMException]",D="[object Error]",L="[object Function]",B="[object GeneratorFunction]",M="[object Map]",q="[object Number]",W="[object Null]",oe="[object Object]",de="[object Promise]",ge="[object Proxy]",Se="[object RegExp]",Be="[object Set]",Le="[object String]",tt="[object Symbol]",Je="[object Undefined]",we="[object WeakMap]",at="[object WeakSet]",K="[object ArrayBuffer]",qe="[object DataView]",ze="[object Float32Array]",Ne="[object Float64Array]",ae="[object Int8Array]",_e="[object Int16Array]",xe="[object Int32Array]",Te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",je="[object Uint16Array]",Me="[object Uint32Array]",We=/\b__p \+= '';/g,Ve=/\b(__p \+=) '' \+/g,gt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,kt=RegExp(_t.source),Xn=RegExp(st.source),Hn=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,$e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pr=/[\\^$.*+?()[\]{}|]/g,ga=RegExp(Pr.source),Jn=/^\s+/,wi=/\s/,Br=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Si=/\{\n\/\* \[wrapped with (.+)\] \*/,_a=/,? & /,xa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,St=/\\(\\)?/g,ba=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,vr=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,$n=/^\[object .+?Constructor\]$/,wa=/^0o[0-7]+$/i,Sa=/^(?:0|[1-9]\d*)$/,Aa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gn=/($^)/,Da=/['\n\r\u2028\u2029\\]/g,_n="\\ud800-\\udfff",Ca="\\u0300-\\u036f",Ta="\\ufe20-\\ufe2f",Na="\\u20d0-\\u20ff",Ai=Ca+Ta+Na,Di="\\u2700-\\u27bf",Ci="a-z\\xdf-\\xf6\\xf8-\\xff",Fa="\\xac\\xb1\\xd7\\xf7",Oa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ia="\\u2000-\\u206f",ka=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ti="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",Fi=Fa+Oa+Ia+ka,zt="['\u2019]",Kn="["+_n+"]",Vn="["+Fi+"]",tn="["+Ai+"]",Oi="\\d+",rn="["+Di+"]",Ii="["+Ci+"]",ki="[^"+_n+Fi+Oi+Di+Ci+Ti+"]",xn="\\ud83c[\\udffb-\\udfff]",Pa="(?:"+tn+"|"+xn+")",Pi="[^"+_n+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ti+"]",le="\\u200d",be="(?:"+Ii+"|"+ki+")",Ie="(?:"+Z+"|"+ki+")",Qe="(?:"+zt+"(?:d|ll|m|re|s|t|ve))?",ut="(?:"+zt+"(?:D|LL|M|RE|S|T|VE))?",At=Pa+"?",bt="["+Ni+"]?",Ep="(?:"+le+"(?:"+[Pi,F,j].join("|")+")"+bt+At+")*",wp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ou=bt+At+Ep,Ap="(?:"+[rn,F,j].join("|")+")"+ou,Dp="(?:"+[Pi+tn+"?",tn,F,j,Kn].join("|")+")",Cp=RegExp(zt,"g"),Tp=RegExp(tn,"g"),Ba=RegExp(xn+"(?="+xn+")|"+Dp+ou,"g"),Np=RegExp([Z+"?"+Ii+"+"+Qe+"(?="+[Vn,Z,"$"].join("|")+")",Ie+"+"+ut+"(?="+[Vn,Z+be,"$"].join("|")+")",Z+"?"+be+"+"+Qe,Z+"+"+ut,Sp,wp,Oi,Ap].join("|"),"g"),Fp=RegExp("["+le+_n+Ai+Ni+"]"),Op=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ip=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],kp=-1,dt={};dt[ze]=dt[Ne]=dt[ae]=dt[_e]=dt[xe]=dt[Te]=dt[Ae]=dt[je]=dt[Me]=!0,dt[ne]=dt[Q]=dt[K]=dt[ue]=dt[qe]=dt[ce]=dt[D]=dt[L]=dt[M]=dt[q]=dt[oe]=dt[Se]=dt[Be]=dt[Le]=dt[we]=!1;var ht={};ht[ne]=ht[Q]=ht[K]=ht[qe]=ht[ue]=ht[ce]=ht[ze]=ht[Ne]=ht[ae]=ht[_e]=ht[xe]=ht[M]=ht[q]=ht[oe]=ht[Se]=ht[Be]=ht[Le]=ht[tt]=ht[Te]=ht[Ae]=ht[je]=ht[Me]=!0,ht[D]=ht[L]=ht[we]=!1;var Pp={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Bp={"&":"&","<":"<",">":">",'"':""","'":"'"},Lp={"&":"&","<":"<",">":">",""":'"',"'":"'"},Rp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mp=parseFloat,jp=parseInt,au=typeof global=="object"&&global&&global.Object===Object&&global,Up=typeof self=="object"&&self&&self.Object===Object&&self,Ft=au||Up||Function("return this")(),La=typeof Wn=="object"&&Wn&&!Wn.nodeType&&Wn,nn=La&&typeof Ei=="object"&&Ei&&!Ei.nodeType&&Ei,su=nn&&nn.exports===La,Ra=su&&au.process,nr=function(){try{var fe=nn&&nn.require&&nn.require("util").types;return fe||Ra&&Ra.binding&&Ra.binding("util")}catch{}}(),uu=nr&&nr.isArrayBuffer,lu=nr&&nr.isDate,cu=nr&&nr.isMap,fu=nr&&nr.isRegExp,pu=nr&&nr.isSet,hu=nr&&nr.isTypedArray;function Kt(fe,Ee,ve){switch(ve.length){case 0:return fe.call(Ee);case 1:return fe.call(Ee,ve[0]);case 2:return fe.call(Ee,ve[0],ve[1]);case 3:return fe.call(Ee,ve[0],ve[1],ve[2])}return fe.apply(Ee,ve)}function zp(fe,Ee,ve,Pe){for(var Ke=-1,lt=fe==null?0:fe.length;++Ke-1}function Ma(fe,Ee,ve){for(var Pe=-1,Ke=fe==null?0:fe.length;++Pe-1;);return ve}function bu(fe,Ee){for(var ve=fe.length;ve--&&bn(Ee,fe[ve],0)>-1;);return ve}function Vp(fe,Ee){for(var ve=fe.length,Pe=0;ve--;)fe[ve]===Ee&&++Pe;return Pe}var Yp=qa(Pp),Qp=qa(Bp);function Zp(fe){return"\\"+Rp[fe]}function eh(fe,Ee){return fe==null?E:fe[Ee]}function En(fe){return Fp.test(fe)}function th(fe){return Op.test(fe)}function rh(fe){for(var Ee,ve=[];!(Ee=fe.next()).done;)ve.push(Ee.value);return ve}function Ha(fe){var Ee=-1,ve=Array(fe.size);return fe.forEach(function(Pe,Ke){ve[++Ee]=[Ke,Pe]}),ve}function Eu(fe,Ee){return function(ve){return fe(Ee(ve))}}function Mr(fe,Ee){for(var ve=-1,Pe=fe.length,Ke=0,lt=[];++ve-1}function Gh(r,h){var A=this.__data__,O=Qi(A,r);return O<0?(++this.size,A.push([r,h])):A[O][1]=h,this}br.prototype.clear=jh,br.prototype.delete=Uh,br.prototype.get=zh,br.prototype.has=qh,br.prototype.set=Gh;function Er(r){var h=-1,A=r==null?0:r.length;for(this.clear();++h=h?r:h)),r}function sr(r,h,A,O,U,V){var te,se=h&n,pe=h&i,De=h&u;if(A&&(te=U?A(r,O,U,V):A(r)),te!==E)return te;if(!vt(r))return r;var Ce=Ye(r);if(Ce){if(te=Jd(r),!se)return qt(r,te)}else{var Fe=Bt(r),ke=Fe==L||Fe==B;if(Xr(r))return il(r,se);if(Fe==oe||Fe==ne||ke&&!U){if(te=pe||ke?{}:wl(r),!se)return pe?Ld(r,od(te,r)):Bd(r,Pu(te,r))}else{if(!ht[Fe])return U?r:{};te=$d(r,Fe,se)}}V||(V=new dr);var Ue=V.get(r);if(Ue)return Ue;V.set(r,te),Ql(r)?r.forEach(function(He){te.add(sr(He,h,A,He,r,V))}):Vl(r)&&r.forEach(function(He,nt){te.set(nt,sr(He,h,A,nt,r,V))});var Xe=De?pe?gs:vs:pe?Wt:Ot,et=Ce?E:Xe(r);return ir(et||r,function(He,nt){et&&(nt=He,He=r[nt]),ni(te,nt,sr(He,h,A,nt,r,V))}),te}function ad(r){var h=Ot(r);return function(A){return Bu(A,r,h)}}function Bu(r,h,A){var O=A.length;if(r==null)return!O;for(r=pt(r);O--;){var U=A[O],V=h[U],te=r[U];if(te===E&&!(U in r)||!V(te))return!1}return!0}function Lu(r,h,A){if(typeof r!="function")throw new or(w);return ci(function(){r.apply(E,A)},h)}function ii(r,h,A,O){var U=-1,V=Bi,te=!0,se=r.length,pe=[],De=h.length;if(!se)return pe;A&&(h=yt(h,Vt(A))),O?(V=Ma,te=!1):h.length>=o&&(V=Yn,te=!1,h=new sn(h));e:for(;++UU?0:U+A),O=O===E||O>U?U:Ze(O),O<0&&(O+=U),O=A>O?0:ec(O);A0&&A(se)?h>1?It(se,h-1,A,O,U):Rr(U,se):O||(U[U.length]=se)}return U}var Za=cl(),ju=cl(!0);function gr(r,h){return r&&Za(r,h,Ot)}function es(r,h){return r&&ju(r,h,Ot)}function eo(r,h){return Lr(h,function(A){return Cr(r[A])})}function ln(r,h){h=Gr(h,r);for(var A=0,O=h.length;r!=null&&Ah}function ld(r,h){return r!=null&&ft.call(r,h)}function cd(r,h){return r!=null&&h in pt(r)}function fd(r,h,A){return r>=Pt(h,A)&&r=120&&Ce.length>=120)?new sn(te&&Ce):E}Ce=r[0];var Fe=-1,ke=se[0];e:for(;++Fe-1;)se!==r&&Xi.call(se,pe,1),Xi.call(r,pe,1);return r}function Vu(r,h){for(var A=r?h.length:0,O=A-1;A--;){var U=h[A];if(A==O||U!==V){var V=U;Dr(U)?Xi.call(r,U,1):cs(r,U)}}return r}function ss(r,h){return r+$i(Fu()*(h-r+1))}function Sd(r,h,A,O){for(var U=-1,V=Tt(Ji((h-r)/(A||1)),0),te=ve(V);V--;)te[O?V:++U]=r,r+=A;return te}function us(r,h){var A="";if(!r||h<1||h>z)return A;do h%2&&(A+=r),h=$i(h/2),h&&(r+=r);while(h);return A}function rt(r,h){return As(Dl(r,h,Xt),r+"")}function Ad(r){return ku(In(r))}function Dd(r,h){var A=In(r);return fo(A,un(h,0,A.length))}function si(r,h,A,O){if(!vt(r))return r;h=Gr(h,r);for(var U=-1,V=h.length,te=V-1,se=r;se!=null&&++UU?0:U+h),A=A>U?U:A,A<0&&(A+=U),U=h>A?0:A-h>>>0,h>>>=0;for(var V=ve(U);++O>>1,te=r[V];te!==null&&!Qt(te)&&(A?te<=h:te=o){var De=h?null:Ud(r);if(De)return Ri(De);te=!1,U=Yn,pe=new sn}else pe=h?[]:se;e:for(;++O=O?r:ur(r,h,A)}var nl=vh||function(r){return Ft.clearTimeout(r)};function il(r,h){if(h)return r.slice();var A=r.length,O=Au?Au(A):new r.constructor(A);return r.copy(O),O}function ds(r){var h=new r.constructor(r.byteLength);return new Gi(h).set(new Gi(r)),h}function Od(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function Id(r){var h=new r.constructor(r.source,en.exec(r));return h.lastIndex=r.lastIndex,h}function kd(r){return ri?pt(ri.call(r)):{}}function ol(r,h){var A=h?ds(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function al(r,h){if(r!==h){var A=r!==E,O=r===null,U=r===r,V=Qt(r),te=h!==E,se=h===null,pe=h===h,De=Qt(h);if(!se&&!De&&!V&&r>h||V&&te&&pe&&!se&&!De||O&&te&&pe||!A&&pe||!U)return 1;if(!O&&!V&&!De&&r=se)return pe;var De=A[O];return pe*(De=="desc"?-1:1)}}return r.index-h.index}function sl(r,h,A,O){for(var U=-1,V=r.length,te=A.length,se=-1,pe=h.length,De=Tt(V-te,0),Ce=ve(pe+De),Fe=!O;++se1?A[U-1]:E,te=U>2?A[2]:E;for(V=r.length>3&&typeof V=="function"?(U--,V):E,te&&Mt(A[0],A[1],te)&&(V=U<3?E:V,U=1),h=pt(h);++O-1?U[V?h[te]:te]:E}}function hl(r){return Ar(function(h){var A=h.length,O=A,U=ar.prototype.thru;for(r&&h.reverse();O--;){var V=h[O];if(typeof V!="function")throw new or(w);if(U&&!te&&lo(V)=="wrapper")var te=new ar([],!0)}for(O=te?O:A;++O1&&ot.reverse(),Ce&&pese))return!1;var De=V.get(r),Ce=V.get(h);if(De&&Ce)return De==h&&Ce==r;var Fe=-1,ke=!0,Ue=A&f?new sn:E;for(V.set(r,h),V.set(h,r);++Fe1?"& ":"")+h[O],h=h.join(A>2?", ":" "),r.replace(Br,`{ -/* [wrapped with `+h+`] */ -`)}function Vd(r){return Ye(r)||pn(r)||!!(Tu&&r&&r[Tu])}function Dr(r,h){var A=typeof r;return h=h??z,!!h&&(A=="number"||A!="symbol"&&Sa.test(r))&&r>-1&&r%1==0&&r0){if(++h>=I)return arguments[0]}else h=0;return r.apply(E,arguments)}}function fo(r,h){var A=-1,O=r.length,U=O-1;for(h=h===E?O:h;++A1?r[h-1]:E;return A=typeof A=="function"?(r.pop(),A):E,Ml(r,A)});function jl(r){var h=$(r);return h.__chain__=!0,h}function s0(r,h){return h(r),r}function po(r,h){return h(r)}var u0=Ar(function(r){var h=r.length,A=h?r[0]:0,O=this.__wrapped__,U=function(V){return Qa(V,r)};return h>1||this.__actions__.length||!(O instanceof it)||!Dr(A)?this.thru(U):(O=O.slice(A,+A+(h?1:0)),O.__actions__.push({func:po,args:[U],thisArg:E}),new ar(O,this.__chain__).thru(function(V){return h&&!V.length&&V.push(E),V}))});function l0(){return jl(this)}function c0(){return new ar(this.value(),this.__chain__)}function f0(){this.__values__===E&&(this.__values__=Zl(this.value()));var r=this.__index__>=this.__values__.length,h=r?E:this.__values__[this.__index__++];return{done:r,value:h}}function p0(){return this}function h0(r){for(var h,A=this;A instanceof Yi;){var O=Il(A);O.__index__=0,O.__values__=E,h?U.__wrapped__=O:h=O;var U=O;A=A.__wrapped__}return U.__wrapped__=r,h}function d0(){var r=this.__wrapped__;if(r instanceof it){var h=r;return this.__actions__.length&&(h=new it(this)),h=h.reverse(),h.__actions__.push({func:po,args:[Ds],thisArg:E}),new ar(h,this.__chain__)}return this.thru(Ds)}function m0(){return tl(this.__wrapped__,this.__actions__)}var y0=io(function(r,h,A){ft.call(r,A)?++r[A]:wr(r,A,1)});function v0(r,h,A){var O=Ye(r)?du:sd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}function g0(r,h){var A=Ye(r)?Lr:Mu;return A(r,Ge(h,3))}var _0=pl(kl),x0=pl(Pl);function b0(r,h){return It(ho(r,h),1)}function E0(r,h){return It(ho(r,h),Y)}function w0(r,h,A){return A=A===E?1:Ze(A),It(ho(r,h),A)}function Ul(r,h){var A=Ye(r)?ir:zr;return A(r,Ge(h,3))}function zl(r,h){var A=Ye(r)?qp:Ru;return A(r,Ge(h,3))}var S0=io(function(r,h,A){ft.call(r,A)?r[A].push(h):wr(r,A,[h])});function A0(r,h,A,O){r=Gt(r)?r:In(r),A=A&&!O?Ze(A):0;var U=r.length;return A<0&&(A=Tt(U+A,0)),_o(r)?A<=U&&r.indexOf(h,A)>-1:!!U&&bn(r,h,A)>-1}var D0=rt(function(r,h,A){var O=-1,U=typeof h=="function",V=Gt(r)?ve(r.length):[];return zr(r,function(te){V[++O]=U?Kt(h,te,A):oi(te,h,A)}),V}),C0=io(function(r,h,A){wr(r,A,h)});function ho(r,h){var A=Ye(r)?yt:Wu;return A(r,Ge(h,3))}function T0(r,h,A,O){return r==null?[]:(Ye(h)||(h=h==null?[]:[h]),A=O?E:A,Ye(A)||(A=A==null?[]:[A]),$u(r,h,A))}var N0=io(function(r,h,A){r[A?0:1].push(h)},function(){return[[],[]]});function F0(r,h,A){var O=Ye(r)?ja:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,zr)}function O0(r,h,A){var O=Ye(r)?Gp:gu,U=arguments.length<3;return O(r,Ge(h,4),A,U,Ru)}function I0(r,h){var A=Ye(r)?Lr:Mu;return A(r,vo(Ge(h,3)))}function k0(r){var h=Ye(r)?ku:Ad;return h(r)}function P0(r,h,A){(A?Mt(r,h,A):h===E)?h=1:h=Ze(h);var O=Ye(r)?rd:Dd;return O(r,h)}function B0(r){var h=Ye(r)?nd:Td;return h(r)}function L0(r){if(r==null)return 0;if(Gt(r))return _o(r)?wn(r):r.length;var h=Bt(r);return h==M||h==Be?r.size:is(r).length}function R0(r,h,A){var O=Ye(r)?Ua:Nd;return A&&Mt(r,h,A)&&(h=E),O(r,Ge(h,3))}var M0=rt(function(r,h){if(r==null)return[];var A=h.length;return A>1&&Mt(r,h[0],h[1])?h=[]:A>2&&Mt(h[0],h[1],h[2])&&(h=[h[0]]),$u(r,It(h,1),[])}),mo=gh||function(){return Ft.Date.now()};function j0(r,h){if(typeof h!="function")throw new or(w);return r=Ze(r),function(){if(--r<1)return h.apply(this,arguments)}}function ql(r,h,A){return h=A?E:h,h=r&&h==null?r.length:h,Sr(r,b,E,E,E,E,h)}function Gl(r,h){var A;if(typeof h!="function")throw new or(w);return r=Ze(r),function(){return--r>0&&(A=h.apply(this,arguments)),r<=1&&(h=E),A}}var Ts=rt(function(r,h,A){var O=d;if(A.length){var U=Mr(A,Fn(Ts));O|=x}return Sr(r,O,h,A,U)}),Wl=rt(function(r,h,A){var O=d|c;if(A.length){var U=Mr(A,Fn(Wl));O|=x}return Sr(h,O,r,A,U)});function Xl(r,h,A){h=A?E:h;var O=Sr(r,e,E,E,E,E,E,h);return O.placeholder=Xl.placeholder,O}function Hl(r,h,A){h=A?E:h;var O=Sr(r,g,E,E,E,E,E,h);return O.placeholder=Hl.placeholder,O}function Jl(r,h,A){var O,U,V,te,se,pe,De=0,Ce=!1,Fe=!1,ke=!0;if(typeof r!="function")throw new or(w);h=cr(h)||0,vt(A)&&(Ce=!!A.leading,Fe="maxWait"in A,V=Fe?Tt(cr(A.maxWait)||0,h):V,ke="trailing"in A?!!A.trailing:ke);function Ue(wt){var yr=O,Nr=U;return O=U=E,De=wt,te=r.apply(Nr,yr),te}function Xe(wt){return De=wt,se=ci(nt,h),Ce?Ue(wt):te}function et(wt){var yr=wt-pe,Nr=wt-De,pc=h-yr;return Fe?Pt(pc,V-Nr):pc}function He(wt){var yr=wt-pe,Nr=wt-De;return pe===E||yr>=h||yr<0||Fe&&Nr>=V}function nt(){var wt=mo();if(He(wt))return ot(wt);se=ci(nt,et(wt))}function ot(wt){return se=E,ke&&O?Ue(wt):(O=U=E,te)}function Zt(){se!==E&&nl(se),De=0,O=pe=U=se=E}function jt(){return se===E?te:ot(mo())}function er(){var wt=mo(),yr=He(wt);if(O=arguments,U=this,pe=wt,yr){if(se===E)return Xe(pe);if(Fe)return nl(se),se=ci(nt,h),Ue(pe)}return se===E&&(se=ci(nt,h)),te}return er.cancel=Zt,er.flush=jt,er}var U0=rt(function(r,h){return Lu(r,1,h)}),z0=rt(function(r,h,A){return Lu(r,cr(h)||0,A)});function q0(r){return Sr(r,C)}function yo(r,h){if(typeof r!="function"||h!=null&&typeof h!="function")throw new or(w);var A=function(){var O=arguments,U=h?h.apply(this,O):O[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,O);return A.cache=V.set(U,te)||V,te};return A.cache=new(yo.Cache||Er),A}yo.Cache=Er;function vo(r){if(typeof r!="function")throw new or(w);return function(){var h=arguments;switch(h.length){case 0:return!r.call(this);case 1:return!r.call(this,h[0]);case 2:return!r.call(this,h[0],h[1]);case 3:return!r.call(this,h[0],h[1],h[2])}return!r.apply(this,h)}}function G0(r){return Gl(2,r)}var W0=Fd(function(r,h){h=h.length==1&&Ye(h[0])?yt(h[0],Vt(Ge())):yt(It(h,1),Vt(Ge()));var A=h.length;return rt(function(O){for(var U=-1,V=Pt(O.length,A);++U=h}),pn=zu(function(){return arguments}())?zu:function(r){return xt(r)&&ft.call(r,"callee")&&!Cu.call(r,"callee")},Ye=ve.isArray,oy=uu?Vt(uu):hd;function Gt(r){return r!=null&&go(r.length)&&!Cr(r)}function Et(r){return xt(r)&&Gt(r)}function ay(r){return r===!0||r===!1||xt(r)&&Rt(r)==ue}var Xr=xh||Us,sy=lu?Vt(lu):dd;function uy(r){return xt(r)&&r.nodeType===1&&!fi(r)}function ly(r){if(r==null)return!0;if(Gt(r)&&(Ye(r)||typeof r=="string"||typeof r.splice=="function"||Xr(r)||On(r)||pn(r)))return!r.length;var h=Bt(r);if(h==M||h==Be)return!r.size;if(li(r))return!is(r).length;for(var A in r)if(ft.call(r,A))return!1;return!0}function cy(r,h){return ai(r,h)}function fy(r,h,A){A=typeof A=="function"?A:E;var O=A?A(r,h):E;return O===E?ai(r,h,E,A):!!O}function Fs(r){if(!xt(r))return!1;var h=Rt(r);return h==D||h==k||typeof r.message=="string"&&typeof r.name=="string"&&!fi(r)}function py(r){return typeof r=="number"&&Nu(r)}function Cr(r){if(!vt(r))return!1;var h=Rt(r);return h==L||h==B||h==ie||h==ge}function Kl(r){return typeof r=="number"&&r==Ze(r)}function go(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function vt(r){var h=typeof r;return r!=null&&(h=="object"||h=="function")}function xt(r){return r!=null&&typeof r=="object"}var Vl=cu?Vt(cu):yd;function hy(r,h){return r===h||ns(r,h,xs(h))}function dy(r,h,A){return A=typeof A=="function"?A:E,ns(r,h,xs(h),A)}function my(r){return Yl(r)&&r!=+r}function yy(r){if(Zd(r))throw new Ke(v);return qu(r)}function vy(r){return r===null}function gy(r){return r==null}function Yl(r){return typeof r=="number"||xt(r)&&Rt(r)==q}function fi(r){if(!xt(r)||Rt(r)!=oe)return!1;var h=Wi(r);if(h===null)return!0;var A=ft.call(h,"constructor")&&h.constructor;return typeof A=="function"&&A instanceof A&&Ui.call(A)==dh}var Os=fu?Vt(fu):vd;function _y(r){return Kl(r)&&r>=-z&&r<=z}var Ql=pu?Vt(pu):gd;function _o(r){return typeof r=="string"||!Ye(r)&&xt(r)&&Rt(r)==Le}function Qt(r){return typeof r=="symbol"||xt(r)&&Rt(r)==tt}var On=hu?Vt(hu):_d;function xy(r){return r===E}function by(r){return xt(r)&&Bt(r)==we}function Ey(r){return xt(r)&&Rt(r)==at}var wy=uo(os),Sy=uo(function(r,h){return r<=h});function Zl(r){if(!r)return[];if(Gt(r))return _o(r)?hr(r):qt(r);if(Qn&&r[Qn])return rh(r[Qn]());var h=Bt(r),A=h==M?Ha:h==Be?Ri:In;return A(r)}function Tr(r){if(!r)return r===0?r:0;if(r=cr(r),r===Y||r===-Y){var h=r<0?-1:1;return h*X}return r===r?r:0}function Ze(r){var h=Tr(r),A=h%1;return h===h?A?h-A:h:0}function ec(r){return r?un(Ze(r),0,ee):0}function cr(r){if(typeof r=="number")return r;if(Qt(r))return H;if(vt(r)){var h=typeof r.valueOf=="function"?r.valueOf():r;r=vt(h)?h+"":h}if(typeof r!="string")return r===0?r:+r;r=_u(r);var A=Ea.test(r);return A||wa.test(r)?jp(r.slice(2),A?2:8):vr.test(r)?H:+r}function tc(r){return _r(r,Wt(r))}function Ay(r){return r?un(Ze(r),-z,z):r===0?r:0}function ct(r){return r==null?"":Yt(r)}var Dy=Tn(function(r,h){if(li(h)||Gt(h)){_r(h,Ot(h),r);return}for(var A in h)ft.call(h,A)&&ni(r,A,h[A])}),rc=Tn(function(r,h){_r(h,Wt(h),r)}),xo=Tn(function(r,h,A,O){_r(h,Wt(h),r,O)}),Cy=Tn(function(r,h,A,O){_r(h,Ot(h),r,O)}),Ty=Ar(Qa);function Ny(r,h){var A=Cn(r);return h==null?A:Pu(A,h)}var Fy=rt(function(r,h){r=pt(r);var A=-1,O=h.length,U=O>2?h[2]:E;for(U&&Mt(h[0],h[1],U)&&(O=1);++A1),V}),_r(r,gs(r),A),O&&(A=sr(A,n|i|u,zd));for(var U=h.length;U--;)cs(A,h[U]);return A});function $y(r,h){return ic(r,vo(Ge(h)))}var Ky=Ar(function(r,h){return r==null?{}:Ed(r,h)});function ic(r,h){if(r==null)return{};var A=yt(gs(r),function(O){return[O]});return h=Ge(h),Ku(r,A,function(O,U){return h(O,U[0])})}function Vy(r,h,A){h=Gr(h,r);var O=-1,U=h.length;for(U||(U=1,r=E);++Oh){var O=r;r=h,h=O}if(A||r%1||h%1){var U=Fu();return Pt(r+U*(h-r+Mp("1e-"+((U+"").length-1))),h)}return ss(r,h)}var sv=Nn(function(r,h,A){return h=h.toLowerCase(),r+(A?sc(h):h)});function sc(r){return Ps(ct(r).toLowerCase())}function uc(r){return r=ct(r),r&&r.replace(Aa,Yp).replace(Tp,"")}function uv(r,h,A){r=ct(r),h=Yt(h);var O=r.length;A=A===E?O:un(Ze(A),0,O);var U=A;return A-=h.length,A>=0&&r.slice(A,U)==h}function lv(r){return r=ct(r),r&&Xn.test(r)?r.replace(st,Qp):r}function cv(r){return r=ct(r),r&&ga.test(r)?r.replace(Pr,"\\$&"):r}var fv=Nn(function(r,h,A){return r+(A?"-":"")+h.toLowerCase()}),pv=Nn(function(r,h,A){return r+(A?" ":"")+h.toLowerCase()}),hv=fl("toLowerCase");function dv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;if(!h||O>=h)return r;var U=(h-O)/2;return so($i(U),A)+r+so(Ji(U),A)}function mv(r,h,A){r=ct(r),h=Ze(h);var O=h?wn(r):0;return h&&O>>0,A?(r=ct(r),r&&(typeof h=="string"||h!=null&&!Os(h))&&(h=Yt(h),!h&&En(r))?Wr(hr(r),0,A):r.split(h,A)):[]}var Ev=Nn(function(r,h,A){return r+(A?" ":"")+Ps(h)});function wv(r,h,A){return r=ct(r),A=A==null?0:un(Ze(A),0,r.length),h=Yt(h),r.slice(A,A+h.length)==h}function Sv(r,h,A){var O=$.templateSettings;A&&Mt(r,h,A)&&(h=E),r=ct(r),h=xo({},h,O,gl);var U=xo({},h.imports,O.imports,gl),V=Ot(U),te=Xa(U,V),se,pe,De=0,Ce=h.interpolate||gn,Fe="__p += '",ke=Ja((h.escape||gn).source+"|"+Ce.source+"|"+(Ce===Oe?ba:gn).source+"|"+(h.evaluate||gn).source+"|$","g"),Ue="//# sourceURL="+(ft.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++kp+"]")+` -`;r.replace(ke,function(He,nt,ot,Zt,jt,er){return ot||(ot=Zt),Fe+=r.slice(De,er).replace(Da,Zp),nt&&(se=!0,Fe+=`' + -__e(`+nt+`) + -'`),jt&&(pe=!0,Fe+=`'; -`+jt+`; -__p += '`),ot&&(Fe+=`' + -((__t = (`+ot+`)) == null ? '' : __t) + -'`),De=er+He.length,He}),Fe+=`'; -`;var Xe=ft.call(h,"variable")&&h.variable;if(!Xe)Fe=`with (obj) { -`+Fe+` +`}function w(k){return k[k.length-1]===` +`?k.slice(0,-1):k}function D(k,G){if(k===""||k[0]===" ")return k;for(var $,Y,z=/ [^ ]/g,X=0,H=0,ee=0,re="";$=z.exec(k);)(ee=$.index)-X>G&&(Y=H>X?H:ee,re+=` +`+k.slice(X,Y),X=Y+1),H=ee;return re+=` +`,k.length-X>G&&H>X?re+=k.slice(X,H)+` +`+k.slice(H+1):re+=k.slice(X),re.slice(1)}function T(k,G,$){var Y,z,X,H,ee,re;for(X=0,H=(z=$?k.explicitTypes:k.implicitTypes).length;X tag resolver accepts not "'+re+'" style');Y=ee.represent[re](G,re)}k.dump=Y}return!0}return!1}function N(k,G,$,Y,z,X){k.tag=null,k.dump=$,T(k,$,!1)||T(k,$,!0);var H=s.call(k.dump);Y&&(Y=k.flowLevel<0||k.flowLevel>G);var ee,re,de=H==="[object Object]"||H==="[object Array]";if(de&&(re=(ee=k.duplicates.indexOf($))!==-1),(k.tag!==null&&k.tag!=="?"||re||k.indent!==2&&G>0)&&(z=!1),re&&k.usedDuplicates[ee])k.dump="*ref_"+ee;else{if(de&&re&&!k.usedDuplicates[ee]&&(k.usedDuplicates[ee]=!0),H==="[object Object]")Y&&Object.keys(k.dump).length!==0?(function(ne,Q,ie,le){var fe,P,C,B,L,R,q="",W=ne.tag,ae=Object.keys(ie);if(ne.sortKeys===!0)ae.sort();else if(typeof ne.sortKeys=="function")ae.sort(ne.sortKeys);else if(ne.sortKeys)throw new S("sortKeys must be a boolean or a function");for(fe=0,P=ae.length;fe1024)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+="?":R+="? "),R+=ne.dump,L&&(R+=m(ne,Q)),N(ne,Q+1,B,!0,L)&&(ne.dump&&ne.dump.charCodeAt(0)===10?R+=":":R+=": ",q+=R+=ne.dump));ne.tag=W,ne.dump=q||"{}"}(k,G,k.dump,z),re&&(k.dump="&ref_"+ee+k.dump)):(function(ne,Q,ie){var le,fe,P,C,B,L="",R=ne.tag,q=Object.keys(ie);for(le=0,fe=q.length;le1024&&(B+="? "),B+=ne.dump+(ne.condenseFlow?'"':"")+":"+(ne.condenseFlow?"":" "),N(ne,Q,C,!1,!1)&&(L+=B+=ne.dump));ne.tag=R,ne.dump="{"+L+"}"}(k,G,k.dump),re&&(k.dump="&ref_"+ee+" "+k.dump));else if(H==="[object Array]"){var ve=k.noArrayIndent&&G>0?G-1:G;Y&&k.dump.length!==0?(function(ne,Q,ie,le){var fe,P,C="",B=ne.tag;for(fe=0,P=ie.length;fe "+k.dump)}return!0}function I(k,G){var $,Y,z=[],X=[];for(function H(ee,re,de){var ve,ne,Q;if(ee!==null&&typeof ee=="object")if((ne=re.indexOf(ee))!==-1)de.indexOf(ne)===-1&&de.push(ne);else if(re.push(ee),Array.isArray(ee))for(ne=0,Q=ee.length;ne=b.length&&(b=void 0),{value:b&&b[w++],done:!b}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")},y=this&&this.__read||function(b,x){var E=typeof Symbol=="function"&&b[Symbol.iterator];if(!E)return b;var w,D,T=E.call(b),N=[];try{for(;(x===void 0||x-- >0)&&!(w=T.next()).done;)N.push(w.value)}catch(I){D={error:I}}finally{try{w&&!w.done&&(E=T.return)&&E.call(T)}finally{if(D)throw D.error}}return N};Object.defineProperty(a,"__esModule",{value:!0});var s=n(91),h=n(1),i=n(183),o=n(0),l=n(7),u=n(95),p=n(69),m=n(3),f=n(305),t=n(306),e=n(307),g=function(b){function x(E,w){w===void 0&&(w=!1);var D=b.call(this)||this;return D._hasDeclaration=!1,D._docTypeName="",D._hasDocumentElement=!1,D._currentElementSerialized=!1,D._openTags=[],D._ended=!1,D._fragment=w,D._options=h.applyDefaults(E||{},s.DefaultXMLBuilderCBOptions),D._builderOptions={defaultNamespace:D._options.defaultNamespace,namespaceAlias:D._options.namespaceAlias},D._options.format==="json"?D._writer=new t.JSONCBWriter(D._options):D._options.format==="yaml"?D._writer=new e.YAMLCBWriter(D._options):D._writer=new f.XMLCBWriter(D._options),D._options.data!==void 0&&D.on("data",D._options.data),D._options.end!==void 0&&D.on("end",D._options.end),D._options.error!==void 0&&D.on("error",D._options.error),D._prefixMap=new u.NamespacePrefixMap,D._prefixMap.set("xml",l.namespace.XML),D._prefixIndex={value:1},D._push(D._writer.frontMatter()),D}return S(x,b),x.prototype.ele=function(E,w,D){var T,N;if(h.isObject(E)||h.isString(E)&&(/^\s*/g,">");return this._push(this._writer.text(D)),this},x.prototype.ins=function(E,w){var D;w===void 0&&(w=""),this._serializeOpenTag(!0);try{D=i.fragment(this._builderOptions).ins(E,w).first().node}catch(T){return this.emit("error",T),this}return this._options.wellFormed&&(D.target.indexOf(":")!==-1||/^xml$/i.test(D.target))?(this.emit("error",new Error("Processing instruction target contains invalid characters (well-formed required).")),this):this._options.wellFormed&&!o.xml_isLegalChar(D.data)?(this.emit("error",Error("Processing instruction data contains invalid characters (well-formed required).")),this):(this._push(this._writer.instruction(D.target,D.data)),this)},x.prototype.dat=function(E){var w;this._serializeOpenTag(!0);try{w=i.fragment(this._builderOptions).dat(E).first().node}catch(D){return this.emit("error",D),this}return this._push(this._writer.cdata(w.data)),this},x.prototype.dec=function(E){return E===void 0&&(E={version:"1.0"}),this._fragment?(this.emit("error",Error("Cannot insert an XML declaration into a document fragment.")),this):this._hasDeclaration?(this.emit("error",Error("XML declaration is already inserted.")),this):(this._push(this._writer.declaration(E.version||"1.0",E.encoding,E.standalone)),this._hasDeclaration=!0,this)},x.prototype.dtd=function(E){if(this._fragment)return this.emit("error",Error("Cannot insert a DocType declaration into a document fragment.")),this;if(this._docTypeName!=="")return this.emit("error",new Error("DocType declaration is already inserted.")),this;if(this._hasDocumentElement)return this.emit("error",new Error("Cannot insert DocType declaration after document element.")),this;var w;try{w=i.create().dtd(E).first().node}catch(D){return this.emit("error",D),this}return this._options.wellFormed&&!o.xml_isPubidChar(w.publicId)?(this.emit("error",new Error("DocType public identifier does not match PubidChar construct (well-formed required).")),this):this._options.wellFormed&&(!o.xml_isLegalChar(w.systemId)||w.systemId.indexOf('"')!==-1&&w.systemId.indexOf("'")!==-1)?(this.emit("error",new Error("DocType system identifier contains invalid characters (well-formed required).")),this):(this._docTypeName=E.name,this._push(this._writer.docType(E.name,w.publicId,w.systemId)),this)},x.prototype.import=function(E){var w,D,T=i.fragment().set(this._options);try{T.import(E)}catch(k){return this.emit("error",k),this}try{for(var N=_(T.node.childNodes),I=N.next();!I.done;I=N.next()){var M=I.value;this._fromNode(M)}}catch(k){w={error:k}}finally{try{I&&!I.done&&(D=N.return)&&D.call(N)}finally{if(w)throw w.error}}return this},x.prototype.up=function(){return this._serializeOpenTag(!1),this._serializeCloseTag(),this},x.prototype.end=function(){for(this._serializeOpenTag(!1);this._openTags.length>0;)this._serializeCloseTag();return this._push(null),this},x.prototype._serializeOpenTag=function(E){if(!this._currentElementSerialized&&this._currentElement!==void 0){var w=this._currentElement.node;if(!this._options.wellFormed||w.localName.indexOf(":")===-1&&o.xml_isName(w.localName)){var D="",T=!1,N=this._prefixMap.copy(),I={},M=this._recordNamespaceInformation(w,N,I),k=this._openTags.length===0?null:this._openTags[this._openTags.length-1][1],G=w.namespaceURI;if(G===null&&(G=k),k===G)M!==null&&(T=!0),D=G===l.namespace.XML?"xml:"+w.localName:w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D));else{var $=w.prefix,Y=null;if($===null&&G===M||(Y=N.get($,G)),$==="xmlns"){if(this._options.wellFormed)return void this.emit("error",new Error("An element cannot have the 'xmlns' prefix (well-formed required)."));Y=$}Y!==null?(D=Y+":"+w.localName,M!==null&&M!==l.namespace.XML&&(k=M||null),this._writer.beginElement(D),this._push(this._writer.openTagBegin(D))):$!==null?($ in I&&($=this._generatePrefix(G,N,this._prefixIndex)),N.set($,G),D+=$+":"+w.localName,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns:"+$,this._serializeAttributeValue(G,this._options.wellFormed))),M!==null&&(k=M||null)):M===null||M!==null&&M!==G?(T=!0,D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)),this._push(this._writer.attribute("xmlns",this._serializeAttributeValue(G,this._options.wellFormed)))):(D+=w.localName,k=G,this._writer.beginElement(D),this._push(this._writer.openTagBegin(D)))}this._serializeAttributes(w,N,this._prefixIndex,I,T,this._options.wellFormed);var z=G===l.namespace.HTML;z&&!E&&x._VoidElementNames.has(w.localName)?(this._push(this._writer.openTagEnd(D,!0,!0)),this._writer.endElement(D)):z||E?this._push(this._writer.openTagEnd(D,!1,!1)):(this._push(this._writer.openTagEnd(D,!0,!1)),this._writer.endElement(D)),this._currentElementSerialized=!0,this._openTags.push([D,k,this._prefixMap,E]),this._isPrefixMapModified(this._prefixMap,N)&&(this._prefixMap=N),this._writer.level++}else this.emit("error",new Error("Node local name contains invalid characters (well-formed required)."))}},x.prototype._serializeCloseTag=function(){this._writer.level--;var E=this._openTags.pop();if(E!==void 0){var w=y(E,4),D=w[0],T=(w[1],w[2]),N=w[3];this._prefixMap=T,N&&(this._push(this._writer.closeTag(D)),this._writer.endElement(D))}else this.emit("error",new Error("Last element is undefined."))},x.prototype._push=function(E){E===null?(this._ended=!0,this.emit("end")):this._ended?this.emit("error",new Error("Cannot push to ended stream.")):E.length!==0&&(this._writer.hasData=!0,this.emit("data",E,this._writer.level))},x.prototype._fromNode=function(E){var w,D,T,N;if(m.Guard.isElementNode(E)){var I=E.prefix?E.prefix+":"+E.localName:E.localName;E.namespaceURI!==null?this.ele(E.namespaceURI,I):this.ele(I);try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.prefix?G.prefix+":"+G.localName:G.localName;G.namespaceURI!==null?this.att(G.namespaceURI,$,G.value):this.att($,G.value)}}catch(H){w={error:H}}finally{try{k&&!k.done&&(D=M.return)&&D.call(M)}finally{if(w)throw w.error}}try{for(var Y=_(E.childNodes),z=Y.next();!z.done;z=Y.next()){var X=z.value;this._fromNode(X)}}catch(H){T={error:H}}finally{try{z&&!z.done&&(N=Y.return)&&N.call(Y)}finally{if(T)throw T.error}}this.up()}else m.Guard.isExclusiveTextNode(E)&&E.data?this.txt(E.data):m.Guard.isCommentNode(E)?this.com(E.data):m.Guard.isCDATASectionNode(E)?this.dat(E.data):m.Guard.isProcessingInstructionNode(E)&&this.ins(E.target,E.data)},x.prototype._serializeAttributes=function(E,w,D,T,N,I){var M,k,G=I?new p.LocalNameSet:void 0;try{for(var $=_(E.attributes),Y=$.next();!Y.done;Y=$.next()){var z=Y.value;if(I||N||z.namespaceURI!==null){if(I&&G&&G.has(z.namespaceURI,z.localName))return void this.emit("error",new Error("Element contains duplicate attributes (well-formed required)."));I&&G&&G.set(z.namespaceURI,z.localName);var X=z.namespaceURI,H=null;if(X!==null)if(H=w.get(z.prefix,X),X===l.namespace.XMLNS){if(z.value===l.namespace.XML||z.prefix===null&&N||z.prefix!==null&&(!(z.localName in T)||T[z.localName]!==z.value)&&w.has(z.localName,z.value))continue;if(I&&z.value===l.namespace.XMLNS)return void this.emit("error",new Error("XMLNS namespace is reserved (well-formed required)."));if(I&&z.value==="")return void this.emit("error",new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required)."));z.prefix==="xmlns"&&(H="xmlns")}else H===null&&(H=z.prefix===null||w.hasPrefix(z.prefix)&&!w.has(z.prefix,X)?this._generatePrefix(X,w,D):z.prefix,this._push(this._writer.attribute("xmlns:"+H,this._serializeAttributeValue(X,this._options.wellFormed))));if(I&&(z.localName.indexOf(":")!==-1||!o.xml_isName(z.localName)||z.localName==="xmlns"&&X===null))return void this.emit("error",new Error("Attribute local name contains invalid characters (well-formed required)."));this._push(this._writer.attribute((H!==null?H+":":"")+z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}else this._push(this._writer.attribute(z.localName,this._serializeAttributeValue(z.value,this._options.wellFormed)))}}catch(ee){M={error:ee}}finally{try{Y&&!Y.done&&(k=$.return)&&k.call($)}finally{if(M)throw M.error}}},x.prototype._serializeAttributeValue=function(E,w){return w&&E!==null&&!o.xml_isLegalChar(E)?(this.emit("error",new Error("Invalid characters in attribute value.")),""):E===null?"":E.replace(/(?!&(lt|gt|amp|apos|quot);)&/g,"&").replace(//g,">").replace(/"/g,""")},x.prototype._recordNamespaceInformation=function(E,w,D){var T,N,I=null;try{for(var M=_(E.attributes),k=M.next();!k.done;k=M.next()){var G=k.value,$=G.namespaceURI,Y=G.prefix;if($===l.namespace.XMLNS){if(Y===null){I=G.value;continue}var z=G.localName,X=G.value;if(X===l.namespace.XML||(X===""&&(X=null),w.has(z,X)))continue;w.set(z,X),D[z]=X||""}}}catch(H){T={error:H}}finally{try{k&&!k.done&&(N=M.return)&&N.call(M)}finally{if(T)throw T.error}}return I},x.prototype._generatePrefix=function(E,w,D){var T="ns"+D.value;return D.value++,w.set(T,E),T},x.prototype._isPrefixMapModified=function(E,w){var D=E._items,T=w._items,N=E._nullItems,I=w._nullItems;for(var M in T){var k=D[M];if(k===void 0)return!0;var G=T[M];if(k.length!==G.length)return!0;for(var $=0;$':i?"':o?"':""},s.prototype.comment=function(h){return this._beginLine()+""},s.prototype.text=function(h){return this._beginLine()+h},s.prototype.instruction=function(h,i){return i?this._beginLine()+"":this._beginLine()+""},s.prototype.cdata=function(h){return this._beginLine()+""},s.prototype.openTagBegin=function(h){return this._lineLength+=1+h.length,this._beginLine()+"<"+h},s.prototype.openTagEnd=function(h,i,o){return o?" />":i?this._writerOptions.allowEmptyTags?">":this._writerOptions.spaceBeforeSlash?" />":"/>":">"},s.prototype.closeTag=function(h){return this._beginLine()+""},s.prototype.attribute=function(h,i){var o=h+'="'+i+'"';return this._writerOptions.prettyPrint&&this._writerOptions.width>0&&this._lineLength+1+o.length>this._writerOptions.width?(o=this._beginLine()+this._indent(1)+o,this._lineLength=o.length,o):(this._lineLength+=1+o.length," "+o)},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(){if(this._writerOptions.prettyPrint){var h=(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level);return this._lineLength=h.length,h}return""},s.prototype._indent=function(h){return h<=0?"":this._writerOptions.indent.repeat(h)},s}(n(114).BaseCBWriter);a.XMLCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;return i._hasChildren=[],i._additionalLevel=0,i}return S(s,y),s.prototype.frontMatter=function(){return""},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.comment)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.text=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.text)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.instruction=function(h,i){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.ins)+this._sep()+this._val(i?h+" "+i:h)+this._sep()+"}"},s.prototype.cdata=function(h){return this._comma()+this._beginLine()+"{"+this._sep()+this._key(this._builderOptions.convert.cdata)+this._sep()+this._val(h)+this._sep()+"}"},s.prototype.attribute=function(h,i){return this._comma()+this._beginLine(1)+"{"+this._sep()+this._key(this._builderOptions.convert.att+h)+this._sep()+this._val(i)+this._sep()+"}"},s.prototype.openTagBegin=function(h){var i=this._comma()+this._beginLine()+"{"+this._sep()+this._key(h)+this._sep()+"{";return this._additionalLevel++,this.hasData=!0,i+=this._beginLine()+this._key(this._builderOptions.convert.text)+this._sep()+"[",this._hasChildren.push(!1),i},s.prototype.openTagEnd=function(h,i,o){if(i){var l=this._sep()+"]";return this._additionalLevel--,l+=this._beginLine()+"}"+this._sep()+"}"}return""},s.prototype.closeTag=function(h){var i=this._beginLine()+"]";return this._additionalLevel--,i+=this._beginLine()+"}"+this._sep()+"}"},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){this._hasChildren.pop()},s.prototype._beginLine=function(h){return h===void 0&&(h=0),this._writerOptions.prettyPrint?(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level+h):""},s.prototype._indent=function(h){return h+this._additionalLevel<=0?"":this._writerOptions.indent.repeat(h+this._additionalLevel)},s.prototype._comma=function(){var h=this._hasChildren[this._hasChildren.length-1]?",":"";return this._hasChildren.length>0&&(this._hasChildren[this._hasChildren.length-1]=!0),h},s.prototype._sep=function(){return this._writerOptions.prettyPrint?" ":""},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.JSONCBWriter=_},function(c,a,n){"use strict";n(74);var v,S=this&&this.__extends||(v=function(y,s){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,i){h.__proto__=i}||function(h,i){for(var o in i)i.hasOwnProperty(o)&&(h[o]=i[o])})(y,s)},function(y,s){function h(){this.constructor=y}v(y,s),y.prototype=s===null?Object.create(s):(h.prototype=s.prototype,new h)});Object.defineProperty(a,"__esModule",{value:!0});var _=function(y){function s(h){var i=y.call(this,h)||this;if(i._rootWritten=!1,i._additionalLevel=0,h.indent.length<2)throw new Error("YAML indententation string must be at least two characters long.");if(h.offset<0)throw new Error("YAML offset should be zero or a positive number.");return i}return S(s,y),s.prototype.frontMatter=function(){return this._beginLine()+"---"},s.prototype.declaration=function(h,i,o){return""},s.prototype.docType=function(h,i,o){return""},s.prototype.comment=function(h){return this._beginLine()+this._key(this._builderOptions.convert.comment)+" "+this._val(h)},s.prototype.text=function(h){return this._beginLine()+this._key(this._builderOptions.convert.text)+" "+this._val(h)},s.prototype.instruction=function(h,i){return this._beginLine()+this._key(this._builderOptions.convert.ins)+" "+this._val(i?h+" "+i:h)},s.prototype.cdata=function(h){return this._beginLine()+this._key(this._builderOptions.convert.cdata)+" "+this._val(h)},s.prototype.attribute=function(h,i){this._additionalLevel++;var o=this._beginLine()+this._key(this._builderOptions.convert.att+h)+" "+this._val(i);return this._additionalLevel--,o},s.prototype.openTagBegin=function(h){var i=this._beginLine()+this._key(h);return this._rootWritten||(this._rootWritten=!0),this.hasData=!0,this._additionalLevel++,i+=this._beginLine(!0)+this._key(this._builderOptions.convert.text)},s.prototype.openTagEnd=function(h,i,o){return i?" "+this._val(""):""},s.prototype.closeTag=function(h){return this._additionalLevel--,""},s.prototype.beginElement=function(h){},s.prototype.endElement=function(h){},s.prototype._beginLine=function(h){return h===void 0&&(h=!1),(this.hasData?this._writerOptions.newline:"")+this._indent(this._writerOptions.offset+this.level,h)},s.prototype._indent=function(h,i){if(h+this._additionalLevel<=0)return"";var o=this._writerOptions.indent.repeat(h+this._additionalLevel);return!i&&this._rootWritten?o.substr(0,o.length-2)+"-"+o.substr(-1,1):o},s.prototype._key=function(h){return'"'+h+'":'},s.prototype._val=function(h){return JSON.stringify(h)},s}(n(114).BaseCBWriter);a.YAMLCBWriter=_},function(c,a,n){"use strict";var v,S=typeof Reflect=="object"?Reflect:null,_=S&&typeof S.apply=="function"?S.apply:function(e,g,b){return Function.prototype.apply.call(e,g,b)};v=S&&typeof S.ownKeys=="function"?S.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var y=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}c.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var h=10;function i(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function o(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}function l(e,g,b,x){var E,w,D,T;if(i(b),(w=e._events)===void 0?(w=e._events=Object.create(null),e._eventsCount=0):(w.newListener!==void 0&&(e.emit("newListener",g,b.listener?b.listener:b),w=e._events),D=w[g]),D===void 0)D=w[g]=b,++e._eventsCount;else if(typeof D=="function"?D=w[g]=x?[b,D]:[D,b]:x?D.unshift(b):D.push(b),(E=o(e))>0&&D.length>E&&!D.warned){D.warned=!0;var N=new Error("Possible EventEmitter memory leak detected. "+D.length+" "+String(g)+" listeners added. Use emitter.setMaxListeners() to increase limit");N.name="MaxListenersExceededWarning",N.emitter=e,N.type=g,N.count=D.length,T=N,console&&console.warn&&console.warn(T)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,g,b){var x={fired:!1,wrapFn:void 0,target:e,type:g,listener:b},E=u.bind(x);return E.listener=b,x.wrapFn=E,E}function m(e,g,b){var x=e._events;if(x===void 0)return[];var E=x[g];return E===void 0?[]:typeof E=="function"?b?[E.listener||E]:[E]:b?function(w){for(var D=new Array(w.length),T=0;T0&&(w=g[0]),w instanceof Error)throw w;var D=new Error("Unhandled error."+(w?" ("+w.message+")":""));throw D.context=w,D}var T=E[e];if(T===void 0)return!1;if(typeof T=="function")_(T,this,g);else{var N=T.length,I=t(T,N);for(b=0;b=0;w--)if(b[w]===g||b[w].listener===g){D=b[w].listener,E=w;break}if(E<0)return this;E===0?b.shift():function(T,N){for(;N+1=0;x--)this.removeListener(e,g[x]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,g){return typeof e.listenerCount=="function"?e.listenerCount(g):f.call(e,g)},s.prototype.listenerCount=f,s.prototype.eventNames=function(){return this._eventsCount>0?v(this._events):[]}},function(c,a,n){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var v=n(77);a.createCB=function(S){return new v.XMLBuilderCBImpl(S)},a.fragmentCB=function(S){return new v.XMLBuilderCBImpl(S,!0)}}])})});var Up=Cs((ni,ki)=>{(function(){var c,a="4.17.21",n=200,v="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",S="Expected a function",_="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",i=1,o=2,l=4,u=1,p=2,m=1,f=2,t=4,e=8,g=16,b=32,x=64,E=128,w=256,D=512,T=30,N="...",I=800,M=16,k=1,G=2,$=3,Y=1/0,z=9007199254740991,X=17976931348623157e292,H=0/0,ee=4294967295,re=ee-1,de=ee>>>1,ve=[["ary",E],["bind",m],["bindKey",f],["curry",e],["curryRight",g],["flip",D],["partial",b],["partialRight",x],["rearg",w]],ne="[object Arguments]",Q="[object Array]",ie="[object AsyncFunction]",le="[object Boolean]",fe="[object Date]",P="[object DOMException]",C="[object Error]",B="[object Function]",L="[object GeneratorFunction]",R="[object Map]",q="[object Number]",W="[object Null]",ae="[object Object]",me="[object Promise]",ge="[object Proxy]",Ae="[object RegExp]",Re="[object Set]",je="[object String]",ot="[object Symbol]",Ye="[object Undefined]",Se="[object WeakMap]",ct="[object WeakSet]",K="[object ArrayBuffer]",We="[object DataView]",Ge="[object Float32Array]",Fe="[object Float64Array]",se="[object Int8Array]",xe="[object Int16Array]",be="[object Int32Array]",Ne="[object Uint8Array]",Ce="[object Uint8ClampedArray]",ze="[object Uint16Array]",Ue="[object Uint32Array]",He=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,ft=/[&<>"']/g,Ut=RegExp(wt.source),ii=RegExp(ft.source),oi=/<%-([\s\S]+?)%>/g,ye=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,qr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gr=/[\\^$.*+?()[\]{}|]/g,na=RegExp(Gr.source),ai=/^\s+/,Li=/\s/,Wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bi=/\{\n\/\* \[wrapped with (.+)\] \*/,ia=/,? & /,oa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,er=/[()=,{}\[\]\/\s]/,Nt=/\\(\\)?/g,aa=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,cn=/\w*$/,Sr=/^[-+]0x[0-9a-f]+$/i,sa=/^0b[01]+$/i,si=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,la=/^(?:0|[1-9]\d*)$/,ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Fn=/($^)/,fa=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pa="\\u0300-\\u036f",ha="\\ufe20-\\ufe2f",da="\\u20d0-\\u20ff",Mi=pa+ha+da,Ri="\\u2700-\\u27bf",ji="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",va="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ya="\\u2000-\\u206f",_a=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",zi="\\ufe0e\\ufe0f",qi=ma+va+ya+_a,$t="['\u2019]",ui="["+In+"]",li="["+qi+"]",fn="["+Mi+"]",Gi="\\d+",pn="["+Ri+"]",Wi="["+ji+"]",Xi="[^"+In+qi+Gi+Ri+ji+Ui+"]",Pn="\\ud83c[\\udffb-\\udfff]",ga="(?:"+fn+"|"+Pn+")",Hi="[^"+In+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+Ui+"]",ce="\\u200d",Ee="(?:"+Wi+"|"+Xi+")",Le="(?:"+Z+"|"+Xi+")",rt="(?:"+$t+"(?:d|ll|m|re|s|t|ve))?",pt="(?:"+$t+"(?:D|LL|M|RE|S|T|VE))?",Ot=ga+"?",Ct="["+zi+"]?",Wp="(?:"+ce+"(?:"+[Hi,O,j].join("|")+")"+Ct+Ot+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Hp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",au=Ct+Ot+Wp,$p="(?:"+[pn,O,j].join("|")+")"+au,Jp="(?:"+[Hi+fn+"?",fn,O,j,ui].join("|")+")",Kp=RegExp($t,"g"),Vp=RegExp(fn,"g"),xa=RegExp(Pn+"(?="+Pn+")|"+Jp+au,"g"),Yp=RegExp([Z+"?"+Wi+"+"+rt+"(?="+[li,Z,"$"].join("|")+")",Le+"+"+pt+"(?="+[li,Z+Ee,"$"].join("|")+")",Z+"?"+Ee+"+"+rt,Z+"+"+pt,Hp,Xp,Gi,$p].join("|"),"g"),Qp=RegExp("["+ce+In+Mi+zi+"]"),Zp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],th=-1,_t={};_t[Ge]=_t[Fe]=_t[se]=_t[xe]=_t[be]=_t[Ne]=_t[Ce]=_t[ze]=_t[Ue]=!0,_t[ne]=_t[Q]=_t[K]=_t[le]=_t[We]=_t[fe]=_t[C]=_t[B]=_t[R]=_t[q]=_t[ae]=_t[Ae]=_t[Re]=_t[je]=_t[Se]=!1;var yt={};yt[ne]=yt[Q]=yt[K]=yt[We]=yt[le]=yt[fe]=yt[Ge]=yt[Fe]=yt[se]=yt[xe]=yt[be]=yt[R]=yt[q]=yt[ae]=yt[Ae]=yt[Re]=yt[je]=yt[ot]=yt[Ne]=yt[Ce]=yt[ze]=yt[Ue]=!0,yt[C]=yt[B]=yt[Se]=!1;var rh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},nh={"&":"&","<":"<",">":">",'"':""","'":"'"},ih={"&":"&","<":"<",">":">",""":'"',"'":"'"},oh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ah=parseFloat,sh=parseInt,su=typeof global=="object"&&global&&global.Object===Object&&global,uh=typeof self=="object"&&self&&self.Object===Object&&self,Bt=su||uh||Function("return this")(),ba=typeof ni=="object"&&ni&&!ni.nodeType&&ni,hn=ba&&typeof ki=="object"&&ki&&!ki.nodeType&&ki,uu=hn&&hn.exports===ba,Ea=uu&&su.process,lr=function(){try{var pe=hn&&hn.require&&hn.require("util").types;return pe||Ea&&Ea.binding&&Ea.binding("util")}catch{}}(),lu=lr&&lr.isArrayBuffer,cu=lr&&lr.isDate,fu=lr&&lr.isMap,pu=lr&&lr.isRegExp,hu=lr&&lr.isSet,du=lr&&lr.isTypedArray;function tr(pe,we,_e){switch(_e.length){case 0:return pe.call(we);case 1:return pe.call(we,_e[0]);case 2:return pe.call(we,_e[0],_e[1]);case 3:return pe.call(we,_e[0],_e[1],_e[2])}return pe.apply(we,_e)}function lh(pe,we,_e,Me){for(var Ze=-1,ht=pe==null?0:pe.length;++Ze-1}function wa(pe,we,_e){for(var Me=-1,Ze=pe==null?0:pe.length;++Me-1;);return _e}function Eu(pe,we){for(var _e=pe.length;_e--&&kn(we,pe[_e],0)>-1;);return _e}function _h(pe,we){for(var _e=pe.length,Me=0;_e--;)pe[_e]===we&&++Me;return Me}var gh=Da(rh),xh=Da(nh);function bh(pe){return"\\"+oh[pe]}function Eh(pe,we){return pe==null?c:pe[we]}function Ln(pe){return Qp.test(pe)}function wh(pe){return Zp.test(pe)}function Sh(pe){for(var we,_e=[];!(we=pe.next()).done;)_e.push(we.value);return _e}function Fa(pe){var we=-1,_e=Array(pe.size);return pe.forEach(function(Me,Ze){_e[++we]=[Ze,Me]}),_e}function wu(pe,we){return function(_e){return pe(we(_e))}}function $r(pe,we){for(var _e=-1,Me=pe.length,Ze=0,ht=[];++_e-1}function fd(r,d){var A=this.__data__,F=co(A,r);return F<0?(++this.size,A.push([r,d])):A[F][1]=d,this}Or.prototype.clear=sd,Or.prototype.delete=ud,Or.prototype.get=ld,Or.prototype.has=cd,Or.prototype.set=fd;function Fr(r){var d=-1,A=r==null?0:r.length;for(this.clear();++d=d?r:d)),r}function hr(r,d,A,F,U,V){var te,ue=d&i,he=d&o,De=d&l;if(A&&(te=U?A(r,F,U,V):A(r)),te!==c)return te;if(!bt(r))return r;var Te=tt(r);if(Te){if(te=mm(r),!ue)return Jt(r,te)}else{var Ie=qt(r),Be=Ie==B||Ie==L;if(en(r))return ol(r,ue);if(Ie==ae||Ie==ne||Be&&!U){if(te=he||Be?{}:Sl(r),!ue)return he?im(r,Dd(te,r)):nm(r,Lu(te,r))}else{if(!yt[Ie])return U?r:{};te=vm(r,Ie,ue)}}V||(V=new gr);var qe=V.get(r);if(qe)return qe;V.set(r,te),Zl(r)?r.forEach(function(Je){te.add(hr(Je,d,A,Je,r,V))}):Yl(r)&&r.forEach(function(Je,st){te.set(st,hr(Je,d,A,st,r,V))});var $e=De?he?ns:rs:he?Vt:Mt,it=Te?c:$e(r);return cr(it||r,function(Je,st){it&&(st=Je,Je=r[st]),vi(te,st,hr(Je,d,A,st,r,V))}),te}function Td(r){var d=Mt(r);return function(A){return Bu(A,r,d)}}function Bu(r,d,A){var F=A.length;if(r==null)return!F;for(r=vt(r);F--;){var U=A[F],V=d[U],te=r[U];if(te===c&&!(U in r)||!V(te))return!1}return!0}function Mu(r,d,A){if(typeof r!="function")throw new fr(S);return wi(function(){r.apply(c,A)},d)}function yi(r,d,A,F){var U=-1,V=$i,te=!0,ue=r.length,he=[],De=d.length;if(!ue)return he;A&&(d=xt(d,rr(A))),F?(V=wa,te=!1):d.length>=n&&(V=ci,te=!1,d=new vn(d));e:for(;++UU?0:U+A),F=F===c||F>U?U:nt(F),F<0&&(F+=U),F=A>F?0:tc(F);A0&&A(ue)?d>1?Rt(ue,d-1,A,F,U):Hr(U,ue):F||(U[U.length]=ue)}return U}var Ra=fl(),Uu=fl(!0);function Ar(r,d){return r&&Ra(r,d,Mt)}function ja(r,d){return r&&Uu(r,d,Mt)}function po(r,d){return Xr(d,function(A){return Br(r[A])})}function _n(r,d){d=Qr(d,r);for(var A=0,F=d.length;r!=null&&Ad}function Fd(r,d){return r!=null&&mt.call(r,d)}function Id(r,d){return r!=null&&d in vt(r)}function Pd(r,d,A){return r>=zt(d,A)&&r=120&&Te.length>=120)?new vn(te&&Te):c}Te=r[0];var Ie=-1,Be=ue[0];e:for(;++Ie-1;)ue!==r&&no.call(ue,he,1),no.call(r,he,1);return r}function Yu(r,d){for(var A=r?d.length:0,F=A-1;A--;){var U=d[A];if(A==F||U!==V){var V=U;Lr(U)?no.call(r,U,1):Ka(r,U)}}return r}function Ha(r,d){return r+ao(Fu()*(d-r+1))}function Hd(r,d,A,F){for(var U=-1,V=kt(oo((d-r)/(A||1)),0),te=_e(V);V--;)te[F?V:++U]=r,r+=A;return te}function $a(r,d){var A="";if(!r||d<1||d>z)return A;do d%2&&(A+=r),d=ao(d/2),d&&(r+=r);while(d);return A}function at(r,d){return cs(Dl(r,d,Yt),r+"")}function $d(r){return ku(Xn(r))}function Jd(r,d){var A=Xn(r);return So(A,yn(d,0,A.length))}function xi(r,d,A,F){if(!bt(r))return r;d=Qr(d,r);for(var U=-1,V=d.length,te=V-1,ue=r;ue!=null&&++UU?0:U+d),A=A>U?U:A,A<0&&(A+=U),U=d>A?0:A-d>>>0,d>>>=0;for(var V=_e(U);++F>>1,te=r[V];te!==null&&!ir(te)&&(A?te<=d:te=n){var De=d?null:um(r);if(De)return Ki(De);te=!1,U=ci,he=new vn}else he=d?[]:ue;e:for(;++F=F?r:dr(r,d,A)}var il=jh||function(r){return Bt.clearTimeout(r)};function ol(r,d){if(d)return r.slice();var A=r.length,F=Cu?Cu(A):new r.constructor(A);return r.copy(F),F}function Za(r){var d=new r.constructor(r.byteLength);return new to(d).set(new to(r)),d}function Zd(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.byteLength)}function em(r){var d=new r.constructor(r.source,cn.exec(r));return d.lastIndex=r.lastIndex,d}function tm(r){return mi?vt(mi.call(r)):{}}function al(r,d){var A=d?Za(r.buffer):r.buffer;return new r.constructor(A,r.byteOffset,r.length)}function sl(r,d){if(r!==d){var A=r!==c,F=r===null,U=r===r,V=ir(r),te=d!==c,ue=d===null,he=d===d,De=ir(d);if(!ue&&!De&&!V&&r>d||V&&te&&he&&!ue&&!De||F&&te&&he||!A&&he||!U)return 1;if(!F&&!V&&!De&&r=ue)return he;var De=A[F];return he*(De=="desc"?-1:1)}}return r.index-d.index}function ul(r,d,A,F){for(var U=-1,V=r.length,te=A.length,ue=-1,he=d.length,De=kt(V-te,0),Te=_e(he+De),Ie=!F;++ue1?A[U-1]:c,te=U>2?A[2]:c;for(V=r.length>3&&typeof V=="function"?(U--,V):c,te&&Wt(A[0],A[1],te)&&(V=U<3?c:V,U=1),d=vt(d);++F-1?U[V?d[te]:te]:c}}function dl(r){return kr(function(d){var A=d.length,F=A,U=pr.prototype.thru;for(r&&d.reverse();F--;){var V=d[F];if(typeof V!="function")throw new fr(S);if(U&&!te&&Eo(V)=="wrapper")var te=new pr([],!0)}for(F=te?F:A;++F1&<.reverse(),Te&&heue))return!1;var De=V.get(r),Te=V.get(d);if(De&&Te)return De==d&&Te==r;var Ie=-1,Be=!0,qe=A&p?new vn:c;for(V.set(r,d),V.set(d,r);++Ie1?"& ":"")+d[F],d=d.join(A>2?", ":" "),r.replace(Wr,`{ +/* [wrapped with `+d+`] */ +`)}function _m(r){return tt(r)||bn(r)||!!(Nu&&r&&r[Nu])}function Lr(r,d){var A=typeof r;return d=d??z,!!d&&(A=="number"||A!="symbol"&&la.test(r))&&r>-1&&r%1==0&&r0){if(++d>=I)return arguments[0]}else d=0;return r.apply(c,arguments)}}function So(r,d){var A=-1,F=r.length,U=F-1;for(d=d===c?F:d;++A1?r[d-1]:c;return A=typeof A=="function"?(r.pop(),A):c,jl(r,A)});function Ul(r){var d=J(r);return d.__chain__=!0,d}function N0(r,d){return d(r),r}function Ao(r,d){return d(r)}var O0=kr(function(r){var d=r.length,A=d?r[0]:0,F=this.__wrapped__,U=function(V){return Ma(V,r)};return d>1||this.__actions__.length||!(F instanceof ut)||!Lr(A)?this.thru(U):(F=F.slice(A,+A+(d?1:0)),F.__actions__.push({func:Ao,args:[U],thisArg:c}),new pr(F,this.__chain__).thru(function(V){return d&&!V.length&&V.push(c),V}))});function F0(){return Ul(this)}function I0(){return new pr(this.value(),this.__chain__)}function P0(){this.__values__===c&&(this.__values__=ec(this.value()));var r=this.__index__>=this.__values__.length,d=r?c:this.__values__[this.__index__++];return{done:r,value:d}}function k0(){return this}function L0(r){for(var d,A=this;A instanceof lo;){var F=Pl(A);F.__index__=0,F.__values__=c,d?U.__wrapped__=F:d=F;var U=F;A=A.__wrapped__}return U.__wrapped__=r,d}function B0(){var r=this.__wrapped__;if(r instanceof ut){var d=r;return this.__actions__.length&&(d=new ut(this)),d=d.reverse(),d.__actions__.push({func:Ao,args:[fs],thisArg:c}),new pr(d,this.__chain__)}return this.thru(fs)}function M0(){return rl(this.__wrapped__,this.__actions__)}var R0=yo(function(r,d,A){mt.call(r,A)?++r[A]:Ir(r,A,1)});function j0(r,d,A){var F=tt(r)?mu:Nd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}function U0(r,d){var A=tt(r)?Xr:ju;return A(r,Xe(d,3))}var z0=hl(kl),q0=hl(Ll);function G0(r,d){return Rt(Co(r,d),1)}function W0(r,d){return Rt(Co(r,d),Y)}function X0(r,d,A){return A=A===c?1:nt(A),Rt(Co(r,d),A)}function zl(r,d){var A=tt(r)?cr:Vr;return A(r,Xe(d,3))}function ql(r,d){var A=tt(r)?ch:Ru;return A(r,Xe(d,3))}var H0=yo(function(r,d,A){mt.call(r,A)?r[A].push(d):Ir(r,A,[d])});function $0(r,d,A,F){r=Kt(r)?r:Xn(r),A=A&&!F?nt(A):0;var U=r.length;return A<0&&(A=kt(U+A,0)),Fo(r)?A<=U&&r.indexOf(d,A)>-1:!!U&&kn(r,d,A)>-1}var J0=at(function(r,d,A){var F=-1,U=typeof d=="function",V=Kt(r)?_e(r.length):[];return Vr(r,function(te){V[++F]=U?tr(d,te,A):_i(te,d,A)}),V}),K0=yo(function(r,d,A){Ir(r,A,d)});function Co(r,d){var A=tt(r)?xt:Xu;return A(r,Xe(d,3))}function V0(r,d,A,F){return r==null?[]:(tt(d)||(d=d==null?[]:[d]),A=F?c:A,tt(A)||(A=A==null?[]:[A]),Ku(r,d,A))}var Y0=yo(function(r,d,A){r[A?0:1].push(d)},function(){return[[],[]]});function Q0(r,d,A){var F=tt(r)?Sa:gu,U=arguments.length<3;return F(r,Xe(d,4),A,U,Vr)}function Z0(r,d,A){var F=tt(r)?fh:gu,U=arguments.length<3;return F(r,Xe(d,4),A,U,Ru)}function ev(r,d){var A=tt(r)?Xr:ju;return A(r,No(Xe(d,3)))}function tv(r){var d=tt(r)?ku:$d;return d(r)}function rv(r,d,A){(A?Wt(r,d,A):d===c)?d=1:d=nt(d);var F=tt(r)?Sd:Jd;return F(r,d)}function nv(r){var d=tt(r)?Ad:Vd;return d(r)}function iv(r){if(r==null)return 0;if(Kt(r))return Fo(r)?Bn(r):r.length;var d=qt(r);return d==R||d==Re?r.size:Ga(r).length}function ov(r,d,A){var F=tt(r)?Aa:Yd;return A&&Wt(r,d,A)&&(d=c),F(r,Xe(d,3))}var av=at(function(r,d){if(r==null)return[];var A=d.length;return A>1&&Wt(r,d[0],d[1])?d=[]:A>2&&Wt(d[0],d[1],d[2])&&(d=[d[0]]),Ku(r,Rt(d,1),[])}),Do=Uh||function(){return Bt.Date.now()};function sv(r,d){if(typeof d!="function")throw new fr(S);return r=nt(r),function(){if(--r<1)return d.apply(this,arguments)}}function Gl(r,d,A){return d=A?c:d,d=r&&d==null?r.length:d,Pr(r,E,c,c,c,c,d)}function Wl(r,d){var A;if(typeof d!="function")throw new fr(S);return r=nt(r),function(){return--r>0&&(A=d.apply(this,arguments)),r<=1&&(d=c),A}}var hs=at(function(r,d,A){var F=m;if(A.length){var U=$r(A,Gn(hs));F|=b}return Pr(r,F,d,A,U)}),Xl=at(function(r,d,A){var F=m|f;if(A.length){var U=$r(A,Gn(Xl));F|=b}return Pr(d,F,r,A,U)});function Hl(r,d,A){d=A?c:d;var F=Pr(r,e,c,c,c,c,c,d);return F.placeholder=Hl.placeholder,F}function $l(r,d,A){d=A?c:d;var F=Pr(r,g,c,c,c,c,c,d);return F.placeholder=$l.placeholder,F}function Jl(r,d,A){var F,U,V,te,ue,he,De=0,Te=!1,Ie=!1,Be=!0;if(typeof r!="function")throw new fr(S);d=vr(d)||0,bt(A)&&(Te=!!A.leading,Ie="maxWait"in A,V=Ie?kt(vr(A.maxWait)||0,d):V,Be="trailing"in A?!!A.trailing:Be);function qe(Tt){var br=F,Rr=U;return F=U=c,De=Tt,te=r.apply(Rr,br),te}function $e(Tt){return De=Tt,ue=wi(st,d),Te?qe(Tt):te}function it(Tt){var br=Tt-he,Rr=Tt-De,hc=d-br;return Ie?zt(hc,V-Rr):hc}function Je(Tt){var br=Tt-he,Rr=Tt-De;return he===c||br>=d||br<0||Ie&&Rr>=V}function st(){var Tt=Do();if(Je(Tt))return lt(Tt);ue=wi(st,it(Tt))}function lt(Tt){return ue=c,Be&&F?qe(Tt):(F=U=c,te)}function or(){ue!==c&&il(ue),De=0,F=he=U=ue=c}function Xt(){return ue===c?te:lt(Do())}function ar(){var Tt=Do(),br=Je(Tt);if(F=arguments,U=this,he=Tt,br){if(ue===c)return $e(he);if(Ie)return il(ue),ue=wi(st,d),qe(he)}return ue===c&&(ue=wi(st,d)),te}return ar.cancel=or,ar.flush=Xt,ar}var uv=at(function(r,d){return Mu(r,1,d)}),lv=at(function(r,d,A){return Mu(r,vr(d)||0,A)});function cv(r){return Pr(r,D)}function To(r,d){if(typeof r!="function"||d!=null&&typeof d!="function")throw new fr(S);var A=function(){var F=arguments,U=d?d.apply(this,F):F[0],V=A.cache;if(V.has(U))return V.get(U);var te=r.apply(this,F);return A.cache=V.set(U,te)||V,te};return A.cache=new(To.Cache||Fr),A}To.Cache=Fr;function No(r){if(typeof r!="function")throw new fr(S);return function(){var d=arguments;switch(d.length){case 0:return!r.call(this);case 1:return!r.call(this,d[0]);case 2:return!r.call(this,d[0],d[1]);case 3:return!r.call(this,d[0],d[1],d[2])}return!r.apply(this,d)}}function fv(r){return Wl(2,r)}var pv=Qd(function(r,d){d=d.length==1&&tt(d[0])?xt(d[0],rr(Xe())):xt(Rt(d,1),rr(Xe()));var A=d.length;return at(function(F){for(var U=-1,V=zt(F.length,A);++U=d}),bn=qu(function(){return arguments}())?qu:function(r){return St(r)&&mt.call(r,"callee")&&!Tu.call(r,"callee")},tt=_e.isArray,Dv=lu?rr(lu):Ld;function Kt(r){return r!=null&&Oo(r.length)&&!Br(r)}function Dt(r){return St(r)&&Kt(r)}function Tv(r){return r===!0||r===!1||St(r)&&Gt(r)==le}var en=qh||As,Nv=cu?rr(cu):Bd;function Ov(r){return St(r)&&r.nodeType===1&&!Si(r)}function Fv(r){if(r==null)return!0;if(Kt(r)&&(tt(r)||typeof r=="string"||typeof r.splice=="function"||en(r)||Wn(r)||bn(r)))return!r.length;var d=qt(r);if(d==R||d==Re)return!r.size;if(Ei(r))return!Ga(r).length;for(var A in r)if(mt.call(r,A))return!1;return!0}function Iv(r,d){return gi(r,d)}function Pv(r,d,A){A=typeof A=="function"?A:c;var F=A?A(r,d):c;return F===c?gi(r,d,c,A):!!F}function ms(r){if(!St(r))return!1;var d=Gt(r);return d==C||d==P||typeof r.message=="string"&&typeof r.name=="string"&&!Si(r)}function kv(r){return typeof r=="number"&&Ou(r)}function Br(r){if(!bt(r))return!1;var d=Gt(r);return d==B||d==L||d==ie||d==ge}function Vl(r){return typeof r=="number"&&r==nt(r)}function Oo(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=z}function bt(r){var d=typeof r;return r!=null&&(d=="object"||d=="function")}function St(r){return r!=null&&typeof r=="object"}var Yl=fu?rr(fu):Rd;function Lv(r,d){return r===d||qa(r,d,os(d))}function Bv(r,d,A){return A=typeof A=="function"?A:c,qa(r,d,os(d),A)}function Mv(r){return Ql(r)&&r!=+r}function Rv(r){if(bm(r))throw new Ze(v);return Gu(r)}function jv(r){return r===null}function Uv(r){return r==null}function Ql(r){return typeof r=="number"||St(r)&&Gt(r)==q}function Si(r){if(!St(r)||Gt(r)!=ae)return!1;var d=ro(r);if(d===null)return!0;var A=mt.call(d,"constructor")&&d.constructor;return typeof A=="function"&&A instanceof A&&Qi.call(A)==Bh}var vs=pu?rr(pu):jd;function zv(r){return Vl(r)&&r>=-z&&r<=z}var Zl=hu?rr(hu):Ud;function Fo(r){return typeof r=="string"||!tt(r)&&St(r)&&Gt(r)==je}function ir(r){return typeof r=="symbol"||St(r)&&Gt(r)==ot}var Wn=du?rr(du):zd;function qv(r){return r===c}function Gv(r){return St(r)&&qt(r)==Se}function Wv(r){return St(r)&&Gt(r)==ct}var Xv=bo(Wa),Hv=bo(function(r,d){return r<=d});function ec(r){if(!r)return[];if(Kt(r))return Fo(r)?_r(r):Jt(r);if(fi&&r[fi])return Sh(r[fi]());var d=qt(r),A=d==R?Fa:d==Re?Ki:Xn;return A(r)}function Mr(r){if(!r)return r===0?r:0;if(r=vr(r),r===Y||r===-Y){var d=r<0?-1:1;return d*X}return r===r?r:0}function nt(r){var d=Mr(r),A=d%1;return d===d?A?d-A:d:0}function tc(r){return r?yn(nt(r),0,ee):0}function vr(r){if(typeof r=="number")return r;if(ir(r))return H;if(bt(r)){var d=typeof r.valueOf=="function"?r.valueOf():r;r=bt(d)?d+"":d}if(typeof r!="string")return r===0?r:+r;r=xu(r);var A=sa.test(r);return A||ua.test(r)?sh(r.slice(2),A?2:8):Sr.test(r)?H:+r}function rc(r){return Cr(r,Vt(r))}function $v(r){return r?yn(nt(r),-z,z):r===0?r:0}function dt(r){return r==null?"":nr(r)}var Jv=zn(function(r,d){if(Ei(d)||Kt(d)){Cr(d,Mt(d),r);return}for(var A in d)mt.call(d,A)&&vi(r,A,d[A])}),nc=zn(function(r,d){Cr(d,Vt(d),r)}),Io=zn(function(r,d,A,F){Cr(d,Vt(d),r,F)}),Kv=zn(function(r,d,A,F){Cr(d,Mt(d),r,F)}),Vv=kr(Ma);function Yv(r,d){var A=Un(r);return d==null?A:Lu(A,d)}var Qv=at(function(r,d){r=vt(r);var A=-1,F=d.length,U=F>2?d[2]:c;for(U&&Wt(d[0],d[1],U)&&(F=1);++A1),V}),Cr(r,ns(r),A),F&&(A=hr(A,i|o|l,lm));for(var U=d.length;U--;)Ka(A,d[U]);return A});function vy(r,d){return oc(r,No(Xe(d)))}var yy=kr(function(r,d){return r==null?{}:Wd(r,d)});function oc(r,d){if(r==null)return{};var A=xt(ns(r),function(F){return[F]});return d=Xe(d),Vu(r,A,function(F,U){return d(F,U[0])})}function _y(r,d,A){d=Qr(d,r);var F=-1,U=d.length;for(U||(U=1,r=c);++Fd){var F=r;r=d,d=F}if(A||r%1||d%1){var U=Fu();return zt(r+U*(d-r+ah("1e-"+((U+"").length-1))),d)}return Ha(r,d)}var Ny=qn(function(r,d,A){return d=d.toLowerCase(),r+(A?uc(d):d)});function uc(r){return gs(dt(r).toLowerCase())}function lc(r){return r=dt(r),r&&r.replace(ca,gh).replace(Vp,"")}function Oy(r,d,A){r=dt(r),d=nr(d);var F=r.length;A=A===c?F:yn(nt(A),0,F);var U=A;return A-=d.length,A>=0&&r.slice(A,U)==d}function Fy(r){return r=dt(r),r&&ii.test(r)?r.replace(ft,xh):r}function Iy(r){return r=dt(r),r&&na.test(r)?r.replace(Gr,"\\$&"):r}var Py=qn(function(r,d,A){return r+(A?"-":"")+d.toLowerCase()}),ky=qn(function(r,d,A){return r+(A?" ":"")+d.toLowerCase()}),Ly=pl("toLowerCase");function By(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;if(!d||F>=d)return r;var U=(d-F)/2;return xo(ao(U),A)+r+xo(oo(U),A)}function My(r,d,A){r=dt(r),d=nt(d);var F=d?Bn(r):0;return d&&F>>0,A?(r=dt(r),r&&(typeof d=="string"||d!=null&&!vs(d))&&(d=nr(d),!d&&Ln(r))?Zr(_r(r),0,A):r.split(d,A)):[]}var Wy=qn(function(r,d,A){return r+(A?" ":"")+gs(d)});function Xy(r,d,A){return r=dt(r),A=A==null?0:yn(nt(A),0,r.length),d=nr(d),r.slice(A,A+d.length)==d}function Hy(r,d,A){var F=J.templateSettings;A&&Wt(r,d,A)&&(d=c),r=dt(r),d=Io({},d,F,gl);var U=Io({},d.imports,F.imports,gl),V=Mt(U),te=Oa(U,V),ue,he,De=0,Te=d.interpolate||Fn,Ie="__p += '",Be=Ia((d.escape||Fn).source+"|"+Te.source+"|"+(Te===Pe?aa:Fn).source+"|"+(d.evaluate||Fn).source+"|$","g"),qe="//# sourceURL="+(mt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++th+"]")+` +`;r.replace(Be,function(Je,st,lt,or,Xt,ar){return lt||(lt=or),Ie+=r.slice(De,ar).replace(fa,bh),st&&(ue=!0,Ie+=`' + +__e(`+st+`) + +'`),Xt&&(he=!0,Ie+=`'; +`+Xt+`; +__p += '`),lt&&(Ie+=`' + +((__t = (`+lt+`)) == null ? '' : __t) + +'`),De=ar+Je.length,Je}),Ie+=`'; +`;var $e=mt.call(d,"variable")&&d.variable;if(!$e)Ie=`with (obj) { +`+Ie+` } -`;else if($t.test(Xe))throw new Ke(y);Fe=(pe?Fe.replace(We,""):Fe).replace(Ve,"$1").replace(gt,"$1;"),Fe="function("+(Xe||"obj")+`) { -`+(Xe?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(se?", __e = _.escape":"")+(pe?`, __j = Array.prototype.join; +`;else if(er.test($e))throw new Ze(_);Ie=(he?Ie.replace(He,""):Ie).replace(et,"$1").replace(Et,"$1;"),Ie="function("+($e||"obj")+`) { +`+($e?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(he?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Fe+`return __p -}`;var et=cc(function(){return lt(V,Ue+"return "+Fe).apply(E,te)});if(et.source=Fe,Fs(et))throw et;return et}function Av(r){return ct(r).toLowerCase()}function Dv(r){return ct(r).toUpperCase()}function Cv(r,h,A){if(r=ct(r),r&&(A||h===E))return _u(r);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=hr(h),V=xu(O,U),te=bu(O,U)+1;return Wr(O,V,te).join("")}function Tv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.slice(0,wu(r)+1);if(!r||!(h=Yt(h)))return r;var O=hr(r),U=bu(O,hr(h))+1;return Wr(O,0,U).join("")}function Nv(r,h,A){if(r=ct(r),r&&(A||h===E))return r.replace(Jn,"");if(!r||!(h=Yt(h)))return r;var O=hr(r),U=xu(O,hr(h));return Wr(O,U).join("")}function Fv(r,h){var A=T,O=N;if(vt(h)){var U="separator"in h?h.separator:U;A="length"in h?Ze(h.length):A,O="omission"in h?Yt(h.omission):O}r=ct(r);var V=r.length;if(En(r)){var te=hr(r);V=te.length}if(A>=V)return r;var se=A-wn(O);if(se<1)return O;var pe=te?Wr(te,0,se).join(""):r.slice(0,se);if(U===E)return pe+O;if(te&&(se+=pe.length-se),Os(U)){if(r.slice(se).search(U)){var De,Ce=pe;for(U.global||(U=Ja(U.source,ct(en.exec(U))+"g")),U.lastIndex=0;De=U.exec(Ce);)var Fe=De.index;pe=pe.slice(0,Fe===E?se:Fe)}}else if(r.indexOf(Yt(U),se)!=se){var ke=pe.lastIndexOf(U);ke>-1&&(pe=pe.slice(0,ke))}return pe+O}function Ov(r){return r=ct(r),r&&kt.test(r)?r.replace(_t,ah):r}var Iv=Nn(function(r,h,A){return r+(A?" ":"")+h.toUpperCase()}),Ps=fl("toUpperCase");function lc(r,h,A){return r=ct(r),h=A?E:h,h===E?th(r)?lh(r):Hp(r):r.match(h)||[]}var cc=rt(function(r,h){try{return Kt(r,E,h)}catch(A){return Fs(A)?A:new Ke(A)}}),kv=Ar(function(r,h){return ir(h,function(A){A=xr(A),wr(r,A,Ts(r[A],r))}),r});function Pv(r){var h=r==null?0:r.length,A=Ge();return r=h?yt(r,function(O){if(typeof O[1]!="function")throw new or(w);return[A(O[0]),O[1]]}):[],rt(function(O){for(var U=-1;++Uz)return[];var A=ee,O=Pt(r,ee);h=Ge(h),r-=ee;for(var U=Wa(O,h);++A0||h<0)?new it(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),h!==E&&(h=Ze(h),A=h<0?A.dropRight(-h):A.take(h-r)),A)},it.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},it.prototype.toArray=function(){return this.take(ee)},gr(it.prototype,function(r,h){var A=/^(?:filter|find|map|reject)|While$/.test(h),O=/^(?:head|last)$/.test(h),U=$[O?"take"+(h=="last"?"Right":""):h],V=O||/^find/.test(h);U&&($.prototype[h]=function(){var te=this.__wrapped__,se=O?[1]:arguments,pe=te instanceof it,De=se[0],Ce=pe||Ye(te),Fe=function(nt){var ot=U.apply($,Rr([nt],se));return O&&ke?ot[0]:ot};Ce&&A&&typeof De=="function"&&De.length!=1&&(pe=Ce=!1);var ke=this.__chain__,Ue=!!this.__actions__.length,Xe=V&&!ke,et=pe&&!Ue;if(!V&&Ce){te=et?te:new it(this);var He=r.apply(te,se);return He.__actions__.push({func:po,args:[Fe],thisArg:E}),new ar(He,ke)}return Xe&&et?r.apply(this,se):(He=this.thru(Fe),Xe?O?He.value()[0]:He.value():He)})}),ir(["pop","push","shift","sort","splice","unshift"],function(r){var h=Mi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",O=/^(?:pop|shift)$/.test(r);$.prototype[r]=function(){var U=arguments;if(O&&!this.__chain__){var V=this.value();return h.apply(Ye(V)?V:[],U)}return this[A](function(te){return h.apply(Ye(te)?te:[],U)})}}),gr(it.prototype,function(r,h){var A=$[h];if(A){var O=A.name+"";ft.call(Dn,O)||(Dn[O]=[]),Dn[O].push({name:h,func:A})}}),Dn[oo(E,c).name]=[{name:"wrapper",func:E}],it.prototype.clone=Oh,it.prototype.reverse=Ih,it.prototype.value=kh,$.prototype.at=u0,$.prototype.chain=l0,$.prototype.commit=c0,$.prototype.next=f0,$.prototype.plant=h0,$.prototype.reverse=d0,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=m0,$.prototype.first=$.prototype.head,Qn&&($.prototype[Qn]=p0),$},jr=ch();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ft._=jr,define(function(){return jr})):nn?((nn.exports=jr)._=jr,La._=jr):Ft._=jr}).call(Wn)});var Rb={};wg(Rb,{default:()=>Bb,options:()=>bp,setup:()=>Pb,teardown:()=>Lb});module.exports=Sg(Rb);var gb=Ut(require("k6/encoding")),_b=require("k6"),xb=Ut(require("k6/http"));var Ag=typeof global=="object"&&global&&global.Object===Object&&global,Eo=Ag;var Dg=typeof self=="object"&&self&&self.Object===Object&&self,Cg=Eo||Dg||Function("return this")(),Dt=Cg;var Tg=Dt.Symbol,Fr=Tg;var dc=Object.prototype,Ng=dc.hasOwnProperty,Fg=dc.toString,pi=Fr?Fr.toStringTag:void 0;function Og(E){var l=Ng.call(E,pi),o=E[pi];try{E[pi]=void 0;var v=!0}catch{}var w=Fg.call(E);return v&&(l?E[pi]=o:delete E[pi]),w}var mc=Og;var Ig=Object.prototype,kg=Ig.toString;function Pg(E){return kg.call(E)}var yc=Pg;var Bg="[object Null]",Lg="[object Undefined]",vc=Fr?Fr.toStringTag:void 0;function Rg(E){return E==null?E===void 0?Lg:Bg:vc&&vc in Object(E)?mc(E):yc(E)}var tr=Rg;function Mg(E){return E!=null&&typeof E=="object"}var fr=Mg;var jg="[object Symbol]";function Ug(E){return typeof E=="symbol"||fr(E)&&tr(E)==jg}var kn=Ug;function zg(E,l){for(var o=-1,v=E==null?0:E.length,w=Array(v);++o0){if(++l>=y_)return arguments[0]}else l=0;return E.apply(void 0,arguments)}}var Oc=__;function x_(E){return function(){return E}}var Ic=x_;var b_=function(){try{var E=Jt(Object,"defineProperty");return E({},"",{}),E}catch{}}(),Bn=b_;var E_=Bn?function(E,l){return Bn(E,"toString",{configurable:!0,enumerable:!1,value:Ic(l),writable:!0})}:wo,kc=E_;var w_=Oc(kc),Pc=w_;var S_=9007199254740991,A_=/^(?:0|[1-9]\d*)$/;function D_(E,l){var o=typeof E;return l=l??S_,!!l&&(o=="number"||o!="symbol"&&A_.test(E))&&E>-1&&E%1==0&&E-1&&E%1==0&&E<=B_}var Co=L_;function R_(E){return E!=null&&Co(E.length)&&!Pn(E)}var Jr=R_;function M_(E,l,o){if(!Ht(o))return!1;var v=typeof l;return(v=="number"?Jr(o)&&Do(l,o.length):v=="string"&&l in o)?Hr(o[l],E):!1}var Uc=M_;function j_(E){return jc(function(l,o){var v=-1,w=o.length,y=w>1?o[w-1]:void 0,m=w>2?o[2]:void 0;for(y=E.length>3&&typeof y=="function"?(w--,y):void 0,m&&Uc(o[0],o[1],m)&&(y=w<3?void 0:y,w=1),l=Object(l);++v-1}var hf=sx;function ux(E,l){var o=this.__data__,v=Kr(o,E);return v<0?(++this.size,o.push([E,l])):o[v][1]=l,this}var df=ux;function Un(E){var l=-1,o=E==null?0:E.length;for(this.clear();++lE.join("/").replace(/(?Object.keys(E).map(l=>encodeURIComponent(l)+"="+encodeURIComponent(E[l]||"")).join("&"),op=E=>new Ks(new URL(E||"").search).object();var sp=(E,l,o)=>(v,w,y,m)=>{let a=o||{};return l&&Po(a,{headers:{Authorization:l.header}}),ap.default.request(v,ip(E,w),y,Po(a,m))};var lp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),yb=Ut(Ys());var vb=Ut(Gn()),cp=(E=10,l)=>(0,lp.randomString)(E,l);var Lo={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var pp=require("k6/http");var Ro=class{request;constructor(l){this.request=l}rolesList(){return this.request("POST","/api/v0/settings/roles-list",JSON.stringify({}))}};var Mo=class{settings;constructor(l){this.settings=new Ro(l)}};var jo=class{v0;constructor(l){this.v0=new Mo(l)}};var Uo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/files/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/files/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/files/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/files/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/files/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/files/${l}/${v}`}})}propfind(l,o,v){return this.request("PROPFIND",`/remote.php/dav/files/${l}/${o}`,v)}report(l,o){return this.request("REPORT",`/remote.php/dav/files/${l}`,o)}};var zo=class{request;constructor(l){this.request=l}upload(l,o,v){return this.request("PUT",`/remote.php/dav/spaces/${l}/${o}`,v)}download(l,o){return this.request("GET",`/remote.php/dav/spaces/${l}/${o}`)}create(l,o){return this.request("MKCOL",`/remote.php/dav/spaces/${l}/${o}`)}delete(l,o){return this.request("DELETE",`/remote.php/dav/spaces/${l}/${o}`)}move(l,o,v){return this.request("MOVE",`/remote.php/dav/spaces/${l}/${o}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${l}/${v}`}})}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/spaces/${l}/${o}`)}};var qo=class{request;constructor(l){this.request=l}create(l,o=!0,v=!0,w=!0){return this.request("POST","/remote.php/dav/systemtags/",JSON.stringify({name:l,canAssign:o,userAssignable:v,userVisible:w}),{headers:{"Content-Type":"application/json"}})}delete(l){return this.request("DELETE",`/remote.php/dav/systemtags/${l}`)}list(l){return this.request("PROPFIND","/remote.php/dav/systemtags/",l)}};var Go=class{request;constructor(l){this.request=l}assign(l,o){return this.request("PUT",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}unassign(l,o){return this.request("DELETE",`/remote.php/dav/systemtags-relations/files/${l}/${o}`)}propfind(l,o){return this.request("PROPFIND",`/remote.php/dav/systemtags-relations/files/${l}`,o)}};var Wo=class{request;files;spaces;systemtags;systemtagsRelations;constructor(l){this.request=l,this.files=new Uo(l),this.spaces=new zo(l),this.systemtags=new qo(l),this.systemtagsRelations=new Go(l)}search(l){return this.request("SEARCH","/remote.php/dav",l,{headers:{"Content-Type":"application/xml"}})}};var Xo=class{request;constructor(l){this.request=l}list(){return this.request("GET","/graph/v1.0/applications")}};var Ho=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/drives",JSON.stringify({name:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/drives/${l}`)}};var Jo=class{request;constructor(l){this.request=l}assign(l,...o){return this.request("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}unassign(l,...o){return this.request("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:l,tags:o}))}};var $o=class{tags;constructor(l){this.tags=new Jo(l)}};var Ko=class{orgLibreGraph;constructor(l){this.orgLibreGraph=new $o(l)}};var Vo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/groups",JSON.stringify({displayName:l}))}delete(l){return this.request("DELETE",`/graph/v1.0/groups/${l}`)}};var Yo=class{request;constructor(l){this.request=l}drives(){return this.request("GET","/graph/v1.0/me/drives")}me(){return this.request("GET","/graph/v1.0/me?$expand=memberOf")}};var Qo=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:l.login,displayName:l.login,mail:`${l.login}@owncloud.org`,passwordProfile:{password:l.password}}))}delete(l){return this.request("DELETE",`/graph/v1.0/users/${l}`)}appRoleAssignments(l,o,v){return this.request("POST",`/graph/v1.0/users/${l}/appRoleAssignments`,JSON.stringify({appRoleId:o,principalId:l,resourceId:v}))}};var Zo=class{applications;drives;extensions;groups;me;users;constructor(l){this.applications=new Xo(l),this.drives=new Ho(l),this.extensions=new Ko(l),this.groups=new Vo(l),this.me=new Yo(l),this.users=new Qo(l)}};var ea=class{v1;constructor(l){this.v1=new Zo(l)}};var ta=class{request;constructor(l){this.request=l}search(l,o,v="json"){return this.request("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${Bo({search:l,itemType:o,format:v,page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var ra=class{request;constructor(l){this.request=l}create(l,o,v,w){return this.request("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",{shareType:v.toString(),shareWith:o,path:l,permissions:w.toString()},{headers:{"OCS-APIRequest":"true"}})}accept(l){return this.request("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var na=class{shares;sharees;constructor(l){this.shares=new ra(l),this.sharees=new ta(l)}};var ia=class{v1;constructor(l){this.v1=new na(l)}};var oa=class{filesSharing;constructor(l){this.filesSharing=new ia(l)}};var aa=class{request;constructor(l){this.request=l}create(l){return this.request("POST","/ocs/v2.php/cloud/groups",{groupid:l},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/groups/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var sa=class{request;constructor(l){this.request=l}list(){return this.request("POST","/ocs/v2.php/cloud/roles",void 0,{headers:{"OCS-APIRequest":"true"}})}};var ua=class{request;constructor(l){this.request=l}enable(l){return this.request("PUT",`/ocs/v2.php/cloud/users/${l}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}})}create(l){return this.request("POST","/ocs/v2.php/cloud/users",{userid:l.login,password:l.password,email:`${l.login}@owncloud.org`},{headers:{"OCS-APIRequest":"true"}})}delete(l){return this.request("DELETE",`/ocs/v2.php/cloud/users/${l}`,void 0,{headers:{"OCS-APIRequest":"true"}})}};var la=class{users;groups;roles;constructor(l){this.users=new ua(l),this.groups=new aa(l),this.roles=new sa(l)}};var ca=class{cloud;apps;constructor(l){this.cloud=new la(l),this.apps=new oa(l)}};var fa=class{v2;constructor(l){this.v2=new ca(l)}};var pa=class{ocs;graph;dav;api;constructor(l){this.ocs=new fa(l),this.graph=new ea(l),this.dav=new Wo(l),this.api=new jo(l)}};var ha={openIDConnect:"openIDConnect",basicAuth:"basicAuth"};var fp=Ut(require("k6/encoding")),gi=class{#e;constructor(l){this.#e=l}get header(){return`Basic ${fp.default.b64encode(`${this.#e.login}:${this.#e.password}`)}`}};var da=require("k6"),ma=Ut(require("k6/http"));var _i=class{#e;#t;#r;#i;#o;#n;constructor(l,o){this.#e=l,this.#t=o,this.#r=`${o}/oidc-callback.html`,this.#i=`${o}/signin/v1/identifier/_/logon`,this.#o=`${o}/konnect/v1/token`}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.#n||this.#n.validTo<=new Date){let l=this.getContinueURI(),o=this.getCode(l),v=this.getToken(o);this.#n={validTo:(()=>{let y=new Date;return y.setSeconds(y.getSeconds()+v.expiresIn-5),y})(),token:v}}return this.#n.token}getContinueURI(){let l=ma.default.post(this.#i,JSON.stringify({params:[this.#e.login,this.#e.password,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.#r,flow:"oidc"},state:cp(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.#t,"Content-Type":"application/json"}}),o=Zr(l.json(),"hello.continue_uri");return(l.status!==200||!o)&&(0,da.fail)(this.#i),o}getCode(l){let o=`${l}?${Bo({client_id:"web",prompt:"none",redirect_uri:this.#r,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=ma.default.get(o,{redirects:0}),w=Zr(op(v.headers.Location),"code");return(v.status!==302||!w)&&(0,da.fail)(l),w}getToken(l){let o=ma.default.post(this.#o,{client_id:"web",code:l,redirect_uri:this.#r,grant_type:"authorization_code"}),v={accessToken:Zr(o.json(),"access_token",""),tokenType:Zr(o.json(),"token_type",""),idToken:Zr(o.json(),"id_token",""),expiresIn:Zr(o.json(),"expires_in",0)};return(o.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,da.fail)(this.#o),v}};var hp=require("k6"),Zs=require("k6"),eu=require("k6"),mn=require("k6"),dp=Ut(Gn()),mp=require("k6"),ya=require("k6"),xi=Ut(Gn()),va=require("k6"),yn=require("k6"),tu=Ut(Gn()),vn=require("k6"),Re={ocis:"ocis",occ:"occ",nc:"nc"},pr=(E,...l)=>l.includes(E);var bb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.applications.list();return(0,hp.check)(E,{"client -> application.list - status":({status:l})=>l===200}),E}},Eb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.create(E);return(0,Zs.check)(l,{"client -> drive.create - status":({status:o})=>o===201}),l}delete(E){if(!pr(this.#t,Re.ocis))return;let l=this.#e.graph.v1.drives.delete(E);return(0,Zs.check)(l,{"client -> drive.delete - status":({status:o})=>o===204}),l}},wb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.create(E);break}return(0,eu.check)(l,{"client -> group.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.groups.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.groups.delete(E),o=200;break}return(0,eu.check)(l,{"client -> group.delete - status":({status:v})=>v===o}),l}},Sb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}upload(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.upload(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.upload(E,l,o);break}return(0,mn.check)(v,{"client -> resource.upload - status":({status:w})=>w===201}),v}create(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.create(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.create(E,l);break}return(0,mn.check)(o,{"client -> resource.create - status":({status:v})=>v===201}),o}download(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.download(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.download(E,l);break}return(0,mn.check)(o,{"client -> resource.download - status":({status:v})=>v===200}),o}propfind(E,l){let o="http://owncloud.org/ns",v="DAV:",w=(0,dp.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"propfind").ele(v,"prop").ele(o,"fileid").end(),y;switch(this.#t){case Re.ocis:y=this.#e.dav.spaces.propfind(E,l);break;case Re.occ:case Re.nc:y=this.#e.dav.files.propfind(E,l,w);break}return(0,mn.check)(y,{"client -> resource.propfind - status":({status:m})=>m===207}),y}delete(E,l){let o;switch(this.#t){case Re.ocis:o=this.#e.dav.spaces.delete(E,l);break;case Re.occ:case Re.nc:o=this.#e.dav.files.delete(E,l);break}return(0,mn.check)(o,{"client -> resource.delete - status":({status:v})=>v===204}),o}move(E,l,o){let v;switch(this.#t){case Re.ocis:v=this.#e.dav.spaces.move(E,l,o);break;case Re.occ:case Re.nc:v=this.#e.dav.files.move(E,l,o);break}return(0,mn.check)(v,{"client -> resource.move - status":({status:w})=>w===201}),v}},Ab=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}list(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.api.v0.settings.rolesList();return(0,mp.check)(E,{"client -> role.list - status":({status:l})=>l===201}),E}},Db=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}sharee(E,l){let o=this.#e.ocs.v2.apps.filesSharing.v1.sharees.search(E,l);return(0,ya.check)(o,{"client -> search.sharee - status":({status:v})=>v===200}),o}resource(E,{query:l="",limit:o=10}){let v="http://owncloud.org/ns",w="DAV:",y;switch(this.#t){case Re.ocis:case Re.occ:y=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(v,"search-files").ele(w,"prop").ele(v,"fileid").up().up().ele(v,"search").ele(v,"pattern").txt(l).up().ele(v,"limit").txt(o.toString()).end());break;case Re.nc:y=this.#e.dav.search((0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(w,"searchrequest").ele(w,"basicsearch").ele(w,"select").ele(w,"prop").ele(v,"fileid").up().up().up().ele(w,"from").ele(w,"scope").ele(w,"href").txt(`/files/${E}`).up().ele(w,"depth").txt("infinity").up().up().up().ele(w,"where").ele(w,"like").ele(w,"prop").ele(w,"displayname").up().up().ele(w,"literal").txt(l).up().up().ele(w,"orderby").end());break}return(0,ya.check)(y,{"client -> search.resource - status":({status:m})=>m===207}),y}tag(E,l){let o="http://owncloud.org/ns",v="DAV:",w;switch(this.#t){case Re.ocis:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"search-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"search").ele(o,"pattern").txt(`Tags:${l}`).up().ele(o,"limit").txt("200").end());break;case Re.occ:case Re.nc:w=this.#e.dav.files.report(E,(0,xi.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"filter-files").ele(v,"prop").ele(o,"fileid").up().up().ele(o,"filter-rules").ele(o,"systemtag").txt(l).end());break}return(0,ya.check)(w,{"client -> search.tag - status":({status:y})=>y===207}),w}},Cb=class{#e;constructor(E){this.#e=E}create(E,l,o,v){let w=this.#e.ocs.v2.apps.filesSharing.v1.shares.create(E,l,o,v);return(0,va.check)(w,{"client -> share.create - status":({status:y})=>y===200}),w}delete(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.delete(E);return(0,va.check)(l,{"client -> share.delete - status":({status:o})=>o===200}),l}accept(E){let l=this.#e.ocs.v2.apps.filesSharing.v1.shares.accept(E);return(0,va.check)(l,{"client -> share.accept - status":({status:o})=>o===200}),l}},Tb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}create(E,l=!0,o=!0,v=!0){if(!pr(this.#t,Re.occ,Re.nc))return;let w=this.#e.dav.systemtags.create(E,l,o,v);return(0,yn.check)(w,{"client -> tag.create - status":({status:y})=>y===201}),w}delete(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.dav.systemtags.delete(E);return(0,yn.check)(l,{"client -> tag.delete - status":({status:o})=>o===204}),l}list(){if(!pr(this.#t,Re.occ,Re.nc))return;let E="http://owncloud.org/ns",l="DAV:",o=this.#e.dav.systemtags.list((0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(l,"propfind").ele(l,"prop").ele(E,"display-name").up().ele(E,"user-visible").up().ele(E,"user-assignable").up().ele(E,"id").up().end());return(0,yn.check)(o,{"client -> tag.list - status":({status:v})=>v===207}),o}assign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.assign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.assign(E,l),v=201;break}return(0,yn.check)(o,{"client -> tag.assign - status":({status:w})=>w===v}),o}unassign(E,l){let o,v;switch(this.#t){case Re.ocis:o=this.#e.graph.v1.extensions.orgLibreGraph.tags.unassign(E,l),v=200;break;case Re.occ:case Re.nc:o=this.#e.dav.systemtagsRelations.unassign(E,l),v=204;break}return(0,yn.check)(o,{"client -> tag.unassign - status":({status:w})=>w===v}),o}get(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l="http://owncloud.org/ns",o="DAV:",v=this.#e.dav.systemtagsRelations.propfind(E,(0,tu.create)({version:"1.0",encoding:"UTF-8"}).ele(o,"propfind").ele(o,"prop").ele(l,"display-name").up().ele(l,"user-visible").up().ele(l,"user-assignable").up().ele(l,"id").up().end());return(0,yn.check)(v,{"client -> tag.get - status":({status:w})=>w===207}),v}},Nb=class{#e;#t;constructor(E,l){this.#t=E,this.#e=l}drives(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.drives();return(0,vn.check)(E,{"client -> user.drives - status":({status:l})=>l===200}),E}me(){if(!pr(this.#t,Re.ocis))return;let E=this.#e.graph.v1.me.me();if(E)return(0,vn.check)(E,{"client -> user.me - status":({status:l})=>l===200}),E}enable(E){if(!pr(this.#t,Re.occ,Re.nc))return;let l=this.#e.ocs.v2.cloud.users.enable(E);return(0,vn.check)(l,{"client -> user.enable - status":({status:o})=>o===200}),l}create(E){let l;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.create(E);break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.create(E);break}return(0,vn.check)(l,{"client -> user.create - status":({status:o})=>o===200}),l}delete(E){let l,o;switch(this.#t){case Re.ocis:l=this.#e.graph.v1.users.delete(E),o=204;break;case Re.occ:case Re.nc:l=this.#e.ocs.v2.cloud.users.delete(E),o=200;break}return(0,vn.check)(l,{"client -> user.delete - status":({status:v})=>v===o}),l}assignRole(E,l,o){if(!pr(this.#t,Re.ocis))return;let v=this.#e.graph.v1.users.appRoleAssignments(E,l,o);return(0,vn.check)(v,{"client -> user.assignRole - status":({status:w})=>w===201}),v}},bi=class{application;drive;group;resource;role;search;share;tag;user;constructor(E,l,o,v){let w;switch(o){case ha.openIDConnect:w=new _i(v,E);break;case ha.basicAuth:w=new gi(v);break}let y=sp(E,w,{jar:new pp.CookieJar}),m=new pa(y);this.application=new bb(l,m),this.drive=new Eb(l,m),this.group=new wb(l,m),this.resource=new Sb(l,m),this.role=new Ab(l,m),this.search=new Db(l,m),this.share=new Cb(m),this.tag=new Tb(l,m),this.user=new Nb(l,m)}};var Fb=Ut(require("k6/http"));var Ob=require("https://jslib.k6.io/url/1.0.0/index.js"),Ib=require("k6/experimental/timers"),yp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js"),vp=Ut(Ys());var kb=Ut(Gn());var ru=(E=10,l)=>(0,yp.randomString)(E,l),gp=(E,l)=>{if(!E||!l)return[];if(typeof l=="string")try{l=JSON.parse(l)}catch{return[]}return vp.query(l,E).map(o=>$s(o)?void 0:o)};var xp=require("k6/crypto"),nu=Ut(require("k6/execution")),iu=Ut(_p()),Lt={baseURL:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER==Lo.basicAuth?Lo.basicAuth:Lo.openIDConnect,clientVersion:Re[__ENV.CLIENT_VERSION]||Re.ocis,adminUser:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{size:parseInt(__ENV.ASSET_SIZE)||1e3,quantity:parseInt(__ENV.ASSET_QUANTITY)||10},k6:{vus:1,insecureSkipTLSVerify:!0}},bp=Lt.k6;function Pb(){let E=Lt.adminUser,l=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,E),o=(0,iu.times)(bp.vus||1,()=>{let v={login:ru(),password:ru()};l.user.create(v),l.user.enable(v.login);let y=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,v).user.drives(),[m=v.login]=gp("$.value[?(@.driveType === 'personal')].id",y?.body);return{credential:v,home:m}});return{adminCredential:E,userInfos:o}}function Bb({userInfos:E}){let{home:l,credential:o}=E[nu.default.vu.idInTest-1],v=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,o),w=(0,xp.randomBytes)(Lt.assets.size*1e3);(0,iu.times)(Lt.assets.quantity,y=>{v.resource.upload(l,[nu.default.scenario.iterationInTest,o.login,y].join("-"),w)})}function Lb({userInfos:E,adminCredential:l}){let o=new bi(Lt.baseURL,Lt.clientVersion,Lt.authAdapter,l);E.forEach(({credential:v})=>o.user.delete(v.login))} +`)+Ie+`return __p +}`;var it=fc(function(){return ht(V,qe+"return "+Ie).apply(c,te)});if(it.source=Ie,ms(it))throw it;return it}function $y(r){return dt(r).toLowerCase()}function Jy(r){return dt(r).toUpperCase()}function Ky(r,d,A){if(r=dt(r),r&&(A||d===c))return xu(r);if(!r||!(d=nr(d)))return r;var F=_r(r),U=_r(d),V=bu(F,U),te=Eu(F,U)+1;return Zr(F,V,te).join("")}function Vy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.slice(0,Su(r)+1);if(!r||!(d=nr(d)))return r;var F=_r(r),U=Eu(F,_r(d))+1;return Zr(F,0,U).join("")}function Yy(r,d,A){if(r=dt(r),r&&(A||d===c))return r.replace(ai,"");if(!r||!(d=nr(d)))return r;var F=_r(r),U=bu(F,_r(d));return Zr(F,U).join("")}function Qy(r,d){var A=T,F=N;if(bt(d)){var U="separator"in d?d.separator:U;A="length"in d?nt(d.length):A,F="omission"in d?nr(d.omission):F}r=dt(r);var V=r.length;if(Ln(r)){var te=_r(r);V=te.length}if(A>=V)return r;var ue=A-Bn(F);if(ue<1)return F;var he=te?Zr(te,0,ue).join(""):r.slice(0,ue);if(U===c)return he+F;if(te&&(ue+=he.length-ue),vs(U)){if(r.slice(ue).search(U)){var De,Te=he;for(U.global||(U=Ia(U.source,dt(cn.exec(U))+"g")),U.lastIndex=0;De=U.exec(Te);)var Ie=De.index;he=he.slice(0,Ie===c?ue:Ie)}}else if(r.indexOf(nr(U),ue)!=ue){var Be=he.lastIndexOf(U);Be>-1&&(he=he.slice(0,Be))}return he+F}function Zy(r){return r=dt(r),r&&Ut.test(r)?r.replace(wt,Th):r}var e_=qn(function(r,d,A){return r+(A?" ":"")+d.toUpperCase()}),gs=pl("toUpperCase");function cc(r,d,A){return r=dt(r),d=A?c:d,d===c?wh(r)?Fh(r):dh(r):r.match(d)||[]}var fc=at(function(r,d){try{return tr(r,c,d)}catch(A){return ms(A)?A:new Ze(A)}}),t_=kr(function(r,d){return cr(d,function(A){A=Dr(A),Ir(r,A,hs(r[A],r))}),r});function r_(r){var d=r==null?0:r.length,A=Xe();return r=d?xt(r,function(F){if(typeof F[1]!="function")throw new fr(S);return[A(F[0]),F[1]]}):[],at(function(F){for(var U=-1;++Uz)return[];var A=ee,F=zt(r,ee);d=Xe(d),r-=ee;for(var U=Na(F,d);++A0||d<0)?new ut(A):(r<0?A=A.takeRight(-r):r&&(A=A.drop(r)),d!==c&&(d=nt(d),A=d<0?A.dropRight(-d):A.take(d-r)),A)},ut.prototype.takeRightWhile=function(r){return this.reverse().takeWhile(r).reverse()},ut.prototype.toArray=function(){return this.take(ee)},Ar(ut.prototype,function(r,d){var A=/^(?:filter|find|map|reject)|While$/.test(d),F=/^(?:head|last)$/.test(d),U=J[F?"take"+(d=="last"?"Right":""):d],V=F||/^find/.test(d);U&&(J.prototype[d]=function(){var te=this.__wrapped__,ue=F?[1]:arguments,he=te instanceof ut,De=ue[0],Te=he||tt(te),Ie=function(st){var lt=U.apply(J,Hr([st],ue));return F&&Be?lt[0]:lt};Te&&A&&typeof De=="function"&&De.length!=1&&(he=Te=!1);var Be=this.__chain__,qe=!!this.__actions__.length,$e=V&&!Be,it=he&&!qe;if(!V&&Te){te=it?te:new ut(this);var Je=r.apply(te,ue);return Je.__actions__.push({func:Ao,args:[Ie],thisArg:c}),new pr(Je,Be)}return $e&&it?r.apply(this,ue):(Je=this.thru(Ie),$e?F?Je.value()[0]:Je.value():Je)})}),cr(["pop","push","shift","sort","splice","unshift"],function(r){var d=Vi[r],A=/^(?:push|sort|unshift)$/.test(r)?"tap":"thru",F=/^(?:pop|shift)$/.test(r);J.prototype[r]=function(){var U=arguments;if(F&&!this.__chain__){var V=this.value();return d.apply(tt(V)?V:[],U)}return this[A](function(te){return d.apply(tt(te)?te:[],U)})}}),Ar(ut.prototype,function(r,d){var A=J[d];if(A){var F=A.name+"";mt.call(jn,F)||(jn[F]=[]),jn[F].push({name:d,func:A})}}),jn[_o(c,f).name]=[{name:"wrapper",func:c}],ut.prototype.clone=Zh,ut.prototype.reverse=ed,ut.prototype.value=td,J.prototype.at=O0,J.prototype.chain=F0,J.prototype.commit=I0,J.prototype.next=P0,J.prototype.plant=L0,J.prototype.reverse=B0,J.prototype.toJSON=J.prototype.valueOf=J.prototype.value=M0,J.prototype.first=J.prototype.head,fi&&(J.prototype[fi]=k0),J},Jr=Ih();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Bt._=Jr,define(function(){return Jr})):hn?((hn.exports=Jr)._=Jr,ba._=Jr):Bt._=Jr}).call(ni)});var vS={};jt(vS,{default:()=>Gp,options:()=>qp,setup:()=>dS,teardown:()=>mS});module.exports=X_(vS);var sp=Qt(require("k6/encoding")),Zo=require("k6"),ea=Qt(require("k6/http"));var H_=typeof global=="object"&&global&&global.Object===Object&&global,ko=H_;var $_=typeof self=="object"&&self&&self.Object===Object&&self,J_=ko||$_||Function("return this")(),Ft=J_;var K_=Ft.Symbol,jr=K_;var mc=Object.prototype,V_=mc.hasOwnProperty,Y_=mc.toString,Ai=jr?jr.toStringTag:void 0;function Q_(c){var a=V_.call(c,Ai),n=c[Ai];try{c[Ai]=void 0;var v=!0}catch{}var S=Y_.call(c);return v&&(a?c[Ai]=n:delete c[Ai]),S}var vc=Q_;var Z_=Object.prototype,eg=Z_.toString;function tg(c){return eg.call(c)}var yc=tg;var rg="[object Null]",ng="[object Undefined]",_c=jr?jr.toStringTag:void 0;function ig(c){return c==null?c===void 0?ng:rg:_c&&_c in Object(c)?vc(c):yc(c)}var sr=ig;function og(c){return c!=null&&typeof c=="object"}var yr=og;var ag="[object Symbol]";function sg(c){return typeof c=="symbol"||yr(c)&&sr(c)==ag}var Hn=sg;function ug(c,a){for(var n=-1,v=c==null?0:c.length,S=Array(v);++n0){if(++a>=Mg)return arguments[0]}else a=0;return c.apply(void 0,arguments)}}var Ic=Ug;function zg(c){return function(){return c}}var Pc=zg;var qg=function(){try{var c=Zt(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Jn=qg;var Gg=Jn?function(c,a){return Jn(c,"toString",{configurable:!0,enumerable:!1,value:Pc(a),writable:!0})}:Lo,kc=Gg;var Wg=Ic(kc),Lc=Wg;var Xg=9007199254740991,Hg=/^(?:0|[1-9]\d*)$/;function $g(c,a){var n=typeof c;return a=a??Xg,!!a&&(n=="number"||n!="symbol"&&Hg.test(c))&&c>-1&&c%1==0&&c-1&&c%1==0&&c<=r1}var jo=n1;function i1(c){return c!=null&&jo(c.length)&&!$n(c)}var rn=i1;function o1(c,a,n){if(!At(n))return!1;var v=typeof a;return(v=="number"?rn(n)&&Kn(a,n.length):v=="string"&&a in n)?tn(n[a],c):!1}var Uc=o1;function a1(c){return jc(function(a,n){var v=-1,S=n.length,_=S>1?n[S-1]:void 0,y=S>2?n[2]:void 0;for(_=c.length>3&&typeof _=="function"?(S--,_):void 0,y&&Uc(n[0],n[1],y)&&(_=S<3?void 0:_,S=1),a=Object(a);++v-1}var hf=Tx;function Nx(c,a){var n=this.__data__,v=on(n,c);return v<0?(++this.size,n.push([c,a])):n[v][1]=a,this}var df=Nx;function ei(c){var a=-1,n=c==null?0:c.length;for(this.clear();++a(0,rp.randomString)(c,a);var oe={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"};var np=require("k6/http");var Ps=require("https://jslib.k6.io/url/1.0.0/index.js"),Tr=(...c)=>c.join("/").replace(/(?new Ps.URLSearchParams(Object.keys(c).map(n=>[n,String(c[n])])).toString(),Ko=c=>{let a=new URL(c).search,n=new Ps.URLSearchParams(a);return Object.fromEntries(n)};var Vo=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,np.request)(a,Tr(c.baseUrl,n),v,Sn(_,S))};var ks=require("k6");var ke=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ks.check)(c.val,n,c.tags)};var up=require("k6/http");var Cn={kopano:"kopano",basicAuth:"basicAuth"};var op=Qt(require("k6/encoding")),Dn=class{userLogin;userPassword;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword}get header(){return`Basic ${op.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}};var Yo=require("k6"),Qo=Qt(require("k6/http"));var Tn=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(a){this.userLogin=a.userLogin,this.userPassword=a.userPassword,this.baseUrl=a.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let a=this.getContinueURI(),n=this.getCode(a),v=this.getToken(n);this.cache={validTo:(()=>{let _=new Date;return _.setSeconds(_.getSeconds()+v.expiresIn-5),_})(),token:v}}return this.cache.token}getContinueURI(){let a=Qo.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),n=Ht(a.json(),"hello.continue_uri");return(a.status!==200||!n)&&(0,Yo.fail)(this.logonURL),n}getCode(a){let n=`${a}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,v=Qo.default.get(n,{redirects:0}),S=Ht(Ko(v.headers.Location),"code");return(v.status!==302||!S)&&(0,Yo.fail)(a),S}getToken(a){let n=Qo.default.post(this.tokenURL,{client_id:"web",code:a,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),v={accessToken:Ht(n.json(),"access_token",""),tokenType:Ht(n.json(),"token_type",""),idToken:Ht(n.json(),"id_token",""),expiresIn:Ht(n.json(),"expires_in",0)};return(n.status!==200||!v.accessToken||!v.tokenType||!v.idToken||!v.expiresIn)&&(0,Yo.fail)(this.tokenURL),v}};var Rs={};jt(Rs,{POST__get_roles:()=>jb});var jb=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({}));var js={};jt(js,{SEARCH__search_for_resources:()=>Ub});var Ub=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}});var Us={};jt(Us,{DELETE__delete_resource:()=>Wb,GET__download_resource:()=>qb,MKCOL__create_resource:()=>Gb,MOVE__move_resource:()=>Xb,PROPFIND__get_properties_for_resource:()=>Hb,PUT__upload_resource:()=>zb,REPORT__get_report_for_resources:()=>$b});var zb=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),qb=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),Gb=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),Wb=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),Xb=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),Hb=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),$b=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a);var zs={};jt(zs,{DELETE__delete_resource:()=>Yb,GET__download_resource:()=>Kb,MKCOL__create_resource:()=>Vb,MOVE__move_resource:()=>Qb,PROPFIND__get_properties_for_resource:()=>Zb,PUT__upload_resource:()=>Jb});var Jb=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),Kb=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),Vb=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),Yb=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),Qb=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),Zb=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a);var qs={};jt(qs,{DELETE__delete_tag:()=>tE,POST__create_tag:()=>eE,PROPFIND__get_tags_with_properties:()=>rE});var eE=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),tE=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),rE=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a);var Gs={};jt(Gs,{DELETE__remove_tag_from_resource:()=>iE,PROPFIND__get_tags_with_properties_for_resource:()=>oE,PUT__add_tag_to_resource:()=>nE});var nE=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),iE=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),oE=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a);var Ws={};jt(Ws,{GET__get_applications:()=>aE});var aE=c=>c("GET","/graph/v1.0/applications");var Xs={};jt(Xs,{DELETE__delete_drive:()=>uE,POST__create_drive:()=>sE});var sE=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),uE=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`);var Hs={};jt(Hs,{DELETE__remove_tags_from_resource:()=>cE,PUT__add_tags_to_resource:()=>lE});var lE=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),cE=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a}));var $s={};jt($s,{DELETE__delete_group:()=>pE,POST__create_group:()=>fE});var fE=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),pE=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`);var Js={};jt(Js,{GET__current_user:()=>dE,GET__get_current_user_drives:()=>hE});var hE=c=>c("GET","/graph/v1.0/me/drives"),dE=c=>c("GET","/graph/v1.0/me?$expand=memberOf");var Ks={};jt(Ks,{DELETE__delete_user:()=>vE,POST__add_app_role_to_user:()=>yE,POST__create_user:()=>mE});var mE=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),vE=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),yE=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a}));var Vs={};jt(Vs,{DELETE__delete_group:()=>gE,POST__create_group:()=>_E});var _E=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),gE=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Ys={};jt(Ys,{DELETE__delete_user:()=>EE,POST__create_user:()=>xE,PUT__enable_user:()=>bE});var xE=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),bE=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),EE=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Qs={};jt(Qs,{GET__search_for_sharees:()=>wE});var wE=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Zs={};jt(Zs,{DELETE__delete_share:()=>CE,POST__accept_share:()=>AE,POST__create_share:()=>SE});var SE=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},AE=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),CE=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}});var Oe={api:{v0:{settings:Rs}},dav:{...js,files:Us,spaces:zs,systemtags:qs,systemtags_relations:Gs},graph:{v1:{applications:Ws,drives:Xs,extensions:{org_libre_graph:{tags:Hs}},groups:$s,me:Js,users:Ks}},ocs:{v2:{apps:{cloud:{groups:Vs,users:Ys},file_sharing:{v1:{sharees:Qs,shares:Zs}}}}}};var lp=Qt(Ii());var Dp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var Tp=require("k6/http");var tu=require("https://jslib.k6.io/url/1.0.0/index.js"),ta=require("k6"),Op=Qt(Bs());var Fp=Qt(Ii()),DE=Object.defineProperty,It=(c,a)=>{for(var n in a)DE(c,n,{get:a[n],enumerable:!0})},TE={};It(TE,{Adapter:()=>NE,BasicAuth:()=>OE,Kopano:()=>FE});var NE={kopano:"kopano",basicAuth:"basicAuth"},OE=class{userLogin;userPassword;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword}get header(){return`Basic ${sp.default.b64encode(`${this.userLogin}:${this.userPassword}`)}`}},FE=class{userLogin;userPassword;baseUrl;redirectURL;logonURL;tokenURL;cache;constructor(c){this.userLogin=c.userLogin,this.userPassword=c.userPassword,this.baseUrl=c.baseUrl,this.redirectURL=Tr(`${this.baseUrl}/oidc-callback.html`),this.logonURL=Tr(`${this.baseUrl}/signin/v1/identifier/_/logon`),this.tokenURL=Tr(`${this.baseUrl}/konnect/v1/token`)}get header(){return`${this.credential.tokenType} ${this.credential.accessToken}`}get credential(){if(!this.cache||this.cache.validTo<=new Date){let c=this.getContinueURI(),a=this.getCode(c),n=this.getToken(a);this.cache={validTo:(()=>{let v=new Date;return v.setSeconds(v.getSeconds()+n.expiresIn-5),v})(),token:n}}return this.cache.token}getContinueURI(){let c=ea.default.post(this.logonURL,JSON.stringify({params:[this.userLogin,this.userPassword,"1"],hello:{scope:"openid profile email",client_id:"web",redirect_uri:this.redirectURL,flow:"oidc"},state:Jo(16)}),{headers:{"Kopano-Konnect-XSRF":"1",Referer:this.baseUrl,"Content-Type":"application/json"}}),a=Ht(c.json(),"hello.continue_uri");return(c.status!==200||!a)&&(0,Zo.fail)(this.logonURL),a}getCode(c){let a=`${c}?${ln({client_id:"web",prompt:"none",redirect_uri:this.redirectURL,response_mode:"query",response_type:"code",scope:"openid profile email"})}`,n=ea.default.get(a,{redirects:0}),v=Ht(Ko(n.headers.Location),"code");return(n.status!==302||!v)&&(0,Zo.fail)(c),v}getToken(c){let a=ea.default.post(this.tokenURL,{client_id:"web",code:c,redirect_uri:this.redirectURL,grant_type:"authorization_code"}),n={accessToken:Ht(a.json(),"access_token",""),tokenType:Ht(a.json(),"token_type",""),idToken:Ht(a.json(),"id_token",""),expiresIn:Ht(a.json(),"expires_in",0)};return(a.status!==200||!n.accessToken||!n.tokenType||!n.idToken||!n.expiresIn)&&(0,Zo.fail)(this.tokenURL),n}},IE={};It(IE,{Client:()=>HE,EndpointClient:()=>Er});var Er=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},PE=class extends Er{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},kE=class extends Er{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},LE=class extends Er{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},BE=class extends Er{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ke={oc:"http://owncloud.org/ns",dav:"DAV:"},Nn=()=>(0,lp.create)({version:"1.0",encoding:"UTF-8"}),ME={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},ap={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(a).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return Nn().ele(Ke.dav,"searchrequest").ele(Ke.dav,"basicsearch").ele(Ke.dav,"select").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().up().ele(Ke.dav,"from").ele(Ke.dav,"scope").ele(Ke.dav,"href").txt(`/files/${a}`).up().ele(Ke.dav,"depth").txt("infinity").up().up().up().ele(Ke.dav,"where").ele(Ke.dav,"like").ele(Ke.dav,"prop").ele(Ke.dav,"displayname").up().up().ele(Ke.dav,"literal").txt(n).up().up().ele(Ke.dav,"orderby").up().ele(Ke.dav,"limit").ele(Ke.dav,"nresults").txt(v.toString()).end()}},RE={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return Nn().ele(Ke.oc,"search-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"search").ele(Ke.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ke.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return Nn().ele(Ke.oc,"filter-files").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().up().ele(Ke.oc,"filter-rules").ele(Ke.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},cp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"display-name").up().ele(Ke.oc,"user-visible").up().ele(Ke.oc,"user-assignable").up().ele(Ke.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},jE={[oe.ownCloudInfiniteScale](){return Nn().ele(Ke.dav,"propfind").ele(Ke.dav,"prop").ele(Ke.oc,"fileid").up().ele(Ke.oc,"tags").up().end()},[oe.ownCloudServer](){return cp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},UE=class extends Er{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=ME[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},zE=class extends Er{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},qE=class extends Er{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:ap[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:ap[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:RE[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},GE=class extends Er{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},WE=class extends Er{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:cp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=jE[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},XE=class extends Er{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},HE=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new up.CookieJar}});this.application=new PE(c.platform,n),this.drive=new kE(c.platform,n),this.group=new LE(c.platform,n),this.me=new BE(c.platform,n),this.resource=new UE(c.platform,n),this.role=new zE(c.platform,n),this.search=new qE(c.platform,n),this.share=new GE(c.platform,n),this.tag=new WE(c.platform,n),this.user=new XE(c.platform,n)}},eu={ownCloudInfiniteScale:"ownCloudInfiniteScale",ownCloudServer:"ownCloudServer",nextcloud:"nextcloud"},$E={};It($E,{ItemType:()=>Mw,Permission:()=>Rw,ShareType:()=>Bw,endpoints:()=>jw});var fp={};It(fp,{POST__get_roles:()=>JE});var JE=c=>c("POST","/api/v0/settings/roles-list",JSON.stringify({})),pp={};It(pp,{SEARCH__search_for_resources:()=>KE});var KE=(c,{searchXml:a})=>c("SEARCH","/remote.php/dav",a,{headers:{"Content-Type":"application/xml"}}),hp={};It(hp,{DELETE__delete_resource:()=>ZE,GET__download_resource:()=>YE,MKCOL__create_resource:()=>QE,MOVE__move_resource:()=>ew,PROPFIND__get_properties_for_resource:()=>tw,PUT__upload_resource:()=>VE,REPORT__get_report_for_resources:()=>rw});var VE=(c,{resourceBytes:a,root:n,resourcePath:v})=>c("PUT",`/remote.php/dav/files/${n}/${v}`,a),YE=(c,{root:a,resourcePath:n})=>c("GET",`/remote.php/dav/files/${a}/${n}`),QE=(c,{resourcePath:a,root:n})=>c("MKCOL",`/remote.php/dav/files/${n}/${a}`),ZE=(c,{resourcePath:a,root:n})=>c("DELETE",`/remote.php/dav/files/${n}/${a}`),ew=(c,{toResourcePath:a,root:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/files/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/files/${n}/${a}`}}),tw=(c,{root:a,resourcePath:n,propfindXml:v})=>c("PROPFIND",`/remote.php/dav/files/${a}/${n}`,v),rw=(c,{reportXml:a,root:n})=>c("REPORT",`/remote.php/dav/files/${n}`,a),dp={};It(dp,{DELETE__delete_resource:()=>aw,GET__download_resource:()=>iw,MKCOL__create_resource:()=>ow,MOVE__move_resource:()=>sw,PROPFIND__get_properties_for_resource:()=>uw,PUT__upload_resource:()=>nw});var nw=(c,{resourcePath:a,driveId:n,resourceBytes:v})=>c("PUT",`/remote.php/dav/spaces/${n}/${a}`,v),iw=(c,{resourcePath:a,driveId:n})=>c("GET",`/remote.php/dav/spaces/${n}/${a}`),ow=(c,{resourcePath:a,driveId:n})=>c("MKCOL",`/remote.php/dav/spaces/${n}/${a}`),aw=(c,{resourcePath:a,driveId:n})=>c("DELETE",`/remote.php/dav/spaces/${n}/${a}`),sw=(c,{toResourcePath:a,driveId:n,fromResourcePath:v})=>c("MOVE",`/remote.php/dav/spaces/${n}/${v}`,void 0,{headers:{destination:`/remote.php/dav/spaces/${n}/${a}`}}),uw=(c,{propfindXml:a,resourcePath:n,driveId:v})=>c("PROPFIND",`/remote.php/dav/spaces/${v}/${n}`,a),mp={};It(mp,{DELETE__delete_tag:()=>cw,POST__create_tag:()=>lw,PROPFIND__get_tags_with_properties:()=>fw});var lw=(c,{tagName:a,userAssignableTag:n=!0,canAssignTag:v=!0,userVisibleTag:S=!0})=>c("POST","/remote.php/dav/systemtags",JSON.stringify({name:a,canAssign:v,userAssignable:n,userVisible:S}),{headers:{"Content-Type":"application/json"}}),cw=(c,{tagId:a})=>c("DELETE",`/remote.php/dav/systemtags/${a}`),fw=(c,{propfindXml:a})=>c("PROPFIND","/remote.php/dav/systemtags",a),vp={};It(vp,{DELETE__remove_tag_from_resource:()=>hw,PROPFIND__get_tags_with_properties_for_resource:()=>dw,PUT__add_tag_to_resource:()=>pw});var pw=(c,{tagId:a,resourceId:n})=>c("PUT",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),hw=(c,{tagId:a,resourceId:n})=>c("DELETE",`/remote.php/dav/systemtags-relations/files/${n}/${a}`),dw=(c,{propfindXml:a,resourceId:n})=>c("PROPFIND",`/remote.php/dav/systemtags-relations/files/${n}`,a),yp={};It(yp,{GET__get_applications:()=>mw});var mw=c=>c("GET","/graph/v1.0/applications"),_p={};It(_p,{DELETE__delete_drive:()=>yw,POST__create_drive:()=>vw});var vw=(c,{driveName:a})=>c("POST","/graph/v1.0/drives",JSON.stringify({name:a})),yw=(c,{driveId:a})=>c("DELETE",`/graph/v1.0/drives/${a}`),gp={};It(gp,{DELETE__remove_tags_from_resource:()=>gw,PUT__add_tags_to_resource:()=>_w});var _w=(c,{tagNames:a,resourceId:n})=>c("PUT","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),gw=(c,{tagNames:a,resourceId:n})=>c("DELETE","/graph/v1.0/extensions/org.libregraph/tags",JSON.stringify({resourceId:n,tags:a})),xp={};It(xp,{DELETE__delete_group:()=>bw,POST__create_group:()=>xw});var xw=(c,{groupName:a})=>c("POST","/graph/v1.0/groups",JSON.stringify({displayName:a})),bw=(c,{groupId:a})=>c("DELETE",`/graph/v1.0/groups/${a}`),bp={};It(bp,{GET__current_user:()=>ww,GET__get_current_user_drives:()=>Ew});var Ew=c=>c("GET","/graph/v1.0/me/drives"),ww=c=>c("GET","/graph/v1.0/me?$expand=memberOf"),Ep={};It(Ep,{DELETE__delete_user:()=>Aw,POST__add_app_role_to_user:()=>Cw,POST__create_user:()=>Sw});var Sw=(c,{userLogin:a,userPassword:n})=>c("POST","/graph/v1.0/users",JSON.stringify({onPremisesSamAccountName:a,displayName:a,mail:`${a}@cdperf.org`,passwordProfile:{password:n}})),Aw=(c,{userLogin:a})=>c("DELETE",`/graph/v1.0/users/${a}`),Cw=(c,{resourceId:a,principalId:n,appRoleId:v})=>c("POST",`/graph/v1.0/users/${n}/appRoleAssignments`,JSON.stringify({appRoleId:v,principalId:n,resourceId:a})),wp={};It(wp,{DELETE__delete_group:()=>Tw,POST__create_group:()=>Dw});var Dw=(c,{groupName:a})=>c("POST","/ocs/v2.php/cloud/groups",{groupid:a},{headers:{"OCS-APIRequest":"true"}}),Tw=(c,{groupName:a})=>c("DELETE",`/ocs/v2.php/cloud/groups/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Sp={};It(Sp,{DELETE__delete_user:()=>Fw,POST__create_user:()=>Nw,PUT__enable_user:()=>Ow});var Nw=(c,{userPassword:a,userLogin:n})=>c("POST","/ocs/v2.php/cloud/users",{userid:n,password:a,email:`${n}@cdperf.org`},{headers:{"OCS-APIRequest":"true"}}),Ow=(c,{userLogin:a})=>c("PUT",`/ocs/v2.php/cloud/users/${a}/enable`,void 0,{headers:{"OCS-APIRequest":"true"}}),Fw=(c,{userLogin:a})=>c("DELETE",`/ocs/v2.php/cloud/users/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Ap={};It(Ap,{GET__search_for_sharees:()=>Iw});var Iw=(c,{searchQuery:a,searchItemType:n})=>c("GET",`/ocs/v2.php/apps/files_sharing/api/v1/sharees?${ln({search:a,itemType:n,format:"json",page:1,perPage:200})}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Cp={};It(Cp,{DELETE__delete_share:()=>Lw,POST__accept_share:()=>kw,POST__create_share:()=>Pw});var Pw=(c,{shareReceiverPermission:a,shareType:n,shareResourcePath:v,shareReceiver:S},_)=>{let y={"OCS-APIRequest":"true"},s={path:v,shareType:n.toString(),shareWith:S,permissions:a.toString()};return _?.platform!==oe.ownCloudInfiniteScale&&(s=JSON.stringify(s),y["Content-Type"]="application/json"),c("POST","/ocs/v2.php/apps/files_sharing/api/v1/shares",s,{headers:y})},kw=(c,{shareId:a})=>c("POST",`/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Lw=(c,{shareId:a})=>c("DELETE",`/ocs/v2.php/apps/files_sharing/api/v1/shares/${a}`,void 0,{headers:{"OCS-APIRequest":"true"}}),Bw={user:0,group:1,publicLink:3,federatedCloudShare:6},Mw={file:"file",folder:"folder"},Rw={read:0,update:2,create:4,delete:8,share:16,all:31},jw={api:{v0:{settings:fp}},dav:{...pp,files:hp,spaces:dp,systemtags:mp,systemtags_relations:vp},graph:{v1:{applications:yp,drives:_p,extensions:{org_libre_graph:{tags:gp}},groups:xp,me:bp,users:Ep}},ocs:{v2:{apps:{cloud:{groups:wp,users:Sp},file_sharing:{v1:{sharees:Ap,shares:Cp}}}}}},Uw={};It(Uw,{check:()=>$w,cleanURL:()=>Np,group:()=>Hw,objectToQueryString:()=>Gw,platformGuard:()=>qw,queryJson:()=>Ip,queryStringToObject:()=>Ww,queryXml:()=>Jw,randomString:()=>zw,requestFactory:()=>Xw});var zw=(c=10,a)=>(0,Dp.randomString)(c,a),qw=c=>({isOwnCloudInfiniteScale:c===oe.ownCloudInfiniteScale,isOwnCloudServer:c===oe.ownCloudServer,isNextcloud:c===oe.nextcloud}),Np=(...c)=>c.join("/").replace(/(?new tu.URLSearchParams(Object.keys(c).map(a=>[a,String(c[a])])).toString(),Ww=c=>{let a=new URL(c).search,n=new tu.URLSearchParams(a);return Object.fromEntries(n)},Xw=c=>(a,n,v,S)=>{let _=Sn({},c.params);return c.authn&&An(_,"headers.Authorization",c.authn.header),c.params?.jar&&An(_,"jar",c.params.jar),(0,Tp.request)(a,Np(c.baseUrl,n),v,Sn(_,S))},Hw=(c,a)=>(0,ta.group)(c,()=>a(c)),$w=(c,a)=>{let n={...a};return c.skip&&Object.keys(n).forEach(v=>{n[`${v} -- (SKIPPED)`]=()=>!0,delete n[v]}),(0,ta.check)(c.val,n,c.tags)},Ip=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return Op.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)},Jw=(c,a)=>{let n=Fp.create(a).end({format:"object"});return Ip(c,n)};var Kw=Qt(require("k6/encoding")),Vw=require("k6"),Yw=Qt(require("k6/http"));var ra={kopano:"kopano",basicAuth:"basicAuth"};var kp=require("k6/http");var Lp=Qt(Ii());var Nr=class{platform;request;constructor(c,a){this.platform=c,this.request=a}},Qw=class extends Nr{listApplications(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.applications.GET__get_applications(this.request,{})}return ke({skip:!c,val:c},{"client -> application.listApplications - status":a=>a?.status===200}),c}},Zw=class extends Nr{createDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.POST__create_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> application.createDrive - status":n=>n?.status===201}),a}deleteDrive(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.drives.DELETE__delete_drive(this.request,c)}return ke({skip:!a,val:a},{"client -> drive.deleteDrive - status":n=>n?.status===204}),a}},eS=class extends Nr{createGroup(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.POST__create_group(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.POST__create_group(this.request,c)}return ke({val:a},{"client -> group.createGroup - status":({status:n})=>n===200}),a}deleteGroup(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.groups.DELETE__delete_group(this.request,{groupName:c.groupIdOrName}),n=200;break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.groups.DELETE__delete_group(this.request,{groupId:c.groupIdOrName}),n=204}return ke({val:a},{"client -> group.deleteGroup - status":({status:v})=>v===n}),a}},tS=class extends Nr{getMyProfile(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__current_user(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyProfile - status":a=>a?.status===200}),c}getMyDrives(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.graph.v1.me.GET__get_current_user_drives(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getMyDrives - status":a=>a?.status===200}),c}},Ve={oc:"http://owncloud.org/ns",dav:"DAV:"},On=()=>(0,Lp.create)({version:"1.0",encoding:"UTF-8"}),rS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return this[oe.ownCloudInfiniteScale]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},Pp={[oe.ownCloudInfiniteScale](c){let{searchQuery:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(a).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){return this[oe.ownCloudInfiniteScale](c)},[oe.nextcloud](c){let{root:a,searchQuery:n,searchLimit:v=100}=c;return On().ele(Ve.dav,"searchrequest").ele(Ve.dav,"basicsearch").ele(Ve.dav,"select").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().up().ele(Ve.dav,"from").ele(Ve.dav,"scope").ele(Ve.dav,"href").txt(`/files/${a}`).up().ele(Ve.dav,"depth").txt("infinity").up().up().up().ele(Ve.dav,"where").ele(Ve.dav,"like").ele(Ve.dav,"prop").ele(Ve.dav,"displayname").up().up().ele(Ve.dav,"literal").txt(n).up().up().ele(Ve.dav,"orderby").up().ele(Ve.dav,"limit").ele(Ve.dav,"nresults").txt(v.toString()).end()}},nS={[oe.ownCloudInfiniteScale](c){let{tag:a,searchLimit:n=100}=c;return On().ele(Ve.oc,"search-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"search").ele(Ve.oc,"pattern").txt(`Tags:"${a}"`).up().ele(Ve.oc,"limit").txt(n.toString()).end()},[oe.ownCloudServer](c){let{tag:a}=c;return On().ele(Ve.oc,"filter-files").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().up().ele(Ve.oc,"filter-rules").ele(Ve.oc,"systemtag").txt(a).end()},[oe.nextcloud](c){return this[oe.ownCloudServer](c)}},Bp={[oe.ownCloudInfiniteScale](){return""},[oe.ownCloudServer](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"display-name").up().ele(Ve.oc,"user-visible").up().ele(Ve.oc,"user-assignable").up().ele(Ve.oc,"id").end()},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},iS={[oe.ownCloudInfiniteScale](){return On().ele(Ve.dav,"propfind").ele(Ve.dav,"prop").ele(Ve.oc,"fileid").up().ele(Ve.oc,"tags").up().end()},[oe.ownCloudServer](){return Bp[oe.ownCloudServer]({})},[oe.nextcloud](){return this[oe.ownCloudServer]({})}},oS=class extends Nr{createResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MKCOL__create_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MKCOL__create_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.createResource - status":({status:n})=>n===201}),a}deleteResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.DELETE__delete_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.DELETE__delete_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.deleteResource - status":({status:n})=>n===204}),a}moveResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.MOVE__move_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.MOVE__move_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.moveResource - status":({status:n})=>n===201}),a}getResourceProperties(c){let a=rS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.files.PROPFIND__get_properties_for_resource(this.request,{...c,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{...c,driveId:c.root,propfindXml:a})}return ke({val:n},{"client -> resource.getResourceProperties - status":({status:v})=>v===207}),n}uploadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.PUT__upload_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.PUT__upload_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.uploadResource - status":({status:n})=>n===201}),a}downloadResource(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.files.GET__download_resource(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.dav.spaces.GET__download_resource(this.request,{...c,driveId:c.root})}return ke({val:a},{"client -> resource.downloadResource - status":({status:n})=>n===200}),a}},aS=class extends Nr{getRoles(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:c=Oe.api.v0.settings.POST__get_roles(this.request,{})}return ke({skip:!c,val:c},{"client -> role.getRoles - status":a=>a?.status===201}),c}addRoleToUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__add_app_role_to_user(this.request,c)}return ke({skip:!a,val:a},{"client -> role.addRoleToUser - status":n=>n?.status===201}),a}},sS=class extends Nr{searchForSharees(c){let a=Oe.ocs.v2.apps.file_sharing.v1.sharees.GET__search_for_sharees(this.request,c);return ke({val:a},{"client -> search.searchForSharees - status":({status:n})=>n===200}),a}searchForResources(c){let a;switch(this.platform){case oe.nextcloud:a=Oe.dav.SEARCH__search_for_resources(this.request,{searchXml:Pp[this.platform](c)});break;case oe.ownCloudServer:case oe.ownCloudInfiniteScale:default:a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:Pp[this.platform](c)})}return ke({val:a},{"client -> search.searchForResources - status":({status:n})=>n===207}),a}searchForResourcesByTag(c){let a=Oe.dav.files.REPORT__get_report_for_resources(this.request,{...c,reportXml:nS[this.platform](c)});return ke({val:a},{"client -> search.searchForResourcesByTag - status":({status:n})=>n===207}),a}},uS=class extends Nr{createShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__create_share(this.request,c,{platform:this.platform});return ke({val:a},{"client -> share.createShare - status":({status:n})=>n===200}),a}deleteShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.DELETE__delete_share(this.request,c);return ke({val:a},{"client -> share.deleteShare - status":({status:n})=>n===200}),a}acceptShare(c){let a=Oe.ocs.v2.apps.file_sharing.v1.shares.POST__accept_share(this.request,c);return ke({val:a},{"client -> share.acceptShare - status":({status:n})=>n===200}),a}},lS=class extends Nr{createTag(c){let{tagName:a,userAssignableTag:n=!0,userVisibleTag:v=!0,canAssignTag:S=!0}=c,_;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:_=Oe.dav.systemtags.POST__create_tag(this.request,{tagName:a,userAssignableTag:n,userVisibleTag:v,canAssignTag:S});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!_,val:_},{"client -> tag.createTag - status":y=>y?.status===201}),_}deleteTag(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.dav.systemtags.DELETE__delete_tag(this.request,{tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> tag.deleteTag - status":n=>n?.status===204}),a}getTags(){let c;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:c=Oe.dav.systemtags.PROPFIND__get_tags_with_properties(this.request,{propfindXml:Bp[this.platform]({})});break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!c,val:c},{"client -> tag.getTags - status":a=>a?.status===207}),c}addTagToResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=201,a=Oe.dav.systemtags_relations.PUT__add_tag_to_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.PUT__add_tags_to_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.addTagToResource - status":({status:v})=>v===n}),a}removeTagFromResource(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=204,a=Oe.dav.systemtags_relations.DELETE__remove_tag_from_resource(this.request,{resourceId:c.resourceId,tagId:c.tag});break;case oe.ownCloudInfiniteScale:default:n=200,a=Oe.graph.v1.extensions.org_libre_graph.tags.DELETE__remove_tags_from_resource(this.request,{resourceId:c.resourceId,tagNames:[c.tag]})}return ke({val:a},{"client -> tag.removeTagToResource - status":({status:v})=>v===n}),a}getTagsForResource(c){let a=iS[this.platform]({}),n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.dav.systemtags_relations.PROPFIND__get_tags_with_properties_for_resource(this.request,{resourceId:c.resourceId,propfindXml:a});break;case oe.ownCloudInfiniteScale:default:n=Oe.dav.spaces.PROPFIND__get_properties_for_resource(this.request,{driveId:c.root,resourcePath:c.resourcePath,propfindXml:a})}return ke({val:n},{"client -> tag.getTagsForResource - status":({status:v})=>v===207}),n}},cS=class extends Nr{createUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.POST__create_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:a=Oe.graph.v1.users.POST__create_user(this.request,c)}return ke({val:a},{"client -> user.createUser - status":({status:n})=>n===200}),a}deleteUser(c){let a,n;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:n=Oe.ocs.v2.apps.cloud.users.DELETE__delete_user(this.request,c),a=200;break;case oe.ownCloudInfiniteScale:default:n=Oe.graph.v1.users.DELETE__delete_user(this.request,c),a=204}return ke({val:n},{"client -> user.deleteUser - status":({status:v})=>v===a}),n}enableUser(c){let a;switch(this.platform){case oe.ownCloudServer:case oe.nextcloud:a=Oe.ocs.v2.apps.cloud.users.PUT__enable_user(this.request,c);break;case oe.ownCloudInfiniteScale:default:}return ke({skip:!a,val:a},{"client -> user.enableUser - status":n=>n?.status===200}),a}},Pi=class{application;drive;me;group;resource;role;search;share;tag;user;constructor(c){let a;switch(c.authAdapter){case Cn.basicAuth:a=new Dn(c);break;case Cn.kopano:default:a=new Tn(c);break}let n=Vo({authn:a,baseUrl:c.baseUrl,params:{jar:new kp.CookieJar}});this.application=new Qw(c.platform,n),this.drive=new Zw(c.platform,n),this.group=new eS(c.platform,n),this.me=new tS(c.platform,n),this.resource=new oS(c.platform,n),this.role=new aS(c.platform,n),this.search=new sS(c.platform,n),this.share=new uS(c.platform,n),this.tag=new lS(c.platform,n),this.user=new cS(c.platform,n)}};var Mp=require("https://jslib.k6.io/k6-utils/1.2.0/index.js");var fS=require("k6/http");var pS=require("https://jslib.k6.io/url/1.0.0/index.js"),Rp=require("k6"),jp=Qt(Bs());var hS=Qt(Ii()),ru=(c=10,a)=>(0,Mp.randomString)(c,a);var nu=(c,a)=>{if(!c||!a)return[];let n=a;if(typeof n=="string")try{n=JSON.parse(n)}catch{return[]}return jp.query(n,c).map(v=>At(v)&&Oi(v)?void 0:v)};var zp=require("k6/crypto"),iu=Qt(require("k6/execution")),ou=Qt(Up()),wr={baseUrl:__ENV.BASE_URL||"https://localhost:9200",authAdapter:__ENV.AUTH_ADAPTER===ra.basicAuth?ra.basicAuth:ra.kopano,platform:eu[__ENV.PLATFORM]||eu.ownCloudInfiniteScale,admin:{login:__ENV.ADMIN_LOGIN||"admin",password:__ENV.ADMIN_PASSWORD||"admin"},assets:{size:parseInt(__ENV.ASSET_SIZE,10)||1e3,quantity:parseInt(__ENV.ASSET_QUANTITY,10)||10},k6:{vus:1,insecureSkipTLSVerify:!0}},qp=wr.k6;function dS(){let c=new Pi({...wr,userLogin:wr.admin.login,userPassword:wr.admin.password}),a=(0,ou.times)(qp.vus||1,()=>{let[n,v]=[ru(),ru()],S=c.user.createUser({userLogin:n,userPassword:v}),[_]=nu("$.id",S.body);c.user.enableUser({userLogin:n});let s=new Pi({...wr,userLogin:n,userPassword:v}).me.getMyDrives(),[h=n]=nu("$.value[?(@.driveType === 'personal')].id",s?.body);return{actorLogin:n,actorPassword:v,actorId:_,actorRoot:h}});return{adminData:{adminLogin:wr.admin.login,adminPassword:wr.admin.password},actorData:a}}function Gp({actorData:c}){let{actorLogin:a,actorPassword:n,actorRoot:v}=c[iu.default.vu.idInTest-1],S=new Pi({...wr,userLogin:a,userPassword:n}),_=(0,zp.randomBytes)(wr.assets.size*1e3);(0,ou.times)(wr.assets.quantity,y=>{S.resource.uploadResource({root:v,resourcePath:[iu.default.scenario.iterationInTest,a,y].join("-"),resourceBytes:_})})}function mS({adminData:c,actorData:a}){let n=new Pi({...wr,userLogin:c.adminLogin,userPassword:c.adminPassword});a.forEach(({actorLogin:v})=>{n.user.deleteUser({userLogin:v})})} /*! Bundled license information: jsonpath/jsonpath.js: diff --git a/packages/k6-tests/package.json b/packages/k6-tests/package.json index 19ae495..ac398d4 100644 --- a/packages/k6-tests/package.json +++ b/packages/k6-tests/package.json @@ -30,14 +30,14 @@ "@ownclouders/eslint-config": "workspace:*", "@ownclouders/tsconfig": "workspace:*", "@ownclouders/turbowatch": "workspace:*", - "@types/k6": "^0.43.2", - "@types/lodash": "^4.14.192", + "@types/k6": "^0.43.3", + "@types/lodash": "^4.14.194", "@types/node": "^18.15.11", "concurrently": "^8.0.1", "del-cli": "^5.0.0", - "esbuild": "^0.17.14", + "esbuild": "^0.17.16", "fast-glob": "^3.2.12", - "turbowatch": "^2.20.0", - "typescript": "^5.0.3" + "turbowatch": "^2.21.0", + "typescript": "^5.0.4" } } diff --git a/packages/k6-tests/src/koko/010-login.md b/packages/k6-tests/src/koko/010-login.md index 4235fe8..c166edb 100644 --- a/packages/k6-tests/src/koko/010-login.md +++ b/packages/k6-tests/src/koko/010-login.md @@ -1,5 +1,5 @@ ## Description -The `login` test is intended to log a configurable number of users into the system and then log out again. The purpose of the test is primarily to put the idp under load and see how it handles it. +The `login` test logs a configurable number of users into the system and checks whether the process was successful. * `admin` creates `N` users. * `N` can be set with the k6 `--vus` option. @@ -15,14 +15,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -41,7 +41,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -56,5 +56,5 @@ k6 run artifacts/koko-010-login.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-010-login.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-010-login.js ``` diff --git a/packages/k6-tests/src/koko/010-login.ts b/packages/k6-tests/src/koko/010-login.ts index f59d28f..73f871d 100644 --- a/packages/k6-tests/src/koko/010-login.ts +++ b/packages/k6-tests/src/koko/010-login.ts @@ -1,39 +1,28 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check } from 'k6'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { check, platformGuard, queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - k6: Options; +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; + }; + actorData: { + actorLogin: string; + actorPassword: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, @@ -41,48 +30,53 @@ const settings: Settings = { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) return { - credential: userCredential - }; - }); + actorLogin, + actorPassword + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const { credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userMeResponse = userClient.user.me(); - const [ userDisplayName = userCredential.login ] = queryJson('displayNamed', userMeResponse?.body); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyProfileResponse = actorClient.me.getMyProfile() + const guards = { ...platformGuard(settings.platform) } - check(userDisplayName, { - 'user displayName': (displayName) => { - return displayName === userCredential.login + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: getMyProfileResponse }, { + 'user displayName': (r) => { + const [displayName] = queryJson('displayName', r?.body) + return displayName === actorLogin } - }); + }) + } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/020-navigate-file-tree.md b/packages/k6-tests/src/koko/020-navigate-file-tree.md index c3ea14f..49bb6a8 100644 --- a/packages/k6-tests/src/koko/020-navigate-file-tree.md +++ b/packages/k6-tests/src/koko/020-navigate-file-tree.md @@ -1,5 +1,5 @@ ## Description -The `navigate file tree` test is intended to see how the instance behaves when many users move through a configurable deep folder hierarchy at the same time. Since k6 does not use a browser for the tests, a propfind for each folder to simulate the client behavior is used. +The `navigate file tree` test creates a configurable horizontal and vertical structure of folders which is then checked using a propfind at each level. * `admin` creates `N` users. * `N` can be set by using the k6 `--vus` option. @@ -18,14 +18,14 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -50,7 +50,7 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -65,5 +65,5 @@ k6 run artifacts/koko-020-navigate-file-tree.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-020-navigate-file-tree.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-020-navigate-file-tree.js ``` diff --git a/packages/k6-tests/src/koko/020-navigate-file-tree.ts b/packages/k6-tests/src/koko/020-navigate-file-tree.ts index 2ece47a..0735022 100644 --- a/packages/k6-tests/src/koko/020-navigate-file-tree.ts +++ b/packages/k6-tests/src/koko/020-navigate-file-tree.ts @@ -1,110 +1,112 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { check, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; - folders: string[][]; -} -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - folder: { - rootCount: number; - childCount: number; +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + folders: string[][]; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, folder: { - rootCount: parseInt(__ENV.FOLDER_ROOT_COUNT) || 5, - childCount: parseInt(__ENV.FOLDER_CHILD_COUNT) || 5 + rootCount: parseInt(__ENV.FOLDER_ROOT_COUNT, 10) || 5, + childCount: parseInt(__ENV.FOLDER_CHILD_COUNT, 10) || 5 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [ userHome = userCredential.login ] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) - const userFolders = times(settings.folder.rootCount, () => { + const folders = times(settings.folder.rootCount, () => { const tree = times(settings.folder.childCount, () => { return randomString() - }); + }) return tree.reduce((acc: string[], name) => { - acc.push(name); - userClient.resource.create(userHome, acc.join('/')); + acc.push(name) + actorClient.resource.createResource({ root: actorRoot, resourcePath: acc.join('/') }) - return acc; - }, []); - }); + return acc + }, []) + }) return { - home: userHome, - folders: userFolders, - credential: userCredential - }; - }); + actorLogin, + actorPassword, + actorRoot, + folders + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const { home: userHome, folders: userFolders, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot, folders } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + + folders.forEach((paths) => { + for (let i = 1; i <= paths.length; i += 1) { + const resourcePath = paths.slice(0, i).join('/') + const getResourcePropertiesRequest = actorClient.resource.getResourceProperties({ + root: actorRoot, + resourcePath + }) - userFolders.forEach((paths) => { - for (let i = 1; i <= paths.length; i++) { - userClient.resource.propfind(userHome, paths.slice(0, i).join('/')); + check({ val: getResourcePropertiesRequest }, { + 'test -> resource.getResourceProperties - path - match': ({ body }) => { + const [href = ''] = queryXml("$..['d:href']", body) + return href.endsWith(`${resourcePath}/`) + } + }) } - }); + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/030-search-for-filename.md b/packages/k6-tests/src/koko/030-search-for-filename.md index 5e2d085..02ee54c 100644 --- a/packages/k6-tests/src/koko/030-search-for-filename.md +++ b/packages/k6-tests/src/koko/030-search-for-filename.md @@ -27,14 +27,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -59,7 +59,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -74,5 +74,5 @@ k6 run artifacts/030-search-for-filename.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/030-search-for-filename.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/030-search-for-filename.js ``` diff --git a/packages/k6-tests/src/koko/030-search-for-filename.ts b/packages/k6-tests/src/koko/030-search-for-filename.ts index 28556d7..83c738a 100644 --- a/packages/k6-tests/src/koko/030-search-for-filename.ts +++ b/packages/k6-tests/src/koko/030-search-for-filename.ts @@ -1,158 +1,148 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, queryXml, Queue, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check } from 'k6'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { check, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { sleep } from 'k6' +import exec from 'k6/execution' +import { Options } from 'k6/options' import { times } from 'lodash' -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - assets: { - folderCount: number; - textDocumentCount: number; +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, assets: { - folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT) || 2, - textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT) || 2 + folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT, 10) || 2, + textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT, 10) || 2 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - home: userHome, - credential: userCredential - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const defer: (() => void)[] = []; - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const searchTasks = new Queue({ delay: 1000, delayMultiplier: 0 }) +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + + + const defer: (() => void)[] = [] const folderNames = times(settings.assets.folderCount, () => { return randomString() }) const textDocuments = times(settings.assets.textDocumentCount, () => { - return [randomString() + '.txt', randomString()] + return [`${randomString()}.txt`, randomString()] }) - const searchTask = (query: string, expectedId: string, description: string) => { - const searchResponse = userClient.search.resource(userCredential.login, { query }) - const [searchFileID] = queryXml("$..['oc:fileid']", searchResponse?.body); - const ready = !!searchFileID + const doSearch = (query: string, expectedId: string, description: string) => { + const searchForResourcesResponse = actorClient.search.searchForResources({ root: actorRoot, searchQuery: query }) + const [searchFileID] = queryXml("$..['oc:fileid']", searchForResourcesResponse?.body) + const found = !!searchFileID - if(!ready) { - return Promise.reject() + if (!found) { + sleep(1) + doSearch(query, expectedId, description) + return } - check(undefined, { - [ `test -> search.${description} - found` ]: () => { + check({ val: undefined }, { + [`test -> search.${description} - found`]: () => { return expectedId === searchFileID } }) - - return Promise.resolve() } folderNames.forEach((folderName) => { - userClient.resource.create(userHome, folderName) - const propfindResponse = userClient.resource.propfind(userHome, folderName); - const [expectedId] = queryXml("$..['oc:fileid']", propfindResponse?.body); - - searchTasks.add(() => { - return searchTask(folderName, expectedId, 'folder-name') + actorClient.resource.createResource({ root: actorRoot, resourcePath: folderName }) + const getResourcePropertiesRequest = actorClient.resource.getResourceProperties({ + root: actorRoot, + resourcePath: folderName }) + const [expectedId] = queryXml("$..['oc:fileid']", getResourcePropertiesRequest?.body) + + doSearch(folderName, expectedId, 'folder-name') defer.push(() => { - userClient.resource.delete(userHome, folderName) - }); + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: folderName }) + }) }) textDocuments.forEach(([documentName, documentContent]) => { - userClient.resource.upload(userHome, documentName, documentContent); - const propfindResponse = userClient.resource.propfind(userHome, documentName); - const [expectedId] = queryXml("$..['oc:fileid']", propfindResponse?.body); - - searchTasks.add(() => { - return searchTask(documentName, expectedId, 'file-name') + actorClient.resource.uploadResource({ root: actorRoot, resourcePath: documentName, resourceBytes: documentContent }) + const getResourcePropertiesRequest = actorClient.resource.getResourceProperties({ + root: actorRoot, + resourcePath: documentName }) + const [expectedId] = queryXml("$..['oc:fileid']", getResourcePropertiesRequest?.body) + + doSearch(documentName, expectedId, 'file-name') // idea for later: // content search only works if ocis has content extraction enabled (SEARCH_EXTRACTOR_TYPE=tika), // needs further testing, therefore deactivated for the moment. - // searchTasks.add(() => searchTask(documentContent, expectedId, 'file-content')) + // doSearch(documentContent, expectedId, 'file-content') defer.push(() => { - userClient.resource.delete(userHome, documentName) - }); + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: documentName }) + }) }) - searchTasks.exec().then(() => { - return defer.forEach((d) => { - return d() - }) + defer.forEach((d) => { + d() }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/040-upload-delete.md b/packages/k6-tests/src/koko/040-upload-delete.md index 08b1e73..9b61302 100644 --- a/packages/k6-tests/src/koko/040-upload-delete.md +++ b/packages/k6-tests/src/koko/040-upload-delete.md @@ -25,14 +25,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -72,7 +72,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -87,5 +87,5 @@ k6 run artifacts/koko-040-upload-delete.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-040-upload-delete.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-040-upload-delete.js ``` diff --git a/packages/k6-tests/src/koko/040-upload-delete.ts b/packages/k6-tests/src/koko/040-upload-delete.ts index 0bee9ea..8c00ac4 100644 --- a/packages/k6-tests/src/koko/040-upload-delete.ts +++ b/packages/k6-tests/src/koko/040-upload-delete.ts @@ -1,130 +1,110 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { randomBytes } from 'k6/crypto'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - assets: { - small: { - quantity: number; - size: number; - }; - medium: { - quantity: number; - size: number; - }; - large: { - quantity: number; - size: number; - }; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { randomBytes } from 'k6/crypto' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, assets: { small: { - size: parseInt(__ENV.ASSET_SMALL_SIZE) || 10, - quantity: parseInt(__ENV.ASSET_SMALL_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_SMALL_SIZE, 10) || 10, + quantity: parseInt(__ENV.ASSET_SMALL_QUANTITY, 10) || 1 }, medium: { - size: parseInt(__ENV.ASSET_MEDIUM_SIZE) || 10 * 10, - quantity: parseInt(__ENV.ASSET_MEDIUM_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_MEDIUM_SIZE, 10) || 10 * 10, + quantity: parseInt(__ENV.ASSET_MEDIUM_QUANTITY, 10) || 1 }, large: { - size: parseInt(__ENV.ASSET_LARGE_SIZE) || 10 * 100, - quantity: parseInt(__ENV.ASSET_LARGE_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_LARGE_SIZE, 10) || 10 * 100, + quantity: parseInt(__ENV.ASSET_LARGE_QUANTITY, 10) || 1 } }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const defer: (() => void)[] = []; - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const defer: (() => void)[] = [] - for (const [k, v] of Object.entries(settings.assets)) { - times(v.quantity, (i) => { - const assetName = [exec.scenario.iterationInTest, k, i].join('-'); + Object.keys(settings.assets).forEach((k) => { + const { quantity, size } = settings.assets[k] + times(quantity, (i) => { + const assetName = [exec.scenario.iterationInTest, k, i].join('-') - userClient.resource.upload(userHome, assetName, randomBytes(v.size * 1000)); + actorClient.resource.uploadResource({ root: actorRoot, resourcePath: assetName, resourceBytes: randomBytes(size * 1000) }) defer.push(() => { - return userClient.resource.delete(userHome, assetName) - }); - }); - } + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: assetName }) + }) + }) + }) defer.forEach((c) => { - return c() - }); + c() + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/050-upload-download.md b/packages/k6-tests/src/koko/050-upload-download.md index 1a5524d..f0dfa23 100644 --- a/packages/k6-tests/src/koko/050-upload-download.md +++ b/packages/k6-tests/src/koko/050-upload-download.md @@ -24,14 +24,14 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -71,7 +71,7 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -86,5 +86,5 @@ k6 run artifacts/koko-050-upload-download.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-050-upload-download.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-050-upload-download.js ``` diff --git a/packages/k6-tests/src/koko/050-upload-download.ts b/packages/k6-tests/src/koko/050-upload-download.ts index d36fe7b..e109950 100644 --- a/packages/k6-tests/src/koko/050-upload-download.ts +++ b/packages/k6-tests/src/koko/050-upload-download.ts @@ -1,130 +1,112 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { randomBytes } from 'k6/crypto'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - assets: { - small: { - quantity: number; - size: number; - }; - medium: { - quantity: number; - size: number; - }; - large: { - quantity: number; - size: number; - }; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { randomBytes } from 'k6/crypto' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, assets: { small: { - size: parseInt(__ENV.ASSET_SMALL_SIZE) || 10, - quantity: parseInt(__ENV.ASSET_SMALL_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_SMALL_SIZE, 10) || 10, + quantity: parseInt(__ENV.ASSET_SMALL_QUANTITY, 10) || 1 }, medium: { - size: parseInt(__ENV.ASSET_MEDIUM_SIZE) || 10 * 20, - quantity: parseInt(__ENV.ASSET_MEDIUM_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_MEDIUM_SIZE, 10) || 10 * 20, + quantity: parseInt(__ENV.ASSET_MEDIUM_QUANTITY, 10) || 1 }, large: { - size: parseInt(__ENV.ASSET_LARGE_SIZE) || 10 * 100, - quantity: parseInt(__ENV.ASSET_LARGE_QUANTITY) || 1 + size: parseInt(__ENV.ASSET_LARGE_SIZE, 10) || 10 * 100, + quantity: parseInt(__ENV.ASSET_LARGE_QUANTITY, 10) || 1 } }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const defer: (() => void)[] = []; - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const defer: (() => void)[] = [] + - for (const [k, v] of Object.entries(settings.assets)) { - times(v.quantity, (i) => { - const assetName = [exec.scenario.iterationInTest, k, i].join('-'); - userClient.resource.upload(userHome, assetName, randomBytes(v.size * 1000)); + Object.keys(settings.assets).forEach((k) => { + const { quantity, size } = settings.assets[k] + times(quantity, (i) => { + const assetName = [exec.scenario.iterationInTest, k, i].join('-') + + actorClient.resource.uploadResource({ root: actorRoot, resourcePath: assetName, resourceBytes: randomBytes(size * 1000) }) defer.push(() => { - return userClient.resource.download(userHome, assetName) - }); - }); - } + return actorClient.resource.downloadResource({ root: actorRoot, resourcePath: assetName }) + }) + }) + }) defer.forEach((c) => { - return c() - }); + c() + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/060-create-rename-folder.md b/packages/k6-tests/src/koko/060-create-rename-folder.md index 01628c4..381778d 100644 --- a/packages/k6-tests/src/koko/060-create-rename-folder.md +++ b/packages/k6-tests/src/koko/060-create-rename-folder.md @@ -19,14 +19,14 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -51,7 +51,7 @@ The test runs `N` times for each user. For example, if you define `--vus 2` and ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -66,5 +66,5 @@ k6 run artifacts/koko-060-create-rename-folder.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-060-create-rename-folder.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/koko-060-create-rename-folder.js ``` diff --git a/packages/k6-tests/src/koko/060-create-rename-folder.ts b/packages/k6-tests/src/koko/060-create-rename-folder.ts index af77005..37ec8e1 100644 --- a/packages/k6-tests/src/koko/060-create-rename-folder.ts +++ b/packages/k6-tests/src/koko/060-create-rename-folder.ts @@ -1,109 +1,98 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - folder: { - rootCount: number; - childCount: number; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, folder: { - rootCount: parseInt(__ENV.FOLDER_ROOT_COUNT) || 5, - childCount: parseInt(__ENV.FOLDER_CHILD_COUNT) || 5 + rootCount: parseInt(__ENV.FOLDER_ROOT_COUNT, 10) || 5, + childCount: parseInt(__ENV.FOLDER_CHILD_COUNT, 10) || 5 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [ userHome = userCredential.login ] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) times(settings.folder.rootCount, () => { const tree = times(settings.folder.childCount, () => { return randomString() - }); + }) tree.reduce((acc: string[], name) => { - const createPath = [ ...acc, name ].join('/'); - userClient.resource.create(userHome, createPath); + const createPath = [...acc, name].join('/') + actorClient.resource.createResource({ root: actorRoot, resourcePath: createPath }) - acc.push(`rename-${name}`); - userClient.resource.move(userHome, createPath, acc.join('/')); + acc.push(`rename-${name}`) + actorClient.resource.moveResource({ root: actorRoot, fromResourcePath: createPath, toResourcePath: acc.join('/') }) - return acc; - }, []); - }); + return acc + }, []) + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/070-user-group-search-and-share.md b/packages/k6-tests/src/koko/070-user-group-search-and-share.md index 97b5250..563ec55 100644 --- a/packages/k6-tests/src/koko/070-user-group-search-and-share.md +++ b/packages/k6-tests/src/koko/070-user-group-search-and-share.md @@ -34,14 +34,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -72,7 +72,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -87,5 +87,5 @@ k6 run artifacts/070-user-group-search-and-share.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/070-user-group-search-and-share.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/070-user-group-search-and-share.js ``` diff --git a/packages/k6-tests/src/koko/070-user-group-search-and-share.ts b/packages/k6-tests/src/koko/070-user-group-search-and-share.ts index bbe1a9d..27b873c 100644 --- a/packages/k6-tests/src/koko/070-user-group-search-and-share.ts +++ b/packages/k6-tests/src/koko/070-user-group-search-and-share.ts @@ -1,125 +1,111 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { ItemType, Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints'; -import { queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check } from 'k6'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; - shareReceiverInfos: { - users: Pick[], - groups: { id: string, name: string }[] - }; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - shareReceivers: { - userCount: number; - groupCount: number; - }; - assets: { - folderCount: number; - textDocumentCount: number; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { ItemType, Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints' +import { check, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + shareReceivers: { + users: { userLogin: string; }[], + groups: { groupId: string, groupName: string }[] + }; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, shareReceivers: { - groupCount: parseInt(__ENV.SHARE_RECEIVERS_GROUP_COUNT) || 1, - userCount: parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT) || 1 + groupCount: parseInt(__ENV.SHARE_RECEIVERS_GROUP_COUNT, 10) || 1, + userCount: parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT, 10) || 1 }, assets: { - folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT) || 1, - textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT) || 1 + folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT, 10) || 1, + textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT, 10) || 1 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; - -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export const options: Options = settings.k6 - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const shareReceiverUsers = times(settings.shareReceivers.userCount, () => { + const [userLogin, userPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin, userPassword }) + adminClient.user.enableUser({ userLogin }) return { - credential: userCredential, - home: userHome - }; - }); + userLogin + } + }) - const shareReceiverUserInfos = times(settings.shareReceivers.userCount, () => { - const shareeCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(shareeCredential); - adminClient.user.enable(shareeCredential.login); + const shareReceiverGroups = times(settings.shareReceivers.groupCount, () => { + const groupName = randomString() + const groupCreateResponse = adminClient.group.createGroup({ groupName }) + const [groupId] = queryJson('$.id', groupCreateResponse?.body) - return shareeCredential + return { + groupId, + groupName + } }) - const shareReceiverGroupInfos = times(settings.shareReceivers.groupCount, () => { - const groupName = randomString() - const groupCreateResponse = adminClient.group.create(groupName) - const [groupId = groupName] = queryJson('$.id', groupCreateResponse?.body); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) + + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - id: groupId, - name: groupName + actorLogin, + actorPassword, + shareReceivers: { + users: shareReceiverUsers, + groups: shareReceiverGroups + }, + actorRoot } }) return { - adminCredential, - userInfos, - shareReceiverInfos: { - users: shareReceiverUserInfos, - groups: shareReceiverGroupInfos - } - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos, shareReceiverInfos }: Data): void { - const defer: (() => void)[] = []; - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot, shareReceivers } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const defer: (() => void)[] = [] const shareFolders = times(settings.assets.folderCount, () => { return randomString() }) @@ -128,74 +114,77 @@ export default function ({ userInfos, shareReceiverInfos }: Data): void { }) const shareWith = (sharee: string, folder: string, shareType: ShareType, itemType: ItemType) => { - const searchResponse = userClient.search.sharee(sharee, itemType) + const searchResponse = actorClient.search.searchForSharees({ searchQuery: sharee, searchItemType: itemType }) const [foundSharee] = queryJson('$..shareWith', searchResponse?.body) - - const createShareResponse = userClient.share.create(folder, - foundSharee, + const createShareResponse = actorClient.share.createShare({ shareType, - Permission.all); + shareResourcePath: folder, + shareReceiver: foundSharee, + shareReceiverPermission: Permission.all + }) - const [foundShareRecipient] = queryXml('ocs.data.share_with', createShareResponse.body); + const [foundShareRecipient] = queryXml('ocs.data.share_with', createShareResponse.body) const humanShareType = Object.keys(ShareType).find((key) => { - return ShareType[ key ] === shareType + return ShareType[key] === shareType }) - - check(undefined, { - [ `test -> sharee ( ${humanShareType} ) found` ]: () => { + + check({ val: undefined }, { + [`test -> sharee ( ${humanShareType} ) found`]: () => { return sharee === foundSharee }, - [ `test -> share ( ${itemType} ) received` ]: () => { + [`test -> share ( ${itemType} ) received`]: () => { return sharee === foundShareRecipient } }) } shareFolders.forEach((shareFolder) => { - userClient.resource.create(userHome, shareFolder); + actorClient.resource.createResource({ root: actorRoot, resourcePath: shareFolder }) - shareReceiverInfos.users.forEach(({ login }) => { - return shareWith(login, shareFolder, ShareType.user, ItemType.folder) + shareReceivers.users.forEach(({ userLogin }) => { + return shareWith(userLogin, shareFolder, ShareType.user, ItemType.folder) }) - shareReceiverInfos.groups.forEach(({ name }) => { - return shareWith(name, shareFolder, ShareType.group, ItemType.folder) + shareReceivers.groups.forEach(({ groupName }) => { + return shareWith(groupName, shareFolder, ShareType.group, ItemType.folder) }) defer.push(() => { - userClient.resource.delete(userHome, shareFolder) - }); + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: shareFolder }) + }) }) shareTextDocuments.forEach((shareTextDocument) => { - userClient.resource.upload(userHome, shareTextDocument, randomString()); + actorClient.resource.uploadResource({ root: actorRoot, resourcePath: shareTextDocument, resourceBytes: randomString() }) - shareReceiverInfos.users.forEach(({ login }) => { - return shareWith(login, shareTextDocument, ShareType.user, ItemType.file) + shareReceivers.users.forEach(({ userLogin }) => { + return shareWith(userLogin, shareTextDocument, ShareType.user, ItemType.file) }) - shareReceiverInfos.groups.forEach(({ name }) => { - return shareWith(name, shareTextDocument, ShareType.group, ItemType.file) + shareReceivers.groups.forEach(({ groupName }) => { + return shareWith(groupName, shareTextDocument, ShareType.group, ItemType.file) }) defer.push(() => { - userClient.resource.delete(userHome, shareTextDocument) - }); + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: shareTextDocument }) + }) }) defer.forEach((d) => { - return d() + d() }) } -export function teardown({ userInfos, adminCredential, shareReceiverInfos }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); - - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); - shareReceiverInfos.users.forEach(({ login }) => { - return adminClient.user.delete(login) - }); - shareReceiverInfos.groups.forEach(({ id }) => { - return adminClient.group.delete(id) - }); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) + + actorData.forEach(({ actorLogin, shareReceivers: { users, groups } }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + + users.forEach((user) => { + return adminClient.user.deleteUser(user) + }) + + groups.forEach(({ groupId, groupName }) => { + return adminClient.group.deleteGroup({ groupIdOrName: groupId || groupName }) + }) + }) } diff --git a/packages/k6-tests/src/koko/080-create-space.md b/packages/k6-tests/src/koko/080-create-space.md index 854ec5f..e04a28c 100644 --- a/packages/k6-tests/src/koko/080-create-space.md +++ b/packages/k6-tests/src/koko/080-create-space.md @@ -24,14 +24,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` diff --git a/packages/k6-tests/src/koko/080-create-space.ts b/packages/k6-tests/src/koko/080-create-space.ts index 49d0798..8d9951d 100644 --- a/packages/k6-tests/src/koko/080-create-space.ts +++ b/packages/k6-tests/src/koko/080-create-space.ts @@ -1,107 +1,96 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version, versionGuard } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - spaceCount: number; - k6: Options; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; + }; + actorData: { + actorLogin: string; + actorPassword: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, - spaceCount: parseInt(__ENV.SPACE_COUNT) || 2, + spaceCount: parseInt(__ENV.SPACE_COUNT, 10) || 2, k6: { vus: 1, insecureSkipTLSVerify: true } -}; - -// protect test against incompatible client versions -versionGuard(settings.clientVersion, Version.ocis) +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); - const roleListResponse = adminClient.role.list() - const [appRoleId] = queryJson("$.bundles[?(@.name === 'spaceadmin')].id", roleListResponse?.body); - const applicationListResponse = adminClient.application.list() - const [resourceId] = queryJson("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id", applicationListResponse?.body); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) + const getRolesResponse = adminClient.role.getRoles() + const [appRoleId] = queryJson("$.bundles[?(@.name === 'spaceadmin')].id", getRolesResponse?.body) + const listApplicationsResponse = adminClient.application.listApplications() + const [resourceId] = queryJson("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id", listApplicationsResponse?.body) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - const userCreateResponse = adminClient.user.create(userCredential); - const [principalId] = queryJson('$.id', userCreateResponse.body); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + const createUserResponse = adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + const [principalId] = queryJson('$.id', createUserResponse.body) - adminClient.user.assignRole(principalId, appRoleId, resourceId) + adminClient.role.addRoleToUser({ appRoleId, resourceId, principalId }) return { - credential: userCredential - }; - }); + actorLogin, + actorPassword + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const defer: (() => void)[] = []; - const { credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const defer: (() => void)[] = [] const spaceNames = times(settings.spaceCount, () => { return randomString() }) - spaceNames.forEach((spaceName) => { - const driveCreateResponse = userClient.drive.create(spaceName) - const [spaceId] = queryJson('$.id', driveCreateResponse?.body); + spaceNames.forEach((driveName) => { + const driveCreateResponse = actorClient.drive.createDrive({ driveName }) + const [driveId] = queryJson('$.id', driveCreateResponse?.body) defer.push(() => { - userClient.drive.delete(spaceId) - }); + actorClient.drive.deleteDrive({ driveId }) + }) }) - defer.forEach((c) => { - return c() - }); + defer.forEach((d) => { + d() + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/koko/090-add-remove-user-share.md b/packages/k6-tests/src/koko/090-add-remove-user-share.md index 4949bcd..5a353f6 100644 --- a/packages/k6-tests/src/koko/090-add-remove-user-share.md +++ b/packages/k6-tests/src/koko/090-add-remove-user-share.md @@ -23,14 +23,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -52,7 +52,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -67,5 +67,5 @@ k6 run artifacts/090-add-remove-user-share.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/090-add-remove-user-share.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/090-add-remove-user-share.js ``` diff --git a/packages/k6-tests/src/koko/090-add-remove-user-share.ts b/packages/k6-tests/src/koko/090-add-remove-user-share.ts index 7f8573f..a0a5dc6 100644 --- a/packages/k6-tests/src/koko/090-add-remove-user-share.ts +++ b/packages/k6-tests/src/koko/090-add-remove-user-share.ts @@ -1,130 +1,130 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints'; -import { queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check } from 'k6'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - shareFolder: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; - shareReceiverUserInfos: Credential[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - shareReceivers: { - userCount: number; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints' +import { check, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + shareFolder: string; + shareReceivers: { + users: { userLogin: string; userPassword: string }[], + }; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, shareReceivers: { - userCount: parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT) || 35 + userCount: parseInt(__ENV.SHARE_RECEIVERS_USER_COUNT, 10) || 35 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const shareReceiverUsers = times(settings.shareReceivers.userCount, () => { + const [userLogin, userPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin, userPassword }) + adminClient.user.enableUser({ userLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + return { userLogin, userPassword } + }) - const userShareFolder = randomString() - userClient.resource.create(userHome, userShareFolder); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - return { - credential: userCredential, - shareFolder: userShareFolder - }; - }); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) - const shareReceiverUserInfos = times(settings.shareReceivers.userCount, () => { - const shareeCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(shareeCredential); - adminClient.user.enable(shareeCredential.login); - return shareeCredential + const shareFolder = randomString() + actorClient.resource.createResource({ root: actorRoot, resourcePath: shareFolder }) + + return { + actorLogin, + actorPassword, + shareFolder, + shareReceivers:{ + users: shareReceiverUsers + } + } }) return { - adminCredential, - userInfos, - shareReceiverUserInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos, shareReceiverUserInfos }: Data): void { - const defer: (() => void)[] = []; - const { credential: userCredential, shareFolder: userShareFolder } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - shareReceiverUserInfos.forEach(({ login }) => { - const createShareResponse = userClient.share.create(userShareFolder, login, ShareType.user, Permission.all); - const [foundShareRecipient] = queryXml('ocs.data.share_with', createShareResponse.body); - - check(undefined, { - [ 'test -> share received - match' ]: () => { - return foundShareRecipient === login +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, shareReceivers, shareFolder } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const defer: (() => void)[] = [] + shareReceivers.users.forEach(({ userLogin }) => { + const createShareResponse = actorClient.share.createShare({ + shareResourcePath: shareFolder, + shareReceiver: userLogin, + shareType: ShareType.user, + shareReceiverPermission: Permission.all + }) + const [foundShareRecipient] = queryXml('ocs.data.share_with', createShareResponse.body) + + check({ val: undefined }, { + 'test -> share received - match': () => { + return foundShareRecipient === userLogin } }) defer.push(() => { - const [shareId] = queryXml('ocs.data.id', createShareResponse.body); - userClient.share.delete(shareId); - }); + const [shareId] = queryXml('ocs.data.id', createShareResponse.body) + actorClient.share.deleteShare({ shareId }) + }) }) defer.forEach((d) => { - return d() + d() }) } -export function teardown({ userInfos, adminCredential, shareReceiverUserInfos }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin, shareReceivers: { users } }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) - shareReceiverUserInfos.forEach(({ login }) => { - return adminClient.user.delete(login) - }); + users.forEach((user) => { + return adminClient.user.deleteUser(user) + }) + }) } + diff --git a/packages/k6-tests/src/koko/100-add-remove-tag.md b/packages/k6-tests/src/koko/100-add-remove-tag.md index 64c7a9b..78ccf99 100644 --- a/packages/k6-tests/src/koko/100-add-remove-tag.md +++ b/packages/k6-tests/src/koko/100-add-remove-tag.md @@ -23,14 +23,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -55,7 +55,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -70,5 +70,5 @@ k6 run artifacts/100-add-remove-tag.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/100-add-remove-tag.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/100-add-remove-tag.js ``` diff --git a/packages/k6-tests/src/koko/100-add-remove-tag.ts b/packages/k6-tests/src/koko/100-add-remove-tag.ts index b957d4a..4544bc0 100644 --- a/packages/k6-tests/src/koko/100-add-remove-tag.ts +++ b/packages/k6-tests/src/koko/100-add-remove-tag.ts @@ -1,91 +1,82 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version, versionSupported } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check, Checkers } from 'k6'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - assets: { - folderCount: number; - textDocumentCount: number; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { check, platformGuard, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { Checkers } from 'k6' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } + /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, assets: { - folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT) || 2, - textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT) || 2 + folderCount: parseInt(__ENV.ASSETS_FOLDER_COUNT, 10) || 2, + textDocumentCount: parseInt(__ENV.ASSETS_TEXT_DOCUMENT_COUNT, 10) || 2 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos, adminCredential }: Data): void { - const defer: (() => void)[] = []; +export default function actor({ adminData, actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) + const defer: (() => void)[] = [] const checks: Checkers = {} - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential) - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential) + const guards = { ...platformGuard(settings.platform) } const tagFolders = times(settings.assets.folderCount, () => { return randomString() }) @@ -93,75 +84,79 @@ export default function ({ userInfos, adminCredential }: Data): void { return [randomString(), '.txt'].join('') }) const getOrCreateTag = (name) => { - if(settings.clientVersion === Version.ocis) { + if (guards.isOwnCloudInfiniteScale) { return name } - const tagListResponse = userClient.tag.list() - const [{ 'oc:id': id } = { 'oc:id': '' }] = queryXml(`$..[?(@['oc:display-name'] === '${name}')]`, tagListResponse?.body) + const getTagsResponse = actorClient.tag.getTags() + const [{ 'oc:id': id } = { 'oc:id': '' }] = queryXml(`$..[?(@['oc:display-name'] === '${name}')]`, getTagsResponse?.body) - if(id) { + if (id) { return id } - const { headers: { 'Content-Location': contentLocation } } = userClient.tag.create(name) || { headers: { 'Content-Location': '' } } + const { headers: { 'Content-Location': contentLocation } } = + actorClient.tag.createTag({ tagName: name }) || { headers: { 'Content-Location': '' } } return contentLocation.split('/').pop() - } + }; [...tagFolders, ...tagTextDocuments].forEach((resourceName) => { const isFile = resourceName.match(/\.[0-9a-z]+$/i) const resourceTag = getOrCreateTag(randomString()) if (isFile) { - userClient.resource.upload(userHome, resourceName, randomString()); + actorClient.resource.uploadResource({ root: actorRoot, resourcePath: resourceName, resourceBytes: randomString() }) } else { - userClient.resource.create(userHome, resourceName); + actorClient.resource.createResource({ root: actorRoot, resourcePath: resourceName }) } defer.push(() => { - adminClient.tag.delete(resourceTag) - userClient.resource.delete(userHome, resourceName) - }); + adminClient.tag.deleteTag({ tag: resourceTag }) + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: resourceName }) + }) - const propfindResponseInitial = userClient.resource.propfind(userHome, resourceName); - const [resourceId] = queryXml("$..['oc:fileid']", propfindResponseInitial.body); - userClient.tag.assign(resourceId, resourceTag) + const propfindResponseInitial = actorClient.resource.getResourceProperties({ root: actorRoot, resourcePath: resourceName }) + const [resourceId] = queryXml("$..['oc:fileid']", propfindResponseInitial.body) + actorClient.tag.addTagToResource({ resourceId, tag: resourceTag }) - const getTags = () => { + const getTag = () => { let tags = [] - if(versionSupported(settings.clientVersion, Version.occ, Version.nc)) { - tags = queryXml(`$..[?(@['oc:id'] === '${resourceTag}')]['oc:id']`, userClient.tag.get(resourceId)?.body); + const response = actorClient.tag.getTagsForResource({ resourceId, root: actorRoot, resourcePath: resourceName }) + + if (guards.isOwnCloudServer || guards.isNextcloud) { + tags = queryXml(`$..[?(@['oc:id'] === '${resourceTag}')]['oc:id']`, response.body) } else { - tags = queryXml("$..['oc:tags']", userClient.resource.propfind(userHome, resourceName).body); + tags = queryXml("$..['oc:tags']", response.body) } - return tags[ 0 ] + return tags[0] } - const resourceTagAfterAssign = getTags() - checks[ 'test -> tag - assign' ] = () => { + const resourceTagAfterAssign = getTag() + checks['test -> tag - assign'] = () => { return resourceTagAfterAssign === resourceTag } - userClient.tag.unassign(resourceId, resourceTag) - const resourceTagAfterUnassign = getTags() - checks[ 'test -> tag - unassign' ] = () => { + actorClient.tag.removeTagFromResource({ resourceId, tag: resourceTag }) + const resourceTagAfterUnassign = getTag() + checks['test -> tag - unassign'] = () => { return resourceTagAfterUnassign === undefined } }) defer.forEach((d) => { - return d() + d() }) - check(undefined, checks) + check({ val: undefined }, checks) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } + diff --git a/packages/k6-tests/src/oc/share-upload-rename.md b/packages/k6-tests/src/oc/share-upload-rename.md index 4d867c0..b6b1957 100644 --- a/packages/k6-tests/src/oc/share-upload-rename.md +++ b/packages/k6-tests/src/oc/share-upload-rename.md @@ -25,14 +25,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -60,7 +60,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -75,5 +75,5 @@ k6 run artifacts/oc-share-upload-rename.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/oc-share-upload-rename.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/oc-share-upload-rename.js ``` diff --git a/packages/k6-tests/src/oc/share-upload-rename.ts b/packages/k6-tests/src/oc/share-upload-rename.ts index 1ccbd83..dd70778 100644 --- a/packages/k6-tests/src/oc/share-upload-rename.ts +++ b/packages/k6-tests/src/oc/share-upload-rename.ts @@ -1,122 +1,120 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints'; -import { queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { randomBytes } from 'k6/crypto'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminInfo: Info; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - testFolder: string; - assets: { - quantity: number; - size: number; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints' +import { queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { randomBytes } from 'k6/crypto' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' + +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; + adminRoot: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, testFolder: __ENV.TEST_FOLDER || 'oc-share-upload-rename', assets: { - size: parseInt(__ENV.ASSET_SIZE) || 1000, - quantity: parseInt(__ENV.ASSET_QUANTITY) || 10 + size: parseInt(__ENV.ASSET_SIZE, 10) || 1000, + quantity: parseInt(__ENV.ASSET_QUANTITY, 10) || 10 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); - const adminDrivesResponse = adminClient.user.drives(); - const [ adminHome = adminCredential.login ] = queryJson("$.value[?(@.driveType === 'personal')].id", adminDrivesResponse?.body); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) + const getMyDrivesResponseAdmin = adminClient.me.getMyDrives() + const [adminRoot = settings.admin.login] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponseAdmin?.body) - adminClient.resource.create(adminHome, settings.testFolder); + adminClient.resource.createResource({ root: adminRoot, resourcePath: settings.testFolder }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + adminClient.user.enableUser({ userLogin: actorLogin }) - const createdShareResponse = adminClient.share.create(settings.testFolder, - userCredential.login, - ShareType.user, - Permission.all); - const [ createdShareId ] = queryXml('ocs.data.id', createdShareResponse.body); + const createShareResponse = adminClient.share.createShare({ + shareResourcePath: settings.testFolder, + shareReceiver: actorLogin, + shareType: ShareType.user, + shareReceiverPermission: Permission.all + }) + const [createdShareId] = queryXml('ocs.data.id', createShareResponse.body) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [ userHome = userCredential.login ] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); - userClient.share.accept(createdShareId); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponseActor = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponseActor?.body) + actorClient.share.acceptShare({ shareId: createdShareId }) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorRoot + } + }) return { - adminInfo: { - credential: adminCredential, - home: adminHome + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password, + adminRoot }, - userInfos - }; + actorData + } } -export default function ({ userInfos }: Data): void { - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) - const folderCreationName = [ exec.scenario.iterationInTest, 'initial', userCredential.login ].join('-'); - userClient.resource.create(userHome, folderCreationName); + const folderCreationName = [exec.scenario.iterationInTest, 'initial', actorLogin].join('-') + actorClient.resource.createResource({ root: actorRoot, resourcePath: folderCreationName }) - const data = randomBytes(settings.assets.size * 1000); + const data = randomBytes(settings.assets.size * 1000) times(settings.assets.quantity, (i) => { - userClient.resource.upload(userHome, [ folderCreationName, i ].join('/'), data); - }); - - const folderMovedName = [ exec.scenario.iterationInTest, 'final', userCredential.login ].join('-'); - userClient.resource.move(userHome, folderCreationName, folderMovedName); + actorClient.resource.uploadResource({ + root: actorRoot, + resourcePath: [folderCreationName, i].join('/'), + resourceBytes: data + }) + }) + + const folderMovedName = [exec.scenario.iterationInTest, 'final', actorLogin].join('-') + actorClient.resource.moveResource({ + root: actorRoot, + fromResourcePath: folderCreationName, + toResourcePath: folderMovedName + }) } -export function teardown({ userInfos, adminInfo }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminInfo.credential); - adminClient.resource.delete(adminInfo.home, settings.testFolder); - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) + + adminClient.resource.deleteResource({ root: adminData.adminRoot, resourcePath: settings.testFolder }) + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/sample/kitchen-sink.md b/packages/k6-tests/src/sample/kitchen-sink.md index 2c9f87b..8a93a15 100644 --- a/packages/k6-tests/src/sample/kitchen-sink.md +++ b/packages/k6-tests/src/sample/kitchen-sink.md @@ -10,14 +10,14 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` -* `CLIENT_VERSION`: specifies which client version should be used - * default value: `ocis` - * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` - * `export CLIENT_VERSION=nc` +* `PLATFORM`: specifies which client platform should be used + * default value: `ownCloudInfiniteScale` + * `export PLATFORM=ownCloudInfiniteScale` + * `export PLATFORM=ownCloudServer` + * `export PLATFORM=nextcloud` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` * `export ADMIN_LOGIN=main` @@ -36,7 +36,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -51,5 +51,5 @@ k6 run artifacts/sample-kitchen-sink.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/sample-kitchen-sink.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/sample-kitchen-sink.js ``` diff --git a/packages/k6-tests/src/sample/kitchen-sink.ts b/packages/k6-tests/src/sample/kitchen-sink.ts index 723e5e9..b25e074 100644 --- a/packages/k6-tests/src/sample/kitchen-sink.ts +++ b/packages/k6-tests/src/sample/kitchen-sink.ts @@ -1,42 +1,34 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { ItemType, Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints'; -import { backOff, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { check, fail } from 'k6'; -import { randomBytes } from 'k6/crypto'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; - -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { ItemType, Permission, ShareType } from '@ownclouders/k6-tdk/lib/endpoints' +import { check, group, platformGuard, queryJson, queryXml, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { sleep } from 'k6' +import { randomBytes } from 'k6/crypto' +import { b64encode } from 'k6/encoding' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - k6: Options; +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; + }; + actorData: { + actorLogin: string; + actorPassword: string; + actorId: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, @@ -44,124 +36,447 @@ const settings: Settings = { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); - const roleListResponse = adminClient.role.list() - const [appRoleId] = queryJson("$.bundles[?(@.name === 'spaceadmin')].id", roleListResponse?.body); - const applicationListResponse = adminClient.application.list() - const [resourceId] = queryJson("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id", applicationListResponse?.body); +const deferable = () => { + const tasks: (() => void)[] = [] - const groupName = randomString() - const groupCreateResponse = adminClient.group.create(groupName) - const [groupId = groupName] = queryJson('$.id', groupCreateResponse?.body); - adminClient.group.delete(groupId) + return { + add: (fn: (() => void)) => { + tasks.push(fn) + }, + exec: () => { + tasks.forEach((d) => { + return d() + }) + } + } +} - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - const userCreateResponse = adminClient.user.create(userCredential); - const [principalId] = queryJson('$.id', userCreateResponse.body); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - adminClient.user.enable(userCredential.login); - adminClient.user.assignRole(principalId, appRoleId, resourceId) + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + const createUserResponse = adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + const [actorId] = queryJson('$.id', createUserResponse.body) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [userHome = userCredential.login] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorId, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos, adminCredential }: Data): void { - const defer: (() => void)[] = []; - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); +export default function actor({ adminData, actorData }: Environment): void { + const guards = { ...platformGuard(settings.platform) } + const { actorLogin, actorPassword, actorId, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) - const userMeResponse = userClient.user.me(); - const [userDisplayName = userCredential.login] = queryJson('displayNamed', userMeResponse?.body); - if (userDisplayName !== userCredential.login) { - fail('userDisplayName does not match'); - } + /** + * ✓ client.me.getMyProfile + * ✓ client.me.getMyDrives + */ + group('client.me.*', () => { + const getMyProfileResponse = actorClient.me.getMyProfile() + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: getMyProfileResponse }, { + 'test -> me.getMyProfile - displayName - match': (response) => { + const [displayName] = queryJson('displayName', response?.body) + return displayName === actorLogin + } + }) - const driveCreateResponse = userClient.drive.create(randomString()) - const [spaceId] = queryJson('$.id', driveCreateResponse?.body); - defer.push(() => { - userClient.drive.delete(spaceId) - }); - - const folderCreationName = randomString(); - const folderMovedName = randomString(); - const assetName = randomString(); - userClient.resource.create(userHome, folderCreationName); - defer.push(() => { - return userClient.resource.delete(userHome, folderMovedName) - }); - userClient.resource.move(userHome, folderCreationName, folderMovedName); - userClient.resource.upload(userHome, [folderMovedName, assetName].join('/'), randomBytes(1000)); - userClient.resource.download(userHome, [folderMovedName, assetName].join('/')); - - const shareeSearchResponse = userClient.search.sharee(adminCredential.login, ItemType.folder) - const [foundSharee] = queryJson('$..shareWith', shareeSearchResponse?.body) - - const createdShareResponse = userClient.share.create(folderMovedName, - foundSharee, - ShareType.user, - Permission.all); - const [createdShareId] = queryXml('ocs.data.id', createdShareResponse.body); - if (!createdShareId) { - fail('createdShareId is empty'); - } + const getMyDrivesResponse = actorClient.me.getMyDrives() + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: getMyDrivesResponse }, { + 'test -> me.getMyDrives - personal - match': (response) => { + const [personalDrive] = queryJson("$.value[?(@.driveType === 'personal')].id", response?.body) + return personalDrive === actorRoot + } + }) + }) + + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) + + /** + * ✓ client.group.createGroup + * ✓ client.group.deleteGroup + */ + const clientGroup = group('client.group.*', (grouping) => { + const groupName = randomString() + const createGroupResponse = adminClient.group.createGroup({ groupName }) + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: createGroupResponse }, { + 'test -> group.createGroup - displayName - match': ({ body }) => { + const [displayName] = queryJson('displayName', body) + return displayName === groupName + } + }) + + const [groupId] = queryJson('id', createGroupResponse.body) + const groupIdOrName = groupId || groupName + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + adminClient.group.deleteGroup({ groupIdOrName }) + }) + }) + + return { + defer + } + }) + + /** + * ✓ client.application.listApplications + */ + const clientApplication = group('client.application.*', () => { + const listApplicationsResponse = adminClient.application.listApplications() + const [applicationId] = queryJson("$.value[?(@.displayName === 'ownCloud Infinite Scale')].id", listApplicationsResponse?.body) + + return { + applicationId + } + }) + + /** + * ✓ client.role.getRoles + * ✓ client.role.addRoleToUser + */ + group('client.role.*', () => { + const getRolesResponse = adminClient.role.getRoles() + const [appRoleId] = queryJson("$.bundles[?(@.name === 'spaceadmin')].id", getRolesResponse?.body) + + const addRoleToUserParameters = { + principalId: actorId, + appRoleId, + resourceId: clientApplication.applicationId + } + const addRoleToUserResponse = adminClient.role.addRoleToUser(addRoleToUserParameters) + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: addRoleToUserResponse }, { + 'test -> role.addRoleToUser - match': (r) => { + const result = Object.keys(addRoleToUserParameters).map((k) => { + const [v] = queryJson(k, r?.body) + return v === addRoleToUserParameters[k] + }) + + return !!result.length && result.every(Boolean) + } + }) + }) + + /** + * ✓ client.drive.createDrive + * ✓ client.drive.deleteDrive + */ + const clientDrive = group('client.drive.*', (grouping) => { + const driveName = randomString() + const createDriveResponse = actorClient.drive.createDrive({ driveName }) + check({ skip: guards.isOwnCloudServer || guards.isNextcloud, val: createDriveResponse }, { + 'test -> resource.createDrive - name - match': (r) => { + const [name] = queryJson('name', r?.body) + return name === driveName + } + }) + const [driveId] = queryJson('id', createDriveResponse?.body) + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + actorClient.drive.deleteDrive({ driveId }) + }) + }) + + return { + defer + } + }) + + /** + * ✓ client.resource.createResource + * ✓ client.resource.deleteResource + * ✓ client.resource.moveResource + * ✓ client.resource.uploadResource + * ✓ client.resource.downloadResource + * ✓ client.resource.getResourceProperties + */ + const clientResource = group('client.resource.*', (grouping) => { + const folderCreationName = randomString() + actorClient.resource.createResource({ root: actorRoot, resourcePath: folderCreationName }) + + const folderMovedName = randomString() + actorClient.resource.moveResource({ + root: actorRoot, + fromResourcePath: folderCreationName, + toResourcePath: folderMovedName + }) + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + actorClient.resource.deleteResource({ root: actorRoot, resourcePath: folderMovedName }) + }) + }) + + const getResourcePropertiesRequest = actorClient.resource.getResourceProperties({ + root: actorRoot, + resourcePath: folderMovedName + }) + check({ val: getResourcePropertiesRequest }, { + 'test -> resource.getResourceProperties - path - match': ({ body }) => { + const [href = ''] = queryXml("$..['d:href']", body) + return href.endsWith(`${folderMovedName}/`) + } + }) - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); - adminClient.share.accept(createdShareId); + const resourcePath = [folderMovedName, `${randomString()}.txt`].join('/') + const resourceBytes = randomBytes(100) + actorClient.resource.uploadResource({ root: actorRoot, resourceBytes, resourcePath }) - backOff(() => { - const searchResponse = userClient.search.resource(userCredential.login, { query: folderMovedName }) - const [searchFileID] = queryXml("$..['oc:fileid']", searchResponse?.body); - const found = !!searchFileID + const downloadResourceRequest = actorClient.resource.downloadResource({ root: actorRoot, resourcePath }) + check({ val: downloadResourceRequest }, { + 'test -> resource.uploadResource and resource.downloadResource - bytes - match': ({ body }) => { + return b64encode(body.toString()) === b64encode(resourceBytes) + } + }) - if(!found) { - return Promise.reject() + const [folderId] = queryXml("$..['oc:fileid']", getResourcePropertiesRequest.body) + return { + defer, + folderId, + folderName: folderMovedName } + }) + + /** + * ✓ client.tag.createTag + * ✓ client.tag.deleteTag + * ✓ client.tag.getTags + * ✓ client.tag.addTagToResource + * ✓ client.tag.removeTagFromResource + * ✓ client.tag.getTagsForResource + */ + const clientTag = group('client.tag.*', (grouping) => { + const tagName = randomString() + + const getTagsResponse = actorClient.tag.getTags() + const [{ 'oc:id': existingTagId } = { 'oc:id': '' }] = queryXml(`$..[?(@['oc:display-name'] === '${tagName}')]`, getTagsResponse?.body) + check({ skip: !existingTagId, val: undefined }, { + 'test -> tag.getTagsResponse - exists': () => { + return !!existingTagId + } + }) - const propfindResponse = userClient.resource.propfind(userHome, folderMovedName); - const [expectedId] = queryXml("$..['oc:fileid']", propfindResponse?.body); - check(undefined, { - 'test -> searchId and propfindId match': () => { - return searchFileID === expectedId + let createdTagId = '' + if (!existingTagId) { + const createTagResponse = actorClient.tag.createTag({ tagName }) + const contentLocationHeader = createTagResponse?.headers['Content-Location'] || '' + createdTagId = contentLocationHeader.split('/').pop() || '' + } + + check({ skip: !createdTagId, val: undefined }, { + 'test -> tag.createTag - created': () => { + return !!createdTagId } }) - return Promise.resolve() - }, { delay: 500, delayMultiplier: 1 }).then(() => { + // fallBack to tagName for oCis + const tagNameOrId = existingTagId || createdTagId || tagName - userClient.share.delete(createdShareId); + actorClient.tag.addTagToResource({ tag: tagNameOrId, resourceId: clientResource.folderId }) + const getTagsForResourceResponseAfterAdd = actorClient.tag.getTagsForResource( + { root: actorRoot, resourceId: clientResource.folderId, resourcePath: clientResource.folderName }) - return defer.forEach((d) => { - return d() + const extractTag = (body: string) => { + const [foundTagOcis] = queryXml("$..['oc:tags']", body) + const [foundTagOccOrNc] = queryXml(`$..[?(@['oc:id'] === '${tagNameOrId}')]['oc:display-name']`, body) + return foundTagOcis || foundTagOccOrNc + } + + check({ val: extractTag(getTagsForResourceResponseAfterAdd.body) }, { + 'test -> tag.getTagsForResource - match': (foundTag) => { + return foundTag === tagName + } }) + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + actorClient.tag.removeTagFromResource({ resourceId: clientResource.folderId, tag: tagNameOrId }) + const getTagsForResourceResponseAfterRemove = actorClient.tag.getTagsForResource( + { root: actorRoot, resourceId: clientResource.folderId, resourcePath: clientResource.folderName }) + + + check({ val: extractTag(getTagsForResourceResponseAfterRemove.body) }, { + 'test -> tag.removeTagFromResource - removed': (foundTag) => { + return !foundTag + } + }) + + adminClient.tag.deleteTag({ tag: tagNameOrId }) + }) + }) + + return { + defer, + tagNameOrId + } + }) + + /** + * ✓ client.user.createUser + * ✓ client.user.enableUser + * ✓ client.user.deleteUser + */ + const clientUser = group('client.user.*', (grouping) => { + const [userLogin, userPassword] = [randomString(), randomString()] + adminClient.user.createUser({ userLogin, userPassword }) + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + adminClient.user.deleteUser({ userLogin }) + }) + }) + + adminClient.user.enableUser({ userLogin }) + + const userClient = new Client({ ...settings, userLogin, userPassword }) + + return { + userLogin, + userClient, + defer + } + }) + + /** + * ✓ client.search.searchForSharees + * ✓ client.search.searchForResources + * ✓ client.search.searchForResourcesByTag + */ + const clientSearch = group('client.search.*', () => { + const searchForShareesResponse = actorClient.search.searchForSharees({ + searchQuery: clientUser.userLogin, + searchItemType: ItemType.folder + }) + const [sharee] = queryXml('$..shareWith', searchForShareesResponse.body) + check({ val: undefined }, { + 'test -> search.searchForSharees - name - match': () => { + return sharee === clientUser.userLogin + } + }) + + const searchForResourcesPoll = (client: Client, query: string): ReturnType => { + const searchForResourcesResponse = client.search.searchForResources({ root: actorRoot, searchQuery: query }) + const [searchFileID] = queryXml("$..['oc:fileid']", searchForResourcesResponse?.body) + const found = !!searchFileID + + if (!found) { + sleep(1) + return searchForResourcesPoll(client, query) + } + + return searchForResourcesResponse + } + + const searchForResourcesResponse = searchForResourcesPoll(actorClient, clientResource.folderName) + check({ val: searchForResourcesResponse }, { + 'test -> search.searchForResources - id - match': ({ body }) => { + const [fileId] = queryXml("$..['oc:fileid']", body) + return fileId === clientResource.folderId + } + }) + + const searchForResourcesByTag = actorClient.search.searchForResourcesByTag({ + tag: clientTag.tagNameOrId, + root: actorRoot + }) + check({ val: searchForResourcesByTag }, { + 'test -> search.searchForResourcesByTag - id - match': ({ body }) => { + const [fileId] = queryXml("$..['oc:fileid']", body) + return fileId === clientResource.folderId + } + }) + + return { + sharee + } + }) + + /** + * ✓ client.share.create + * ✓ client.share.accept + * ✓ client.share.delete + */ + const clientShare = group('client.share.*', (grouping) => { + const createShareResponse = actorClient.share.createShare( + { + shareReceiver: clientSearch.sharee, + shareResourcePath: clientResource.folderName, + shareReceiverPermission: Permission.all, + shareType: ShareType.user + }) + + const [shareId] = queryXml('ocs.data.id', createShareResponse.body) + const acceptShareResponse = clientUser.userClient.share.acceptShare({ shareId }) + check({ skip: guards.isNextcloud, val: acceptShareResponse }, { + 'test -> share.acceptShare - displayname_file_owner - match': ({ body }) => { + const [displaynameFileOwner] = queryXml('ocs.data.element.displayname_file_owner', body) + return displaynameFileOwner === actorLogin + }, + 'test -> share.acceptShare - path - match': ({ body }) => { + const [path = ''] = queryXml('ocs.data.element.path', body) + return path.endsWith(clientResource.folderName) + } + }) + + const defer = deferable() + defer.add(() => { + group(grouping, () => { + actorClient.share.deleteShare({ shareId }) + }) + }) + + return { + defer + } + }) + + ;[ + clientShare, + clientUser, + clientTag, + clientResource, + clientDrive, + clientGroup + ].forEach(({ defer }) => { + defer.exec() }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/k6-tests/src/surf/upload.md b/packages/k6-tests/src/surf/upload.md index 499ea63..bffda94 100644 --- a/packages/k6-tests/src/surf/upload.md +++ b/packages/k6-tests/src/surf/upload.md @@ -20,13 +20,13 @@ the testing steps as a whole will run 10 times (5 times per user). * default value: `https://localhost:9200` * `export BASE_URL=https://cloud-domain.org:80` * `AUTH_ADAPTER`: the authentication method to use - * default value: `openIDConnect` - * `export AUTH_ADAPTER=openIDConnect` + * default value: `kopano` + * `export AUTH_ADAPTER=kopano` * `export AUTH_ADAPTER=basicAuth` * `CLIENT_VERSION`: specifies which client version should be used * default value: `ocis` * `export CLIENT_VERSION=ocis` - * `export CLIENT_VERSION=occ` + * `export PLATFORM=ownCloudServer` * `export CLIENT_VERSION=nc` * `ADMIN_LOGIN`: the login name of an administrative user * default value: `admin` @@ -52,7 +52,7 @@ the testing steps as a whole will run 10 times (5 times per user). ```shell # run the test on a host with an ownCloud classic server BASE_URL=https://cloud-domain.org:80 \ -CLIENT_VERSION=occ \ +PLATFORM=ownCloudServer \ AUTH_ADAPTER=basicAuth \ ADMIN_LOGIN=main \ ADMIN_PASSWORD=secret \ @@ -67,5 +67,5 @@ k6 run artifacts/surf-upload.js --vus 2 --iterations 5 The same can be reached with docker: ```shell -docker run -e BASE_URL=https://cloud-domain.org:80 -e CLIENT_VERSION=occ -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/surf-upload.js +docker run -e BASE_URL=https://cloud-domain.org:80 -e PLATFORM=ownCloudServer -e AUTH_ADAPTER=basicAuth -e ADMIN_LOGIN=main -e ADMIN_PASSWORD=secret --rm -i grafana/k6 run --vus 2 - < artifacts/surf-upload.js ``` diff --git a/packages/k6-tests/src/surf/upload.ts b/packages/k6-tests/src/surf/upload.ts index f0e5a7a..2bad4c3 100644 --- a/packages/k6-tests/src/surf/upload.ts +++ b/packages/k6-tests/src/surf/upload.ts @@ -1,98 +1,94 @@ -import { Adapter } from '@ownclouders/k6-tdk/lib/auth'; -import { Client, Version } from '@ownclouders/k6-tdk/lib/client'; -import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils'; -import { randomBytes } from 'k6/crypto'; -import exec from 'k6/execution'; -import { Options } from 'k6/options'; -import { times } from 'lodash'; +import { Platform } from '@ownclouders/k6-tdk' +import { Adapter } from '@ownclouders/k6-tdk/lib/auth' +import { Client } from '@ownclouders/k6-tdk/lib/client' +import { queryJson, randomString } from '@ownclouders/k6-tdk/lib/utils' +import { randomBytes } from 'k6/crypto' +import exec from 'k6/execution' +import { Options } from 'k6/options' +import { times } from 'lodash' -interface Credential { - login: string; - password: string; -} - -interface Info { - credential: Credential; - home: string; -} - -interface Data { - adminCredential: Credential; - userInfos: Info[]; -} - -interface Settings { - authAdapter: Adapter; - baseURL: string; - clientVersion: Version; - adminUser: Credential; - assets: { - quantity: number; - size: number; +interface Environment { + adminData: { + adminLogin: string; + adminPassword: string; }; - k6: Options; + actorData: { + actorLogin: string; + actorPassword: string; + actorRoot: string; + }[]; } /**/ -const settings: Settings = { - baseURL: __ENV.BASE_URL || 'https://localhost:9200', - authAdapter: __ENV.AUTH_ADAPTER == Adapter.basicAuth ? Adapter.basicAuth : Adapter.openIDConnect, - clientVersion: Version[ __ENV.CLIENT_VERSION ] || Version.ocis, - adminUser: { +const settings = { + baseUrl: __ENV.BASE_URL || 'https://localhost:9200', + authAdapter: __ENV.AUTH_ADAPTER === Adapter.basicAuth ? Adapter.basicAuth : Adapter.kopano, + platform: Platform[__ENV.PLATFORM] || Platform.ownCloudInfiniteScale, + admin: { login: __ENV.ADMIN_LOGIN || 'admin', password: __ENV.ADMIN_PASSWORD || 'admin' }, assets: { - size: parseInt(__ENV.ASSET_SIZE) || 1000, - quantity: parseInt(__ENV.ASSET_QUANTITY) || 10 + size: parseInt(__ENV.ASSET_SIZE, 10) || 1000, + quantity: parseInt(__ENV.ASSET_QUANTITY, 10) || 10 }, k6: { vus: 1, insecureSkipTLSVerify: true } -}; +} /**/ -export const options: Options = settings.k6; +export const options: Options = settings.k6 -export function setup(): Data { - const adminCredential = settings.adminUser; - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function setup(): Environment { + const adminClient = new Client({ ...settings, userLogin: settings.admin.login, userPassword: settings.admin.password }) - const userInfos = times(options.vus || 1, () => { - const userCredential = { login: randomString(), password: randomString() }; - adminClient.user.create(userCredential); - adminClient.user.enable(userCredential.login); + const actorData = times(options.vus || 1, () => { + const [actorLogin, actorPassword] = [randomString(), randomString()] + const createUserResponse = adminClient.user.createUser({ userLogin: actorLogin, userPassword: actorPassword }) + const [actorId] = queryJson('$.id', createUserResponse.body) + adminClient.user.enableUser({ userLogin: actorLogin }) - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const userDrivesResponse = userClient.user.drives(); - const [ userHome = userCredential.login ] = queryJson("$.value[?(@.driveType === 'personal')].id", userDrivesResponse?.body); + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const getMyDrivesResponse = actorClient.me.getMyDrives() + const [actorRoot = actorLogin] = queryJson("$.value[?(@.driveType === 'personal')].id", getMyDrivesResponse?.body) return { - credential: userCredential, - home: userHome - }; - }); + actorLogin, + actorPassword, + actorId, + actorRoot + } + }) return { - adminCredential, - userInfos - }; + adminData: { + adminLogin: settings.admin.login, + adminPassword: settings.admin.password + }, + actorData + } } -export default function ({ userInfos }: Data): void { - const { home: userHome, credential: userCredential } = userInfos[ exec.vu.idInTest - 1 ]; - const userClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, userCredential); - const data = randomBytes(settings.assets.size * 1000); +export default function actor({ actorData }: Environment): void { + const { actorLogin, actorPassword, actorRoot } = actorData[exec.vu.idInTest - 1] + const actorClient = new Client({ ...settings, userLogin: actorLogin, userPassword: actorPassword }) + const data = randomBytes(settings.assets.size * 1000) + times(settings.assets.quantity, (i) => { - userClient.resource.upload(userHome, [ exec.scenario.iterationInTest, userCredential.login, i ].join('-'), data); - }); + actorClient.resource.uploadResource({ + root: actorRoot, + resourcePath: [exec.scenario.iterationInTest, actorLogin, i].join('-'), + resourceBytes: data + }) + }) } -export function teardown({ userInfos, adminCredential }: Data): void { - const adminClient = new Client(settings.baseURL, settings.clientVersion, settings.authAdapter, adminCredential); +export function teardown({ adminData, actorData }: Environment): void { + const adminClient = new Client({ ...settings, userLogin: adminData.adminLogin, userPassword: adminData.adminPassword }) - userInfos.forEach(({ credential }) => { - return adminClient.user.delete(credential.login) - }); + actorData.forEach(({ actorLogin }) => { + adminClient.user.deleteUser({ userLogin: actorLogin }) + }) } diff --git a/packages/turbowatch/package.json b/packages/turbowatch/package.json index 8a2e9bf..93329f0 100644 --- a/packages/turbowatch/package.json +++ b/packages/turbowatch/package.json @@ -25,7 +25,7 @@ "lint:fix": "pnpm run lint --fix" }, "dependencies": { - "turbowatch": "^2.20.0" + "turbowatch": "^2.21.0" }, "devDependencies": { "@ownclouders/esbuild": "workspace:*", @@ -34,6 +34,6 @@ "@types/node": "^18.15.11", "concurrently": "^8.0.1", "del-cli": "^5.0.0", - "typescript": "^5.0.3" + "typescript": "^5.0.4" } } diff --git a/packages/turbowatch/src/index.ts b/packages/turbowatch/src/index.ts index 902619a..90f70d5 100644 --- a/packages/turbowatch/src/index.ts +++ b/packages/turbowatch/src/index.ts @@ -1,11 +1,11 @@ -import { ChangeEvent, watch as _watch } from 'turbowatch'; +import { ChangeEvent, watch as _watch } from 'turbowatch' export interface ConfigurationInput { project: string; onChange: (event: ChangeEvent) => Promise; } -export const watch = ({ project, onChange }: ConfigurationInput) =>{ +export const watch = ({ project, onChange }: ConfigurationInput) => { return _watch({ project, debounce: { @@ -34,5 +34,4 @@ export const watch = ({ project, onChange }: ConfigurationInput) =>{ } ] }) -}; - +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebf0195..2c90457 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,16 +9,16 @@ importers: '@roarr/cli': ^5.11.0 del-cli: ^5.0.0 syncpack: ^9.8.4 - turbo: ^1.8.8 - typescript: ^5.0.3 + turbo: ^1.9.1 + typescript: ^5.0.4 devDependencies: '@changesets/cli': 2.26.1 '@ownclouders/eslint-config': link:packages/eslint-config '@roarr/cli': 5.11.0 del-cli: 5.0.0 syncpack: 9.8.4 - turbo: 1.8.8 - typescript: 5.0.3 + turbo: 1.9.1 + typescript: 5.0.4 packages/esbuild: specifiers: @@ -27,52 +27,52 @@ importers: '@types/node': ^18.15.11 concurrently: ^8.0.1 del-cli: ^5.0.0 - esbuild: ^0.17.14 - typescript: ^5.0.3 + esbuild: ^0.17.16 + typescript: ^5.0.4 dependencies: - esbuild: 0.17.14 + esbuild: 0.17.16 devDependencies: '@ownclouders/eslint-config': link:../eslint-config '@ownclouders/tsconfig': link:../tsconfig '@types/node': 18.15.11 concurrently: 8.0.1 del-cli: 5.0.0 - typescript: 5.0.3 + typescript: 5.0.4 packages/eslint-config: specifiers: - '@typescript-eslint/eslint-plugin': ^5.57.0 - '@typescript-eslint/parser': ^5.57.0 + '@typescript-eslint/eslint-plugin': ^5.58.0 + '@typescript-eslint/parser': ^5.58.0 del-cli: ^5.0.0 - eslint: ^8.37.0 + eslint: ^8.38.0 + eslint-config-airbnb-base: ^15.0.0 + eslint-config-airbnb-typescript: ^17.0.0 eslint-config-prettier: ^8.8.0 - eslint-config-turbo: ^1.8.8 - eslint-import-resolver-typescript: ^3.5.4 - eslint-plugin-disable: ^2.0.3 + eslint-config-turbo: ^1.9.1 + eslint-import-resolver-typescript: ^3.5.5 eslint-plugin-import: ^2.27.5 eslint-plugin-json-files: ^2.1.0 eslint-plugin-no-relative-import-paths: ^1.5.2 eslint-plugin-relative-imports-when-same-folder: ^0.0.4 eslint-plugin-simple-import-sort: ^10.0.0 - eslint-plugin-unicorn: ^46.0.0 - typescript: ^5.0.3 - dependencies: - '@typescript-eslint/eslint-plugin': 5.57.0_z24sz2fazj3bxoipp6m4s7b2mi - '@typescript-eslint/parser': 5.57.0_vwh6htx42aidho2qgfca5u5rwm - eslint-config-prettier: 8.8.0_eslint@8.37.0 - eslint-config-turbo: 1.8.8_eslint@8.37.0 - eslint-import-resolver-typescript: 3.5.4_rbts4wm34tb3x7owcp777e4f4y - eslint-plugin-disable: 2.0.3_eslint@8.37.0 - eslint-plugin-import: 2.27.5_f66okp2kqrdiymeqhgaog6g5pu - eslint-plugin-json-files: 2.1.0_eslint@8.37.0 + typescript: ^5.0.4 + dependencies: + '@typescript-eslint/eslint-plugin': 5.58.0_gjoxkwycl3ml7yxlw3iuo7gyna + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy + eslint-config-airbnb-base: 15.0.0_cshkc2qhcu55b7r3t6b6lfgcxm + eslint-config-airbnb-typescript: 17.0.0_awz7iagzjrkgdisnaft5immp6i + eslint-config-prettier: 8.8.0_eslint@8.38.0 + eslint-config-turbo: 1.9.1_eslint@8.38.0 + eslint-import-resolver-typescript: 3.5.5_ys4nnbp6asstxmlir7a7s7gqmm + eslint-plugin-import: 2.27.5_rptv2rvhnimonuwgnwl36lcway + eslint-plugin-json-files: 2.1.0_eslint@8.38.0 eslint-plugin-no-relative-import-paths: 1.5.2 eslint-plugin-relative-imports-when-same-folder: 0.0.4 - eslint-plugin-simple-import-sort: 10.0.0_eslint@8.37.0 - eslint-plugin-unicorn: 46.0.0_eslint@8.37.0 + eslint-plugin-simple-import-sort: 10.0.0_eslint@8.38.0 devDependencies: del-cli: 5.0.0 - eslint: 8.37.0 - typescript: 5.0.3 + eslint: 8.38.0 + typescript: 5.0.4 packages/k6-tdk: specifiers: @@ -81,17 +81,19 @@ importers: '@ownclouders/tsconfig': workspace:* '@ownclouders/turbowatch': workspace:* '@types/jsonpath': ^0.2.0 - '@types/k6': ^0.43.2 + '@types/k6': ^0.43.3 '@types/lodash-es': ^4.17.7 '@types/node': ^18.15.11 concurrently: ^8.0.1 del-cli: ^5.0.0 - esbuild: ^0.17.14 - eslint: ^8.37.0 + esbuild: ^0.17.16 + eslint: ^8.38.0 jsonpath: ^1.1.1 lodash-es: ^4.17.21 - turbowatch: ^2.20.0 - typescript: ^5.0.3 + turbowatch: ^2.21.0 + typescript: ^5.0.4 + vite-tsconfig-paths: ^4.2.0 + vitest: ^0.30.1 xmlbuilder2: ^3.0.2 dependencies: jsonpath: 1.1.1 @@ -103,15 +105,17 @@ importers: '@ownclouders/tsconfig': link:../tsconfig '@ownclouders/turbowatch': link:../turbowatch '@types/jsonpath': 0.2.0 - '@types/k6': 0.43.2 + '@types/k6': 0.43.3 '@types/lodash-es': 4.17.7 '@types/node': 18.15.11 concurrently: 8.0.1 del-cli: 5.0.0 - esbuild: 0.17.14 - eslint: 8.37.0 - turbowatch: 2.20.0 - typescript: 5.0.3 + esbuild: 0.17.16 + eslint: 8.38.0 + turbowatch: 2.21.0 + typescript: 5.0.4 + vite-tsconfig-paths: 4.2.0_typescript@5.0.4 + vitest: 0.30.1 packages/k6-tests: specifiers: @@ -120,16 +124,16 @@ importers: '@ownclouders/k6-tdk': workspace:* '@ownclouders/tsconfig': workspace:* '@ownclouders/turbowatch': workspace:* - '@types/k6': ^0.43.2 - '@types/lodash': ^4.14.192 + '@types/k6': ^0.43.3 + '@types/lodash': ^4.14.194 '@types/node': ^18.15.11 concurrently: ^8.0.1 del-cli: ^5.0.0 - esbuild: ^0.17.14 + esbuild: ^0.17.16 fast-glob: ^3.2.12 lodash: ^4.17.21 - turbowatch: ^2.20.0 - typescript: ^5.0.3 + turbowatch: ^2.21.0 + typescript: ^5.0.4 dependencies: '@ownclouders/k6-tdk': link:../k6-tdk lodash: 4.17.21 @@ -138,15 +142,15 @@ importers: '@ownclouders/eslint-config': link:../eslint-config '@ownclouders/tsconfig': link:../tsconfig '@ownclouders/turbowatch': link:../turbowatch - '@types/k6': 0.43.2 - '@types/lodash': 4.14.192 + '@types/k6': 0.43.3 + '@types/lodash': 4.14.194 '@types/node': 18.15.11 concurrently: 8.0.1 del-cli: 5.0.0 - esbuild: 0.17.14 + esbuild: 0.17.16 fast-glob: 3.2.12 - turbowatch: 2.20.0 - typescript: 5.0.3 + turbowatch: 2.21.0 + typescript: 5.0.4 packages/tsconfig: specifiers: @@ -164,10 +168,10 @@ importers: '@types/node': ^18.15.11 concurrently: ^8.0.1 del-cli: ^5.0.0 - turbowatch: ^2.20.0 - typescript: ^5.0.3 + turbowatch: ^2.21.0 + typescript: ^5.0.4 dependencies: - turbowatch: 2.20.0 + turbowatch: 2.21.0 devDependencies: '@ownclouders/esbuild': link:../esbuild '@ownclouders/eslint-config': link:../eslint-config @@ -175,7 +179,7 @@ importers: '@types/node': 18.15.11 concurrently: 8.0.1 del-cli: 5.0.0 - typescript: 5.0.3 + typescript: 5.0.4 packages: @@ -388,189 +392,189 @@ packages: prettier: 2.8.7 dev: true - /@esbuild/android-arm/0.17.14: - resolution: {integrity: sha512-0CnlwnjDU8cks0yJLXfkaU/uoLyRf9VZJs4p1PskBr2AlAHeEsFEwJEo0of/Z3g+ilw5mpyDwThlxzNEIxOE4g==} + /@esbuild/android-arm/0.17.16: + resolution: {integrity: sha512-baLqRpLe4JnKrUXLJChoTN0iXZH7El/mu58GE3WIA6/H834k0XWvLRmGLG8y8arTRS9hJJibPnF0tiGhmWeZgw==} engines: {node: '>=12'} cpu: [arm] os: [android] requiresBuild: true optional: true - /@esbuild/android-arm64/0.17.14: - resolution: {integrity: sha512-eLOpPO1RvtsP71afiFTvS7tVFShJBCT0txiv/xjFBo5a7R7Gjw7X0IgIaFoLKhqXYAXhahoXm7qAmRXhY4guJg==} + /@esbuild/android-arm64/0.17.16: + resolution: {integrity: sha512-QX48qmsEZW+gcHgTmAj+x21mwTz8MlYQBnzF6861cNdQGvj2jzzFjqH0EBabrIa/WVZ2CHolwMoqxVryqKt8+Q==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@esbuild/android-x64/0.17.14: - resolution: {integrity: sha512-nrfQYWBfLGfSGLvRVlt6xi63B5IbfHm3tZCdu/82zuFPQ7zez4XjmRtF/wIRYbJQ/DsZrxJdEvYFE67avYXyng==} + /@esbuild/android-x64/0.17.16: + resolution: {integrity: sha512-G4wfHhrrz99XJgHnzFvB4UwwPxAWZaZBOFXh+JH1Duf1I4vIVfuYY9uVLpx4eiV2D/Jix8LJY+TAdZ3i40tDow==} engines: {node: '>=12'} cpu: [x64] os: [android] requiresBuild: true optional: true - /@esbuild/darwin-arm64/0.17.14: - resolution: {integrity: sha512-eoSjEuDsU1ROwgBH/c+fZzuSyJUVXQTOIN9xuLs9dE/9HbV/A5IqdXHU1p2OfIMwBwOYJ9SFVGGldxeRCUJFyw==} + /@esbuild/darwin-arm64/0.17.16: + resolution: {integrity: sha512-/Ofw8UXZxuzTLsNFmz1+lmarQI6ztMZ9XktvXedTbt3SNWDn0+ODTwxExLYQ/Hod91EZB4vZPQJLoqLF0jvEzA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@esbuild/darwin-x64/0.17.14: - resolution: {integrity: sha512-zN0U8RWfrDttdFNkHqFYZtOH8hdi22z0pFm0aIJPsNC4QQZv7je8DWCX5iA4Zx6tRhS0CCc0XC2m7wKsbWEo5g==} + /@esbuild/darwin-x64/0.17.16: + resolution: {integrity: sha512-SzBQtCV3Pdc9kyizh36Ol+dNVhkDyIrGb/JXZqFq8WL37LIyrXU0gUpADcNV311sCOhvY+f2ivMhb5Tuv8nMOQ==} engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@esbuild/freebsd-arm64/0.17.14: - resolution: {integrity: sha512-z0VcD4ibeZWVQCW1O7szaLxGsx54gcCnajEJMdYoYjLiq4g1jrP2lMq6pk71dbS5+7op/L2Aod+erw+EUr28/A==} + /@esbuild/freebsd-arm64/0.17.16: + resolution: {integrity: sha512-ZqftdfS1UlLiH1DnS2u3It7l4Bc3AskKeu+paJSfk7RNOMrOxmeFDhLTMQqMxycP1C3oj8vgkAT6xfAuq7ZPRA==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true optional: true - /@esbuild/freebsd-x64/0.17.14: - resolution: {integrity: sha512-hd9mPcxfTgJlolrPlcXkQk9BMwNBvNBsVaUe5eNUqXut6weDQH8whcNaKNF2RO8NbpT6GY8rHOK2A9y++s+ehw==} + /@esbuild/freebsd-x64/0.17.16: + resolution: {integrity: sha512-rHV6zNWW1tjgsu0dKQTX9L0ByiJHHLvQKrWtnz8r0YYJI27FU3Xu48gpK2IBj1uCSYhJ+pEk6Y0Um7U3rIvV8g==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true optional: true - /@esbuild/linux-arm/0.17.14: - resolution: {integrity: sha512-BNTl+wSJ1omsH8s3TkQmIIIQHwvwJrU9u1ggb9XU2KTVM4TmthRIVyxSp2qxROJHhZuW/r8fht46/QE8hU8Qvg==} + /@esbuild/linux-arm/0.17.16: + resolution: {integrity: sha512-n4O8oVxbn7nl4+m+ISb0a68/lcJClIbaGAoXwqeubj/D1/oMMuaAXmJVfFlRjJLu/ZvHkxoiFJnmbfp4n8cdSw==} engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-arm64/0.17.14: - resolution: {integrity: sha512-FhAMNYOq3Iblcj9i+K0l1Fp/MHt+zBeRu/Qkf0LtrcFu3T45jcwB6A1iMsemQ42vR3GBhjNZJZTaCe3VFPbn9g==} + /@esbuild/linux-arm64/0.17.16: + resolution: {integrity: sha512-8yoZhGkU6aHu38WpaM4HrRLTFc7/VVD9Q2SvPcmIQIipQt2I/GMTZNdEHXoypbbGao5kggLcxg0iBKjo0SQYKA==} engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-ia32/0.17.14: - resolution: {integrity: sha512-91OK/lQ5y2v7AsmnFT+0EyxdPTNhov3y2CWMdizyMfxSxRqHazXdzgBKtlmkU2KYIc+9ZK3Vwp2KyXogEATYxQ==} + /@esbuild/linux-ia32/0.17.16: + resolution: {integrity: sha512-9ZBjlkdaVYxPNO8a7OmzDbOH9FMQ1a58j7Xb21UfRU29KcEEU3VTHk+Cvrft/BNv0gpWJMiiZ/f4w0TqSP0gLA==} engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-loong64/0.17.14: - resolution: {integrity: sha512-vp15H+5NR6hubNgMluqqKza85HcGJgq7t6rMH7O3Y6ApiOWPkvW2AJfNojUQimfTp6OUrACUXfR4hmpcENXoMQ==} + /@esbuild/linux-loong64/0.17.16: + resolution: {integrity: sha512-TIZTRojVBBzdgChY3UOG7BlPhqJz08AL7jdgeeu+kiObWMFzGnQD7BgBBkWRwOtKR1i2TNlO7YK6m4zxVjjPRQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-mips64el/0.17.14: - resolution: {integrity: sha512-90TOdFV7N+fgi6c2+GO9ochEkmm9kBAKnuD5e08GQMgMINOdOFHuYLPQ91RYVrnWwQ5683sJKuLi9l4SsbJ7Hg==} + /@esbuild/linux-mips64el/0.17.16: + resolution: {integrity: sha512-UPeRuFKCCJYpBbIdczKyHLAIU31GEm0dZl1eMrdYeXDH+SJZh/i+2cAmD3A1Wip9pIc5Sc6Kc5cFUrPXtR0XHA==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-ppc64/0.17.14: - resolution: {integrity: sha512-NnBGeoqKkTugpBOBZZoktQQ1Yqb7aHKmHxsw43NddPB2YWLAlpb7THZIzsRsTr0Xw3nqiPxbA1H31ZMOG+VVPQ==} + /@esbuild/linux-ppc64/0.17.16: + resolution: {integrity: sha512-io6yShgIEgVUhExJejJ21xvO5QtrbiSeI7vYUnr7l+v/O9t6IowyhdiYnyivX2X5ysOVHAuyHW+Wyi7DNhdw6Q==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-riscv64/0.17.14: - resolution: {integrity: sha512-0qdlKScLXA8MGVy21JUKvMzCYWovctuP8KKqhtE5A6IVPq4onxXhSuhwDd2g5sRCzNDlDjitc5sX31BzDoL5Fw==} + /@esbuild/linux-riscv64/0.17.16: + resolution: {integrity: sha512-WhlGeAHNbSdG/I2gqX2RK2gfgSNwyJuCiFHMc8s3GNEMMHUI109+VMBfhVqRb0ZGzEeRiibi8dItR3ws3Lk+cA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-s390x/0.17.14: - resolution: {integrity: sha512-Hdm2Jo1yaaOro4v3+6/zJk6ygCqIZuSDJHdHaf8nVH/tfOuoEX5Riv03Ka15LmQBYJObUTNS1UdyoMk0WUn9Ww==} + /@esbuild/linux-s390x/0.17.16: + resolution: {integrity: sha512-gHRReYsJtViir63bXKoFaQ4pgTyah4ruiMRQ6im9YZuv+gp3UFJkNTY4sFA73YDynmXZA6hi45en4BGhNOJUsw==} engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true optional: true - /@esbuild/linux-x64/0.17.14: - resolution: {integrity: sha512-8KHF17OstlK4DuzeF/KmSgzrTWQrkWj5boluiiq7kvJCiQVzUrmSkaBvcLB2UgHpKENO2i6BthPkmUhNDaJsVw==} + /@esbuild/linux-x64/0.17.16: + resolution: {integrity: sha512-mfiiBkxEbUHvi+v0P+TS7UnA9TeGXR48aK4XHkTj0ZwOijxexgMF01UDFaBX7Q6CQsB0d+MFNv9IiXbIHTNd4g==} engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@esbuild/netbsd-x64/0.17.14: - resolution: {integrity: sha512-nVwpqvb3yyXztxIT2+VsxJhB5GCgzPdk1n0HHSnchRAcxqKO6ghXwHhJnr0j/B+5FSyEqSxF4q03rbA2fKXtUQ==} + /@esbuild/netbsd-x64/0.17.16: + resolution: {integrity: sha512-n8zK1YRDGLRZfVcswcDMDM0j2xKYLNXqei217a4GyBxHIuPMGrrVuJ+Ijfpr0Kufcm7C1k/qaIrGy6eG7wvgmA==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true optional: true - /@esbuild/openbsd-x64/0.17.14: - resolution: {integrity: sha512-1RZ7uQQ9zcy/GSAJL1xPdN7NDdOOtNEGiJalg/MOzeakZeTrgH/DoCkbq7TaPDiPhWqnDF+4bnydxRqQD7il6g==} + /@esbuild/openbsd-x64/0.17.16: + resolution: {integrity: sha512-lEEfkfsUbo0xC47eSTBqsItXDSzwzwhKUSsVaVjVji07t8+6KA5INp2rN890dHZeueXJAI8q0tEIfbwVRYf6Ew==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true optional: true - /@esbuild/sunos-x64/0.17.14: - resolution: {integrity: sha512-nqMjDsFwv7vp7msrwWRysnM38Sd44PKmW8EzV01YzDBTcTWUpczQg6mGao9VLicXSgW/iookNK6AxeogNVNDZA==} + /@esbuild/sunos-x64/0.17.16: + resolution: {integrity: sha512-jlRjsuvG1fgGwnE8Afs7xYDnGz0dBgTNZfgCK6TlvPH3Z13/P5pi6I57vyLE8qZYLrGVtwcm9UbUx1/mZ8Ukag==} engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true optional: true - /@esbuild/win32-arm64/0.17.14: - resolution: {integrity: sha512-xrD0mccTKRBBIotrITV7WVQAwNJ5+1va6L0H9zN92v2yEdjfAN7864cUaZwJS7JPEs53bDTzKFbfqVlG2HhyKQ==} + /@esbuild/win32-arm64/0.17.16: + resolution: {integrity: sha512-TzoU2qwVe2boOHl/3KNBUv2PNUc38U0TNnzqOAcgPiD/EZxT2s736xfC2dYQbszAwo4MKzzwBV0iHjhfjxMimg==} engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@esbuild/win32-ia32/0.17.14: - resolution: {integrity: sha512-nXpkz9bbJrLLyUTYtRotSS3t5b+FOuljg8LgLdINWFs3FfqZMtbnBCZFUmBzQPyxqU87F8Av+3Nco/M3hEcu1w==} + /@esbuild/win32-ia32/0.17.16: + resolution: {integrity: sha512-B8b7W+oo2yb/3xmwk9Vc99hC9bNolvqjaTZYEfMQhzdpBsjTvZBlXQ/teUE55Ww6sg//wlcDjOaqldOKyigWdA==} engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@esbuild/win32-x64/0.17.14: - resolution: {integrity: sha512-gPQmsi2DKTaEgG14hc3CHXHp62k8g6qr0Pas+I4lUxRMugGSATh/Bi8Dgusoz9IQ0IfdrvLpco6kujEIBoaogA==} + /@esbuild/win32-x64/0.17.16: + resolution: {integrity: sha512-xJ7OH/nanouJO9pf03YsL9NAFQBHd8AqfrQd7Pf5laGyyTt/gToul6QYOA/i5i/q8y9iaM5DQFNTgpi995VkOg==} engines: {node: '>=12'} cpu: [x64] os: [win32] requiresBuild: true optional: true - /@eslint-community/eslint-utils/4.4.0_eslint@8.37.0: + /@eslint-community/eslint-utils/4.4.0_eslint@8.38.0: resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.37.0 + eslint: 8.38.0 eslint-visitor-keys: 3.4.0 /@eslint-community/regexpp/4.5.0: @@ -593,8 +597,8 @@ packages: transitivePeerDependencies: - supports-color - /@eslint/js/8.37.0: - resolution: {integrity: sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==} + /@eslint/js/8.38.0: + resolution: {integrity: sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} /@humanwhocodes/config-array/0.11.8: @@ -619,6 +623,10 @@ packages: /@humanwhocodes/object-schema/1.2.1: resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} + /@jridgewell/sourcemap-codec/1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: true + /@manypkg/find-root/1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: @@ -728,6 +736,16 @@ packages: resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==} dev: true + /@types/chai-subset/1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} + dependencies: + '@types/chai': 4.3.4 + dev: true + + /@types/chai/4.3.4: + resolution: {integrity: sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==} + dev: true + /@types/fs-extra/11.0.1: resolution: {integrity: sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA==} dependencies: @@ -764,18 +782,18 @@ packages: resolution: {integrity: sha512-v7qlPA0VpKUlEdhghbDqRoKMxFB3h3Ch688TApBJ6v+XLDdvWCGLJIYiPKGZnS6MAOie+IorCfNYVHOPIHSWwQ==} dev: true - /@types/k6/0.43.2: - resolution: {integrity: sha512-DD24gUZ5Y+tEZZrNt0wW9xZO3U81mWPQWBkcwms+V37GVUeJQpONriKceq5jgcyoORy9Ra6gjXB3wMhMllB+dw==} + /@types/k6/0.43.3: + resolution: {integrity: sha512-iNpIu2lKq6iYh6hMM7oJ2K1iDDq8kjPT+rXvfGVqgoiBd+F3j3jWJ+Nwc1MJutiR+TitFHk/DzzUzDk01LKP7Q==} dev: true /@types/lodash-es/4.17.7: resolution: {integrity: sha512-z0ptr6UI10VlU6l5MYhGwS4mC8DZyYer2mCoyysZtSF7p26zOX8UpbrV0YpNYLGS8K4PUFIyEr62IMFFjveSiQ==} dependencies: - '@types/lodash': 4.14.192 + '@types/lodash': 4.14.194 dev: true - /@types/lodash/4.14.192: - resolution: {integrity: sha512-km+Vyn3BYm5ytMO13k9KTp27O75rbQ0NFw+U//g+PX7VZyjCioXaRFisqSIJRECljcTv73G3i6BpglNGHgUQ5A==} + /@types/lodash/4.14.194: + resolution: {integrity: sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==} dev: true /@types/minimatch/5.1.2: @@ -794,6 +812,7 @@ packages: /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} + dev: true /@types/ps-tree/1.1.2: resolution: {integrity: sha512-ZREFYlpUmPQJ0esjxoG1fMvB2HNaD3z+mjqdSosZvd3RalncI9NEur73P8ZJz4YQdL64CmV1w0RuqoRUlhQRBw==} @@ -812,8 +831,8 @@ packages: /@types/which/2.0.2: resolution: {integrity: sha512-113D3mDkZDjo+EeUEHCFy0qniNc1ZpecGiAU7WSo7YDoSzolZIQKpYFHrPpjkB2nuyahcKfrmLXeQlh7gqJYdw==} - /@typescript-eslint/eslint-plugin/5.57.0_z24sz2fazj3bxoipp6m4s7b2mi: - resolution: {integrity: sha512-itag0qpN6q2UMM6Xgk6xoHa0D0/P+M17THnr4SVgqn9Rgam5k/He33MA7/D7QoJcdMxHFyX7U9imaBonAX/6qA==} + /@typescript-eslint/eslint-plugin/5.58.0_gjoxkwycl3ml7yxlw3iuo7gyna: + resolution: {integrity: sha512-vxHvLhH0qgBd3/tW6/VccptSfc8FxPQIkmNTVLWcCOVqSBvqpnKkBTYrhcGlXfSnd78azwe+PsjYFj0X34/njA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -824,24 +843,24 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.0 - '@typescript-eslint/parser': 5.57.0_vwh6htx42aidho2qgfca5u5rwm - '@typescript-eslint/scope-manager': 5.57.0 - '@typescript-eslint/type-utils': 5.57.0_vwh6htx42aidho2qgfca5u5rwm - '@typescript-eslint/utils': 5.57.0_vwh6htx42aidho2qgfca5u5rwm + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy + '@typescript-eslint/scope-manager': 5.58.0 + '@typescript-eslint/type-utils': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy + '@typescript-eslint/utils': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy debug: 4.3.4 - eslint: 8.37.0 + eslint: 8.38.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 - semver: 7.3.8 - tsutils: 3.21.0_typescript@5.0.3 - typescript: 5.0.3 + semver: 7.4.0 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser/5.57.0_vwh6htx42aidho2qgfca5u5rwm: - resolution: {integrity: sha512-orrduvpWYkgLCyAdNtR1QIWovcNZlEm6yL8nwH/eTxWLd8gsP+25pdLHYzL2QdkqrieaDwLpytHqycncv0woUQ==} + /@typescript-eslint/parser/5.58.0_voubu7prgxjfsfbgx5d4sqnwiy: + resolution: {integrity: sha512-ixaM3gRtlfrKzP8N6lRhBbjTow1t6ztfBvQNGuRM8qH1bjFFXIJ35XY+FC0RRBKn3C6cT+7VW1y8tNm7DwPHDQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -850,26 +869,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.57.0 - '@typescript-eslint/types': 5.57.0 - '@typescript-eslint/typescript-estree': 5.57.0_typescript@5.0.3 + '@typescript-eslint/scope-manager': 5.58.0 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/typescript-estree': 5.58.0_typescript@5.0.4 debug: 4.3.4 - eslint: 8.37.0 - typescript: 5.0.3 + eslint: 8.38.0 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/scope-manager/5.57.0: - resolution: {integrity: sha512-NANBNOQvllPlizl9LatX8+MHi7bx7WGIWYjPHDmQe5Si/0YEYfxSljJpoTyTWFTgRy3X8gLYSE4xQ2U+aCozSw==} + /@typescript-eslint/scope-manager/5.58.0: + resolution: {integrity: sha512-b+w8ypN5CFvrXWQb9Ow9T4/6LC2MikNf1viLkYTiTbkQl46CnR69w7lajz1icW0TBsYmlpg+mRzFJ4LEJ8X9NA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.57.0 - '@typescript-eslint/visitor-keys': 5.57.0 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/visitor-keys': 5.58.0 dev: false - /@typescript-eslint/type-utils/5.57.0_vwh6htx42aidho2qgfca5u5rwm: - resolution: {integrity: sha512-kxXoq9zOTbvqzLbdNKy1yFrxLC6GDJFE2Yuo3KqSwTmDOFjUGeWSakgoXT864WcK5/NAJkkONCiKb1ddsqhLXQ==} + /@typescript-eslint/type-utils/5.58.0_voubu7prgxjfsfbgx5d4sqnwiy: + resolution: {integrity: sha512-FF5vP/SKAFJ+LmR9PENql7fQVVgGDOS+dq3j+cKl9iW/9VuZC/8CFmzIP0DLKXfWKpRHawJiG70rVH+xZZbp8w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -878,23 +897,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.57.0_typescript@5.0.3 - '@typescript-eslint/utils': 5.57.0_vwh6htx42aidho2qgfca5u5rwm + '@typescript-eslint/typescript-estree': 5.58.0_typescript@5.0.4 + '@typescript-eslint/utils': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy debug: 4.3.4 - eslint: 8.37.0 - tsutils: 3.21.0_typescript@5.0.3 - typescript: 5.0.3 + eslint: 8.38.0 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/types/5.57.0: - resolution: {integrity: sha512-mxsod+aZRSyLT+jiqHw1KK6xrANm19/+VFALVFP5qa/aiJnlP38qpyaTd0fEKhWvQk6YeNZ5LGwI1pDpBRBhtQ==} + /@typescript-eslint/types/5.58.0: + resolution: {integrity: sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@typescript-eslint/typescript-estree/5.57.0_typescript@5.0.3: - resolution: {integrity: sha512-LTzQ23TV82KpO8HPnWuxM2V7ieXW8O142I7hQTxWIHDcCEIjtkat6H96PFkYBQqGFLW/G/eVVOB9Z8rcvdY/Vw==} + /@typescript-eslint/typescript-estree/5.58.0_typescript@5.0.4: + resolution: {integrity: sha512-cRACvGTodA+UxnYM2uwA2KCwRL7VAzo45syNysqlMyNyjw0Z35Icc9ihPJZjIYuA5bXJYiJ2YGUB59BqlOZT1Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -902,46 +921,85 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.57.0 - '@typescript-eslint/visitor-keys': 5.57.0 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/visitor-keys': 5.58.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.3.8 - tsutils: 3.21.0_typescript@5.0.3 - typescript: 5.0.3 + semver: 7.4.0 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils/5.57.0_vwh6htx42aidho2qgfca5u5rwm: - resolution: {integrity: sha512-ps/4WohXV7C+LTSgAL5CApxvxbMkl9B9AUZRtnEFonpIxZDIT7wC1xfvuJONMidrkB9scs4zhtRyIwHh4+18kw==} + /@typescript-eslint/utils/5.58.0_voubu7prgxjfsfbgx5d4sqnwiy: + resolution: {integrity: sha512-gAmLOTFXMXOC+zP1fsqm3VceKSBQJNzV385Ok3+yzlavNHZoedajjS4UyS21gabJYcobuigQPs/z71A9MdJFqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.37.0 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.38.0 '@types/json-schema': 7.0.11 '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 5.57.0 - '@typescript-eslint/types': 5.57.0 - '@typescript-eslint/typescript-estree': 5.57.0_typescript@5.0.3 - eslint: 8.37.0 + '@typescript-eslint/scope-manager': 5.58.0 + '@typescript-eslint/types': 5.58.0 + '@typescript-eslint/typescript-estree': 5.58.0_typescript@5.0.4 + eslint: 8.38.0 eslint-scope: 5.1.1 - semver: 7.3.8 + semver: 7.4.0 transitivePeerDependencies: - supports-color - typescript dev: false - /@typescript-eslint/visitor-keys/5.57.0: - resolution: {integrity: sha512-ery2g3k0hv5BLiKpPuwYt9KBkAp2ugT6VvyShXdLOkax895EC55sP0Tx5L0fZaQueiK3fBLvHVvEl3jFS5ia+g==} + /@typescript-eslint/visitor-keys/5.58.0: + resolution: {integrity: sha512-/fBraTlPj0jwdyTwLyrRTxv/3lnU2H96pNTVM6z3esTWLtA5MZ9ghSMJ7Rb+TtUAdtEw9EyJzJ0EydIMKxQ9gA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.57.0 + '@typescript-eslint/types': 5.58.0 eslint-visitor-keys: 3.4.0 dev: false + /@vitest/expect/0.30.1: + resolution: {integrity: sha512-c3kbEtN8XXJSeN81iDGq29bUzSjQhjES2WR3aColsS4lPGbivwLtas4DNUe0jD9gg/FYGIteqOenfU95EFituw==} + dependencies: + '@vitest/spy': 0.30.1 + '@vitest/utils': 0.30.1 + chai: 4.3.7 + dev: true + + /@vitest/runner/0.30.1: + resolution: {integrity: sha512-W62kT/8i0TF1UBCNMRtRMOBWJKRnNyv9RrjIgdUryEe0wNpGZvvwPDLuzYdxvgSckzjp54DSpv1xUbv4BQ0qVA==} + dependencies: + '@vitest/utils': 0.30.1 + concordance: 5.0.4 + p-limit: 4.0.0 + pathe: 1.1.0 + dev: true + + /@vitest/snapshot/0.30.1: + resolution: {integrity: sha512-fJZqKrE99zo27uoZA/azgWyWbFvM1rw2APS05yB0JaLwUIg9aUtvvnBf4q7JWhEcAHmSwbrxKFgyBUga6tq9Tw==} + dependencies: + magic-string: 0.30.0 + pathe: 1.1.0 + pretty-format: 27.5.1 + dev: true + + /@vitest/spy/0.30.1: + resolution: {integrity: sha512-YfJeIf37GvTZe04ZKxzJfnNNuNSmTEGnla2OdL60C8od16f3zOfv9q9K0nNii0NfjDJRt/CVN/POuY5/zTS+BA==} + dependencies: + tinyspy: 2.1.0 + dev: true + + /@vitest/utils/0.30.1: + resolution: {integrity: sha512-/c8Xv2zUVc+rnNt84QF0Y0zkfxnaGhp87K2dYJMLtLOIckPzuxLVzAtFCicGFdB4NeBHNzTRr1tNn7rCtQcWFA==} + dependencies: + concordance: 5.0.4 + loupe: 2.3.6 + pretty-format: 27.5.1 + dev: true + /acorn-jsx/5.3.2_acorn@8.8.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -949,6 +1007,11 @@ packages: dependencies: acorn: 8.8.2 + /acorn-walk/8.2.0: + resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} + engines: {node: '>=0.4.0'} + dev: true + /acorn/8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} @@ -1000,6 +1063,11 @@ packages: dependencies: color-convert: 2.0.1 + /ansi-styles/5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + dev: true + /anymatch/3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -1060,6 +1128,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /assertion-error/1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + /available-typed-arrays/1.0.5: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} engines: {node: '>= 0.4'} @@ -1092,6 +1164,10 @@ packages: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} + /blueimp-md5/2.19.0: + resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} + dev: true + /boolean/3.2.0: resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==} @@ -1118,10 +1194,10 @@ packages: wcwidth: 1.0.1 dev: true - /builtin-modules/3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - dev: false + /cac/6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: true /call-bind/1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} @@ -1162,6 +1238,19 @@ packages: engines: {node: '>=10'} dev: true + /chai/4.3.7: + resolution: {integrity: sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.2 + deep-eql: 4.1.3 + get-func-name: 2.0.0 + loupe: 2.3.6 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -1185,6 +1274,10 @@ packages: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} dev: true + /check-error/1.0.2: + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} + dev: true + /chokidar/3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -1202,13 +1295,7 @@ packages: /ci-info/3.8.0: resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} engines: {node: '>=8'} - - /clean-regexp/1.0.0: - resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} - engines: {node: '>=4'} - dependencies: - escape-string-regexp: 1.0.5 - dev: false + dev: true /clean-stack/4.2.0: resolution: {integrity: sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==} @@ -1272,6 +1359,20 @@ packages: /concat-map/0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + /concordance/5.0.4: + resolution: {integrity: sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==} + engines: {node: '>=10.18.0 <11 || >=12.14.0 <13 || >=14'} + dependencies: + date-time: 3.1.0 + esutils: 2.0.3 + fast-diff: 1.2.0 + js-string-escape: 1.0.1 + lodash: 4.17.21 + md5-hex: 3.0.1 + semver: 7.4.0 + well-known-symbols: 2.0.0 + dev: true + /concurrently/8.0.1: resolution: {integrity: sha512-Sh8bGQMEL0TAmAm2meAXMjcASHZa7V0xXQVDBLknCPa9TPtkY9yYs+0cnGGgfdkW0SV1Mlg+hVGfXcoI8d3MJA==} engines: {node: ^14.13.0 || >=16.0.0} @@ -1281,13 +1382,17 @@ packages: date-fns: 2.29.3 lodash: 4.17.21 rxjs: 7.8.0 - shell-quote: 1.8.0 + shell-quote: 1.8.1 spawn-command: 0.0.2-1 supports-color: 8.1.1 tree-kill: 1.2.2 yargs: 17.7.1 dev: true + /confusing-browser-globals/1.0.11: + resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} + dev: false + /cosmiconfig/8.0.0: resolution: {integrity: sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==} engines: {node: '>=14'} @@ -1345,6 +1450,13 @@ packages: engines: {node: '>=0.11'} dev: true + /date-time/3.1.0: + resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} + engines: {node: '>=6'} + dependencies: + time-zone: 1.0.0 + dev: true + /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} peerDependencies: @@ -1385,6 +1497,13 @@ packages: engines: {node: '>=10'} dev: true + /deep-eql/4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + /deep-is/0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -1423,7 +1542,7 @@ packages: resolution: {integrity: sha512-tQbV/4u5WVB8HMJr08pgw0b6nG4RGt/tj+7Numvq+zqcvUFeMaIWWOUFltiU+6go8BSO2/ogsB4EasDaj0y68Q==} engines: {node: '>=14.16'} dependencies: - globby: 13.1.3 + globby: 13.1.4 graceful-fs: 4.2.11 is-glob: 4.0.3 is-path-cwd: 3.0.0 @@ -1516,6 +1635,7 @@ packages: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: is-arrayish: 0.2.1 + dev: true /es-abstract/1.21.2: resolution: {integrity: sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==} @@ -1581,34 +1701,34 @@ packages: resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} dev: true - /esbuild/0.17.14: - resolution: {integrity: sha512-vOO5XhmVj/1XQR9NQ1UPq6qvMYL7QFJU57J5fKBKBKxp17uDt5PgxFDb4A2nEiXhr1qQs4x0F5+66hVVw4ruNw==} + /esbuild/0.17.16: + resolution: {integrity: sha512-aeSuUKr9aFVY9Dc8ETVELGgkj4urg5isYx8pLf4wlGgB0vTFjxJQdHnNH6Shmx4vYYrOTLCHtRI5i1XZ9l2Zcg==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/android-arm': 0.17.14 - '@esbuild/android-arm64': 0.17.14 - '@esbuild/android-x64': 0.17.14 - '@esbuild/darwin-arm64': 0.17.14 - '@esbuild/darwin-x64': 0.17.14 - '@esbuild/freebsd-arm64': 0.17.14 - '@esbuild/freebsd-x64': 0.17.14 - '@esbuild/linux-arm': 0.17.14 - '@esbuild/linux-arm64': 0.17.14 - '@esbuild/linux-ia32': 0.17.14 - '@esbuild/linux-loong64': 0.17.14 - '@esbuild/linux-mips64el': 0.17.14 - '@esbuild/linux-ppc64': 0.17.14 - '@esbuild/linux-riscv64': 0.17.14 - '@esbuild/linux-s390x': 0.17.14 - '@esbuild/linux-x64': 0.17.14 - '@esbuild/netbsd-x64': 0.17.14 - '@esbuild/openbsd-x64': 0.17.14 - '@esbuild/sunos-x64': 0.17.14 - '@esbuild/win32-arm64': 0.17.14 - '@esbuild/win32-ia32': 0.17.14 - '@esbuild/win32-x64': 0.17.14 + '@esbuild/android-arm': 0.17.16 + '@esbuild/android-arm64': 0.17.16 + '@esbuild/android-x64': 0.17.16 + '@esbuild/darwin-arm64': 0.17.16 + '@esbuild/darwin-x64': 0.17.16 + '@esbuild/freebsd-arm64': 0.17.16 + '@esbuild/freebsd-x64': 0.17.16 + '@esbuild/linux-arm': 0.17.16 + '@esbuild/linux-arm64': 0.17.16 + '@esbuild/linux-ia32': 0.17.16 + '@esbuild/linux-loong64': 0.17.16 + '@esbuild/linux-mips64el': 0.17.16 + '@esbuild/linux-ppc64': 0.17.16 + '@esbuild/linux-riscv64': 0.17.16 + '@esbuild/linux-s390x': 0.17.16 + '@esbuild/linux-x64': 0.17.16 + '@esbuild/netbsd-x64': 0.17.16 + '@esbuild/openbsd-x64': 0.17.16 + '@esbuild/sunos-x64': 0.17.16 + '@esbuild/win32-arm64': 0.17.16 + '@esbuild/win32-ia32': 0.17.16 + '@esbuild/win32-x64': 0.17.16 /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -1640,36 +1760,66 @@ packages: source-map: 0.6.1 dev: false - /eslint-config-prettier/8.8.0_eslint@8.37.0: + /eslint-config-airbnb-base/15.0.0_cshkc2qhcu55b7r3t6b6lfgcxm: + resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==} + engines: {node: ^10.12.0 || >=12.0.0} + peerDependencies: + eslint: ^7.32.0 || ^8.2.0 + eslint-plugin-import: ^2.25.2 + dependencies: + confusing-browser-globals: 1.0.11 + eslint: 8.38.0 + eslint-plugin-import: 2.27.5_rptv2rvhnimonuwgnwl36lcway + object.assign: 4.1.4 + object.entries: 1.1.6 + semver: 6.3.0 + dev: false + + /eslint-config-airbnb-typescript/17.0.0_awz7iagzjrkgdisnaft5immp6i: + resolution: {integrity: sha512-elNiuzD0kPAPTXjFWg+lE24nMdHMtuxgYoD30OyMD6yrW1AhFZPAg27VX7d3tzOErw+dgJTNWfRSDqEcXb4V0g==} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^5.13.0 + '@typescript-eslint/parser': ^5.0.0 + eslint: ^7.32.0 || ^8.2.0 + eslint-plugin-import: ^2.25.3 + dependencies: + '@typescript-eslint/eslint-plugin': 5.58.0_gjoxkwycl3ml7yxlw3iuo7gyna + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy + eslint: 8.38.0 + eslint-config-airbnb-base: 15.0.0_cshkc2qhcu55b7r3t6b6lfgcxm + eslint-plugin-import: 2.27.5_rptv2rvhnimonuwgnwl36lcway + dev: false + + /eslint-config-prettier/8.8.0_eslint@8.38.0: resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.37.0 + eslint: 8.38.0 dev: false - /eslint-config-turbo/1.8.8_eslint@8.37.0: - resolution: {integrity: sha512-+yT22sHOT5iC1sbBXfLIdXfbZuiv9bAyOXsxTxFCWelTeFFnANqmuKB3x274CFvf7WRuZ/vYP/VMjzU9xnFnxA==} + /eslint-config-turbo/1.9.1_eslint@8.38.0: + resolution: {integrity: sha512-tUqm5TxI5bpbDEgClbw+UygVPAwYB20FIpAiQsZI8imJNDz30E40TZkp6uWpAKmxykU8T0+t3jwkYokvXmXc0Q==} peerDependencies: eslint: '>6.6.0' dependencies: - eslint: 8.37.0 - eslint-plugin-turbo: 1.8.8_eslint@8.37.0 + eslint: 8.38.0 + eslint-plugin-turbo: 1.9.1_eslint@8.38.0 dev: false /eslint-import-resolver-node/0.3.7: resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} dependencies: debug: 3.2.7 - is-core-module: 2.11.0 - resolve: 1.22.1 + is-core-module: 2.12.0 + resolve: 1.22.3 transitivePeerDependencies: - supports-color dev: false - /eslint-import-resolver-typescript/3.5.4_rbts4wm34tb3x7owcp777e4f4y: - resolution: {integrity: sha512-9xUpnedEmSfG57sN1UvWPiEhfJ8bPt0Wg2XysA7Mlc79iFGhmJtRUg9LxtkK81FhMUui0YuR2E8iUsVhePkh4A==} + /eslint-import-resolver-typescript/3.5.5_ys4nnbp6asstxmlir7a7s7gqmm: + resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -1677,19 +1827,23 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.12.0 - eslint: 8.37.0 - eslint-plugin-import: 2.27.5_f66okp2kqrdiymeqhgaog6g5pu + eslint: 8.38.0 + eslint-module-utils: 2.8.0_rptv2rvhnimonuwgnwl36lcway + eslint-plugin-import: 2.27.5_rptv2rvhnimonuwgnwl36lcway get-tsconfig: 4.5.0 - globby: 13.1.3 - is-core-module: 2.11.0 + globby: 13.1.4 + is-core-module: 2.12.0 is-glob: 4.0.3 synckit: 0.8.5 transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-node + - eslint-import-resolver-webpack - supports-color dev: false - /eslint-module-utils/2.7.4_kilwkdng6ctuxxd7dfjxtekdra: - resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} + /eslint-module-utils/2.8.0_rptv2rvhnimonuwgnwl36lcway: + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -1709,25 +1863,45 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.57.0_vwh6htx42aidho2qgfca5u5rwm + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy debug: 3.2.7 - eslint: 8.37.0 - eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.4_rbts4wm34tb3x7owcp777e4f4y + eslint: 8.38.0 + eslint-import-resolver-typescript: 3.5.5_ys4nnbp6asstxmlir7a7s7gqmm transitivePeerDependencies: - supports-color dev: false - /eslint-plugin-disable/2.0.3_eslint@8.37.0: - resolution: {integrity: sha512-JWT4TPhcIhd8jcwACbsDValvAtHl7BQDhbTZC40vqcp4Fciz2oTnEAFtOCGojdskviN3VGOObVCrjjWe8DGYIg==} + /eslint-module-utils/2.8.0_uijsfo6afl5uvsbmsghunq7i6m: + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + engines: {node: '>=4'} peerDependencies: - eslint: '>=0.16.0' + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: - eslint: 8.37.0 - resolve: 1.22.1 + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy + debug: 3.2.7 + eslint: 8.38.0 + eslint-import-resolver-node: 0.3.7 + eslint-import-resolver-typescript: 3.5.5_ys4nnbp6asstxmlir7a7s7gqmm + transitivePeerDependencies: + - supports-color dev: false - /eslint-plugin-import/2.27.5_f66okp2kqrdiymeqhgaog6g5pu: + /eslint-plugin-import/2.27.5_rptv2rvhnimonuwgnwl36lcway: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -1737,21 +1911,21 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.57.0_vwh6htx42aidho2qgfca5u5rwm + '@typescript-eslint/parser': 5.58.0_voubu7prgxjfsfbgx5d4sqnwiy array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.37.0 + eslint: 8.38.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4_kilwkdng6ctuxxd7dfjxtekdra + eslint-module-utils: 2.8.0_uijsfo6afl5uvsbmsghunq7i6m has: 1.0.3 - is-core-module: 2.11.0 + is-core-module: 2.12.0 is-glob: 4.0.3 minimatch: 3.1.2 object.values: 1.1.6 - resolve: 1.22.1 + resolve: 1.22.3 semver: 6.3.0 tsconfig-paths: 3.14.2 transitivePeerDependencies: @@ -1760,7 +1934,7 @@ packages: - supports-color dev: false - /eslint-plugin-json-files/2.1.0_eslint@8.37.0: + /eslint-plugin-json-files/2.1.0_eslint@8.38.0: resolution: {integrity: sha512-62dP9I3kYdSYS7LoXUWMjUQm1/Dsd9PGaJJSkCgRgi2BRlEZroRq4Ix3PryqtNLnkw4rJJumKy/jF0kygVsOrw==} engines: {node: '>=14.15'} peerDependencies: @@ -1768,9 +1942,9 @@ packages: dependencies: ajv: 8.12.0 better-ajv-errors: 1.2.0_ajv@8.12.0 - eslint: 8.37.0 + eslint: 8.38.0 requireindex: 1.2.0 - semver: 7.3.8 + semver: 7.4.0 sort-package-json: 1.57.0 dev: false @@ -1785,45 +1959,20 @@ packages: ramda: 0.28.0 dev: false - /eslint-plugin-simple-import-sort/10.0.0_eslint@8.37.0: + /eslint-plugin-simple-import-sort/10.0.0_eslint@8.38.0: resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.37.0 + eslint: 8.38.0 dev: false - /eslint-plugin-turbo/1.8.8_eslint@8.37.0: - resolution: {integrity: sha512-zqyTIvveOY4YU5jviDWw9GXHd4RiKmfEgwsjBrV/a965w0PpDwJgEUoSMB/C/dU310Sv9mF3DSdEjxjJLaw6rA==} + /eslint-plugin-turbo/1.9.1_eslint@8.38.0: + resolution: {integrity: sha512-QPd0EG0xkoDkXJLwPQKULxHjkR27VmvJtILW4C9aIrqauLZ+Yc/V7R+A9yVwAi6nkMHxUlCSUsBxmiQP9TIlPw==} peerDependencies: eslint: '>6.6.0' dependencies: - eslint: 8.37.0 - dev: false - - /eslint-plugin-unicorn/46.0.0_eslint@8.37.0: - resolution: {integrity: sha512-j07WkC+PFZwk8J33LYp6JMoHa1lXc1u6R45pbSAipjpfpb7KIGr17VE2D685zCxR5VL4cjrl65kTJflziQWMDA==} - engines: {node: '>=14.18'} - peerDependencies: - eslint: '>=8.28.0' - dependencies: - '@babel/helper-validator-identifier': 7.19.1 - '@eslint-community/eslint-utils': 4.4.0_eslint@8.37.0 - ci-info: 3.8.0 - clean-regexp: 1.0.0 - eslint: 8.37.0 - esquery: 1.5.0 - indent-string: 4.0.0 - is-builtin-module: 3.2.1 - jsesc: 3.0.2 - lodash: 4.17.21 - pluralize: 8.0.0 - read-pkg-up: 7.0.1 - regexp-tree: 0.1.24 - regjsparser: 0.9.1 - safe-regex: 2.1.1 - semver: 7.3.8 - strip-indent: 3.0.0 + eslint: 8.38.0 dev: false /eslint-scope/5.1.1: @@ -1834,8 +1983,8 @@ packages: estraverse: 4.3.0 dev: false - /eslint-scope/7.1.1: - resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} + /eslint-scope/7.2.0: + resolution: {integrity: sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: esrecurse: 4.3.0 @@ -1845,15 +1994,15 @@ packages: resolution: {integrity: sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint/8.37.0: - resolution: {integrity: sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==} + /eslint/8.38.0: + resolution: {integrity: sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.37.0 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.38.0 '@eslint-community/regexpp': 4.5.0 '@eslint/eslintrc': 2.0.2 - '@eslint/js': 8.37.0 + '@eslint/js': 8.38.0 '@humanwhocodes/config-array': 0.11.8 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -1863,7 +2012,7 @@ packages: debug: 4.3.4 doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.1.1 + eslint-scope: 7.2.0 eslint-visitor-keys: 3.4.0 espree: 9.5.1 esquery: 1.5.0 @@ -1968,6 +2117,10 @@ packages: /fast-deep-equal/3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + /fast-diff/1.2.0: + resolution: {integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==} + dev: true + /fast-glob/3.2.12: resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} @@ -2029,6 +2182,7 @@ packages: dependencies: locate-path: 5.0.0 path-exists: 4.0.0 + dev: true /find-up/5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} @@ -2132,6 +2286,10 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + /get-func-name/2.0.0: + resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==} + dev: true + /get-intrinsic/1.2.0: resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} dependencies: @@ -2187,14 +2345,14 @@ packages: once: 1.4.0 dev: true - /glob/9.3.2: - resolution: {integrity: sha512-BTv/JhKXFEHsErMte/AnfiSv8yYOLLiyH2lTg8vn02O21zWFgHPTfxtgn1QRe7NRgggUhC8hacR2Re94svHqeA==} + /glob/9.3.5: + resolution: {integrity: sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==} engines: {node: '>=16 || 14 >=14.17'} dependencies: fs.realpath: 1.0.0 - minimatch: 7.4.3 - minipass: 4.2.5 - path-scurry: 1.6.3 + minimatch: 8.0.4 + minipass: 4.2.8 + path-scurry: 1.7.0 /globals/13.20.0: resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} @@ -2237,8 +2395,8 @@ packages: merge2: 1.4.1 slash: 3.0.0 - /globby/13.1.3: - resolution: {integrity: sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==} + /globby/13.1.4: + resolution: {integrity: sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 @@ -2249,7 +2407,6 @@ packages: /globrex/0.1.2: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - dev: false /gopd/1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -2305,6 +2462,7 @@ packages: /hosted-git-info/2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + dev: true /hosted-git-info/4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} @@ -2342,6 +2500,7 @@ packages: /indent-string/4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} + dev: true /indent-string/5.0.0: resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} @@ -2374,6 +2533,7 @@ packages: /is-arrayish/0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + dev: true /is-bigint/1.0.4: resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} @@ -2393,13 +2553,6 @@ packages: call-bind: 1.0.2 has-tostringtag: 1.0.0 - /is-builtin-module/3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - dependencies: - builtin-modules: 3.3.0 - dev: false - /is-callable/1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -2411,8 +2564,8 @@ packages: ci-info: 3.8.0 dev: true - /is-core-module/2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} + /is-core-module/2.12.0: + resolution: {integrity: sha512-RECHCBCd/viahWmwj6enj19sKbHfJrddi/6cBDsNTKbNq0f7VeaUkBo60BqzvPqo/W54ChS62Z5qyun7cfOMqQ==} dependencies: has: 1.0.3 @@ -2553,6 +2706,11 @@ packages: /js-sdsl/4.4.0: resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} + /js-string-escape/1.0.1: + resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} + engines: {node: '>= 0.8'} + dev: true + /js-tokens/4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -2578,19 +2736,9 @@ packages: dependencies: argparse: 2.0.1 - /jsesc/0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - dev: false - - /jsesc/3.0.2: - resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} - engines: {node: '>=6'} - hasBin: true - dev: false - /json-parse-even-better-errors/2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true /json-schema-traverse/0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -2609,6 +2757,10 @@ packages: minimist: 1.2.8 dev: false + /jsonc-parser/3.2.0: + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} + dev: true + /jsonfile/4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} optionalDependencies: @@ -2667,6 +2819,7 @@ packages: /lines-and-columns/1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true /liqe/3.6.0: resolution: {integrity: sha512-CYVQr0bk5CCTkX3wW2MdyEWdr9FHLpiE/1cQXQ36Sdjn5gv7JIpm9jnkovFwiVzumw7f6JDFXpljwUY+fAcFYQ==} @@ -2686,11 +2839,17 @@ packages: strip-bom: 3.0.0 dev: true + /local-pkg/0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} + dev: true + /locate-path/5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} dependencies: p-locate: 4.1.0 + dev: true /locate-path/6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} @@ -2712,6 +2871,12 @@ packages: /lodash/4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + /loupe/2.3.6: + resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==} + dependencies: + get-func-name: 2.0.0 + dev: true + /lru-cache/4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} dependencies: @@ -2725,9 +2890,16 @@ packages: dependencies: yallist: 4.0.0 - /lru-cache/7.18.3: - resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + /lru-cache/9.0.3: + resolution: {integrity: sha512-cyjNRew29d4kbgnz1sjDqxg7qg8NW4s+HQzCGjeon7DV5T2yDije16W9HaUFV1dhVEMh+SjrOcK0TomBmf3Egg==} + engines: {node: 14 || >=16.14} + + /magic-string/0.30.0: + resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true /map-obj/1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} @@ -2742,6 +2914,13 @@ packages: /map-stream/0.1.0: resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==} + /md5-hex/3.0.1: + resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} + engines: {node: '>=8'} + dependencies: + blueimp-md5: 2.19.0 + dev: true + /meow/10.1.5: resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -2791,6 +2970,7 @@ packages: /min-indent/1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} + dev: true /minimatch/3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -2811,9 +2991,9 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch/7.4.3: - resolution: {integrity: sha512-5UB4yYusDtkRPbRiy1cqZ1IpGNcJCGlEMG17RKzPddpyiPKoCdwohbED8g4QXT0ewCt8LTkQXuljsUfQ3FKM4A==} - engines: {node: '>=10'} + /minimatch/8.0.4: + resolution: {integrity: sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==} + engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 @@ -2829,8 +3009,12 @@ packages: /minimist/1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - /minipass/4.2.5: - resolution: {integrity: sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==} + /minipass/4.2.8: + resolution: {integrity: sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==} + engines: {node: '>=8'} + + /minipass/5.0.0: + resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} engines: {node: '>=8'} /mixme/0.5.9: @@ -2838,6 +3022,15 @@ packages: engines: {node: '>= 8.0.0'} dev: true + /mlly/1.2.0: + resolution: {integrity: sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==} + dependencies: + acorn: 8.8.2 + pathe: 1.1.0 + pkg-types: 1.0.2 + ufo: 1.1.1 + dev: true + /moo/0.5.2: resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} dev: true @@ -2849,6 +3042,12 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: false + /nanoid/3.3.6: + resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: true + /natural-compare-lite/1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} dev: false @@ -2882,17 +3081,18 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.1 + resolve: 1.22.3 semver: 5.7.1 validate-npm-package-license: 3.0.4 + dev: true /normalize-package-data/3.0.3: resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} engines: {node: '>=10'} dependencies: hosted-git-info: 4.1.0 - is-core-module: 2.11.0 - semver: 7.3.8 + is-core-module: 2.12.0 + semver: 7.4.0 validate-npm-package-license: 3.0.4 dev: true @@ -2916,6 +3116,15 @@ packages: has-symbols: 1.0.3 object-keys: 1.1.1 + /object.entries/1.1.6: + resolution: {integrity: sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.2.0 + es-abstract: 1.21.2 + dev: false + /object.values/1.1.6: resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==} engines: {node: '>= 0.4'} @@ -2983,6 +3192,7 @@ packages: engines: {node: '>=6'} dependencies: p-try: 2.2.0 + dev: true /p-limit/3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} @@ -2990,11 +3200,19 @@ packages: dependencies: yocto-queue: 0.1.0 + /p-limit/4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate/4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} dependencies: p-limit: 2.3.0 + dev: true /p-locate/5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} @@ -3024,6 +3242,7 @@ packages: /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} + dev: true /parent-module/1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} @@ -3039,6 +3258,7 @@ packages: error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + dev: true /parse-ms/2.1.0: resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} @@ -3060,17 +3280,25 @@ packages: /path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - /path-scurry/1.6.3: - resolution: {integrity: sha512-RAmB+n30SlN+HnNx6EbcpoDy9nwdpcGPnEKrJnu6GZoDWBdIjo1UQMVtW2ybtC7LC2oKLcMq8y5g8WnKLiod9g==} + /path-scurry/1.7.0: + resolution: {integrity: sha512-UkZUeDjczjYRE495+9thsgcVgsaCPkaw80slmfVFgllxY+IO8ubTsOpFVjDPROBqJdHfVPUFRHPBV/WciOVfWg==} engines: {node: '>=16 || 14 >=14.17'} dependencies: - lru-cache: 7.18.3 - minipass: 4.2.5 + lru-cache: 9.0.3 + minipass: 5.0.0 /path-type/4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /pathe/1.1.0: + resolution: {integrity: sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==} + dev: true + + /pathval/1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + /pause-stream/0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} dependencies: @@ -3078,7 +3306,6 @@ packages: /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: false /picomatch/2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} @@ -3096,10 +3323,22 @@ packages: find-up: 4.1.0 dev: true - /pluralize/8.0.0: - resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} - engines: {node: '>=4'} - dev: false + /pkg-types/1.0.2: + resolution: {integrity: sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==} + dependencies: + jsonc-parser: 3.2.0 + mlly: 1.2.0 + pathe: 1.1.0 + dev: true + + /postcss/8.4.22: + resolution: {integrity: sha512-XseknLAfRHzVWjCEtdviapiBtfLdgyzExD50Rg2ePaucEesyh8Wv4VPdW0nbyDa1ydbrAxV19jvMT4+LFmcNUA==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.6 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true /preferred-pm/3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} @@ -3126,6 +3365,15 @@ packages: hasBin: true dev: true + /pretty-format/27.5.1: + resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} + engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dependencies: + ansi-regex: 5.0.1 + ansi-styles: 5.2.0 + react-is: 17.0.2 + dev: true + /pretty-ms/7.0.1: resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} engines: {node: '>=10'} @@ -3188,6 +3436,10 @@ packages: /randomcolor/0.6.2: resolution: {integrity: sha512-Mn6TbyYpFgwFuQ8KJKqf3bqqY9O1y37/0jgSK/61PUxV4QfIMv0+K2ioq8DfOjkBslcjwSzRfIDEXfzA9aCx7A==} + /react-is/17.0.2: + resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + dev: true + /read-pkg-up/7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -3195,6 +3447,7 @@ packages: find-up: 4.1.0 read-pkg: 5.2.0 type-fest: 0.8.1 + dev: true /read-pkg-up/8.0.0: resolution: {integrity: sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==} @@ -3213,6 +3466,7 @@ packages: normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 + dev: true /read-pkg/6.0.0: resolution: {integrity: sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==} @@ -3268,11 +3522,6 @@ packages: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} dev: true - /regexp-tree/0.1.24: - resolution: {integrity: sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==} - hasBin: true - dev: false - /regexp.prototype.flags/1.4.3: resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} engines: {node: '>= 0.4'} @@ -3281,13 +3530,6 @@ packages: define-properties: 1.2.0 functions-have-names: 1.2.3 - /regjsparser/0.9.1: - resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} - hasBin: true - dependencies: - jsesc: 0.5.0 - dev: false - /require-directory/2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -3315,11 +3557,11 @@ packages: engines: {node: '>=8'} dev: true - /resolve/1.22.1: - resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} + /resolve/1.22.3: + resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==} hasBin: true dependencies: - is-core-module: 2.11.0 + is-core-module: 2.12.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -3356,6 +3598,14 @@ packages: safe-stable-stringify: 2.4.3 semver-compare: 1.0.0 + /rollup/3.20.3: + resolution: {integrity: sha512-u6/O1X42CAZ79rbk+smyONJQLTpwFBL7InpRa/AVWia5lq60w5J/PUsVHCOgSolN0X9R2GjQ41fZm3x28Hk1lA==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + /run-parallel/1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: @@ -3374,12 +3624,6 @@ packages: get-intrinsic: 1.2.0 is-regex: 1.1.4 - /safe-regex/2.1.1: - resolution: {integrity: sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==} - dependencies: - regexp-tree: 0.1.24 - dev: false - /safe-stable-stringify/2.4.3: resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} engines: {node: '>=10'} @@ -3394,6 +3638,7 @@ packages: /semver/5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true + dev: true /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} @@ -3406,6 +3651,14 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 + dev: true + + /semver/7.4.0: + resolution: {integrity: sha512-RgOxM8Mw+7Zus0+zcLEUn8+JfoLpj/huFTItQy2hsM4khuC1HYRDp0cU482Ewn/Fcy6bCjufD8vAj7voC66KQw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 /serialize-error/11.0.0: resolution: {integrity: sha512-YKrURWDqcT3VGX/s/pCwaWtpfJEEaEw5Y4gAnQDku92b/HjVj4r4UhA5QrMVMFotymK2wIWs5xthny5SMFu7Vw==} @@ -3439,8 +3692,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - /shell-quote/1.8.0: - resolution: {integrity: sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ==} + /shell-quote/1.8.1: + resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} dev: true /side-channel/1.0.4: @@ -3450,6 +3703,10 @@ packages: get-intrinsic: 1.2.0 object-inspect: 1.12.3 + /siginfo/2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + dev: true + /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} dev: true @@ -3515,12 +3772,15 @@ packages: sort-object-keys: 1.1.3 dev: false + /source-map-js/1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + dev: true + /source-map/0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} requiresBuild: true - dev: false - optional: true /spawn-command/0.0.2-1: resolution: {integrity: sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==} @@ -3538,18 +3798,22 @@ packages: dependencies: spdx-expression-parse: 3.0.1 spdx-license-ids: 3.0.13 + dev: true /spdx-exceptions/2.3.0: resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + dev: true /spdx-expression-parse/3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.13 + dev: true /spdx-license-ids/3.0.13: resolution: {integrity: sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==} + dev: true /split/0.3.3: resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==} @@ -3564,12 +3828,20 @@ packages: /sprintf-js/1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + /stackback/0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + dev: true + /static-eval/2.0.2: resolution: {integrity: sha512-N/D219Hcr2bPjLxPiV+TQE++Tsmrady7TqAJugLy7Xk1EumfDWS/f5dtBbkRCGE7wKKXuYockQoj8Rm2/pVKyg==} dependencies: escodegen: 1.14.3 dev: false + /std-env/3.3.2: + resolution: {integrity: sha512-uUZI65yrV2Qva5gqE0+A7uVAvO40iPo6jGhs7s8keRfHCmtg+uB2X6EiLGCI9IgL1J17xGhvoOqSz79lzICPTA==} + dev: true + /stream-combiner/0.0.4: resolution: {integrity: sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==} dependencies: @@ -3634,6 +3906,7 @@ packages: engines: {node: '>=8'} dependencies: min-indent: 1.0.1 + dev: true /strip-indent/4.0.0: resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} @@ -3646,6 +3919,12 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + /strip-literal/1.0.1: + resolution: {integrity: sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q==} + dependencies: + acorn: 8.8.2 + dev: true + /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} @@ -3715,6 +3994,11 @@ packages: /through/2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + /time-zone/1.0.0: + resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} + engines: {node: '>=4'} + dev: true + /tiny-glob/0.2.9: resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} dependencies: @@ -3722,6 +4006,20 @@ packages: globrex: 0.1.2 dev: false + /tinybench/2.4.0: + resolution: {integrity: sha512-iyziEiyFxX4kyxSp+MtY1oCH/lvjH3PxFN8PGCDeqcZWAJ/i+9y+nL85w99PxVzrIvew/GSkSbDYtiGVa85Afg==} + dev: true + + /tinypool/0.4.0: + resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy/2.1.0: + resolution: {integrity: sha512-7eORpyqImoOvkQJCSkL0d0mB4NHHIFAy4b1u8PHdDa7SjGS2njzl6/lyGoZLm+eyYEtlUmFGE0rFj66SWxZgQQ==} + engines: {node: '>=14.0.0'} + dev: true + /tmp/0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -3754,6 +4052,19 @@ packages: resolution: {integrity: sha512-tLJxacIQUM82IR7JO1UUkKlYuUTmoY9HBJAmNWFzheSlDS5SPMcNIepejHJa4BpPQLAcbRhRf3GDJzyj6rbKvA==} dev: true + /tsconfck/2.1.1_typescript@5.0.4: + resolution: {integrity: sha512-ZPCkJBKASZBmBUNqGHmRhdhM8pJYDdOXp4nRgj/O0JwUwsMq50lCDRQP/M5GBNAA0elPrq4gAeu4dkaVCuKWww==} + engines: {node: ^14.13.1 || ^16 || >=18} + hasBin: true + peerDependencies: + typescript: ^4.3.5 || ^5.0.0 + peerDependenciesMeta: + typescript: + optional: true + dependencies: + typescript: 5.0.4 + dev: true + /tsconfig-paths/3.14.2: resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} dependencies: @@ -3770,14 +4081,14 @@ packages: /tslib/2.5.0: resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} - /tsutils/3.21.0_typescript@5.0.3: + /tsutils/3.21.0_typescript@5.0.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.0.3 + typescript: 5.0.4 dev: false /tty-table/4.2.1: @@ -3794,81 +4105,81 @@ packages: yargs: 17.7.1 dev: true - /turbo-darwin-64/1.8.8: - resolution: {integrity: sha512-18cSeIm7aeEvIxGyq7PVoFyEnPpWDM/0CpZvXKHpQ6qMTkfNt517qVqUTAwsIYqNS8xazcKAqkNbvU1V49n65Q==} + /turbo-darwin-64/1.9.1: + resolution: {integrity: sha512-IX/Ph4CO80lFKd9pPx3BWpN2dynt6mcUFifyuHUNVkOP1Usza/G9YuZnKQFG6wUwKJbx40morFLjk1TTeLe04w==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64/1.8.8: - resolution: {integrity: sha512-ruGRI9nHxojIGLQv1TPgN7ud4HO4V8mFBwSgO6oDoZTNuk5ybWybItGR+yu6fni5vJoyMHXOYA2srnxvOc7hjQ==} + /turbo-darwin-arm64/1.9.1: + resolution: {integrity: sha512-6tCbmIboy9dTbhIZ/x9KIpje73nvxbiyVnHbr9xKnsxLJavD0xqjHZzbL5U2tHp8chqmYf0E4WYOXd+XCNg+OQ==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64/1.8.8: - resolution: {integrity: sha512-N/GkHTHeIQogXB1/6ZWfxHx+ubYeb8Jlq3b/3jnU4zLucpZzTQ8XkXIAfJG/TL3Q7ON7xQ8yGOyGLhHL7MpFRg==} + /turbo-linux-64/1.9.1: + resolution: {integrity: sha512-ti8XofnJFO1XaadL92lYJXgxb0VBl03Yu9VfhxkOTywFe7USTLBkJcdvQ4EpFk/KZwLiTdCmT2NQVxsG4AxBiQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64/1.8.8: - resolution: {integrity: sha512-hKqLbBHgUkYf2Ww8uBL9UYdBFQ5677a7QXdsFhONXoACbDUPvpK4BKlz3NN7G4NZ+g9dGju+OJJjQP0VXRHb5w==} + /turbo-linux-arm64/1.9.1: + resolution: {integrity: sha512-XYvIbeiCCCr+ENujd2Jtck/lJPTKWb8T2MSL/AEBx21Zy3Sa7HgrQX6LX0a0pNHjaleHz00XXt1D0W5hLeP+tA==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64/1.8.8: - resolution: {integrity: sha512-2ndjDJyzkNslXxLt+PQuU21AHJWc8f6MnLypXy3KsN4EyX/uKKGZS0QJWz27PeHg0JS75PVvhfFV+L9t9i+Yyg==} + /turbo-windows-64/1.9.1: + resolution: {integrity: sha512-x7lWAspe4/v3XQ0gaFRWDX/X9uyWdhwFBPEfb8BA0YKtnsrPOHkV0mRHCRrXzvzjA7pcDCl2agGzb7o863O+Jg==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64/1.8.8: - resolution: {integrity: sha512-xCA3oxgmW9OMqpI34AAmKfOVsfDljhD5YBwgs0ZDsn5h3kCHhC4x9W5dDk1oyQ4F5EXSH3xVym5/xl1J6WRpUg==} + /turbo-windows-arm64/1.9.1: + resolution: {integrity: sha512-QSLNz8dRBLDqXOUv/KnoesBomSbIz2Huef/a3l2+Pat5wkQVgMfzFxDOnkK5VWujPYXz+/prYz+/7cdaC78/kw==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo/1.8.8: - resolution: {integrity: sha512-qYJ5NjoTX+591/x09KgsDOPVDUJfU9GoS+6jszQQlLp1AHrf1wRFA3Yps8U+/HTG03q0M4qouOfOLtRQP4QypA==} + /turbo/1.9.1: + resolution: {integrity: sha512-Rqe8SP96e53y4Pk29kk2aZbA8EF11UtHJ3vzXJseadrc1T3V6UhzvAWwiKJL//x/jojyOoX1axnoxmX3UHbZ0g==} hasBin: true requiresBuild: true optionalDependencies: - turbo-darwin-64: 1.8.8 - turbo-darwin-arm64: 1.8.8 - turbo-linux-64: 1.8.8 - turbo-linux-arm64: 1.8.8 - turbo-windows-64: 1.8.8 - turbo-windows-arm64: 1.8.8 + turbo-darwin-64: 1.9.1 + turbo-darwin-arm64: 1.9.1 + turbo-linux-64: 1.9.1 + turbo-linux-arm64: 1.9.1 + turbo-windows-64: 1.9.1 + turbo-windows-arm64: 1.9.1 dev: true - /turbowatch/2.20.0: - resolution: {integrity: sha512-BMhMKhOZF0XWEnDHiRThhlXMt/LjHcGCdgP8nDYs2CCg/eaFn9jfu1KehnS8utgCbB1DvhDI9CNyAfmgtOh0EQ==} + /turbowatch/2.21.0: + resolution: {integrity: sha512-9eo5nHxtmfCTzt580hT458SRQd4NZ0wJEQXyDrmunvxtwZ3PZEj7FOEWE1yGoHOXeXFNDd4HaID2r1rR/jhyYw==} engines: {node: '>=18'} hasBin: true dependencies: chalk: 4.1.2 chokidar: 3.5.3 - glob: 9.3.2 + glob: 9.3.5 jiti: 1.18.2 micromatch: 4.0.5 p-retry: 4.6.2 randomcolor: 0.6.2 roarr: 7.15.0 - semver: 7.3.8 + semver: 7.4.0 serialize-error: 11.0.0 throttle-debounce: 5.0.0 yargs: 17.7.1 @@ -3887,6 +4198,11 @@ packages: dependencies: prelude-ls: 1.2.1 + /type-detect/4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: true + /type-fest/0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} @@ -3899,10 +4215,12 @@ packages: /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} + dev: true /type-fest/0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} + dev: true /type-fest/1.4.0: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} @@ -3920,11 +4238,15 @@ packages: for-each: 0.3.3 is-typed-array: 1.1.10 - /typescript/5.0.3: - resolution: {integrity: sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==} + /typescript/5.0.4: + resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} engines: {node: '>=12.20'} hasBin: true + /ufo/1.1.1: + resolution: {integrity: sha512-MvlCc4GHrmZdAllBc0iUDowff36Q9Ndw/UzqmEKyrfSzokTd9ZCy1i+IIk5hrYKkjoYVQyNbrw7/F8XJ2rEwTg==} + dev: true + /unbox-primitive/1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -3956,6 +4278,144 @@ packages: dependencies: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 + dev: true + + /vite-node/0.30.1_@types+node@18.15.11: + resolution: {integrity: sha512-vTikpU/J7e6LU/8iM3dzBo8ZhEiKZEKRznEMm+mJh95XhWaPrJQraT/QsT2NWmuEf+zgAoMe64PKT7hfZ1Njmg==} + engines: {node: '>=v14.18.0'} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4 + mlly: 1.2.0 + pathe: 1.1.0 + picocolors: 1.0.0 + vite: 4.2.1_@types+node@18.15.11 + transitivePeerDependencies: + - '@types/node' + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vite-tsconfig-paths/4.2.0_typescript@5.0.4: + resolution: {integrity: sha512-jGpus0eUy5qbbMVGiTxCL1iB9ZGN6Bd37VGLJU39kTDD6ZfULTTb1bcc5IeTWqWJKiWV5YihCaibeASPiGi8kw==} + peerDependencies: + vite: '*' + peerDependenciesMeta: + vite: + optional: true + dependencies: + debug: 4.3.4 + globrex: 0.1.2 + tsconfck: 2.1.1_typescript@5.0.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /vite/4.2.1_@types+node@18.15.11: + resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.15.11 + esbuild: 0.17.16 + postcss: 8.4.22 + resolve: 1.22.3 + rollup: 3.20.3 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /vitest/0.30.1: + resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.4 + '@types/chai-subset': 1.3.3 + '@types/node': 18.15.11 + '@vitest/expect': 0.30.1 + '@vitest/runner': 0.30.1 + '@vitest/snapshot': 0.30.1 + '@vitest/spy': 0.30.1 + '@vitest/utils': 0.30.1 + acorn: 8.8.2 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.7 + concordance: 5.0.4 + debug: 4.3.4 + local-pkg: 0.4.3 + magic-string: 0.30.0 + pathe: 1.1.0 + picocolors: 1.0.0 + source-map: 0.6.1 + std-env: 3.3.2 + strip-literal: 1.0.1 + tinybench: 2.4.0 + tinypool: 0.4.0 + vite: 4.2.1_@types+node@18.15.11 + vite-node: 0.30.1_@types+node@18.15.11 + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true /wcwidth/1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} @@ -3971,6 +4431,11 @@ packages: resolution: {integrity: sha512-cSwwQIeg8v4i3p4ajHhwgR7N6VyxAf+KYSSsY6Pd3aETE+xEU4vbitz7qQkB0I321xnhDdgtxuiSfk5r/FVtjg==} hasBin: true + /well-known-symbols/2.0.0: + resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} + engines: {node: '>=6'} + dev: true + /which-boxed-primitive/1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} dependencies: @@ -4024,6 +4489,15 @@ packages: dependencies: isexe: 2.0.0 + /why-is-node-running/2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + dev: true + /word-wrap/1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} engines: {node: '>=0.10.0'} @@ -4146,6 +4620,11 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + /yocto-queue/1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: true + /zod/3.20.6: resolution: {integrity: sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==} dev: true @@ -4162,7 +4641,7 @@ packages: '@types/which': 2.0.2 chalk: 5.2.0 fs-extra: 11.1.1 - globby: 13.1.3 + globby: 13.1.4 minimist: 1.2.8 node-fetch: 3.2.10 ps-tree: 1.2.0 diff --git a/turbo.json b/turbo.json index 5ccf091..d4b64c0 100644 --- a/turbo.json +++ b/turbo.json @@ -27,6 +27,7 @@ }, "clean": { "cache": false - } - } + }, + "test": {} + } }